check for conflicting *Port directives

Robert Hogan robert at roberthogan.net
Sat Jun 23 19:45:04 UTC 2007


if someone does something like:

ORPort 9031
SocksPort 9031

this will tell them where they've screwed up, rather than attempting to bind 
to the port and fail for the second of the two options.

possibly a case of sledgehammer meets walnut (it's a large patch for what it's 
fixing). If the idea is right it will need some cleaning to be up to 
standard, but hopefully this will be less than the time required to write 
from scratch.


-- 

Browse Anonymously Anywhere	- http://anonymityanywhere.com
TorK	- KDE Anonymity Manager	- http://tork.sf.net
KlamAV	- KDE Anti-Virus 	- http://www.klamav.net

-------------- next part --------------
A non-text attachment was scrubbed...
Name: conflicting.patch
Type: text/x-diff
Size: 4045 bytes
Desc: not available
URL: <http://lists.torproject.org/pipermail/tor-dev/attachments/20070623/09385a0d/attachment.patch>


More information about the tor-dev mailing list