[netflow-tools] Patch to allow explicit specification of SO_SNDBUF and SO_RCVBUF

Damien Miller djm at mindrot.org
Wed Oct 24 11:05:53 EST 2007


On Tue, 23 Oct 2007, Jesse Kempf wrote:

> 
> I've inlined the diff at the bottom of the email.
>
> In short, this patch makes it possible to specify the receive buffer
> size for each ``listen on'' directive, and the send buffer size for
> ``logsock''.
>
> There's some receive buffer guessing for listening sockets already,
> but I figured it would be more helpful (and more precise) to let the
> administrator explicitly tune the values. Well, that and I just had
> need to take a crack at tuning these values.

Applied (with some trivial tweaks) - thanks!

It would be good if you could specify a scale suffix to the bufsize number,
e.g. "listen on 0.0.0.0:1234 bufsize 512k", if you are interested in doing
more work :)

-d


More information about the netflow-tools mailing list