netcat with freenas 8.x/9.x

Status
Not open for further replies.

balla

Cadet
Joined
Feb 5, 2014
Messages
3
I see some strage behaviour while running netcat as a post init command.

When "/usr/bin/nc -l -k -v 3456" is executed from the terminal the port is kept open until client terminates. However if I set up freenas to start netcat post init, it will send FIN ACK to the client after ~100ms. Any data sent from the client is received before FIN ACK:ing.

Any ideas what can cause this?
 

balla

Cadet
Joined
Feb 5, 2014
Messages
3
Seems related to no std in/out...

Solution:
echo -n | nc -lkvd 3456 > /dev/null
 
Status
Not open for further replies.
Top