tcpdump mailing list archives

Re: How to use the non-promiscous mode?


From: Guy Harris <guy () alum mit edu>
Date: Wed, 08 Sep 2004 23:54:43 -0700

fullc0de wrote:

I want to use libpcap with non-promiscous mode. But I don't know
how to do.

"How" in what sense?

In the simple sense of "how do I make my program capture in non-promiscuous mode", the answer is "pass 0 as the value of the 'promisc' flag when you call 'pcap_open_log()'".

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


Current thread: