#13 closed Bug / Defect (fixed)
Not using --push on server makes client sending PUSH_REQUEST continuously
Reported by: | David Sommerseth | Owned by: | David Sommerseth |
---|---|---|---|
Priority: | critical | Milestone: | beta 2.2 |
Component: | Configuration | Version: | OpenVPN git master branch (Community Ed) |
Severity: | Not set (select this one, unless your'e a OpenVPN developer) | Keywords: | |
Cc: |
Description (last modified by )
Reported to sf.net bug tracker:
http://sourceforge.net/tracker/?func=detail&atid=454719&aid=3009984&group_id=48978
When not using --push on the server side, the client sends new PUSH_REQUESTS which blocks the tunnel being set up properly.
Adding either --tcp-nodelay (even though we're using UDP) or a --push statement resolves this issue.
Confirmed on 2.1.1 and openvpn-testing.git (commit bdd699ccafd4f566e87e3ed127)
Attached config files for reproducing this issue from the openvpn-testing.git source tree.
Attachments (3)
Change History (7)
Changed 14 years ago by
Attachment: | nopush_server.conf added |
---|
comment:1 Changed 14 years ago by
Description: | modified (diff) |
---|
comment:2 Changed 14 years ago by
Owner: | set to David Sommerseth |
---|---|
Status: | new → accepted |
Changed 14 years ago by
Attachment: | 0001-Fixed-client-hang-when-server-don-t-PUSH-aka-the-NO_.patch added |
---|
Patch fixing this issue
comment:3 Changed 14 years ago by
Resolution: | → fixed |
---|---|
Status: | accepted → closed |
Version: | 2.1.0 / 2.1.1 → openvpn-testing |
This commit solves the issue. It got applied to the bugfix2.1 and merged into allmerged Jun 17.
commit cb56a3ebe65871ae37894503e35c0b3703ee17a5
Author: David Sommerseth <dazo@…>
Date: Sun Jun 13 00:35:55 2010 +0200
Fixed client hang when server don't PUSH (aka the NO_SOUP_FOR_YOU patch)
Solves bug ticket 13
<https://community.openvpn.net/openvpn/ticket/13>
When the client sends PUSH_REQUESTS, it waits until the server sends PUSH_RE
If the server do not have anything to push to the client nothing happens. T
client will then regularly send new PUSH_REQUESTS until it gets an answer, w
results in not completing the connection negotiation.
This patch makes the server send an empty PUSH_REPLY when it has nothing to
to push to the client.
Signed-off-by: David Sommerseth <dazo@…>
Acked-by: James Yonan <james@…>
comment:4 Changed 14 years ago by
Milestone: | → beta 2.2 |
---|
Reproducer: Server side config