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

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



#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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs