[tor-bugs] #31011 [Core Tor/Tor]: Make the bridge authority reject private PT addresses when DirAllowPrivateAddresses is 0
Tor Bug Tracker & Wiki
blackhole at torproject.org
Thu Jan 30 17:55:06 UTC 2020
#31011: Make the bridge authority reject private PT addresses when
DirAllowPrivateAddresses is 0
--------------------------+------------------------------------
Reporter: teor | Owner: cjb
Type: defect | Status: needs_review
Priority: Medium | Milestone: Tor: 0.4.4.x-final
Component: Core Tor/Tor | Version:
Severity: Normal | Resolution:
Keywords: | Actual Points:
Parent ID: #31009 | Points: 1
Reviewer: | Sponsor: Sponsor28-can
--------------------------+------------------------------------
Comment (by cjb):
Oh, something to mention:
> `if (tor_addr_port_parse(LOG_WARN, bindaddr, &tor_addr, &tor_port, 0) >
-1 &&`
This patch will only reject an internal address if it successfully passes
`tor_addr_port_parse`. I was worried that there might be a valid
`ServerTransportListenAddr` that fails `tor_addr_port_parse` and didn't
think we should reject the config in that case. Does that sound
reasonable?
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/31011#comment:16>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list