Commit Graph

145 Commits

Author SHA1 Message Date
Sam Leffler
8d0b27ec4d update for v3.9.1 (releaes)
Approved by:	re (scottl)
2005-07-11 04:14:42 +00:00
Sam Leffler
3a9ae5b3af update after import of v3.9.1-096
Reviewed by:	bms
2005-05-29 19:11:21 +00:00
Ruslan Ermilov
731db6a428 NOINET6 -> NO_INET6 2004-12-21 10:49:29 +00:00
Ruslan Ermilov
a216173556 NOCRYPT -> NO_CRYPT 2004-12-21 10:16:04 +00:00
Colin Percival
d37df47d31 Join the 21st century: Cryptography is no longer an optional component
of releases.  The -DNOCRYPT build option still exists for anyone who
really wants to build non-cryptographic binaries, but the "crypto"
release distribution is now part of "base", and anyone installing from a
release will get cryptographic binaries.

Approved by:	re (scottl), markm
Discussed on:	freebsd-current, in late April 2004
2004-08-06 07:27:08 +00:00
Ruslan Ermilov
07bfccd71e Mechanically kill hard sentence breaks. 2004-07-02 23:13:00 +00:00
Bruce M Simpson
9661523edf Merge of tcpdump 3.8.3 from tcpdump.org. 2004-03-31 15:00:44 +00:00
Mark Murray
ebb9f0efa8 Don't check for the existance of src/crypto/ for building items that
may contain crypto. The days of ITAR paranoia are over, and the simple
macro tests that remain are sufficient.
2003-07-24 18:30:25 +00:00
Dag-Erling Smørgrav
7691f66abf Retire the useless NOSECURE knob.
Approved by:	re (scottl)
2003-05-19 15:52:01 +00:00
Jens Schweikhardt
9d5abbddbf Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup,
especially in troff files.
2003-01-01 18:49:04 +00:00
Bill Fenner
d38613f11b Remove out-of-date -I. 2002-06-26 01:37:45 +00:00
Bill Fenner
34347470cf Update for tcpdump 3.7.1 2002-06-21 00:52:33 +00:00
Philippe Charnier
7f94b8deee Use `The .Nm utility' 2002-04-20 12:27:18 +00:00
Matthew Dillon
170ac683f2 I've been meaning to do this for a while. Add an underscore to the
time_to_xxx() and xxx_to_time() functions.  e.g. _time_to_xxx()
instead of time_to_xxx(), to make it more obvious that these are
stopgap functions & placemarkers and not meant to create a defacto
standard.  They will eventually be replaced when a real standard
comes out of committee.
2002-01-19 23:20:02 +00:00
Matthew Dillon
1482b97ae3 Do not assume that sizeof(tv_sec) is sizeof(time_t) - it will be, but
it isn't yet because our tv_sec is currently a long (so 64 bit architectures
are already broken to a degree).
2001-10-28 20:53:17 +00:00
Ruslan Ermilov
94ba280c59 mdoc(7) police: join split punctuation to macro calls. 2001-08-10 17:35:21 +00:00
Bill Fenner
83d4b03c15 Use alignment-safe code on non-i386 architectures. 2001-07-26 21:54:47 +00:00
David E. O'Brien
90e655ea4e Perform a major cleanup of the usr.sbin Makefiles.
These are not perfectly in agreement with each other style-wise, but they
are orders of orders of magnitude more consistent style-wise than before.
2001-07-20 06:20:32 +00:00
Dima Dorfman
f247324df7 Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
Bill Fenner
9624fc11f0 Don't try to compile v6-only files if NOINET6.
PR:		misc/28287 , misc/28288
2001-07-11 21:46:06 +00:00
Dima Dorfman
70d51341bf mdoc(7) police: remove extraneous .Pp before and/or after .Sh. 2001-07-09 09:54:33 +00:00
David E. O'Brien
f2313eed6f Style changes. Not purfect, but closer to other Makefiles in the tree.
Approved by:	fenner
2001-04-20 17:30:12 +00:00
Bill Fenner
3c19fbb3c2 Update for tcpdump 3.6.2 2001-04-03 07:52:38 +00:00
Ruslan Ermilov
345e52e742 - Backout botched attempt to introduce MANSECT feature.
- MAN[1-9] -> MAN.
2001-03-26 14:42:20 +00:00
Ruslan Ermilov
610a5778c5 mdoc(7) police: split punctuation characters + misc fixes. 2001-02-01 16:44:04 +00:00
Ruslan Ermilov
e97407b4f2 mdoc(7) police: use the new features of the Nm macro. 2000-11-20 20:10:44 +00:00
Philippe Charnier
92c926c438 1000000 usecs to 1 sec conversion 2000-05-28 15:06:45 +00:00
Sheldon Hearn
f167d7fb3e Fix miscellaneous mdoc macro argument limit infringements.
PR:		18465
Reported by:	Kazu TAKAMUNE <takamune@avrl.mei.co.jp>
2000-05-09 14:02:06 +00:00
Kris Kennaway
c9b2af93fa Test for existence of secure/, not crypto/ for consistency
Submitted by:	jhay
2000-03-13 21:38:10 +00:00
Kris Kennaway
ee9e4faa2d Fix world with -DNOCRYPT, hopefully fix release for non-crypto collection.
Reported by:	Jason Garman <jgarman@wedgie.org>
Feedback by:	bde, Bob Bishop <rb@gid.co.uk>, jhay
2000-03-13 21:35:30 +00:00
Bill Fenner
51a3acc34a Make crypto part of tcpdump (print-esp.c) work.
Approved by:	jkh
2000-03-02 13:27:25 +00:00
Bill Fenner
a88113a830 Merge tcpdump 3.5 2000-01-30 01:05:24 +00:00
Marcel Moolenaar
c292cf660e Remove -g compiler flag. 2000-01-03 12:01:30 +00:00
Peter Wemm
a1a4f1a0d8 $Header$ -> $FreeBSD$ 1999-08-28 05:11:36 +00:00
Peter Wemm
97d92980a9 $Id$ -> $FreeBSD$ 1999-08-28 01:35:59 +00:00
Julian Elischer
722012cc0c World, I'd like you to meet the first FreeBSD token Ring driver.
This  is for various Olicom cards. An IBM driver is following.
This patch also adds support to tcpdump to decode packets on tokenring.
Congratulations to the proud father.. (below)

Submitted by:	Larry Lile <lile@stdio.com>
1999-02-20 11:18:00 +00:00
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
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