"SUSEGeek.com has a nice article on IPTraf, the excellent IP traffic monitor for Linux:
"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."