Running snoop to check the network traffic

Running snoop to check the network traffic. In this example, I’m generating an output file named /tmp/networkfile, recording everything that’s coming from 192.168.98.98 on port 80/TCP

root@solaris:~ # snoop -o /tmp/networkfile 192.168.98.98 port 80 and tcp
Using device /dev/e1000g0 (promiscuous mode)
147

Listening a specific network interface

root@solaris:~ # snoop -d e1000g0 -o /tmp/networkfile
Using device /dev/e1000g0 (promiscuous mode)
1446

Advertisement