Welcome and question about netcat quitting in the middle of a connection

Denis Vlasenko vda.linux at googlemail.com
Wed Jan 17 23:54:48 UTC 2007


On Monday 15 January 2007 10:40, Lukasz Kowalczyk wrote:
> Hi,
> 
> I have run into a strange problem with netcat provided by BusyBox 1.2.2.
> 
> I run a small linux distribution based on the kernel 2.6.18.  Netcat
> is started in listen mode from a script which in turn is started
> directly from a very simple init script.
> 
> The problem is, netcat quits (with exit code 0) after receiving a few
> hundred kilobytes of a 200M file sent over a TCP socket.

Where exactly does it quit? strace may help identifying that.
If not, add prints to source (like "exited because got EOF from network").
--
vda



More information about the busybox mailing list