Add AccountingRule in and out
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.