[tor-bugs] #2357 [Tor Bridge]: ReachableAddresses ignored when playing with bridges using Vidalia

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Wed Feb 23 00:12:55 UTC 2011


#2357: ReachableAddresses ignored when playing with bridges using Vidalia
------------------------------+---------------------------------------------
    Reporter:  anonym         |        Type:  defect    
      Status:  new            |    Priority:  normal    
   Milestone:                 |   Component:  Tor Bridge
     Version:  Tor: 0.2.1.26  |    Keywords:            
      Parent:                 |      Points:            
Actualpoints:                 |  
------------------------------+---------------------------------------------
Changes (by arma):

  * component:  Tor Client => Tor Bridge


Old description:

> I think this possible bug is best illustrated with an example. I do this
> using Tor 0.2.1.28 (not currently present in Version list) and Vidalia
> 0.2.10:
>
> 1. I clear the Tor data dir ("rm /var/lib/tor/*" in my case) and add
> "ReachableAddresses reject *:*" to torrc.
> 2. I start Tor. ReachableAddresses prevents it from bootstrapping as
> expected.
> 3. I start Vidalia and add a bridge. Tor immediately bootstraps and all
> connections to the Tor network are made through the bridge (verified with
> packet sniffer) as expected (except that the bridge connection is exempt
> from ReachableAddresses, see ticket #2356).
> 4. I restart Tor. Tor hangs on "Bootstrapping 85%" according to the log,
> accompanied by the notices:
>
>         Notice: no known bridge descriptors running yet; stalling
>
> and
>
>         Notice: Our directory information is no longer up-to-date
>         enough to build circuits: No live bridge descriptors.
>
> What's Tor's problem with the bridge (I have verified that the bridge
> works on another system)?
>
> 5. I disable bridges in Vidalia. Now Tor immediately bootstraps by
> connecting _directly_ to the Tor network, ignoring the ReachableAddresses
> options still present in torrc. I have verified that the connection is
> direct using a packet sniffer.
>
> Why is ReachableAddresses suddenly ignored?
>
> 6. I restart Tor and Vidalia (bridges still off). Tor still connects to
> the Tor network, ignoring ReachableAddresses.
>
> Again, why is ReachableAddresses suddenly ignored?
>
> 7. I stop Tor and Vidalia, clear Tor's data dir, and then start Tor and
> Vidalia (again, no bridges). Now the behaviour is the same as in point 2
> and everything works as expected.
>
> But why does clearing the Tor data dir make a difference?
>
> Here's the original post about this issue on the T(A)ILS development
> mailing list, but I think all relevant information is posted above:
> http://article.gmane.org/gmane.linux.distributions.tails.devel/83

New description:

 I think this possible bug is best illustrated with an example. I do this
 using Tor 0.2.1.28 (not currently present in Version list) and Vidalia
 0.2.10:

 1. I clear the Tor data dir ("rm /var/lib/tor/*" in my case) and add
 "!ReachableAddresses reject *:*" to torrc.
 2. I start Tor. !ReachableAddresses prevents it from bootstrapping as
 expected.
 3. I start Vidalia and add a bridge. Tor immediately bootstraps and all
 connections to the Tor network are made through the bridge (verified with
 packet sniffer) as expected (except that the bridge connection is exempt
 from !ReachableAddresses, see ticket #2356).
 4. I restart Tor. Tor hangs on "Bootstrapping 85%" according to the log,
 accompanied by the notices:

         Notice: no known bridge descriptors running yet; stalling

 and

         Notice: Our directory information is no longer up-to-date
         enough to build circuits: No live bridge descriptors.

 What's Tor's problem with the bridge (I have verified that the bridge
 works on another system)?

 5. I disable bridges in Vidalia. Now Tor immediately bootstraps by
 connecting _directly_ to the Tor network, ignoring the !ReachableAddresses
 options still present in torrc. I have verified that the connection is
 direct using a packet sniffer.

 Why is !ReachableAddresses suddenly ignored?

 6. I restart Tor and Vidalia (bridges still off). Tor still connects to
 the Tor network, ignoring !ReachableAddresses.

 Again, why is !ReachableAddresses suddenly ignored?

 7. I stop Tor and Vidalia, clear Tor's data dir, and then start Tor and
 Vidalia (again, no bridges). Now the behaviour is the same as in point 2
 and everything works as expected.

 But why does clearing the Tor data dir make a difference?

 Here's the original post about this issue on the T(A)ILS development
 mailing list, but I think all relevant information is posted above:
 http://article.gmane.org/gmane.linux.distributions.tails.devel/83

--

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


More information about the tor-bugs mailing list