[tor-bugs] #18460 [Tor]: Relays and bridges are not counting directory requests coming in via IPv6

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Mar 9 17:03:24 UTC 2016


#18460: Relays and bridges are not counting directory requests coming in via IPv6
-------------------------------------------------+-------------------------
 Reporter:  karsten                              |          Owner:
     Type:  defect                               |         Status:
 Priority:  Medium                               |  needs_review
Component:  Tor                                  |      Milestone:  Tor:
 Severity:  Normal                               |  0.2.8.x-final
 Keywords:  tor-relay tor-bridge 026-backport    |        Version:  Tor:
  027-backport                                   |  0.2.8.1-alpha
Parent ID:                                       |     Resolution:
 Reviewer:                                       |  Actual Points:
                                                 |         Points:
                                                 |        Sponsor:
-------------------------------------------------+-------------------------

Comment (by karsten):

 Replying to [comment:2 teor]:
 > We should be careful that we are checking GeoIP for the remote address,
 rather than the address of any proxy. I think that 'address' is the remote
 address, and 'addr' is the proxy, at least in some places in the code.
 >
 > If that's the case, let's check and then update the comments on the
 struct definition, because I can never remember which way round it works.

 Oh, okay.  Any hints on where to start to find out?

 Also, part of what makes me somewhat uncomfortable of using `address` is
 that it says "FQDN (or IP) of the other end" in the comment.  But we
 really want it to be an IP for `tor_inet_aton()`, or we're not counting it
 either.  When would `address` contain an FQDN instead of an IP?

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


More information about the tor-bugs mailing list