Feb 282011
Today I’ll show you two tools to be used int the terminal to monitor your network and the active connections: iptstate and pkstat
IPTState
IPTState is a top-like interface to your netfilter connection-tracking table.
Using iptstate you interactively watch where traffic crossing your netfilter/iptables firewall is going, sort by various criteria, limit the view by various criteria. But it doesn’t stop there: as of version 2.2.0 you can even delete states from the table!
The only requirements are a curses library (usually ncurses), and libnetfilter_conntrack version 0.0.50 or later.