Libnet
performance of libnet-based tools Feb 26 2005 07:07AM
Steven Alexander Jr. (alexander steven sbcglobal net) (4 replies)
Re: performance of libnet-based tools Mar 01 2005 09:29PM
Aaron Turner (aturner pobox com)
Re: performance of libnet-based tools Mar 01 2005 08:55PM
Mark Atkinson (darkmark filament org)
On Fri, 25 Feb 2005, Steven Alexander Jr. wrote:
> Failed to send packet: No buffer space available

BPF_MAXBUFSIZE controls this value and lives in
sys/net/bpf.h (usually installed under /usr/src).

you can see the current buffer size with the following command.

sysctl -a |grep bpf

You'll have to rebuild, reinstall your kernel after any change to this
amount.

You might need to increase your maxusers tunable to avoid a panic when the
kernel trys to allocate another buffer but not enough kernel memory is
available. See tuning(7) for more information.

You might try the freebsd -net or -performance mailing lists if you have
any more questions.

> The synflood tool that comes as a libnet sample works
> for several seconds and begins reporting:
>
> libnet_write: libnet_write_raw_ipv4(): -1 bytes
> written (Host is down)

I'll let somebody else answer this one.

All the best,

--
Mark Atkinson
(!wired)?(coffee++):(wired);

[ reply ]
Re: performance of libnet-based tools Mar 01 2005 07:40PM
Matt Bing (matt mutedwarf com)
Re: performance of libnet-based tools Mar 01 2005 07:23PM
Frédéric Raynal (frederic raynal security-labs org)


 

Privacy Statement
Copyright 2010, SecurityFocus