[SRU] OpenVPN client connect hangs on PUSH_REQUEST
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenVPN |
Fix Released
|
Unknown
|
|||
openvpn (Debian) |
Fix Released
|
Unknown
|
|||
openvpn (Ubuntu) |
Fix Released
|
Medium
|
Thierry Carrez | ||
Lucid |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
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/
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
Changed in openvpn: | |
status: | Unknown → New |
Changed in openvpn: | |
status: | New → Confirmed |
Changed in openvpn: | |
status: | Confirmed → Fix Released |
Changed in openvpn (Ubuntu): | |
assignee: | nobody → Thierry Carrez (ttx) |
importance: | Low → Medium |
status: | Triaged → In Progress |
tags: | added: patch |
Changed in openvpn (Debian): | |
status: | Unknown → New |
Changed in openvpn (Debian): | |
status: | New → Fix Released |
summary: |
- OpenVPN client connect hangs on PUSH_REQUEST + [SRU] OpenVPN client connect hangs on PUSH_REQUEST |
OpenVPN Client config used: ------- ------- ------- ------- -
-------
client
dev tap
remote somedomain.org
nobind
replay-persist replay-persist-file
ca ca.crt
cert client.crt
key client.key
ns-cert-type server
ping 15
ping-restart 300
resolv-retry 300
persist-tun
persist-key
comp-lzo
verb 3