Implement proposal 351

This proposal adds new syntax to the SOCKS5 username/password extension scheme,
so that requests with usernames starting with <torS0X> are now reserved.

For C tor, all we need to do is reject every username starting with <torS0X>
unless it is exactly "<torS0X>0".
This commit is contained in:
Nick Mathewson
2024-09-09 17:00:50 -04:00
parent 17a70ab7c5
commit 3dfbacc7b6
2 changed files with 20 additions and 0 deletions
+7
View File
@@ -0,0 +1,7 @@
o Minor features (SOCKS):
- Detect invalid SOCKS5 username/password combinations according to
new extended parameters syntax. (Currently, this rejects any
SOCKS5 username beginning with "<torS0X>", except for the username
"<torS0X>0". Such usernames are now reserved to communicate additional
parameters with other Tor implementations.)
Implements proposal 351.