Commit Graph

94 Commits

Author SHA1 Message Date
pst
71a339d4dd Grab tcpdump out of src/contrib/tcpdump 1996-08-19 21:57:10 +00:00
peter
48b09c187d Fix a bug, it was returning a pointer to a variable on the stack, instead
of the specially strdup()'ed version.
1996-08-19 14:28:48 +00:00
peter
2a946c4c77 Define ETHERS_SERVICE, since our OS provides it. Otherwise, you
can't do a "tcpdump 'gateway foo'" unless it's in /etc/ethers - it wasn't
reading the NIS tables.
1996-08-19 14:27:14 +00:00
dfr
c79e9e34b5 Import fixes from NetBSD to print NFSv3 packets.
Obtained from: NetBSD
1996-07-18 14:53:04 +00:00
fenner
c3a3da90ac Update IGMP printing, removing the obsolete packet header version number &
changing "new" and "old" to "v2" and "v1" to allow for future changes not
having to be "newer new"

Recognize Router Alert IP option
1996-03-19 17:25:12 +00:00
peter
357e68d0f8 John Hay's extentions to tcpdump to be able to differentiate between
IP and IPX packets over a PPP link.  I added the hack to print the
PPP protocol type for other (eg: LCP, CCP, etc) packets.

Submitted by: John Hay <jhay@mikom.csir.co.za>, mods from me.
1996-03-03 18:49:17 +00:00
hsu
dc7dcae547 There is no longer a typedef clash with <rpc/auth.h>, so remove
conditional.  Also, use the system defined fixed sized types.
This removes a 32-bit dependency on non-32-bit architectures.
1996-02-02 06:17:42 +00:00
mpp
6e83fbce86 Correct some manual page cross reference errors. E.g. su is a section
one man page, not section eight.  This is the first round of such changes
and only fixes man pages in manual section one.
1996-02-02 00:26:12 +00:00
fenner
61b348c119 Teach tcpdump to print out router advertisement and solicitation messages. 1996-01-19 01:29:46 +00:00
peter
c3f352d4ad This commit was generated by cvs2svn to compensate for changes in r13122,
which included commits to RCS files with non-trunk default branches.
1995-12-30 19:02:48 +00:00
peter
ab124e78b0 recording cvs-1.6 file death 1995-12-30 19:02:48 +00:00
wollman
e85b8f9435 Correctly determine the local timezone, by looking at the tm_gmtoff result
from localtime() rather than the bogus struct tz filled in by gettimeofday.
1995-09-28 15:28:40 +00:00
wollman
b5c39e2cde Print EtherTalk packets correctly; closes PR 649.
Document `-T' option in manual page.

Submitted by:	Toshihiro Kanda <candy@fct.kgc.co.jp> (first fix only)
1995-09-22 17:24:51 +00:00
wollman
c2e8124090 Add support for printking Kerberos v4 packets (file I forgot to add)
Obtained from:	John Hawkinson <jhawk@mit.edu> by way of comp.protocols.kerberos
1995-08-29 19:50:18 +00:00
wollman
15da12ab9f Add support for printing Kerberos v4 packets. 1995-08-29 19:48:11 +00:00
dg
4ecefb1908 Fixed bug with decoding RIP packets - removed unnecessary ntohs()'s for
the sa_family.
1995-08-26 12:40:05 +00:00
pst
9b679aa62f Clean up compilation warnings. 1995-08-23 05:19:00 +00:00
wollman
1650d219a2 Make tcpdump a lot smarter about printing IGMP messages. Derived by groveling
about in the mrouted sources and looking at packet traces.
1995-06-13 17:39:23 +00:00
rgrimes
4f960dd75f Remove trailing whitespace. 1995-05-30 03:57:47 +00:00
gpalmer
58025d3c03 tcpdump is in (1) not (l) 1995-05-14 15:21:36 +00:00
olah
aad57cc134 Add -I.' to CFLAGS in order to fix the make depend' problem. 1995-03-09 12:15:17 +00:00
olah
82f9d23eb5 Make tcpdump understand the T/TCP (RFC-1644) options. Some extra sanity
checks were also introduced to the tcp_print function so it doesn't try
to interpret TCP options beyond the length of the sniffed packet.
1995-03-08 13:13:01 +00:00
olah
48fc7bedf7 Upgrade tcpdump and tcpslice to version 3.0
Obtained from: ftp.ee.lbl.gov and Vern Paxson <vern@ee.lbl.gov>
1995-03-08 12:53:42 +00:00
ats
a7b72cfd84 Changed two occurrences of tcpdump(l) to tcpdump(1). 1994-12-12 00:41:04 +00:00
phk
481dcdac75 once more 1994-11-21 01:54:55 +00:00
phk
5b87052f84 More abs paths nuked 1994-11-21 01:52:36 +00:00
wollman
4e401ed313 Correctly interpret the code field of IGMP membership queries. 1994-10-04 22:47:11 +00:00
wollman
bfc217688d Print out SNAP frames reasonably, including Apple's bogus Ethertalk
pseudo-SNAP encapsulation.  Still needs some work, by someone who
has a listing of 802.2 LSAPs.
1994-10-04 22:31:44 +00:00
wollman
e3b496d3f0 Print out more useful information about IGMP packets. (Someday, this should
include a full DVMRP parser.)
1994-09-08 02:29:12 +00:00
bde
4b07d8e782 Add dependencies on libraries to DPADD. Someday this should be done
automagically.  -lfoo has to be right to work, but ${LIBFO0} is too
easy to forget or misspell; nothing checks it and it should be
different for shared libraries.
1994-08-28 18:49:06 +00:00
bde
dbdce797cb Latest flex requires yywrap() function to avoid -ll. 1994-08-28 16:35:58 +00:00
jkh
dd8e4f74c3 Add lex lib to LDADD.
Submitted by:	jkh
1994-08-26 22:45:49 +00:00
jkh
30d7ba45a9 Fix gross spelling and typographical errors pointed out by Keith Bostic. 1994-04-24 01:22:07 +00:00
dg
7e652c921c When hexdumping a RIP entry, type cast the bytes to unsigned first. Not
doing so caused them to be sign-extended to an int (which really messed
things up).
1994-02-10 11:24:32 +00:00
dg
1ba8f89993 Fixed bug in decoding of RIP packets. RIP data is in "osockaddr" format;
the fix is to import the structures from protocols/routed.h and change
the sockaddr to osockaddr. We can't change the generic include file
because too many other things rely on this in order to deal with the
kernel routing socket (which is sockaddr format).
1994-02-10 09:17:57 +00:00
jtc
af64f007ac Include <rpc/rpc.h> instead of various individual <rpc/*.h> header files
to compile with the newly prototyped rpc headers.
1993-09-15 20:27:25 +00:00
rgrimes
b7ad91ad93 Added -DPPP so that tcpdump understands ppp 1993-09-06 20:25:55 +00:00
rgrimes
2e7922abb8 Added #ifndef inline #endif around definition of inline so that we
do not end up definig it twice.
1993-08-29 01:59:05 +00:00
rgrimes
7297bf31c8 TCPDUMP was installing in /usr/local/bin, changed to /usr/sbin. 1993-07-20 19:38:44 +00:00
root
aa99538e13 New manual page system 1993-07-02 04:22:44 +00:00
rgrimes
05cb592c95 This commit was generated by cvs2svn to compensate for changes in r2,
which included commits to RCS files with non-trunk default branches.
1993-06-12 14:49:13 +00:00
rgrimes
f078b88a16 Initial import, 0.1 + pk 0.2.4-B1 1993-06-12 14:49:13 +00:00
rgrimes
869ee22f8d Initial import, 0.1 + pk 0.2.4-B1 1993-06-12 14:49:13 +00:00
rgrimes
f131f027b4 Initial import, 0.1 + pk 0.2.4-B1 1993-06-12 14:49:13 +00:00