RE: [libdnet-devel] Capture with pcap, and inject with libdnet on openbsd
Status: Abandoned
Brought to you by:
dugsong
|
From: Kirby K. <kk...@ci...> - 2003-12-05 16:33:35
|
I am not sure I understand your question fully, but take a look at pcap_compile() and pcap_setfilter() which would allow you to write a filter to ignore what you just injected. Kirby Kuehl -----Original Message----- From: lib...@li... [mailto:lib...@li...] On Behalf Of Kifah Abbad Sent: Friday, December 05, 2003 8:18 AM To: lib...@li... Subject: [libdnet-devel] Capture with pcap, and inject with libdnet on openbsd Hello all, Is there a way to set pcap to capture only "really" coming packets on an interface, and not packets injected locally by libdnet 8or libnet)? I heard it is done by setting the simplex tag on the interface, with what is this achieved? could it be achieved for example by using intf_set function of libdnet? -- Best regards, Kifah mailto:ki...@pr... "I am not gonna have you tell me who i am, i am gonna tell you who i am" ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ libdnet-devel mailing list lib...@li... https://lists.sourceforge.net/lists/listinfo/libdnet-devel |