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

  • Whenever you search in PBworks, Dokkio Sidebar (from the makers of PBworks) will run the same search in your Drive, Dropbox, OneDrive, Gmail, and Slack. Now you can find what you're looking for wherever it lives. Try Dokkio Sidebar for free.

View
 

TcpDumpExample

Page history last edited by David B 13 years, 7 months 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.