/usr/local/sbin/tcpdump -i hme1 -ln -xX -s 1500 port 25 &
mailx -v -s 'Subject: Watch this email' david.graham@myhome.net
-i is the interface to listen on. ifconfig -a to see all of them.
-l Make stdout line buffered
-n Don't convert host addresses to names
-x Print each packet
-X When printing hex, print ascii too
-s Snarf snaplen bytes of data from each packet rather than the default of 68
/usr/local/sbin/tcpdump -i hme1 host 229.145.51.232 and port 25 &
mailx -v -s 'Subject: Watch this email' jonathan.branson@myhome.net
Comments (0)
You don't have permission to comment on this page.