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]

Source MAC address

Subject: Source MAC address
Date: 1 Dec 2004 15:30:16 -0000


Hi,

I have a question concerning libnet 1.1.x and the link-layer interface.
Mike writes in his excellent book:
"The link-layer enables a finer-grained control of packet header values because 
the OS kernel will not touch the packet before it is written out (the exception 
being that some interface code on some UNIX variants will try to stamp a source 
MAC address on the packets of the outgoing interface; libnet handles this 
situation on several variants)".
I'm interested in the Linux variants trying to stamp a source MAC address. How 
can I make sure that the kernel does not touch the packets (kernel options)? 
Has it something to do with the HAVE_PACKET_SOCKET flag?

Thanks in advance.
- gerry
 

<Prev in Thread] Current Thread [Next in Thread>
  • Source MAC address, gerry <=