Commit Graph

44 Commits

Author SHA1 Message Date
Kris Kennaway
7524a0790d * Buffer-safe string function cleanup. There are a couple of strcpy()
and strcat()s which would be more difficult to fix, but I think they're
  safe anyway.
* Don't crash at runtime by overflowing a buffer with constant data in
  print-icmp.c on a long hostname.
* Don't overflow a static buffer by trying to decode an AFS ACL into a buffer
  which is way too small for it.

Reviewed by:    -audit
2000-10-05 02:49:49 +00:00
Bill Fenner
bb1ba4173a Include ip6.h from <netinet/>, not <netinet6/>.
Submitted by:	Yoshinobu Inoue <shin@nd.net.fujitsu.co.jp>
Approved by:	jkh
2000-03-08 02:24:10 +00:00
Bill Fenner
9537d84e80 Fix nybble-order bug in PIM printer.
Approved by:	jkh
2000-02-17 03:30:04 +00:00
Bill Fenner
a88113a830 Merge tcpdump 3.5 2000-01-30 01:05:24 +00:00
Bill Fenner
623fbbc49c This commit was generated by cvs2svn to compensate for changes in r56893,
which included commits to RCS files with non-trunk default branches.
2000-01-30 00:45:58 +00:00
Bill Fenner
b045338223 Virgin import of tcpdump.org tcpdump v3.5 2000-01-30 00:45:58 +00:00
Archie Cobbs
0989ffbd53 Document the -X flag. 2000-01-26 18:55:58 +00:00
Archie Cobbs
37eaa1d162 Add the -X flag to dump the buffer in "emacs-hexl" style,
that is, with ASCII character decoding.

Obtained from:	OpenBSD
2000-01-26 18:10:21 +00:00
Brian Somers
40e7a3d7fd Pass the pppoe packets into do_ppp_print correctly. 1999-11-27 18:04:57 +00:00
Brian Somers
e8fdcab380 Support PPPoE.
Add a missing comma to the lcp config options table.
1999-11-14 11:28:11 +00:00
Larry Lile
14fffcebea Add source routing support. 1999-08-28 15:14:15 +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 Fumerola
af693bfbc1 Remove bogus reference.
PR:		docs/8430
Submitted by:	jkb
1998-12-29 02:53:08 +00:00
Peter Hawkins
db4ce352d0 PR: 8429
Submitted by:		jkb@FreeBSD.ORG
correct typo in example
1998-10-24 10:08:05 +00:00
Bill Fenner
699fc31439 Merge tcpdump 3.4
PR:		bin/7877
1998-09-15 19:46:59 +00:00
Bill Fenner
4644f044b2 Virgin import of LBL tcpdump v3.4 1998-09-15 19:36:32 +00:00
Bill Fenner
90dc276c84 This commit was generated by cvs2svn to compensate for changes in r39297,
which included commits to RCS files with non-trunk default branches.
1998-09-15 19:36:32 +00:00
Peter Hawkins
3cf9b7ae04 PR: 7741
Submitted by:	Hellmuth Michaelis <hm@kts.org>
add LCP/PAP/CHAP/IPCP frame printing functionality
1998-08-30 05:32:44 +00:00
Peter Wemm
e0269ee77c Zap the T_UID,T_GID and T_UINFO stuff, it doesn't exist in the bind8
headers.  As I understand it, it was for some really ancient athena stuff
that has long been replaced.
1998-06-11 14:40:42 +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
Paul Traina
13acb9488b Add frame-relay decode support. 1997-12-31 21:50:31 +00:00
Garrett Wollman
0bfc6e6706 This is a hack. Decode IEEE 802.1Q VLAN tagging so that we can decode
tagged traffic according to the encapsulated protocol.  It needs in
addition modifications to the filter generator which would deal with
checking the ethertype and vlan header as required.
1997-12-08 21:42:35 +00:00
Bill Fenner
685b49de6d Get rid of the T2CHECK() macro, since it duplicates functionality
available from TCHECK(), TCHECK2(), TTEST() and TTEST2().
1997-05-27 02:20:36 +00:00
Bill Fenner
2ebf6c0513 Merge tcpdump 3.3.
The print_nfs.c changes are pretty extensive; this is partially because
 LBL did a lot of cleanup and partially because I removed lots of
 pointless changes away from the LBL style.

