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

Tor Bug Tracker & Wiki blackhole at torproject.org
Sat Apr 28 00:00:48 UTC 2018


#25892: "AccessibleTorPorts" Add a new option and deprecate 2 options
--------------------------------------------+--------------------------
 Reporter:  cypherpunks                     |          Owner:  (none)
     Type:  enhancement                     |         Status:  reopened
 Priority:  Medium                          |      Milestone:
Component:  Core Tor/Tor                    |        Version:
 Severity:  Normal                          |     Resolution:
 Keywords:  tor-config, 035-proposed, easy  |  Actual Points:
Parent ID:                                  |         Points:  1
 Reviewer:                                  |        Sponsor:  SponsorZ
--------------------------------------------+--------------------------

Comment (by teor):

 Replying to [comment:7 cypherpunks]:
 > So these are acceptable? (just an example)
 >
 > AccessibleTorPorts *:443,*:990
 > AccessibleTorPorts oh.thisismyxmpp.onion:9877

 I'm not sure about specific addresses. I think we would have to rewrite
 the code to make it work.

 > AccessibleTorPorts reject *:*
 >
 > (taken from 'ReachableAddresses' lines from torrc)

 All your other rules are fine.

 But I'm going to ask you to rename the option: "Accessible" is ambiguous,
 and "Tor" is redundant.
 By analogy with ExitPolicy and SOCKSPolicy, let's use "PortConnectPolicy",
 or something similar.

 Replying to [comment:8 cypherpunks]:
 > > and deprecate 2 options
 >
 > WarnPlaintextPorts
 > RejectPlaintextPorts

 If people are still using the "warn" option, we can't deprecate it and
 remove its functionality entirely.
 Instead, we should have:

 PortWarnPolicy
 PortConnectPolicy

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


More information about the tor-bugs mailing list