From 42f16fc2cebd737c111b138268fc2079ae8252c0 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Thu, 22 Jun 2023 10:43:28 -0400 Subject: [PATCH] socksproto: Add unspecified but documented socks5 extension codes --- crates/tor-socksproto/src/msg.rs | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/crates/tor-socksproto/src/msg.rs b/crates/tor-socksproto/src/msg.rs index 0e87c27c5..35633bd0f 100644 --- a/crates/tor-socksproto/src/msg.rs +++ b/crates/tor-socksproto/src/msg.rs @@ -191,6 +191,14 @@ caret_int! { HS_MISSING_CLIENT_AUTH = 0xF4, /// Prop304: "Onion Service Wrong Client Authorization" HS_WRONG_CLIENT_AUTH = 0xF5, + /// "Onion service address is invalid" + /// + /// (Documented in `tor.1` but not yet specified.) + HS_BAD_ADDRESS = 0xF6, + /// "Onion Service Introduction Timed Out" + /// + /// (Documented in `tor.1` but not yet specified.) + HS_INTRO_TIMEOUT = 0xF7 } }