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.
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.
Regards
Henrik
This archive was generated by hypermail pre-2.1.9 : Mon Mar 01 2004 - 12:00:04 MST