[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [tor-bugs] #7875 [Tor]: debian obfsproxies can't advertise ports under 1024



#7875: debian obfsproxies can't advertise ports under 1024
------------------------+---------------------------------------------------
 Reporter:  arma        |          Owner:                  
     Type:  defect      |         Status:  new             
 Priority:  normal      |      Milestone:  Tor: unspecified
Component:  Tor         |        Version:                  
 Keywords:  tor-bridge  |         Parent:                  
   Points:              |   Actualpoints:                  
------------------------+---------------------------------------------------

Comment(by flaushy):

 You can grant priviledges to do so via setcap. (included in libcap2-bin)
 setcap 'cap_net_bind_service=+ep' /path/to/obfsproxy

 After granting this capability you are able to run obfsproxy with user
 rights on ports <1024

 http://www.kernel.org/doc/man-pages/online/pages/man7/capabilities.7.html

-- 
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/7875#comment:1>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs