|
|||||||||||
|
Re: pcap and Libnet
From: Dan Kaminsky <dan(at)doxpara.com>
Date: Tue Jan 07 2003 - 00:40:05 EST >
It's trivial in Libnet 1.0; just set up a link layer interface and pass the pcap buffer (or the pointer to the first byte of your array) into the libnet write function. Use as length the contents of pkthdr.snaplen It's not too bad; check the linkcat source for example code. Libnet 1.1 has an advanced interface that can be cajoled into doing the same thing. --Dan To unsubscribe, e-mail: libnet-unsubscribe@securityfocus.com For additional commands, e-mail: libnet-help@securityfocus.com Received on Tue Jan 7 00:28:26 2003 This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 14:02:22 EDT |
||||||||||
|
|||||||||||