On Thu, Feb 26, 2004, Henrik Nordstrom wrote: > On Thu, 26 Feb 2004, Adrian Chadd wrote: > > > Right. I'll compile it from source. Which kernel are you using? > > Kernel is irrelevant. This has been seen from Linux-2.4.TEST1 to 2.4.24.
Just checking the variables.. > When netcat sees EOF in stdin it calls shutdown(fd, SHUT_WR), this causes > the TCP transmit channel to shut down (FIN sent). > > Looking into details of the netcat I am using and I find it is patched > with a patch to add half-closed connection support which explains the > different behaviour we are seeing. Patch attached. Aha! ok. I've just patched the debian package to do it. I'll run off and test it out now. Funnily enough, there's a netcat-2.0 floating about, with IPv6 support. I'll have to figure out who to send the patch to what to.. Adrian
