Commit Graph

63 Commits

Author SHA1 Message Date
julian
16c8d9e8d0 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
fenner
9154d14586 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
imp
69a1352a25 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
imp
b758132372 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
fenner
0413b9eb7f 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
fenner
416afe71b7 Update for tcpdump 3.4 1998-09-15 19:47:58 +00:00
charnier
6e321f37d4 .Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aq. 1998-03-23 08:31:20 +00:00
bde
a176b07ddd 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
charnier
6fa79119c9 Convert to mdoc format. Remove unused vars. Use err(3) and change exit(-1). 1998-01-20 07:30:27 +00:00
pst
a472b7fd71 Handle frame relay, decode ATM VP/VC info, and handle ISO over FR. 1998-01-01 04:13:54 +00:00
fenner
8eb270bac5 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
imp
691010efad 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
b782f4df30 Revert $FreeBSD$ to $Id$ 1997-02-22 16:15:28 +00:00
jkh
808a36ef65 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
pst
2cdf366009 Fix typo in last commit...sigh 1996-08-21 21:39:44 +00:00
pst
dc46a50db4 Change DISTDIR to TCPDUMP_DISTDIR 1996-08-21 17:11:41 +00:00
pst
ddd2ef851a 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
gpalmer
1cd0d327ac Pickup VERSION from the tcpdump sources in contrib/tcpdump. Allows
`make world' to work again.
1996-08-21 04:14:36 +00:00
pst
076318a498 Fix up path 1996-08-20 05:44:01 +00:00
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