Page MenuHomePhabricator

systemd-socket-proxyd instructions template
Closed, ResolvedPublic

Description

When systemd-socket-proxyd is finished I would like to make instructions into a template and replace the more difficult alternative ones for HS guides.

This ticket is for listing the pages that need this change.

Details

Impact
Normal

Event Timeline

Example. On the workstation, create a file /etc/anon-ws-disable-stacked-tor/50_user.conf.

socat TCP-LISTEN:80,fork TCP:$GATEWAY_IP:80 &

80 should become a wiki template variable.

$GATEWAY_IP should be used verbatim as is. That variable is provided by the anon-ws-disable-stacked-tor socat-unix-sockets script.

Patrick renamed this task from socat instructions template to systemd-socket-proxyd instructions template.May 8 2018, 9:31 PM
Patrick updated the task description. (Show Details)
Patrick added a comment.EditedMay 8 2018, 9:33 PM

We'll no longer use socat. Whonix 14 will use systemd-socket-proxyd.

https://github.com/Whonix/anon-ws-disable-stacked-tor/blob/master/usr/lib/anon-ws-disable-stacked-tor/systemd-unit-files-generator is not yet configureable but easy to add. Will add in time for Whonix 14. (T796)

@Patrick seems self explanatory. How are we doing on RAM use? Is it any more or less efficient than socat after you cut down the number of spawned instances?

All socat mentions here with 7 results, less if we want the relevant pages only: https://www.whonix.org/w/index.php?title=Special%3ASearch&profile=default&fulltext=Search&search=socat

HulaHoop (HulaHoop):

HulaHoop added a comment.
seems self explanatory.

Great!

How
are we doing on RAM use? Is it any more or less efficient than socat after you
cut down the number of spawned instances?

Answered here:
T623#16074

Template created: https://www.whonix.org/wiki/Template:Systemd-socket-proxyd

Now I want to figure out what pages need it.

@Patrick Was this only relevant for Retroshare?

Not only relevant for retroshare.

This could be useful for any future applications that expect Tor or ControlPort to listen on any specific port or unix domain socket file that is not (yet) added to anon-ws-disable-stacked-tor config by default.

Or for any other port or unix domain socket file) redirections from the workstation to the gateway.

I2P integration ships as anon-ws-disable-stacked-tor config snippet if I remember right.

I created a user documentation page explaining this feature and when to use it for users to understand.

https://www.whonix.org/wiki/Systemd-socket-proxyd

HulaHoop closed this task as Resolved.Feb 2 2019, 8:57 PM