freebsd Network traffic monitoring

Posted: December 4, 2009 in Freebsd

Network traffic monitoring (TCP/UDP)

install using pkg

pkg_add -r trafshow

Test it by running:
trafshow

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!
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s