Monitor Network Traffic Ubuntu With Iptraf

A few days ago I was doing some analysis of the existing connection on my laptop. That's because the game client which runs on wine is not running properly. The point is, game client cannot connect on a game server that resides on a public IP address. Meanwhile, game client can log-in into the game on a local IP address that the server is in his 1st LAN network. It made me curious about what was done by the wine so she can't do the connections against the server. Culminate with the result that the wine does not support in this case with the results of the ras debug support is not implemented. From there I also did an analysis of the networks by using iptraf-ng because it occurred to that port is blocked or there may be a port that I do not allow that I don't know. For in realtime I prefer iptraf-ng compared with ntop and the other to monitor the network.

What is IPTraf-ng?
IPTraf-ng is a utility to perform network monitoring-based Command Line Interface.

What features are provided?
  1. IP traffic monitor on the network that displays TCP flag, packet and byte number information, ICMP details, OSPF packet
  2. General interface and statistical details display IP, TCP, UDP, ICMP, non-IP, IP checksum error, interface activity, packet quantity.
  3. The TCP and UDP service monitors will display the number of incoming and outgoing packets for common TCP and UDP ports in the application
  4. The LAN statistics module that will find the active host and display the data activity statistics of the network
  5. Filtering TCP, UDP and other procol
  6. Support for Logging (recording activities)
  7. Supports for Ethernet interfaces, FDDI, ISDN, SLIP, PPP, and loopback types
Ubuntu and its derivatives:
sudo apt-get install iptraf-ng

Install Iptraf On Arch Linux
sudo pacman -S iptraf-ng

If Install Iptraf in fedora and also its derivatives
# Centos (base repo)
$ yum install iptraf 

# fedora or centos (with epel repository)
$ yum install iptraf-ng -y

Because I use Arch Linux, so to run iptraf-ng apps is enough with iptraf-ng command. Then will appear an iptraf-ng screen as shown below:

Click here for Comments