[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [tor-bugs] #33648 [Core Tor/Tor]: vanguards: What is the recommended value?



#33648: vanguards: What is the recommended value?
--------------------------+----------------------------------
 Reporter:  cypherpunks   |          Owner:  mikeperry
     Type:  task          |         Status:  assigned
 Priority:  Medium        |      Milestone:  Tor: unspecified
Component:  Core Tor/Tor  |        Version:
 Severity:  Normal        |     Resolution:
 Keywords:  vanguards     |  Actual Points:
Parent ID:                |         Points:
 Reviewer:                |        Sponsor:
--------------------------+----------------------------------

Comment (by teor):

 Replying to [comment:5 mikeperry]:
 > Q4 - Packet rate can't easily be limited by the control port. You
 *might* be able to limit general data rate with BandwidthRate torrc
 option, but I am not 100% sure that will apply to onion service traffic.
 'tc' scripts on Linux should definitely work, though. See
 https://github.com/mikeperry-tor/vanguards/issues/46

 BandwidthRate caps all tor traffic, with an allowed BandwidthBurst value.
 But you should test it, to check that it works the way you want. If it
 doesn't work, let us know, and we'll fix the bug.

 But BandwidthRate is risky, because it also caps directory downloads. So a
 constantly-loaded client, onion service, or relay can go offline, because
 it can't download directory information.

 RelayBandwidthRate / RelayBandwidthBurst only caps relayed traffic. So if
 you're running a relay, that's what you want. But it's a bit imprecise,
 because it will allow all traffic on any circuits that have been used for
 client directory downloads in the last 30 seconds. So again, test it to
 make sure it does what you expect.

 We don't have an equivalent bandwidth rate option for client or onion
 service data (excluding directory downloads). Let us know if you need it,
 and we can open a ticket.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/33648#comment:7>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs