You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you are wondering what I am trying to do... I am trying to port anon-ws-disable-stacked-tor from loads of mostly idle socat listeners to systemd socket activation. Ideally, rather elegantly without one systemd unit file per port redirection. [1] [2] [3] [4]
Note that a single .socket unit may carry any number of ListenStream= directives, hence there would have to be a concept what to do if multiple different ports are specified.
Submission type
systemd version the issue has been seen with
232
Used distribution
Debian
feature request
systemd directive ListenStream and systemd-socket-proxyd is really useful.
Let's say I want to redirect...
At time of running
ExecStart
there is no way to get theListenStream
port. I.e.I mean, if
ListenStream=80
->ExecStart=/usr/lib/systemd/systemd-socket-proxyd 10.152.152.10:80
ListenStream=81
->ExecStart=/usr/lib/systemd/systemd-socket-proxyd 10.152.152.10:81
If you are wondering what I am trying to do... I am trying to port anon-ws-disable-stacked-tor from loads of mostly idle socat listeners to systemd socket activation. Ideally, rather elegantly without one systemd unit file per port redirection. [1] [2] [3] [4]
[1]
https://github.com/Whonix/anon-ws-disable-stacked-tor/blob/master/etc/anon-ws-disable-stacked-tor.d/30_anon-dist.conf
[2]
https://github.com/Whonix/anon-ws-disable-stacked-tor/blob/master/lib/systemd/system/anon-ws-disable-stacked-tor.service
[3]
https://github.com/Whonix/anon-ws-disable-stacked-tor/blob/master/usr/lib/anon-ws-disable-stacked-tor/socat-unix-sockets
[4] https://github.com/Whonix/anon-ws-disable-stacked-tor
The text was updated successfully, but these errors were encountered: