Re: [tcpdump-workers] Promiscuous mode and BPF filters?

2004-12-02 Thread Claudio Lavecchia
Guy Harris wrote: if it *does* use "pcap_compile()" and "pcap_setfilter()", i.e. it already does packet filtering, it *adds* to the filter an expression to reject all the traffic from laptop B, i.e. instead of filtering with an expression X, you filter with "(not wlan src BB:BB:BB:BB:BB:BB)

Re: [tcpdump-workers] Promiscuous mode and BPF filters?

2004-12-01 Thread Guy Harris
On Dec 1, 2004, at 7:53 AM, Claudio Lavecchia wrote: I have two laptops (say A and B) that have 802.11 wireless cards. I am developing some application that essentially perform sniffing functions using wireless cards in promiscuous mode. To test my code, I need those two laptops not to "see" eac

[tcpdump-workers] Promiscuous mode and BPF filters?

2004-12-01 Thread Claudio Lavecchia
Hello ppl, I need a little assistance from you experienced packet filtering guys: I am running a Linux Redhat 7.3 distribution (kernel version 2.4.18-3). My problem is the following: I have two laptops (say A and B) that have 802.11 wireless cards. I am developing some application that essentially