aboutsummaryrefslogtreecommitdiff
path: root/bandwidth-file-spec.txt
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2019-03-11 09:44:00 -0400
committerNick Mathewson <nickm@torproject.org>2019-03-11 09:44:00 -0400
commit7139f7a7d1d39183c349cef1e000549a2bfc172e (patch)
treed38389622d77e584a56be5c8f3007a42f2249673 /bandwidth-file-spec.txt
parente6ce3948e85c991f5d8fb9880911543083a76726 (diff)
parent5a5571e7d2981c4be290361416d3c692ac7b7bae (diff)
downloadtorspec-7139f7a7d1d39183c349cef1e000549a2bfc172e.tar.gz
torspec-7139f7a7d1d39183c349cef1e000549a2bfc172e.zip
Merge remote-tracking branch 'tor-github/pr/59'
Diffstat (limited to 'bandwidth-file-spec.txt')
-rw-r--r--bandwidth-file-spec.txt42
1 files changed, 42 insertions, 0 deletions
diff --git a/bandwidth-file-spec.txt b/bandwidth-file-spec.txt
index 556aa8c..5174b31 100644
--- a/bandwidth-file-spec.txt
+++ b/bandwidth-file-spec.txt
@@ -103,6 +103,11 @@
MasterKey ::= a base64-encoded Ed25519 public key, with
padding characters omitted.
DateTime ::= "YYYY-MM-DDTHH:MM:SS", as in ISO 8601
+ CountryCode ::= Two capital ASCII letters ([A-Z]{2}), as defined in
+ ISO 3166-1 alpha-2 plus "ZZ" to denote unknown country
+ (eg the destination is in a Content Delivery Network).
+ CountryCodeList ::= One or more CountryCode(s) separated by a comma
+ ([A-Z]{2}(,[A-Z]{2})*).
Note that key_value and value are defined in Tor directory protocol
with different formats to KeyValue and Value here.
@@ -278,6 +283,25 @@
This Line was added in version 1.2.0 of this specification.
+ "scanner_country=" CountryCode NL
+
+ [Zero or one time.]
+
+ The country, as in political geolocation, where the generator is run.
+
+ This Line was added in version 1.3.0 of this specification.
+
+ "destinations_countries=" CountryCodeList NL
+
+ [Zero or one time.]
+
+ The country, as in political geolocation, or countries where the
+ destination Web server(s) are located.
+ The destination Web Servers serve the data that the generator retrieves
+ to measure the bandwidth.
+
+ This Line was added in version 1.3.0 of this specification.
+
KeyValue NL
[Zero or more times.]
@@ -618,6 +642,24 @@ software=sbws
software_version=1.0.3
=====
+A.4. Headers generated by sbws version 1.0.4
+
+1523911758
+version=1.3.0
+latest_bandwidth=2018-04-16T20:49:18
+destinations_countries=TH,ZZ
+file_created=2018-04-16T21:49:18
+generator_started=2018-04-16T15:13:25
+earliest_bandwidth=2018-04-16T15:13:26
+minimum_number_eligible_relays=3862
+minimum_percent_eligible_relays=60
+number_consensus_relays=6436
+number_eligible_relays=6000
+percent_eligible_relays=93
+scanner_country=SN
+software=sbws
+software_version=1.0.4
+
B. Scaling bandwidths
B.1. Scaling requirements