[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [tor-bugs] #2106 [Tor]: Controller can't unset httpsproxy if it doesn't resolve



#2106: Controller can't unset httpsproxy if it doesn't resolve
-------------------------+------------------------------
 Reporter:  arma         |          Owner:
     Type:  enhancement  |         Status:  new
 Priority:  High         |      Milestone:  Tor: 0.2.???
Component:  Tor          |        Version:
 Severity:  Normal       |     Resolution:
 Keywords:  tor-client   |  Actual Points:
Parent ID:               |         Points:
  Sponsor:               |
-------------------------+------------------------------
Changes (by arma):

 * severity:   => Normal


Comment:

 Replying to [comment:8 nickm]:
 > >treat it as having configured a magic https proxy that always fails.
 >
 > Actually, these are not too bad! If the lookup for some option like this
 (HTTPProxy, HTTPSProxy,Socks4Proxy,Socks5Proxy) fails, we can just set it
 to some "doesn't work" value.  Later, we can detect this value when we're
 about to connect, and reject any attempt to connect to that address.  We
 can also set a "the network is down" field if any of those fails at
 configuration time.

 This approach still looks a lot better than leaving it broken. It also
 looks like a bite-sized patch for somebody who wants to contribute.
 Anybody up for it? :)

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/2106#comment:15>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs