[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [tor-talk] OpenVPN over Tor [#328 recv_socks_reply TCP timeout]



On 12/14/2013 12:33 PM, grarpamp wrote:

> OpenVPN seems to have issues with slow socks5 servers.
> There is an OpenVPN ticket you could add fixes/patches to.
> 
> https://community.openvpn.net/openvpn/ticket/328
> recv_socks_reply: TCP port read timeout expired: Operation now in
> progress (errno=36)

I've had this problem as well. There's a poorly documented OpenVPN patch
that adds a username/password option
<https://groups.google.com/forum/#!topic/openvpn-devel/yt71urxsKL8>.

>    #ifdef ENABLE_SOCKS
> -  "--socks-proxy s [p]: Connect to remote host through a Socks5
>    proxy at address\n"
> -  "                  s and port p (default port = 1080).\n"
> +  "--socks-proxy s [p] [up] : Connect to remote host through a
     Socks5 proxy at\n"
> +  "                  address s and port p (default port = 1080).\n"
> +  "                  If proxy authentication is required,\n"
> +  "                  up is a file containing username/password
     on 2 lines, or\n"
> +  "                  'stdin' to prompt for console.\n"
>      "--socks-proxy-retry : Retry indefinitely on Socks proxy
       errors.\n"
>    #endif

With Tor gateway VMs, adding "up" (using the VM's username and password)
eliminated the timeout errors.
-- 
tor-talk mailing list - tor-talk@xxxxxxxxxxxxxxxxxxxx
To unsubscribe or change other settings go to
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-talk