From 397ec0f9be57059d264fa59f9411b8bb04b40843 Mon Sep 17 00:00:00 2001 From: Roger Dingledine Date: Wed, 13 Dec 2006 22:42:52 +0000 Subject: Some more documentation and specs for CONNECT_DIR and BEGIN_DIR. Demand that BEGIN_DIR cells have an empty payload. svn:r9104 --- socks-extensions.txt | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'socks-extensions.txt') diff --git a/socks-extensions.txt b/socks-extensions.txt index 46cd983..8097c66 100644 --- a/socks-extensions.txt +++ b/socks-extensions.txt @@ -53,7 +53,15 @@ Tor's extensions to the SOCKS protocol address" portion of the reply. (This command was not supported before Tor 0.1.2.2-alpha.) -3. HTTP-resistance +3. Other command extensions. + + Tor 0.1.2.4-alpha added a new command value: "CONNECT_DIR" [F2]. + In this case, Tor will open an encrypted direct TCP connection to the + directory port of the Tor server specified by address:port (the port + specified should be the ORPort of the server). It uses a one-hop tunnel + and a "BEGIN_DIR" relay cell to accomplish this secure connection. + +4. HTTP-resistance Tor checks the first byte of each SOCKS request to see whether it looks more like an HTTP request (that is, it starts with a "G", "H", or "P"). If -- cgit v1.2.3-54-g00ecf