iptraf is a tool used to monitor the network traffic
To add more ports (beyond 104)
iptraf > Enter > Configure > Additional Ports
To change log interval
iptraf > Enter > Timers > Logging interval
Add/Delete/Active/Unactive Filter
iptraf > Enter > IP
Monitor traffic statistics by port
iptraf > Enter > Statistical breakdowns…
To run iptraf background for 10 min and send data to log files
/usr/bin/iptraf -B -s eth0 -t 10
Log file is under /var/log/iptraf/ by default