tcpdump mailing list archives

capturing and injection on same interface


From: "Kifah A." <kifah () prz tu-berlin de>
Date: Wed, 07 Jan 2004 15:26:33 +0100

hi everyone,

i have a c-proggie using libpcap for captureing packets, and injecting them with altered payload only back to interface...now you can imagine i would be recapturing packets i just processed (altered+injectedback)...so i get into a loop!
Is there a way to prevent that? knowing i am on OpenBSD 3.4.
Is it using Hashtables? maybe having some values of IP header checked, and compared ti values saved in hashtables of packets injected?
any1 faced such a problem?

Cheers

-
This is the TCPDUMP workers list. It is archived at
http://www.tcpdump.org/lists/workers/index.html
To unsubscribe use mailto:tcpdump-workers-request () tcpdump org?body=unsubscribe


Current thread: