]> git.ipfire.org Git - thirdparty/tor.git/commit
Add an ExitRelay option to override ExitPolicy
authorNick Mathewson <nickm@torproject.org>
Thu, 13 Nov 2014 15:48:15 +0000 (10:48 -0500)
committerNick Mathewson <nickm@torproject.org>
Tue, 6 Jan 2015 19:31:20 +0000 (14:31 -0500)
commit35efce1f3f517871aaa19d60976a9abb3a67bede
tree13560f7d67e4df1e4011f6f08ff42e371ed7f0a9
parent5c813f6ca1d6e385cfad5219108f8ac00677cf35
Add an ExitRelay option to override ExitPolicy

If we're not a relay, we ignore it.

If it's set to 1, we obey ExitPolicy.

If it's set to 0, we force ExitPolicy to 'reject *:*'

And if it's set to auto, then we warn the user if they're running an
exit, and tell them how they can stop running an exit if they didn't
mean to do that.

Fixes ticket 10067
doc/tor.1.txt
src/or/config.c
src/or/or.h
src/or/policies.c