[tor-bugs] #33157 [Circumvention/Snowflake]: Client generates SDP with "IN IP4 0.0.0.0", causing proxy to send "client_ip=0.0.0.0" and bridge to send "USERADDR 0.0.0.0:1"

Tor Bug Tracker & Wiki blackhole at torproject.org
Fri Mar 27 08:11:59 UTC 2020


#33157: Client generates SDP with "IN IP4 0.0.0.0", causing proxy to send
"client_ip=0.0.0.0" and bridge to send "USERADDR 0.0.0.0:1"
-------------------------------------+------------------------
 Reporter:  dcf                      |          Owner:  (none)
     Type:  defect                   |         Status:  new
 Priority:  Medium                   |      Milestone:
Component:  Circumvention/Snowflake  |        Version:
 Severity:  Normal                   |     Resolution:
 Keywords:                           |  Actual Points:
Parent ID:                           |         Points:
 Reviewer:                           |        Sponsor:
-------------------------------------+------------------------

Comment (by arma):

 Replying to [comment:11 arma]:
 > Replying to [comment:10 dcf]:
 > > Since the fix in #33385 on 2020-02-20, only about 20–30% of
 connections at the bridge have a meaningful `client_ip`. I believe this is
 causing us to undercount clients and/or bandwidth, even though we no
 longer set `USERADDR` for those 0.0.0.0 connections. In the absence of
 `USERADDR`, tor will use a 127.0.0.1 address, which like 0.0.0.0 is
 ignored for the purpose of bandwidth accounting.
 >
 > I agree with your analysis.

 For a short-term workaround, you can set "CountPrivateBandwidth 1" in the
 torrc of the snowflake bridge. I'd give that 80% odds of doing what you
 want. :)

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


More information about the tor-bugs mailing list