FS#53222 - [shadowsocks-libev] need cap_net_admin for ss-redir

Attached to Project: Community Packages
Opened by Eric Wang (enihcam) - Thursday, 09 March 2017, 08:52 GMT
Last edited by Doug Newgard (Scimmia) - Tuesday, 27 June 2017, 15:55 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Felix Yan (felixonmars)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:

According to the patch @ https://github.com/shadowsocks/shadowsocks-libev/commit/7467f0798468cac7a78fc0ecbf59cc645327a858

Please change
setcap cap_net_bind_service+ep usr/bin/ss-redir 2>/dev/null
to
setcap cap_net_bind_service,cap_net_admin+ep usr/bin/ss-redir 2>/dev/null


This fix the ss-redir failure in reuse-port scenario.

Additional info:
* package version(s)
3.0.3-1

* config and/or log files etc.


Steps to reproduce:
This task depends upon

Closed by  Doug Newgard (Scimmia)
Tuesday, 27 June 2017, 15:55 GMT
Reason for closing:  Fixed
Additional comments about closing:  shadowsocks-libev 3.0.7-2

Loading...