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

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Jan 7 10:16:39 UTC 2013


#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


More information about the tor-bugs mailing list