From 12f041de930a20a3df91f9f90c4fd518162ea82c Mon Sep 17 00:00:00 2001 From: dequis Date: Wed, 21 Oct 2015 10:14:17 -0300 Subject: socks4a proxy support (like socks4 with remote DNS) Fixes trac ticket 995 https://bugs.bitlbee.org/bitlbee/ticket/995 This is slightly pointless for the suggested use case (tor), since with socks5 we already send a hostname instead of an IP address. Either way, it was easy to implement, so I hope it helps. --- lib/proxy.h | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/proxy.h') diff --git a/lib/proxy.h b/lib/proxy.h index 9688aaa6..eaf31375 100644 --- a/lib/proxy.h +++ b/lib/proxy.h @@ -39,6 +39,7 @@ #define PROXY_HTTP 1 #define PROXY_SOCKS4 2 #define PROXY_SOCKS5 3 +#define PROXY_SOCKS4A 4 extern char proxyhost[128]; extern int proxyport; -- cgit v1.2.3