Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #268811

Re: using mbuffer: what am i doing wrong?

From Marc SCHAEFER <schaefer@alphanet.ch>
Newsgroups linux.debian.user
Subject Re: using mbuffer: what am i doing wrong?
Date 2024-04-11 15:50 +0200
Message-ID <Is2Yp-5zEe-3@gated-at.bofh.it> (permalink)
References <Irk1j-58je-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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.

Back to linux.debian.user | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Re: using mbuffer: what am i doing wrong? Marc SCHAEFER <schaefer@alphanet.ch> - 2024-04-11 15:50 +0200
  Re: SOLVED (was: Re: using mbuffer: what am i doing wrong?) Marc SCHAEFER <schaefer@alphanet.ch> - 2024-04-14 18:10 +0200

csiph-web