Network traffic monitoring (TCP/UDP)
install using pkg
pkg_add -r trafshow
Test it by running:
Select the correct network interface to monitor, and if there is any network traffic, you should see it.
If you get an error:
No packet capture device available (no permission?)
You are not running it as root. Get root privileges, or change the (read) permissions of the /dev/bpf0 and /dev/bpf1 devices. Don’t make it world-readable (o+r), or else anyone with access to your computer can sniff on your network traffic, capture ftp-passwords and compromise your security!