iptraf is an ncurses-based IP LAN monitor that generates various network statistics including TCP info, UDP counts, ICMP and OSPF information, Ethernet load info, node stats, IP checksum errors, and others.
Its ncurses-based user interface also saves users from remembering command line switches.
Features
- An IP traffic monitor that shows information on the IP traffic passing over your network. Includes TCP flag information, packet and byte counts, ICMP details, OSPF packet types.
- General and detailed interface statistics showing IP, TCP, UDP, ICMP, non-IP and other IP packet counts, IP checksum errors, interface activity, packet size counts.
- A TCP and UDP service monitor showing counts of incoming and outgoing packets for common TCP and UDP application ports
- A LAN statistics module that discovers active hosts and shows statistics showing the data activity on them
- TCP, UDP, and other protocol display filters, allowing you to view only traffic you’re interested in.
- Logging
- Supports Ethernet, FDDI, ISDN, SLIP, PPP, and loopback interface types.
- Utilizes the built-in raw socket interface of the Linux kernel, allowing it to be used over a wide range of supported network cards.
- Full-screen, menu-driven operation.
Installation
Ubuntu and it’s derivatives:
sudo apt-get install iptraf
Arch Linux and Its derivatives:
sudo pacman -S iptraf-ng
Fedora and its derivatives:
sudo yum install iptraf
Usage
If the iptraf command is issued without any command-line options, the program comes up in interactive mode, with the various facilities accessed through the main menu.
Menu for easy navigation.
Selecting interfaces to monitor.
Traffic from interface ppp0
Enjoy!