]> git.ipfire.org Git - thirdparty/tor.git/commit
Warn if ports are specified in {Socks,Dir}Policy
authorNick Mathewson <nickm@torproject.org>
Mon, 3 Mar 2014 15:45:39 +0000 (10:45 -0500)
committerNick Mathewson <nickm@torproject.org>
Mon, 3 Mar 2014 15:45:39 +0000 (10:45 -0500)
commit4050dfa320e3322beb263bff3afc1db10df5af96
tree1fa8529e760c165c9dae8e8a8f566d748b0c0b7e
parentd98f743b282a8b28ed8d2d14db3bbfee40c5e6b0
Warn if ports are specified in {Socks,Dir}Policy

We have ignored any ports listed here since 80365b989 (0.0.7rc1),
but we didn't warn the user that we were ignoring them.  This patch
adds a warning if you put explicit ports in any of the options
{Socks,Dir}Policy or AuthDir{Reject,Invalid,BadDir,BadExit}.  It
also adjusts the manpage to say that ports are ignored.

Fixes ticket 11108.
changes/bug11108 [new file with mode: 0644]
doc/tor.1.txt
src/or/policies.c