diff options
author | Sebastian Hahn <sebastian@torproject.org> | 2011-04-19 16:00:41 +0200 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2011-04-19 15:38:26 -0400 |
commit | 3f7f96d9e7aa2254d62d63530c37ee96d4b3abc8 (patch) | |
tree | 0d5b08fb80b253f24db6bcfede7ef5cd70931dcb /changes | |
parent | 13c3884ff60aa0e58464f379f988683f1c30438a (diff) | |
download | tor-3f7f96d9e7aa2254d62d63530c37ee96d4b3abc8.tar.gz tor-3f7f96d9e7aa2254d62d63530c37ee96d4b3abc8.zip |
Prevent hugely inflated observed bandwidth values
When reading the bw history from the state file, we'd add the 900-second
value as traffic that occured during one second. Fix that by adding the
average value to each second.
This bug was present since 0.2.0.5-alpha, but was hidden until
0.2.23-alpha when we started using the saved values.
Diffstat (limited to 'changes')
-rw-r--r-- | changes/bug2704_part2 | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/changes/bug2704_part2 b/changes/bug2704_part2 new file mode 100644 index 0000000000..962c8b7099 --- /dev/null +++ b/changes/bug2704_part2 @@ -0,0 +1,5 @@ + o Major bugfixes: + - Prevent relays that read their bandwidth history from their state file + from arbitrarily inflating that value. Fixes the second half of bug + 2704, bugfix on tor-0.2.2.23-alpha. + |