Policies for HTTPTunnelPort
For SocksPort/Socks5Port one can configure SocksPolicy. There should be corresponding option for HTTPTunnelPort.
Trac:
Username: pyhedgehog
- Show closed items
Activity
-
Newest first Oldest first
-
Show all activity Show comments only Show history only
- Trac changed milestone to %Tor: unspecified
changed milestone to %Tor: unspecified
Looking at the code, it appears that SocksPolicy is applied to all incoming client connections. (See uses of
socks_policy_permits_address()
.) We should probably document this behavior and rename SocksPolicy to something less confusing. Maybe ClientPolicy?I'd prefer to have several policies for different ports. I.e. I want to configure:
HTTPTunnelPort 0.0.0.0:3128 NoOnionTraffic HTTPTunnelPort 0.0.0.0:8118 OnionTrafficOnly SocksPort 127.0.0.1:9050
And want to have different policies for different ports.
Trac:
Username: pyhedgehogTrac:
Milestone: N/A to Tor: unspecifiedTrac:
Status: new to assigned
Owner: N/A to neelTrac:
Status: assigned to newTrac:
Status: new to assigned
Owner: neel to N/ATrac:
Keywords: N/A deleted, tor-httptunnel added- Trac moved to tpo/core/tor#25786 (closed)
moved to tpo/core/tor#25786 (closed)