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

  • Work with all your cloud files (Drive, Dropbox, and Slack and Gmail attachments) and documents (Google Docs, Sheets, and Notion) in one place. Try Dokkio (from the makers of PBworks) for free. Now available on the web, Mac, Windows, and as a Chrome extension!

View
 

TcpDumpExample

Page history last edited by David B 12 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.