TranslateProject/sources/tech/20150126 iptraf--A TCP or UDP Network Monitoring Utility.md
2015-01-27 16:58:27 +08:00

2.6 KiB
Raw Blame History

Ping -- Translating

iptraf: A TCP/UDP Network Monitoring Utility

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 youre 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.

To install

Ubuntu and its derivatives

sudo apt-get install iptraf

Arch Linux and Its derivatives

sudo pacman -S iptra

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!


via: http://www.unixmen.com/iptraf-tcpudp-network-monitoring-utility/

作者:Enock Seth Nyamador 译者:译者ID 校对:校对者ID

本文由 LCTT 原创翻译,Linux中国 荣誉推出