[tor-bugs] #2966 [Metrics/CollecTor]: Include bridge country codes in sanitized bridge descriptors

Tor Bug Tracker & Wiki blackhole at torproject.org
Fri Jul 15 19:42:33 UTC 2016


#2966: Include bridge country codes in sanitized bridge descriptors
-------------------------------+-----------------------------------
 Reporter:  karsten            |          Owner:
     Type:  enhancement        |         Status:  needs_information
 Priority:  Low                |      Milestone:  CollecTor 1.1.0
Component:  Metrics/CollecTor  |        Version:
 Severity:  Normal             |     Resolution:
 Keywords:                     |  Actual Points:
Parent ID:                     |         Points:
 Reviewer:                     |        Sponsor:
-------------------------------+-----------------------------------
Changes (by iwakeh):

 * milestone:   => CollecTor 1.1.0


Old description:

> Before May 2010, we resolved bridge IP addresses to country codes in the
> sanitizing process and appended them to the nickname, e.g., UnnamedDE.
> This was possible, because we sanitized descriptors in batches which was
> a semi-automatic process.
>
> When we switched to sanitizing descriptors automatically, we took country
> codes out, because the code was too complex and broke all the time.  The
> difficulties were that descriptors can arrive in any order (while we
> still need to come up with the same set of sanitized descriptors) and
> that we need to update the GeoIP database periodically.  That's not
> impossible to solve, but also not easy to get right.
>
> We should find a way to make this work, maybe by relaxing the requirement
> to update the GeoIP database at all.  The old code that we took out in
> May 2010 is [https://gitweb.torproject.org/metrics-
> db.git/commitdiff/1622004 here].

New description:

 Before May 2010, we resolved bridge IP addresses to country codes in the
 sanitizing process and appended them to the nickname, e.g., UnnamedDE.
 This was possible, because we sanitized descriptors in batches which was a
 semi-automatic process.

 When we switched to sanitizing descriptors automatically, we took country
 codes out, because the code was too complex and broke all the time.  The
 difficulties were that descriptors can arrive in any order (while we still
 need to come up with the same set of sanitized descriptors) and that we
 need to update the GeoIP database periodically.  That's not impossible to
 solve, but also not easy to get right.

 We should find a way to make this work, maybe by relaxing the requirement
 to update the GeoIP database at all.  The old code that we took out in May
 2010 is
 [https://gitweb.torproject.org/collector.git/commit/?id=1622004ac7f272c33103ad54c92dd3516303f5d2
 here].

--

Comment:

 Corrected git link in description.

 Added to milestone 1.1.0

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


More information about the tor-bugs mailing list