Re: [Tails-dev] [Whonix-devel] Tails control port filter pro…

Poista viesti

Vastaa
Lähettäjä: Patrick Schleizer
Päiväys:  
Vastaanottaja: whonix-devel, The Tails public development discussion list
Aihe: Re: [Tails-dev] [Whonix-devel] Tails control port filter proxy in Whonix?
Hello anonym!

anonym:
> Feel free to send a PR with your other
> changes applied to tor-controlport-filter in Tails Git!
> Otherwise
> I'll do it myself later this week.


Joy rebased Whonix's changes on top of your new version.

base:
https://git-tails.immerda.ch/tails/plain/config/chroot_local-includes/usr/local/lib/tor-controlport-filter

fork:
https://github.com/joysn/control-port-filter-python/blob/master/usr/lib/tor-controlport-filter

The diff looks simple, I guess.

Please ignore:

- config parser changes

Please take:

- #!/usr/bin/python3 -u (makes eventual python exceptions and up in journal)
- Use yml.safe_load and Python exceptions in journalctl
- add --listen_interface option

One minor bug, I think, first line is supposed to be

#!/usr/bin/python3 -u
(not -v)

Best regards,
Patrick