[tor-bugs] #25892 [Core Tor/Tor]: "AccessibleTorPorts" Add a new option and deprecate 2 options

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Apr 25 18:28:53 UTC 2018


#25892: "AccessibleTorPorts" Add a new option and deprecate 2 options
--------------------------+----------------------------
 Reporter:  cypherpunks   |          Owner:  (none)
     Type:  enhancement   |         Status:  closed
 Priority:  Medium        |      Milestone:
Component:  Core Tor/Tor  |        Version:
 Severity:  Normal        |     Resolution:  worksforme
 Keywords:  tor-config    |  Actual Points:
Parent ID:                |         Points:
 Reviewer:                |        Sponsor:
--------------------------+----------------------------
Changes (by isis):

 * status:  new => closed
 * keywords:   => tor-config
 * resolution:   => worksforme


Comment:

 Hi! If by "my Tor" you meant a relay that you're running, this is can be
 accomplished with the ExitPolicy configuration option:

 {{{
 ExitPolicy accept *:443, accept *:9877, reject *:*
 }}}

 If you meant your Tor client, however, this is accomplished by running:

 {{{#!python
 python -c"import sys;sys.stdout.write('RejectPlaintextPorts
 '+','.join([str(x) for x in range(65535) if not x in (443,9877)]))" >>
 /etc/tor/torrc
 }}}

 I'm going to close this because I don't see it being a generally useful
 feature for most users, but feel free to reopen if you disagree.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/25892#comment:1>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list