Public bug reported:

Binary package hint: openvpn

A client connecting to an OpenVPN server running Lucid hangs on
PUSH_REQUEST. Same server config works on Karmic.

My server config does not contain any 'push' directives. If I add the
tcp-nodelay macro to my server config, the 'push "socket-flags
TCP_NODELAY"' that it sends the client prevents it from hanging and the
connection completes. The tcp-nodelay option fails on the Windows
clients I tested it with, but merely passing the PUSH fixes the
connection hang.

I haven't tested any other push directives to see if they have the same
effect.

Current package version: 2.1.0-1ubuntu1 (lucid)
Working package version: 2.1~rc19-1ubuntu2 (karmic)

OpenVPN server config used:
-------------------------------------
mode server
port 1194
proto udp
dev tap0
up "/etc/openvpn/up.sh br0"
down "/etc/openvpn/down.sh br0"
replay-persist replay-persist-file 
tls-server
ca ca.crt
cert server.crt
key server.key
dh dh2048.pem
ping 15
ping-restart 300 # 5 minutes, good for dynamic dns
resolv-retry 300 # 5 minutes, good for dynamic dns
persist-tun
persist-key
comp-lzo
user nobody
group nogroup
status openvpn-status.log
verb 3
#tcp-nodelay #uncomment to fix in lucid

** Affects: openvpn (Ubuntu)
     Importance: Undecided
         Status: New

-- 
OpenVPN client connect hangs on PUSH_REQUEST
https://bugs.launchpad.net/bugs/579737
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openvpn in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to