Re: [tcpdump-workers] Minimal frame size problem

2005-03-16 Thread Guy Harris
2 - However on /usr/include/net/ethernet.h there is a defined value of: ETHER_MIN_LEN 64, this means that the minimal length of an ethernet frame is 64 bytes, so lets count: - 14 for ethernet header - 20 for ip header without options - 8 for udp

[tcpdump-workers] Counting packets

2005-03-16 Thread M. A. Imam
Hi, How can i count the number of packets on an interface evry 2 or 5 seconds. and i want to count only specific packets like only arriving packets from port 5001 Any ideas... Muhammad - This is the tcpdump-workers list. Visit https://lists.sandelman.ca/ to unsubscribe.

[tcpdump-workers] Minimal frame size problem

2005-03-16 Thread Victor Lima
Hello tcpdump-workers, This is my first post to the list, so be nice with a stranger, please :) Im writing an application that uses pcap to retrieve packets with the following configuration: [udp] + [payload], Im using BPF filters to narrow down these udp packets to a certain port, after I