[tor-bugs] #29299 [Core Tor/sbws]: Include scanner country and Web server country in the bandwidth file header

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Feb 6 13:35:40 UTC 2019


#29299: Include scanner country and Web server country in the bandwidth file header
---------------------------+-----------------------------------
 Reporter:  juga           |          Owner:  juga
     Type:  defect         |         Status:  assigned
 Priority:  Medium         |      Milestone:  sbws: 1.1.x-final
Component:  Core Tor/sbws  |        Version:  sbws: 1.0.2
 Severity:  Normal         |     Resolution:
 Keywords:                 |  Actual Points:
Parent ID:                 |         Points:  1
 Reviewer:                 |        Sponsor:
---------------------------+-----------------------------------

Comment (by juga):

 Replying to [comment:1 juga]:
 > The scanner country can be added to the headers.
 > Currently, we are not reporting which destinations are used, not in the
 headers nor in the bandwidth lines, so we should:
 > - report which destinations are used. In the headers or for each
 bandwidth line?
 > - if we report the destinations in the headers, we can also report their
 countries.
 >   if we report the destination in each bandwidth line, the country of
 each destination can still be reported in the headers.
 >
 > Also, when the destination is in a CDN, we could know from which country
 is replying by solving the IP address from the exit, but that would add
 more complexity.
 > I'm adding instead "00" as country code for a CDN, meaning that we don't
 know from where it's reached.

 I'd solve this as:
 - if there's only 1 destination, include the destination (and its country)
 in the headers
 - if all the destinations are in a CDN, include the destinations (and
 their countries) in the headers
 - if there're several destinations and some of them are not in a CDN,
 still doubt whether to include the destination in each bandwidth line, or
 to make it simpler, add it only to the headers.

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


More information about the tor-bugs mailing list