summaryrefslogtreecommitdiff
path: root/src/or/config.h
diff options
context:
space:
mode:
authorRobert Hogan <robert@roberthogan.net>2010-08-03 22:28:55 +0100
committerRobert Hogan <robert@roberthogan.net>2010-12-14 19:47:22 +0000
commitbf136b94de39de65638ce3daaf2e87731cd0a44a (patch)
tree1cf3e71b30efadf4a4add025f63384934ec6612f /src/or/config.h
parenta62b79dfc92b741a8aef616e807b6c330288048f (diff)
downloadtor-bf136b94de39de65638ce3daaf2e87731cd0a44a.tar.gz
tor-bf136b94de39de65638ce3daaf2e87731cd0a44a.zip
bug1666 - Pass-through support for SOCKS5 authentication
If a SOCKS5 client insists on authentication, allow it to negotiate a connection with Tor's SOCKS server successfully. Any credentials the client provides are ignored. This allows Tor to work with SOCKS5 clients that can only support 'authenticated' connections. Also add a bunch of basic unit tests for SOCKS4/4a/5 support in buffers.c.
Diffstat (limited to 'src/or/config.h')
-rw-r--r--src/or/config.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/config.h b/src/or/config.h
index bd5827b4e8..db871d472a 100644
--- a/src/or/config.h
+++ b/src/or/config.h
@@ -76,5 +76,7 @@ uint32_t get_effective_bwburst(or_options_t *options);
or_options_t *options_new(void);
#endif
+void config_register_addressmaps(or_options_t *options);
+
#endif