tcpdump mailing list archives

Re: pcap_setdirection and mmap access


From: Guy Harris <guy () alum mit edu>
Date: Wed, 18 Nov 2009 13:21:45 -0800


On Nov 18, 2009, at 12:18 AM, Dragos Ilie wrote:

Could somebody please confirm if pcap_setdirection() works with Linux
memory-mapped access. My preliminary results indicate that it doesn't
(libpcap appears to capture all packets irrespective of the
direction).

        https://sourceforge.net/tracker/?func=detail&aid=2556716&group_id=53067&atid=469579

Fixed in the main Git branch.

If my results are correct, is there a way to turn off mmap
access through the libpcap API?

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


Current thread: