This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
Guy Harris (author)
Wed Nov 04 14:55:05 -0800 2009
tcpdump /
| name | age | message | |
|---|---|---|---|
| |
.cvsignore | Sun Dec 14 16:10:06 -0800 2008 | |
| |
.gitignore | Sun Jun 07 14:30:38 -0700 2009 | |
| |
CHANGES | Sun Dec 14 11:58:28 -0800 2008 | |
| |
CREDITS | Tue Aug 18 15:02:37 -0700 2009 | |
| |
INSTALL.txt | Sat Apr 04 12:30:27 -0700 2009 | |
| |
LICENSE | Mon Oct 09 15:38:24 -0700 2000 | |
| |
Makefile-devel-adds | Mon Oct 27 19:18:00 -0800 2003 | |
| |
Makefile.in | Wed Jul 08 01:18:11 -0700 2009 | |
| |
PLATFORMS | Mon Jan 21 03:16:32 -0800 2002 | |
| |
README | Sun Dec 14 16:05:27 -0800 2008 | |
| |
Readme.Win32 | Fri Aug 09 06:51:40 -0700 2002 | |
| |
TODO | Wed Jan 03 11:37:18 -0800 2001 | |
| |
VERSION | Fri Nov 21 11:20:39 -0800 2008 | |
| |
acconfig.h | Thu Jul 02 19:28:34 -0700 2009 | |
| |
aclocal.m4 | Wed Jul 08 01:22:27 -0700 2009 | |
| |
addrtoname.c | Wed Aug 08 07:06:34 -0700 2007 | |
| |
addrtoname.h | Wed Aug 08 07:06:34 -0700 2007 | |
| |
af.c | Thu Mar 23 06:58:44 -0800 2006 | |
| |
af.h | Thu Mar 23 06:58:44 -0800 2006 | |
| |
ah.h | Tue Dec 10 23:13:49 -0800 2002 | |
| |
aodv.h | Fri Sep 12 18:34:42 -0700 2003 | |
| |
appletalk.h | Sat May 01 02:41:50 -0700 2004 | |
| |
arcnet.h | Thu Jan 23 01:05:37 -0800 2003 | |
| |
atime.awk | Thu Oct 07 16:47:09 -0700 1999 | |
| |
atm.h | Tue Feb 07 17:43:00 -0800 2006 | |
| |
atmuni31.h | Mon Oct 22 12:37:51 -0700 2007 | |
| |
bgp.h | Wed Jun 16 01:45:15 -0700 2004 | |
| |
bootp.h | Tue Apr 22 02:46:03 -0700 2008 | |
| |
bpf_dump.c | Thu Feb 14 12:53:49 -0800 2008 | |
| |
chdlc.h | Sun Sep 17 22:11:43 -0700 2000 | |
| |
checksum.c | Mon Sep 25 02:23:32 -0700 2006 | |
| |
config.guess | Mon Nov 17 22:30:12 -0800 2003 | |
| |
config.h.in | Wed Jul 08 01:22:27 -0700 2009 | |
| |
config.sub | Mon Nov 17 22:30:12 -0800 2003 | |
| |
configure | Wed Jul 08 01:22:27 -0700 2009 | |
| |
configure.in | Wed Jul 08 01:22:27 -0700 2009 | |
| |
cpack.c | Fri Sep 24 11:18:00 -0700 2004 | |
| |
cpack.h | Thu Sep 23 14:27:18 -0700 2004 | |
| |
dccp.h | Thu Nov 02 01:05:23 -0800 2006 | |
| |
decnet.h | Tue Dec 10 23:13:49 -0800 2002 | |
| |
decode_prefix.h | Thu May 27 14:20:49 -0700 2004 | |
| |
enc.h | Sat Mar 08 00:55:32 -0800 2003 | |
| |
esp.h | Tue Dec 10 23:13:49 -0800 2002 | |
| |
ether.h | Tue Dec 10 23:13:49 -0800 2002 | |
| |
ethertype.h | Sat Jul 25 10:48:32 -0700 2009 | |
| |
extract.h | Mon Jan 30 08:20:06 -0800 2006 | |
| |
fddi.h | Tue Dec 10 23:13:49 -0800 2002 | |
| |
gmpls.c | Fri Apr 14 00:11:59 -0700 2006 | |
| |
gmpls.h | Fri Apr 14 00:11:59 -0700 2006 | |
| |
gmt2local.c | Sun Nov 16 01:36:07 -0800 2003 | |
| |
gmt2local.h | Thu Oct 07 16:47:09 -0700 1999 | |
| |
icmp6.h | Tue Aug 28 19:31:44 -0700 2007 | |
| |
ieee802_11.h | Wed Nov 04 14:55:05 -0800 2009 | |
| |
ieee802_11_radio.h | Tue Jul 14 18:23:06 -0700 2009 | |
| |
igrp.h | Tue Dec 10 23:13:49 -0800 2002 | |
| |
install-sh | Thu Oct 07 16:47:09 -0700 1999 | |
| |
interface.h | Mon Oct 12 16:58:56 -0700 2009 | |
| |
ip.h | Thu Sep 13 18:29:28 -0700 2007 | |
| |
ip6.h | Mon Oct 12 01:16:58 -0700 2009 | |
| |
ipfc.h | Tue Dec 10 23:13:49 -0800 2002 | |
| |
ipproto.c | Mon Sep 19 23:01:20 -0700 2005 | |
| |
ipproto.h | Mon Sep 19 23:01:20 -0700 2005 | |
| |
ipsec_doi.h | Tue Dec 10 23:13:49 -0800 2002 | |
| |
ipx.h | Tue Dec 10 23:13:49 -0800 2002 | |
| |
isakmp.h | Sat Nov 24 10:13:33 -0800 2007 | |
| |
l2tp.h | Mon Nov 05 02:03:27 -0800 2001 | |
| |
l2vpn.c | Tue Jun 15 02:42:40 -0700 2004 | |
| |
l2vpn.h | Tue Jun 15 02:42:40 -0700 2004 | |
| |
lane.h | Tue Dec 10 23:13:49 -0800 2002 | |
| |
lbl/ | Tue Dec 10 21:03:13 -0800 2002 | |
| |
llc.h | Fri Apr 13 02:43:11 -0700 2007 | |
| |
machdep.c | Sun Dec 14 19:53:21 -0800 2003 | |
| |
machdep.h | Sun Jan 16 22:24:23 -0800 2000 | |
| |
makemib | Mon Sep 17 15:16:52 -0700 2001 | |
| |
mib.h | Sun Oct 17 14:37:10 -0700 1999 | |
| |
missing/ | Wed Jul 08 01:18:11 -0700 2009 | |
| |
mkdep | Thu Oct 07 16:47:09 -0700 1999 | |
| |
mpls.h | Mon Jun 14 07:47:58 -0700 2004 | |
| |
nameser.h | Thu Nov 09 19:18:21 -0800 2006 | |
| |
netbios.h | Tue Dec 10 23:13:49 -0800 2002 | |
| |
netdissect.h | Mon Oct 12 01:16:58 -0700 2009 | |
| |
nfs.h | Sat Nov 17 19:24:38 -0800 2007 | |
| |
nfsfh.h | Tue Apr 23 23:27:05 -0700 2002 | |
| |
nlpid.c | Tue Oct 19 08:27:55 -0700 2004 | |
| |
nlpid.h | Tue Oct 19 08:27:55 -0700 2004 | |
| |
ntp.h | Wed Jan 28 06:34:50 -0800 2004 | |
| |
oakley.h | Tue Dec 10 23:13:49 -0800 2002 | |
| |
ospf.h | Mon Oct 08 00:53:21 -0700 2007 | |
| |
ospf6.h | Tue Sep 05 08:50:26 -0700 2006 | |
| |
oui.c | Wed Jan 09 01:40:47 -0800 2008 | |
| |
oui.h | Wed Jan 09 01:40:47 -0800 2008 | |
| |
packetdat.awk | Thu Oct 07 16:47:09 -0700 1999 | |
| |
parsenfsfh.c | Tue Jun 13 15:21:38 -0700 2006 | |
| |
pcap-missing.h | Fri Jun 03 15:08:51 -0700 2005 | |
| |
pcap_dump_ftell.c | Fri Jun 03 15:08:51 -0700 2005 | |
| |
pmap_prot.h | Wed Apr 27 14:43:48 -0700 2005 | |
| |
ppp.h | Wed Oct 20 09:14:15 -0700 2004 | |
| |
print-802_11.c | Wed Nov 04 14:55:05 -0800 2009 | |
| |
print-ah.c | Tue Nov 18 16:36:06 -0800 2003 | |
| |
print-aodv.c | Tue Mar 23 16:30:19 -0800 2004 | |
| |
print-ap1394.c | Sat Feb 11 14:11:40 -0800 2006 | |
| |
print-arcnet.c | Wed Apr 06 14:32:38 -0700 2005 | |
| |
print-arp.c | Fri Mar 03 14:53:21 -0800 2006 | |
| |
print-ascii.c | Wed Jul 06 13:53:30 -0700 2005 | |
| |
print-atalk.c | Sat Jul 25 10:37:47 -0700 2009 | |
| |
print-atm.c | Mon Oct 22 12:37:51 -0700 2007 | |
| |
print-beep.c | Sun Nov 16 01:36:07 -0800 2003 | |
| |
print-bfd.c | Fri Mar 27 01:25:39 -0700 2009 | |
| |
print-bgp.c | Tue Jan 20 12:40:22 -0800 2009 | |
| |
print-bootp.c | Tue Apr 22 02:45:08 -0700 2008 | |
| |
print-bt.c | Thu Sep 25 14:45:50 -0700 2008 | |
| |
print-cdp.c | Sun Jun 28 13:53:02 -0700 2009 | |
| |
print-cfm.c | Tue Jun 09 17:19:33 -0700 2009 | |
| |
print-chdlc.c | Tue Nov 29 00:56:19 -0800 2005 | |
| |
print-cip.c | Wed Jul 06 18:22:15 -0700 2005 | |
| |
print-cnfp.c | Wed Apr 20 13:53:18 -0700 2005 | |
| |
print-dccp.c | Thu Nov 08 16:44:09 -0800 2007 | |
| |
print-decnet.c | Thu May 05 19:16:26 -0700 2005 | |
| |
print-dhcp6.c | Wed Jun 03 13:58:27 -0700 2009 | |
| |
print-domain.c | Sat Dec 08 17:40:32 -0800 2007 | |
| |
print-dtp.c | Fri Mar 23 01:12:00 -0700 2007 | |
| |
print-dvmrp.c | Wed Nov 19 01:42:04 -0800 2003 | |
| |
print-eap.c | Thu Oct 04 09:41:33 -0700 2007 | |
| |
print-egp.c | Sat Feb 11 14:13:24 -0800 2006 | |
| |
print-eigrp.c | Thu May 05 19:53:26 -0700 2005 | |
| |
print-enc.c | Mon Nov 17 23:35:32 -0800 2008 | |
| |
print-esp.c | Thu Dec 06 16:03:07 -0800 2007 | |
| |
print-ether.c | Sat Jul 25 10:47:00 -0700 2009 | |
| |
print-fddi.c | Sun Nov 13 04:12:41 -0800 2005 | |
| |
print-fr.c | Fri Jun 23 15:20:32 -0700 2006 | |
| |
print-frag6.c | Wed Apr 20 15:33:06 -0700 2005 | |
| |
print-gre.c | Thu Feb 26 01:04:20 -0800 2009 | |
| |
print-hsrp.c | Fri May 06 00:56:51 -0700 2005 | |
| |
print-icmp.c | Thu Sep 13 10:42:31 -0700 2007 | |
| |
print-icmp6.c | Mon Sep 21 10:16:14 -0700 2009 | |
| |
print-igmp.c | Tue Mar 23 16:56:11 -0800 2004 | |
| |
print-igrp.c | Wed Apr 20 14:01:56 -0700 2005 | |
| |
print-ip.c | Mon Oct 12 01:16:58 -0700 2009 | |
| |
print-ip6.c | Mon Oct 12 01:16:58 -0700 2009 | |
| |
print-ip6opts.c | Wed Apr 20 15:18:50 -0700 2005 | |
| |
print-ipcomp.c | Tue Nov 18 16:36:06 -0800 2003 | |
| |
print-ipfc.c | Sun Nov 13 04:12:41 -0800 2005 | |
| |
print-ipx.c | Fri May 06 01:26:44 -0700 2005 | |
| |
print-isakmp.c | Mon Jun 29 00:55:07 -0700 2009 | |
| |
print-isoclns.c | Sat Aug 16 06:38:15 -0700 2008 | |
| |
print-juniper.c | Tue Aug 28 19:31:44 -0700 2007 | |
| |
print-krb.c | Sun Nov 16 01:36:07 -0800 2003 | |
| |
print-l2tp.c | Tue Aug 18 14:56:06 -0700 2009 | |
| |
print-lane.c | Sun Nov 13 04:12:41 -0800 2005 | |
| |
print-ldp.c | Thu Jun 22 19:03:09 -0700 2006 | |
| |
print-llc.c | Fri Apr 13 02:43:11 -0700 2007 | |
| |
print-lldp.c | Thu Mar 20 02:30:56 -0700 2008 | |
| |
print-lmp.c | Thu Aug 02 10:32:49 -0700 2007 | |
| |
print-lspping.c | Mon Jan 28 06:20:43 -0800 2008 | |
| |
print-lwapp.c | Tue Jul 24 09:07:29 -0700 2007 | |
| |
print-lwres.c | Tue Mar 23 17:54:29 -0800 2004 | |
| |
print-mobile.c | Tue Mar 23 17:58:14 -0800 2004 | |
| |
print-mobility.c | Wed Apr 20 15:21:00 -0700 2005 | |
| |
print-mpcp.c | Fri Feb 10 09:24:55 -0800 2006 | |
| |
print-mpls.c | Tue Jul 05 02:38:19 -0700 2005 | |
| |
print-msdp.c | Wed Apr 06 14:32:38 -0700 2005 | |
| |
print-netbios.c | Sun Nov 16 01:36:07 -0800 2003 | |
| |
print-nfs.c | Fri Dec 21 19:08:04 -0800 2007 | |
| |
print-ntp.c | Fri Nov 30 05:45:10 -0800 2007 | |
| |
print-null.c | Thu Mar 23 06:58:44 -0800 2006 | |
| |
print-olsr.c | Sun Jun 28 12:16:43 -0700 2009 | |
| |
print-ospf.c | Mon Oct 08 00:53:21 -0700 2007 | |
| |
print-ospf6.c | Tue Sep 12 23:31:11 -0700 2006 | |
| |
print-pflog.c | Wed Sep 12 12:36:18 -0700 2007 | |
| |
print-pgm.c | Tue Jun 07 15:05:58 -0700 2005 | |
| |
print-pim.c | Mon Oct 12 01:16:58 -0700 2009 | |
| |
print-ppp.c | Mon Dec 05 03:35:58 -0800 2005 | |
| |
print-pppoe.c | Tue Apr 26 12:48:38 -0700 2005 | |
| |
print-pptp.c | Thu Jun 22 19:03:09 -0700 2006 | |
| |
print-radius.c | Sun Sep 25 18:01:55 -0700 2005 | |
| |
print-raw.c | Sun Nov 16 01:36:07 -0800 2003 | |
| |
print-rip.c | Thu Mar 23 06:58:44 -0800 2006 | |
| |
print-ripng.c | Mon Jan 03 16:15:54 -0800 2005 | |
| |
print-rrcp.c | Sun Oct 11 12:49:05 -0700 2009 | |
| |
print-rsvp.c | Sun Jun 28 11:06:01 -0700 2009 | |
| |
print-rt6.c | Wed Apr 20 15:33:06 -0700 2005 | |
| |
print-rx.c | Tue Jul 01 00:44:50 -0700 2008 | |
| |
print-sctp.c | Thu Sep 13 11:03:49 -0700 2007 | |
| |
print-sflow.c | Wed Aug 08 10:20:58 -0700 2007 | |
| |
print-sip.c | Tue Aug 18 14:47:13 -0700 2009 | |
| |
print-sl.c | Wed Apr 06 14:32:38 -0700 2005 | |
| |
print-sll.c | Wed Jun 03 13:49:01 -0700 2009 | |
| |
print-slow.c | Wed Oct 11 22:44:33 -0700 2006 | |
| |
print-smb.c | Sat Dec 08 16:30:47 -0800 2007 | |
| |
print-snmp.c | Fri May 06 00:56:51 -0700 2005 | |
| |
print-stp.c | Sun Mar 18 10:11:46 -0700 2007 | |
| |
print-sunatm.c | Wed Mar 17 15:24:35 -0800 2004 | |
| |
print-sunrpc.c | Thu Jul 02 18:43:40 -0700 2009 | |
| |
print-symantec.c | Wed Jul 06 18:22:15 -0700 2005 | |
| |
print-syslog.c | Fri Oct 29 04:42:52 -0700 2004 | |
| |
print-tcp.c | Mon Oct 12 01:16:58 -0700 2009 | |
| |
print-telnet.c | Mon Dec 29 03:05:09 -0800 2003 | |
| |
print-tftp.c | Fri Apr 11 09:47:38 -0700 2008 | |
| |
print-timed.c | Sun Nov 16 01:36:07 -0800 2003 | |
| |
print-token.c | Sun Nov 13 04:12:41 -0800 2005 | |
| |
print-udld.c | Mon Mar 19 08:14:14 -0700 2007 | |
| |
print-udp.c | Thu May 21 10:38:40 -0700 2009 | |
| |
print-usb.c | Thu May 21 10:26:44 -0700 2009 | |
| |
print-vjc.c | Wed Mar 24 19:30:55 -0800 2004 | |
| |
print-vqp.c | Fri Aug 18 23:51:13 -0700 2006 | |
| |
print-vrrp.c | Fri May 06 00:56:51 -0700 2005 | |
| |
print-vtp.c | Mon Mar 26 02:30:16 -0700 2007 | |
| |
print-wb.c | Tue Mar 23 20:06:28 -0800 2004 | |
| |
print-zephyr.c | Thu Aug 09 11:47:27 -0700 2007 | |
| |
route6d.h | Tue Dec 10 23:13:49 -0800 2002 | |
| |
rpc_auth.h | Wed Apr 27 14:43:48 -0700 2005 | |
| |
rpc_msg.h | Wed Apr 27 14:43:48 -0700 2005 | |
| |
rx.h | Tue Dec 10 23:13:49 -0800 2002 | |
| |
sctpConstants.h | Tue Jun 03 16:49:22 -0700 2003 | |
| |
sctpHeader.h | Tue Dec 10 23:13:49 -0800 2002 | |
| |
send-ack.awk | Thu Oct 07 16:47:09 -0700 1999 | |
| |
setsignal.c | Sun Nov 16 01:36:07 -0800 2003 | |
| |
setsignal.h | Thu Oct 07 16:47:09 -0700 1999 | |
| |
signature.c | Mon Sep 22 13:22:10 -0700 2008 | |
| |
signature.h | Sat Aug 16 04:36:20 -0700 2008 | |
| |
slcompress.h | Sun Oct 08 19:03:44 -0700 2000 | |
| |
slip.h | Sun Oct 08 18:53:19 -0700 2000 | |
| |
sll.h | Thu May 29 18:37:41 -0700 2008 | |
| |
smb.h | Tue Dec 28 14:29:44 -0800 2004 | |
| |
smbutil.c | Sun Jul 15 12:07:39 -0700 2007 | |
| |
stime.awk | Thu Oct 07 16:47:09 -0700 1999 | |
| |
strcasecmp.c | Sun Nov 16 01:36:07 -0800 2003 | |
| |
tcp.h | Tue Aug 18 15:02:37 -0700 2009 | |
| |
tcpdump-stdinc.h | Sat Nov 24 10:13:33 -0800 2007 | |
| |
tcpdump.1.in | Thu Mar 05 01:17:53 -0800 2009 | |
| |
tcpdump.c | Mon Sep 07 16:52:15 -0700 2009 | |
| |
telnet.h | Tue Aug 28 19:31:44 -0700 2007 | |
| |
tests/ | Mon Nov 26 19:57:20 -0800 2007 | |
| |
tftp.h | Fri Apr 11 09:47:38 -0700 2008 | |
| |
timed.h | Tue Feb 05 11:46:19 -0800 2008 | |
| |
token.h | Tue Dec 10 23:13:49 -0800 2002 | |
| |
udp.h | Wed Aug 08 10:20:58 -0700 2007 | |
| |
util.c | Thu May 21 10:32:59 -0700 2009 | |
| |
vfprintf.c | Sun Nov 16 01:36:07 -0800 2003 | |
| |
win32/ | Wed Feb 06 02:47:53 -0800 2008 |
README
@(#) $Header: /tcpdump/master/tcpdump/README,v 1.68 2008-12-15 00:05:27 guy Exp $ (LBL) TCPDUMP 4.x.y Now maintained by "The Tcpdump Group" See www.tcpdump.org Please send inquiries/comments/reports to: tcpdump-workers@lists.tcpdump.org Anonymous CVS is available via: cvs -d :pserver:cvs.tcpdump.org:/tcpdump/master login (password "anoncvs") cvs -d :pserver:cvs.tcpdump.org:/tcpdump/master checkout tcpdump Version 4.x.y of TCPDUMP can be retrieved with the CVS tag "tcpdump_4_xrely": cvs -d :pserver:cvs.tcpdump.org:/tcpdump/master checkout -r tcpdump_4_xrely tcpdump Please submit patches against the master copy to the tcpdump project on sourceforge.net. formerly from Lawrence Berkeley National Laboratory Network Research Group <tcpdump@ee.lbl.gov> ftp://ftp.ee.lbl.gov/tcpdump.tar.Z (3.4) This directory contains source code for tcpdump, a tool for network monitoring and data acquisition. This software was originally developed by the Network Research Group at the Lawrence Berkeley National Laboratory. The original distribution is available via anonymous ftp to ftp.ee.lbl.gov, in tcpdump.tar.Z. More recent development is performed at tcpdump.org, http://www.tcpdump.org/ Tcpdump uses libpcap, a system-independent interface for user-level packet capture. Before building tcpdump, you must first retrieve and build libpcap, also originally from LBL and now being maintained by tcpdump.org; see http://www.tcpdump.org/ . Once libpcap is built (either install it or make sure it's in ../libpcap), you can build tcpdump using the procedure in the INSTALL file. The program is loosely based on SMI's "etherfind" although none of the etherfind code remains. It was originally written by Van Jacobson as part of an ongoing research project to investigate and improve tcp and internet gateway performance. The parts of the program originally taken from Sun's etherfind were later re-written by Steven McCanne of LBL. To insure that there would be no vestige of proprietary code in tcpdump, Steve wrote these pieces from the specification given by the manual entry, with no access to the source of tcpdump or etherfind. Over the past few years, tcpdump has been steadily improved by the excellent contributions from the Internet community (just browse through the CHANGES file). We are grateful for all the input. Richard Stevens gives an excellent treatment of the Internet protocols in his book ``TCP/IP Illustrated, Volume 1''. If you want to learn more about tcpdump and how to interpret its output, pick up this book. Some tools for viewing and analyzing tcpdump trace files are available from the Internet Traffic Archive: http://www.acm.org/sigcomm/ITA/ Another tool that tcpdump users might find useful is tcpslice: ftp://ftp.ee.lbl.gov/tcpslice.tar.Z It is a program that can be used to extract portions of tcpdump binary trace files. See the above distribution for further details and documentation. Problems, bugs, questions, desirable enhancements, etc. should be sent to the address "tcpdump-workers@lists.tcpdump.org". Bugs, support requests, and feature requests may also be submitted on the SourceForge site for tcpdump at http://sourceforge.net/projects/tcpdump/ Source code contributions, etc. should be sent to the email address submitted as patches on the SourceForge site for tcpdump. Current versions can be found at www.tcpdump.org, or the SourceForge site for tcpdump. - The TCPdump team original text by: Steve McCanne, Craig Leres, Van Jacobson ------------------------------------- This directory also contains some short awk programs intended as examples of ways to reduce tcpdump data when you're tracking particular network problems: send-ack.awk Simplifies the tcpdump trace for an ftp (or other unidirectional tcp transfer). Since we assume that one host only sends and the other only acks, all address information is left off and we just note if the packet is a "send" or an "ack". There is one output line per line of the original trace. Field 1 is the packet time in decimal seconds, relative to the start of the conversation. Field 2 is delta-time from last packet. Field 3 is packet type/direction. "Send" means data going from sender to receiver, "ack" means an ack going from the receiver to the sender. A preceding "*" indicates that the data is a retransmission. A preceding "-" indicates a hole in the sequence space (i.e., missing packet(s)), a "#" means an odd-size (not max seg size) packet. Field 4 has the packet flags (same format as raw trace). Field 5 is the sequence number (start seq. num for sender, next expected seq number for acks). The number in parens following an ack is the delta-time from the first send of the packet to the ack. A number in parens following a send is the delta-time from the first send of the packet to the current send (on duplicate packets only). Duplicate sends or acks have a number in square brackets showing the number of duplicates so far. Here is a short sample from near the start of an ftp: 3.00 0.20 send . 512 3.20 0.20 ack . 1024 (0.20) 3.20 0.00 send P 1024 3.40 0.20 ack . 1536 (0.20) 3.80 0.40 * send . 0 (3.80) [2] 3.82 0.02 * ack . 1536 (0.62) [2] Three seconds into the conversation, bytes 512 through 1023 were sent. 200ms later they were acked. Shortly thereafter bytes 1024-1535 were sent and again acked after 200ms. Then, for no apparent reason, 0-511 is retransmitted, 3.8 seconds after its initial send (the round trip time for this ftp was 1sec, +-500ms). Since the receiver is expecting 1536, 1536 is re-acked when 0 arrives. packetdat.awk Computes chunk summary data for an ftp (or similar unidirectional tcp transfer). [A "chunk" refers to a chunk of the sequence space -- essentially the packet sequence number divided by the max segment size.] A summary line is printed showing the number of chunks, the number of packets it took to send that many chunks (if there are no lost or duplicated packets, the number of packets should equal the number of chunks) and the number of acks. Following the summary line is one line of information per chunk. The line contains eight fields: 1 - the chunk number 2 - the start sequence number for this chunk 3 - time of first send 4 - time of last send 5 - time of first ack 6 - time of last ack 7 - number of times chunk was sent 8 - number of times chunk was acked (all times are in decimal seconds, relative to the start of the conversation.) As an example, here is the first part of the output for an ftp trace: # 134 chunks. 536 packets sent. 508 acks. 1 1 0.00 5.80 0.20 0.20 4 1 2 513 0.28 6.20 0.40 0.40 4 1 3 1025 1.16 6.32 1.20 1.20 4 1 4 1561 1.86 15.00 2.00 2.00 6 1 5 2049 2.16 15.44 2.20 2.20 5 1 6 2585 2.64 16.44 2.80 2.80 5 1 7 3073 3.00 16.66 3.20 3.20 4 1 8 3609 3.20 17.24 3.40 5.82 4 11 9 4097 6.02 6.58 6.20 6.80 2 5 This says that 134 chunks were transferred (about 70K since the average packet size was 512 bytes). It took 536 packets to transfer the data (i.e., on the average each chunk was transmitted four times). Looking at, say, chunk 4, we see it represents the 512 bytes of sequence space from 1561 to 2048. It was first sent 1.86 seconds into the conversation. It was last sent 15 seconds into the conversation and was sent a total of 6 times (i.e., it was retransmitted every 2 seconds on the average). It was acked once, 140ms after it first arrived. stime.awk atime.awk Output one line per send or ack, respectively, in the form <time> <seq. number> where <time> is the time in seconds since the start of the transfer and <seq. number> is the sequence number being sent or acked. I typically plot this data looking for suspicious patterns. The problem I was looking at was the bulk-data-transfer throughput of medium delay network paths (1-6 sec. round trip time) under typical DARPA Internet conditions. The trace of the ftp transfer of a large file was used as the raw data source. The method was: - On a local host (but not the Sun running tcpdump), connect to the remote ftp. - On the monitor Sun, start the trace going. E.g., tcpdump host local-host and remote-host and port ftp-data >tracefile - On local, do either a get or put of a large file (~500KB), preferably to the null device (to minimize effects like closing the receive window while waiting for a disk write). - When transfer is finished, stop tcpdump. Use awk to make up two files of summary data (maxsize is the maximum packet size, tracedata is the file of tcpdump tracedata): awk -f send-ack.awk packetsize=avgsize tracedata >sa awk -f packetdat.awk packetsize=avgsize tracedata >pd - While the summary data files are printing, take a look at how the transfer behaved: awk -f stime.awk tracedata | xgraph (90% of what you learn seems to happen in this step). - Do all of the above steps several times, both directions, at different times of day, with different protocol implementations on the other end. - Using one of the Unix data analysis packages (in my case, S and Gary Perlman's Unix|Stat), spend a few months staring at the data. - Change something in the local protocol implementation and redo the steps above. - Once a week, tell your funding agent that you're discovering wonderful things and you'll write up that research report "real soon now".







