Ethical Hacking

Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package.
Computer Forensics Training at InfoSec Institute

Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors.




Network Security Libnet
[Top] [All Lists]

Re: performance of libnet-based tools

Subject: Re: performance of libnet-based tools
Date: Tue, 1 Mar 2005 12:55:22 -0800 (PST)
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);


<Prev in Thread] Current Thread [Next in Thread>