| 
  • If you are citizen of an European Union member nation, you may not use this service unless you are at least 16 years old.

  • You already know Dokkio is an AI-powered assistant to organize & manage your digital files & messages. Very soon, Dokkio will support Outlook as well as One Drive. Check it out today!

View
 

TcpDumpExample

Page history last edited by David B 15 years, 1 month ago

 

/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.