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: libnet and root privileges question

Subject: Re: libnet and root privileges question
Date: Wed, 19 Jan 2005 20:56:26 +0100
On Wed, Jan 19, 2005 at 03:10:13PM +0100, Bokor Laszlo wrote:



Dear All,

my question is for the libnet developers: is there any method to use your
library without root privileges? We are using libnet only to create
UDP/IPv6 headers. We are getting out the created headers from the context,
and writing them into a specialized file, so we don't use any sockets.

If you know any other library for the mentioned problem, please tell me.

Hoping your kind help,
goodzi

With the current libnet version (1.1.*) you need to root rights as
the only output device is either through RAW sockets or link level
sockets.

However, in the "devel" version (libnetng), I have added a PCAP
injection mode, which requires no privilege at all.

Have a look here :
http://www.security-labs.org/libnetng/

Get the last sources and the README.ng file. You can also view the
sample directory.

Regards,

        Fred Raynal

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