[tor-bugs] #7013 [Tor]: Allow specifying the bind address of managed proxies

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Fri Nov 2 23:36:06 UTC 2012


#7013: Allow specifying the bind address of managed proxies
----------------------------+-----------------------------------------------
 Reporter:  asn             |          Owner:                  
     Type:  task            |         Status:  needs_review    
 Priority:  normal          |      Milestone:  Tor: unspecified
Component:  Tor             |        Version:                  
 Keywords:  tor-bridge, pt  |         Parent:                  
   Points:                  |   Actualpoints:                  
----------------------------+-----------------------------------------------

Comment(by nickm):

 Hm. tor_addr_split isn't quite right; it allows anything in the address
 portion when instead we almost certainly want to make sure it's an IPv4 or
 an IPv6 address, right?  I suggested that we not use tor_addr_split
 because we don't want these things to be hostnames.  Do we?

   There really ought to be a tor_addr_port_parse.  I think we could build
 one out of tor_addr_parse and tor_addr_split, or out of
 tor_addr_parse_mask_ports with appropriate arguments set to NULL.

 >Should we also change the rest of the places in config.c where
 tor_addr_port_lookup is used to use tor_addr_port_split?

 Not as part of this ticket.  Only when it seems likely that DNS resolution
 would be a poor idea.

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


More information about the tor-bugs mailing list