[tor-bugs] #15989 [Tor]: Add AccountingRule in and out

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon May 11 13:46:35 UTC 2015


#15989: Add AccountingRule in and out
-----------------------------+----------------------------------
 Reporter:  teor             |          Owner:
     Type:  defect           |         Status:  new
 Priority:  minor            |      Milestone:
Component:  Tor              |        Version:  Tor: unspecified
 Keywords:  lorax tor-relay  |  Actual Points:
Parent ID:                   |         Points:
-----------------------------+----------------------------------
 `AccountingRule max` is often used for services that actually only charge
 for bandwidth out, such as AWS.

 There may also be services that only charge for bandwidth in, although it
 seems somewhat unlikely. However, it should be included for completeness.

 The current `AccountingRule max` and `AccountingRule sum` implementation
 assumes that an increase in outgoing bandwidth always increases the amount
 being measured. Therefore, it disabes the `DirPort` when `AccountingMax`
 is in effect.

 It might make sense to only do this for AccountingRules max, sum, and out;
 and not for AccountingRule in.

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


More information about the tor-bugs mailing list