Assign Exit flag only for ports 80 and 443
commit8dff23eb34cf63278f8c78eb965c77fe215b860c
authorRoger Dingledine <arma@torproject.org>
Sun, 24 Sep 2017 23:27:07 +0000 (24 19:27 -0400)
committerRoger Dingledine <arma@torproject.org>
Sun, 24 Sep 2017 23:27:07 +0000 (24 19:27 -0400)
treef1e29e54ae52e621c17c1b7c2cd72e766c9ed7a0
parenta1f31c0671c82f95c6a9804df52e391e54d6d614
Assign Exit flag only for ports 80 and 443

Make the "Exit" flag assignment only depend on whether the exit
policy allows connections to ports 80 and 443. Previously relays
would get the Exit flag if they allowed connections to one of
these ports and also port 6667.

Resolves ticket 23637.
changes/ticket23637 [new file with mode: 0644]
src/or/policies.c