FS#57328 - [simple-obfs] Add a systemd startup script

Attached to Project: Community Packages
Opened by Tony (raidenii) - Thursday, 01 February 2018, 20:33 GMT
Last edited by Toolybird (Toolybird) - Friday, 05 May 2023, 03:02 GMT
Task Type Feature Request
Category Packages
Status Closed
Assigned To Felix Yan (felixonmars)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

simple-obfs needs a startup script for systemd.

Additional info:

The current version (0.0.5-2) does not have a systemd startup script (at least as a server). I have created one.

Instead of defining user in the systemd script, I left the option of switching user to nobody (or any other unprivileged account) in the configuration file, and give obfs-server the capabilities to set the gid and uid. Somehow, CAP_NET_BIND_SERVICE seems not working when defined a non-root user in the systemd script (still cannot bind ports under 1024).

* config and/or log files etc.


Steps to reproduce:

It does not exist in current package. I have attached my version; opinions are welcomed.
This task depends upon

Closed by  Toolybird (Toolybird)
Friday, 05 May 2023, 03:02 GMT
Reason for closing:  Won't implement
Additional comments about closing:  See final comment
Comment by Toolybird (Toolybird) - Wednesday, 05 April 2023, 05:56 GMT
According to upstream [1] this tool is deprecated and has been superseded by "v2ray-plugin". Therefore doesn't seem much point in implementing the feature. Will close this ticket unless there any objections?

[1] https://github.com/shadowsocks/simple-obfs

Loading...