Re: using mbuffer: what am i doing wrong?
Hello,
On Tue, Apr 09, 2024 at 03:13:01PM +0200, DdB wrote:
> from my research, the abbreviated takeaway is:
I never used mbuffer, I use buffer combined with netcat-traditional:
# receiver (TCP server on port 8000)
nc -l -p 8000 | buffer -S 1048576 -s 32768 -o /dev/null
# sender (TCP client on ephemeral port)
nc localhost 8000 < /dev/zero
I just installed mbuffer:
mbuffer -I 8000 -o /dev/null
mbuffer -i /dev/zero -O 127.0.0.1:8000
and it also works.
> > sudo netstat | grep $port
> to return nothing
yes, but those work:
netstat -a | grep :8000
netstat --listen | grep :8000
Maybe it's just that by default netstat only shows sockets in the
ESTABLISHED state and not in the LISTEN state.
> What am i doing wrong?
If there is a timeout, I would suggest to investigate firewalls
on the server side.
Reply to: