Commit Graph

59 Commits

Author SHA1 Message Date
Bill Fenner 5c7b1fd97f Fix raw timestamps (zero-pad usecs)
Print 4-digit years in TIMESTAMP_PARSEABLE mode after '99.

PR:		bin/9507
1999-01-20 18:33:13 +00:00
Warner Losh d75398b55e Use 69 pivot kludge from date(1) to make it consistant. Also honor
is_delta and only apply date kludge when it isn't a delta time.
1999-01-15 07:37:00 +00:00
Warner Losh 2a8fe203f6 Y2K nit:
Make two digit years specified on the command line represent
	the century that the computer currently resides.  So 99 means
	1999 this year, but 2099 next year.

Pointed out by: Peter Jeremy <peter.jeremy@auss2.alcatel.com.au>
1999-01-15 05:46:28 +00:00
Bill Fenner 90cb74aae8 Fix CFLAGS: s/ETHER_NTOA/ETHER_NTOHOST/
PR:		bin/8130
Submitted by:	Dan Nelson <dnelson@emsphone.com>
1998-10-02 21:56:30 +00:00
Bill Fenner 8afdc82db6 Update for tcpdump 3.4 1998-09-15 19:47:58 +00:00
Philippe Charnier f12a14713b .Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aq. 1998-03-23 08:31:20 +00:00
Bruce Evans 8f15ebc49d Fixed `make -jN' for large N. version.h was missing from SRCS,
SRCS was disordered to work around the bug for plain `make', and
the version number was bumped twice by building two copies of
version.[ch] concurrently.
1998-03-06 14:47:53 +00:00
Philippe Charnier ffe0efc2a9 Convert to mdoc format. Remove unused vars. Use err(3) and change exit(-1). 1998-01-20 07:30:27 +00:00
Paul Traina 1c1351793c Handle frame relay, decode ATM VP/VC info, and handle ISO over FR. 1998-01-01 04:13:54 +00:00
Bill Fenner b866529aa9 Update Makefile to build tcpdump-3.3 .
PR:		3371
Submitted by:	Chris Timmons <skynyrd@opus.cts.cwu.edu>
1997-05-27 02:21:28 +00:00
Warner Losh 6c3f552a31 compare return value from getopt against -1 rather than EOF, per the final
posix standard on the topic.
1997-03-31 05:11:47 +00:00
Peter Wemm 476602a9d0 Revert $FreeBSD$ to $Id$ 1997-02-22 16:15:28 +00:00
Jordan K. Hubbard 1130b656e5 Make the long-awaited change from $Id$ to $FreeBSD$
This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore.  This update would have been
insane otherwise.
1997-01-14 07:20:47 +00:00
Paul Traina 6ea43f98e3 Fix typo in last commit...sigh 1996-08-21 21:39:44 +00:00
Paul Traina 768bb613dd Change DISTDIR to TCPDUMP_DISTDIR 1996-08-21 17:11:41 +00:00
Paul Traina 9f6ca50ce7 Uniquely name the distribution directory variable so that it can be overridden
for multiple packages at the same time.
1996-08-21 16:50:15 +00:00
Gary Palmer 2f425539d6 Pickup VERSION from the tcpdump sources in contrib/tcpdump. Allows
`make world' to work again.
1996-08-21 04:14:36 +00:00
Paul Traina 9f3816ea5d Fix up path 1996-08-20 05:44:01 +00:00
Paul Traina 3629a694ff Grab tcpdump out of src/contrib/tcpdump 1996-08-19 21:57:10 +00:00
Peter Wemm c3944f3dd1 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 Wemm 1340e5b6fe 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
Doug Rabson 9fbfdd118f Import fixes from NetBSD to print NFSv3 packets.
Obtained from: NetBSD
1996-07-18 14:53:04 +00:00
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