diff options
author | Karsten Loesing <karsten.loesing@gmx.net> | 2010-08-24 08:11:17 +0200 |
---|---|---|
committer | Karsten Loesing <karsten.loesing@gmx.net> | 2010-12-03 16:47:53 +0100 |
commit | 7f744603c3adc649fcc56d84f84f2005427e7429 (patch) | |
tree | a7dab37ed3c5bfa90a1f51dd2bd5cf83011eeec4 | |
parent | 19cfc6182c82a386387ca48a3bba2597f05c975f (diff) | |
download | torspec-7f744603c3adc649fcc56d84f84f2005427e7429.tar.gz torspec-7f744603c3adc649fcc56d84f84f2005427e7429.zip |
Write bidirectional connection stats in single line.
There's no need to have a separate line conn-stats-end for the end date
and interval length with only a single line conn-bi-direct following.
-rw-r--r-- | dir-spec.txt | 26 |
1 files changed, 8 insertions, 18 deletions
diff --git a/dir-spec.txt b/dir-spec.txt index 4c22771..1498437 100644 --- a/dir-spec.txt +++ b/dir-spec.txt @@ -848,27 +848,17 @@ Mean number of circuits that are included in any of the deciles, rounded up to the next integer. - "conn-stats-end" YYYY-MM-DD HH:MM:SS (NSEC s) NL - [At most once] - - YYYY-MM-DD HH:MM:SS defines the end of the included connection - statistics measurement interval of length NSEC seconds (86400 - seconds by default). - - A "conn-stats-end" line, as well as any other "conn-*" line, - is first added after the relay has been running for at least 24 - hours. - - "conn-bi-direct" BELOW,READ,WRITE,BOTH NL + "conn-bi-direct" YYYY-MM-DD HH:MM:SS (NSEC s) BELOW,READ,WRITE,BOTH NL [At most once] Number of connections, split into 10-second intervals, that are - used uni-directionally or bi-directionally. Every 10 seconds, - we determine for every connection whether we read and wrote less - than a threshold of 20 KiB (BELOW), read at least 10 times more - than we wrote (READ), wrote at least 10 times more than we read - (WRITE), or read and wrote more than the threshold, but not 10 - times more in either direction (BOTH). After classifying a + used uni-directionally or bi-directionally as observed in the NSEC + seconds (usually 86400 seconds) before YYYY-MM-DD HH:MM:SS. Every + 10 seconds, we determine for every connection whether we read and + wrote less than a threshold of 20 KiB (BELOW), read at least 10 + times more than we wrote (READ), wrote at least 10 times more than + we read (WRITE), or read and wrote more than the threshold, but + not 10 times more in either direction (BOTH). After classifying a connection, read and write counters are reset for the next 10-second interval. |