[tor-bugs] #11108 [- Select a component]: SocksPolicy and DirPolicy ignore port specifications, contrary to documentation

Tor Bug Tracker & Wiki blackhole at torproject.org
Sat Mar 1 21:51:57 UTC 2014


#11108: SocksPolicy and DirPolicy ignore port specifications, contrary to
documentation
----------------------------------+---------------------
 Reporter:  cypherpunks           |          Owner:
     Type:  defect                |         Status:  new
 Priority:  normal                |      Milestone:
Component:  - Select a component  |        Version:
 Keywords:                        |  Actual Points:
Parent ID:                        |         Points:
----------------------------------+---------------------
 The documentation for SocksPolicy and DirPolicy both say "policies have
 the same form as exit policies", but looking at the code at
 https://gitweb.torproject.org/tor.git/blob/4348c52a353a5242ddefc5c866ffb58e98443c7e:/src/or/policies.c#l344
 it appears both only consider the address, not the port number. The
 documentation should be updated to reflect this.

 (It seems unlikely to me that limiting the source ports allowed to connect
 to these listeners is actually a feature anyone wants, but maybe it is?)

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/11108>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list