tcpdump mailing list archives

Re: [SOLVED] pcap_open_offline() and filtering problems


From: Zapotek <zapotek () segfault gr>
Date: Wed, 13 Feb 2008 01:24:11 +0200

Please ignore the previous e-mail and forgive my stupidity.
Also, I'd like to thank you for working on libpcap. :)

Regards,
Zapotek.

Zapotek wrote:
Hi to the list,

I've been working an a CDP sniffer and during its development I noticed that filters didn't apply
on packets read from PCAP dumpfiles.

I double checked my code to make sure it wasn't a stupid race condition I had missed but I couldn't find anything.

Unfortunately the code is rather large so I won't attach it to this message.

You can get it using:
svn co svn://segfault.gr/CDPSnarf/trunk cdpsnarf

Or browse the source from: http://websvn.segfault.gr/listing.php?repname=SegFault&path=%2FCDPSnarf%2Ftrunk%2F&rev=0

The problem is in the "main()" function of "cdpsnarf.c".

I realise that this is a bit off-topic but I posted it here in case it was bug.
I'm using libpcap0.8.

Thank you in advance,
Zapotek.


-
This is the tcpdump-workers list.
Visit https://cod.sandelman.ca/ to unsubscribe.


Current thread: