Source MAC address
gerry <[email protected]> 1 Dec 2004 15:30:16 -0000
| Newsgroups | gmane.comp.security.libnet |
|---|---|
| Message-ID | <[email protected]> |
Hi,=0D =0D I have a question concerning libnet 1.1.x and the link-layer interface.=0D Mike writes in his excellent book:=0D "The link-layer enables a finer-grained control of packet header values b= ecause 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 t= ry to stamp a source MAC address on the packets of the outgoing interface= ; libnet handles this situation on several variants)".=0D 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?=0D =0D Thanks in advance.=0D - gerry=0D =20