

Tcpdump: listening on en0, link-type EN10MB (Ethernet), capture size 65535 bytesġ5:51:21.914611 IP (tos 0x0, ttl 128, id 5008, offset 0, flags, proto UDP If flows packets are being received by the InterMapper Flows server, the tcpdump program will show information like this on the screen:ĭhcp-78:~ Janice$ sudo tcpdump -i en0 -s 0 -v udp and port 2055 NB: The filter for the packets can use several terms separated by and, including: Use the "ifconfig -a" command described above to be sure. NB: On MacOSX, the ethernet interface is generally en0 on Linux, it's generally eth0. Tcpdump -i en0 -s 65535 -v -w somefile udp and port 2055 To stop collecting packets, press Control-C. If you wish to save the collected data packets for later analysis, you can write them to a file using the second form. To capture and display all UDP packets on port 2055 on interface en0, use the following commands. Supported media: none autoselect 10baseT/UTP 10baseT/UTP Media: autoselect (100baseTX ) status: active Inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1 The output of this command will list all network interfaces: You should first determine the interface to include in the tcpdump command line by running the following command in a Terminal window: Both Mac OS X and Linux provide a command-line packet capture utility (tcpdump) that will intercept and display the contents of packets sent and received on a network interface. Q.Is there a way to confirm whether my exporter is sending flows packets to the InterMapper Flows server?Ī.
