From 9aad630153d8bb7c9c3b07b47855700705595059 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Mon, 23 May 2022 14:31:38 -0400 Subject: Clarify who sends padding negotiation and when. Also explain what should happen if those assumptions are violated. --- padding-spec.txt | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/padding-spec.txt b/padding-spec.txt index 0a45e8b..9806b2a 100644 --- a/padding-spec.txt +++ b/padding-spec.txt @@ -252,6 +252,13 @@ Table of Contents CELL_PADDING_NEGOTIATE to instruct the relay not to pad, and then does not send any further padding itself. + Currently, clients negotiate padding only when a channel is created, + immediately after sending their NETINFO cell. Recipients SHOULD, however, + accept padding negotiation messages at any time. + + Clients and bridges MUST reject padding negotiation messages from relays, + and close the channel if they receive one. + 2.6. Consensus Parameters Governing Behavior Connection-level padding is controlled by the following consensus parameters: -- cgit v1.2.3-54-g00ecf