iptraf-ng – Interactive IP Traffic Monitor

iptraf-ng is an enhanced fork of the classic iptraf IP traffic monitor, providing detailed network...

Networking Tools Linux Open Source

iptraf-ng is an enhanced fork of the classic iptraf IP traffic monitor, providing detailed network statistics in a colorful ncurses interface. It offers real-time monitoring of IP traffic, TCP connections, interface statistics, and protocol breakdowns, making it invaluable for network analysis and troubleshooting.

The tool provides multiple monitoring modes including IP traffic monitor, interface statistics, detailed protocol statistics, and LAN station monitor. Its comprehensive feature set and interactive interface make it a favorite among network administrators for detailed traffic analysis.

Key Features

  • IP Traffic Monitor – Real-time packet counts by connection
  • Interface Statistics – Detailed per-interface metrics
  • Protocol Breakdown – TCP, UDP, ICMP, and more
  • LAN Station Monitor – Track hosts on your network
  • Filters – Focus on specific traffic types
  • Logging – Save statistics to files

Installation

sudo apt install iptraf-ng    # Debian/Ubuntu
sudo dnf install iptraf-ng    # Fedora/RHEL

Basic Usage

# Launch interactive mode
sudo iptraf-ng

# IP traffic monitor on specific interface
sudo iptraf-ng -i eth0

# General interface statistics
sudo iptraf-ng -g

# Detailed interface statistics
sudo iptraf-ng -d eth0

# LAN station monitor
sudo iptraf-ng -l eth0

Use Cases

  • Traffic Analysis – Understand network usage patterns
  • Performance Monitoring – Track interface utilization
  • Security Monitoring – Detect unusual traffic
  • Troubleshooting – Diagnose connectivity issues

Download iptraf-ng

Was this article helpful?