aboutsummaryrefslogtreecommitdiff
path: root/control-spec.txt
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-05-14 14:26:06 -0400
committerNick Mathewson <nickm@torproject.org>2018-05-14 14:26:06 -0400
commit436d08b49fb84aa62d7bc96013002a0c27534bbb (patch)
treec45b67671725329698e799e0ddf0579f8cb26f2f /control-spec.txt
parent1f7657ebfc8dfee85670331086e48784bb8ef5c0 (diff)
parentfbb38ec724e595ffc3a8b7ec9a4eac26e7c9f6ab (diff)
downloadtorspec-436d08b49fb84aa62d7bc96013002a0c27534bbb.tar.gz
torspec-436d08b49fb84aa62d7bc96013002a0c27534bbb.zip
Merge remote-tracking branch 'mikeperry/bug25903_v3'
Diffstat (limited to 'control-spec.txt')
-rw-r--r--control-spec.txt25
1 files changed, 21 insertions, 4 deletions
diff --git a/control-spec.txt b/control-spec.txt
index 510dc29..72ceb15 100644
--- a/control-spec.txt
+++ b/control-spec.txt
@@ -2929,14 +2929,31 @@
The syntax is:
"650" SP "CIRC_BW" SP "ID=" CircuitID SP "READ=" BytesRead SP
- "WRITTEN=" BytesWritten SP "TIME=" Time CRLF
+ "WRITTEN=" BytesWritten SP "TIME=" Time SP
+ "DELIVERED_READ=" DeliveredBytesRead SP
+ "OVERHEAD_READ=" OverheadBytesRead SP
+ "DELIVERED_WRITTEN=" DeliveredBytesWritten CRLF
+ "OVERHEAD_WRITTEN=" OverheadBytesWritten SP
BytesRead = 1*DIGIT
BytesWritten = 1*DIGIT
+ OverheadBytesRead = 1*DIGIT
+ OverheadBytesWritten = 1*DIGIT
+ DeliveredBytesRead = 1*DIGIT
+ DeliveredBytesWritten = 1*DIGIT
Time = ISOTime2Frac
- BytesRead and BytesWritten are the number of bytes read and written by
- all applications with streams attached to this circuit since the last
- CIRC_BW event.
+ BytesRead and BytesWritten are the number of bytes read and written
+ on this circuit since the last CIRC_BW event.
+
+ DeliveredBytesRead and DeliveredBytesWritten are the total length of
+ all valid relay cell payloads read and written on this circuit since
+ the last CIRC_BW event. These fields are provided only in Tor
+ 3.4.0-alpha and later.
+
+ OverheadBytesRead and OverheadBytesWritten are the total length of
+ the unused overhead portion of valid relay cells read and written on
+ this circuit since the last CIRC_BW event. These fields are provided
+ only in Tor 0.3.4.0-alpha and later.
The Time field is provided only in versions 0.3.2.1-alpha and later. It
records when Tor created the bandwidth event.