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

  • Stop wasting time looking for files and revisions. Connect your Gmail, DriveDropbox, and Slack accounts and in less than 2 minutes, Dokkio will automatically organize all your file attachments. Learn more and claim your free account.

View
 

TcpDumpExample

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