From 514cb9d45a0fbd6d0d9a198567eb18e1cf8f02e4 Mon Sep 17 00:00:00 2001 From: David Goulet Date: Mon, 1 Nov 2021 16:07:54 -0400 Subject: prop328: Fix the usage of extra-info versus server descriptor Signed-off-by: David Goulet --- proposals/328-relay-overload-report.md | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'proposals/328-relay-overload-report.md') diff --git a/proposals/328-relay-overload-report.md b/proposals/328-relay-overload-report.md index ea0aa95..e9634ae 100644 --- a/proposals/328-relay-overload-report.md +++ b/proposals/328-relay-overload-report.md @@ -25,8 +25,11 @@ possibly misbehaving or under DDoS attack. We propose that relays start collecting several metrics (see section 2) reflecting their loads from different component of tor. -Then, we propose that 3 new lines be added to the server descriptor document -(see dir-spec.txt, section 2.1.1) if only the overload case arises. +Then, we propose that 1 new line be added to the server descriptor document +(see dir-spec.txt, section 2.1.1) for the general overload case. + +And 2 new lines to the extra-info document (see dir-spec.txt, section 2.1.2) +for more specific overload cases. The following describes a series of metrics to collect but more might come in the future and thus this is not an exhaustive list. @@ -79,6 +82,9 @@ descriptor, as well as the number of times these limits were reached, for read and write, in the past 24 hours starting at the provided timestamp rounded down to the hour. +The format of this overload line added in the extra-info document is as +follows: + ``` "overload-ratelimits" SP version SP YYYY-MM-DD SP HH:MM:SS SP rate-limit SP burst-limit @@ -104,7 +110,8 @@ Not having enough file descriptors in this day of age is really a misconfiguration or a too old operation system. That way, we can very quickly notice which relay has a value too small and we can notify them. -This should be published in this format: +The format of this overload line added in the extra-info document is as +follows: ``` "overload-fd-exhausted" SP version YYYY-MM-DD HH:MM:SS NL -- cgit v1.2.3-54-g00ecf