PR:		3371
mostly-Submitted by:	Chris Timmons <skynyrd@opus.cts.cwu.edu>
1997-05-27 02:17:42 +00:00
Bill Fenner
4de76e3137 Virgin import of LBL tcpdump v3.3 1997-05-27 02:11:31 +00:00
Bill Fenner
5775941a02 This commit was generated by cvs2svn to compensate for changes in r26180,
which included commits to RCS files with non-trunk default branches.
1997-05-27 02:11:31 +00:00
Garrett Wollman
ee3e763371 Update to reflect changes in net/if.h. 1997-01-03 20:10:04 +00:00
Adam David
18c5c2467a repair editor damage 1996-12-11 20:13:23 +00:00
Poul-Henning Kamp
bfdc83c7c5 Please shut up if asked to be quiet. 1996-12-11 09:38:18 +00:00
Bill Fenner
eb1accc762 LBL chose to use IPPROTO_ENCAP to represent IP proto 4 encapsulation
as performed by the multicast kernel modifications.  However, BSD
already had IPPROTO_ENCAP defined as 98 (RFC 1241 encapsulation).

This changes the use of IPPROTO_ENCAP to IPPROTO_IPIP, which is
the BSD name for IP proto 4.
1996-11-26 01:43:20 +00:00
Bill Fenner
f2e3e9a91e Fix the IGMP printer. A lost pair of parenthesis caused all IGMP
reports to be printed as IGMPv1, and a misapplied patch caused
IGMP Leave messages to be partially interpreted as DVMRP routing
messages.
1996-11-25 06:20:54 +00:00
Paul Traina
735211d3e9 Make things compile again. 1996-10-17 21:16:07 +00:00
Doug Rabson
647f50c3b3 Import NFSv3 support from NetBSD
Obtained from: NetBSD
1996-10-17 10:53:34 +00:00
Paul Traina
9ee4f69e6f Fix some typos 1996-10-01 01:08:47 +00:00
Paul Traina
0ca3c3e0f8 Here is a patch to make tcpdump recognise IPX packets that is using
ETHERNET_II framing. It got lost during the tcpdump upgrade.

Submitted by: John.Hay@mikom.csir.co.za
1996-09-15 17:55:09 +00:00
Paul Traina
36c6738a68 Print appletalk layer 3 addresses as 16 bit unsigned decimal numbers,
not two 8 bit values.  This conforms to industry standard.

These changes have been sent back to LBL.
1996-09-11 06:18:26 +00:00
Paul Traina
12e9609024 Fix bugs in the ISO (Fletcher) checksum, obey the -q flag, misc cleanup of
ISO based code, and document new options (courtesy of libpcap).
Submitted by:	Tony Li <tli@jnx.com>
1996-08-21 20:03:57 +00:00
Paul Traina
e8e91bdf52 Upgrade instructions 1996-08-19 21:55:18 +00:00
Paul Traina
d5a5022d60 Print IPX packets over a PPP link.
Always display IPX network number in decimal (industry standard).
Decode other PPP protocol types too.

Submitted by:	peter, pst, John Hay <jhay@mikom.csir.co.za>
1996-08-19 21:43:47 +00:00
Paul Traina
9cc97c3a9c Improvements to IGMP message decoding.
Add support for the router-alert option.
Submitted by:	Bill Fenner <fenner@parc.xerox.com>
1996-08-19 21:39:00 +00:00
Paul Traina
1249582f6e Fix bugs in AARP packet handling and fake up a phantom LAP header
since Ethertalk doesn't actually put one out on the wire.

Submitted by:	Toshihiro Kanda <candy@fct.kgc.co.jp>
1996-08-19 21:37:18 +00:00
Paul Traina
930ecf536c Decode maximumim sized ethernet frames properly 1996-08-19 21:35:13 +00:00
Paul Traina
01bd0dbc7e Handle IS-IS IIH messages and print NSAPs in canonical format.
Submitted by:	Tony Li <tli@jnx.com>
1996-08-19 21:33:43 +00:00
Paul Traina
4edb46e9a8 Virgin import of unmodified tcpdump v3.2.1 distribution from LBL.
Obtained from: ftp://ftp.ee.lbl.gov/tcpdump.tar.Z on 19-Aug-1996.
1996-08-19 20:34:12 +00:00