Control Port Filter Proxy Python (cpfpy) / anon-ws-disable-stacked-tor

Merged and pushed to troubadoour.

  • bumped debhelper build depends from 8 to 9
  • removed unnecessary dependency on config-package-dev
  • added faketime dependency
  • added dependency python (>= 2.6) to fix lintian warning

https://github.com/Whonix/control-port-filter-python/commit/64373d2df81bf52e9ddd26dd11f51b62e91b9a9d

Various config file fixes / enhancements:

Please merge them first before making further changes to avoid merge conflicts. (⚓ T220 remove CONTROL_PORT_FILTER_PROXY from control-port-filter-python config file)

Merged.

For futher develpoment on the parallel connection issue, ⚓ T218 cpfp.py hangs on Tor Browser 4.5a[3-4] new requests

Minor new commits.

licensing: fix path to cpfp.py
https://github.com/Whonix/control-port-filter-python/commit/cf2abd9a02e48b3e337069baebdf27a6ec6b3dcc

package description:
https://github.com/Whonix/control-port-filter-python/commit/0db13a5c221367644a1b963206c7ba6160765254

FYI:

packaging, use debhelper with python2 to fix lintian warning:
https://github.com/Whonix/control-port-filter-python/commit/48932339f2f4a1945e69a1d13d27050c285e0131

Merged.

added dh-python to build dependencies:
https://github.com/Whonix/control-port-filter-python/commit/ad063907765453494e18a668dbb6b17e4a9e7a1c

ported to systemd:
https://github.com/Whonix/control-port-filter-python/commit/e4b3099f15786c4e7298cfec743824e624a15f24

Although the systemd unit needs probably more work. The one by nrgaway (⚓ T273 control-port-filter-python.service exits pre-maturely) does more stuff. I am waiting for him to Open Source it. (⚓ T273 control-port-filter-python.service exits pre-maturely) And the systemd unit perhaps also depends on what you’re currently doing in ⚓ T274 control-port-filter-proxy sd_notify support.

control-port-filter-daemon (cpfpd) is tested OK in 11.0.0.0.3. Will start packaging it and modify /etc/init.d/control-port-filter-python and/or /lib/systemd/system/control-port-filter-python.service.

As per ⚓ T274 control-port-filter-proxy sd_notify support I really appreciated to just keep the control-port-filter-python package and to make any modifications there. Unless you really prefer a new package name and/or a new package for some other reason.

[quote=“Patrick, post:129, topic:533”]added dh-python to build dependencies:
https://github.com/Whonix/control-port-filter-python/commit/ad063907765453494e18a668dbb6b17e4a9e7a1c

ported to systemd:
https://github.com/Whonix/control-port-filter-python/commit/e4b3099f15786c4e7298cfec743824e624a15f24

Although the systemd unit needs probably more work. The one by nrgaway (⚓ T273 control-port-filter-python.service exits pre-maturely) does more stuff. I am waiting for him to Open Source it. (⚓ T273 control-port-filter-python.service exits pre-maturely) And the systemd unit perhaps also depends on what you’re currently doing in Login

I been waiting so I can build Whonix 11 without issue as well as the new daemon version since there is no point creating the unit file 3 times, when I can do it twice :slight_smile:

control-port-filter-daemon would have been more descriptive. I have read about the problems changing from control-port-filter to control-port-filter-python. Made the modifications in control-port-filter-python, no new package.

3 commits in GitHub - troubadoour/control-port-filter-python.

More to come in https://phabricator.whonix.org/T274.

Merged. Please also merge previous changes by me. (Made it systemd-only and whatnot.)

Made systemd actually install, my mistake…
fixed path lib/systemd/control-port-filter-python.service → lib/systemd/system/control-port-filter-python.service:
https://github.com/Whonix/control-port-filter-python/commit/f8719a3d403682691e8e68d097dcc4ed07de2700

[There are a few lintian warnings at the moment, but nothing serious. I’ll fix them within the next few days or you do it. I don’t mind either way. Easy stuff. (Change path in copyright file + add man page.)]

Merged your changes.

I’ll try to fix the lintian warnings. There is a couple of design issues too. From now on, testing with sytemd exclusively.

By the way, jessie (former testing) is now blessed stable by Debian.

Minor commits.

removed trailing space:
https://github.com/Whonix/control-port-filter-python/commit/33897fc334760c7ffff00b0843a918393619f0d6

debian/control: removed dependency on anon-shared-helper-scripts, no longer required, because we’re no longer supporting sysvinit:
https://github.com/Whonix/control-port-filter-python/commit/6ec7ea23a34af29103ad34199fefaef59f46662e

Merged.

systemd unit: removed spaces (as per ⚓ T316 systemd units are not enabled by default):
https://github.com/Whonix/control-port-filter-python/commit/5f9bdc8e84f3ef4d0896be03d0fc37b47e60b9c0

Trying to push your commit. Whonix master seems behind troubadoour by one commit.

I do not see it with “git log” or gitk.