Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 59315 - net-misc/knock-0.3 client gets stuck in TCP SYNWAIT
Summary: net-misc/knock-0.3 client gets stuck in TCP SYNWAIT
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Markus Nigbur (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-03 15:55 UTC by Per Cederberg
Modified: 2004-09-15 03:34 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Change knock client to use non-blocking TCP connections (knock-0.3-nonblock.patch,617 bytes, patch)
2004-08-03 15:56 UTC, Per Cederberg
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Per Cederberg 2004-08-03 15:55:23 UTC
The net-misc/knock-0.3 package contains a client (/usr/bin/knock) that gets stuck in TCP SYNWAIT state when attempting to send TCP port knocking sequences. The connection attempts normally take several minutes to timeout, which renders the client mostly useless for TCP port knocking.

I've written a small patch for this that has been accepted upstream by the package maintainer. It is said to be included in the next upstream release, but that may still be a while (who knows).

This bug contains the patch (against knock-0.3) for inclusion in the portage tree while we are waiting for the upstream fix.
Comment 1 Per Cederberg 2004-08-03 15:56:09 UTC
Created attachment 36718 [details, diff]
Change knock client to use non-blocking TCP connections
Comment 2 Markus Nigbur (RETIRED) gentoo-dev 2004-08-27 04:18:34 UTC
Sounds reasonable enough to include the patch.

In cvs.
Comment 3 Per Cederberg 2004-09-15 03:34:15 UTC
FYI: knock-0.3.1 has now been released with this patch included (and some other minor stuff).