Commit Graph

37 Commits

Author SHA1 Message Date
Bill Fenner
fd732d376e 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 Wemm
27e4bc762f 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
Jeffrey Hsu
eae4034b95 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
Mike Pritchard
7c87ef470d 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
Bill Fenner
5e26f56623 Teach tcpdump to print out router advertisement and solicitation messages. 1996-01-19 01:29:46 +00:00
Peter Wemm
6065a0be11 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 Wemm
a5b996a7ec recording cvs-1.6 file death 1995-12-30 19:02:48 +00:00
Garrett Wollman
04887fe7f0 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
Garrett Wollman
ce8bb77296 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
Garrett Wollman
b52d94c100 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
Garrett Wollman
8f548d4466 Add support for printing Kerberos v4 packets. 1995-08-29 19:48:11 +00:00
David Greenman
87414cb81d Fixed bug with decoding RIP packets - removed unnecessary ntohs()'s for
the sa_family.
1995-08-26 12:40:05 +00:00
Paul Traina
881f591647 Clean up compilation warnings. 1995-08-23 05:19:00 +00:00
Garrett Wollman
3589d0dfc6 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
Rodney W. Grimes
709e8f9ae1 Remove trailing whitespace. 1995-05-30 03:57:47 +00:00
Gary Palmer
b04042154b tcpdump is in (1) not (l) 1995-05-14 15:21:36 +00:00
Andras Olah
c8f313a356 Add -I.' to CFLAGS in order to fix the make depend' problem. 1995-03-09 12:15:17 +00:00
Andras Olah
9520a7526d 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
Andras Olah
cafb7c1233 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
Andreas Schulz
4ecd9d4bfa Changed two occurrences of tcpdump(l) to tcpdump(1). 1994-12-12 00:41:04 +00:00
Poul-Henning Kamp
179c34054c once more 1994-11-21 01:54:55 +00:00
Poul-Henning Kamp
b8faa34ddb More abs paths nuked 1994-11-21 01:52:36 +00:00
Garrett Wollman
66f9b7d2d7 Correctly interpret the code field of IGMP membership queries. 1994-10-04 22:47:11 +00:00
Garrett Wollman
7ce1918123 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
Garrett Wollman
7c680644c9 Print out more useful information about IGMP packets. (Someday, this should
include a full DVMRP parser.)
1994-09-08 02:29:12 +00:00
Bruce Evans
2577a8acef 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
Bruce Evans
8ef65b13d1 Latest flex requires yywrap() function to avoid -ll. 1994-08-28 16:35:58 +00:00
Jordan K. Hubbard
60c59b30c6 Add lex lib to LDADD.
Submitted by:	jkh
1994-08-26 22:45:49 +00:00
Jordan K. Hubbard
2caac73e76 Fix gross spelling and typographical errors pointed out by Keith Bostic. 1994-04-24 01:22:07 +00:00
David Greenman
25c3edbd13 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
David Greenman
0e92dae903 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
J.T. Conklin
97124a9413 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
Rodney W. Grimes
6968118048 Added -DPPP so that tcpdump understands ppp 1993-09-06 20:25:55 +00:00
Rodney W. Grimes
f696d2e300 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
Rodney W. Grimes
3eed882fa1 TCPDUMP was installing in /usr/local/bin, changed to /usr/sbin. 1993-07-20 19:38:44 +00:00
Charlie Root
8e9bf0f35a New manual page system 1993-07-02 04:22:44 +00:00
Rodney W. Grimes
9002c02abc Initial import, 0.1 + pk 0.2.4-B1 1993-06-12 14:49:13 +00:00