[tcpdump-workers] Making pcap_loop call different callback functions dependent on packet ..

2004-12-01 Thread MMatos
Hi there! How can i implement a filter that based on the kind of traffic it recieves it calls different "callback functions" ? As an example if a packet arrives from 1.1.1.1 it will call the function callback1 and if it arrives from 1.1.2.1 it should call function callback2 so i can process di

Re: [tcpdump-workers] loopback interface and byte order

2004-12-01 Thread Guy Harris
On Dec 1, 2004, at 3:31 PM, Robert Lowe wrote: In testing a small app using libpcap, I noticed differences in behaviour when using the loopback interface vs. using a hardware interface. In particular, it seems the packets coming in over the loopback interface are still in host byte order (littl

[tcpdump-workers] loopback interface and byte order

2004-12-01 Thread Robert Lowe
Hi! In testing a small app using libpcap, I noticed differences in behaviour when using the loopback interface vs. using a hardware interface. In particular, it seems the packets coming in over the loopback interface are still in host byte order (little endian, in this case). Is that typical, or

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

[tcpdump-workers] Automatic report from sources (tcpdump libpcap htdocs) between 30.11.2004 - 01.12.2004 GMT

2004-12-01 Thread Automatic cvs log generator /tcpdump/bin/makelog
CVS log entries from 30.11.2004 (Tue) 10:06:39 - 01.12.2004 (Wed) 10:06:46 GMT = Summary by authors = Author: guy File: libpcap/CREDITS; Revisions: 1.77 File: libpcap/savefile.c;