David E. O'Brien
35a6917047
Document that 'bad cksum 0' is expected on NICs with checksum off-loading.
2006-06-20 05:04:05 +00:00
Sam Leffler
06885fed80
correct check for whether or not md5 signature matches; applied
...
to vendor branch since this is already in their depot
2005-11-13 19:28:17 +00:00
Sam Leffler
d954c733ba
This commit was generated by cvs2svn to compensate for changes in r152390,
...
which included commits to RCS files with non-trunk default branches.
2005-11-13 19:28:17 +00:00
Sam Leffler
29292c17af
resolve merge conflicts
...
Approved by: re (scottl)
2005-07-11 04:14:02 +00:00
Sam Leffler
f4d0c64a1d
Virgin import of tcpdump v3.9.1 (release) from tcpdump.org
...
Approved by: re (scottl)
2005-07-11 03:54:22 +00:00
Sam Leffler
f6fb7a2cfe
This commit was generated by cvs2svn to compensate for changes in r147899,
...
which included commits to RCS files with non-trunk default branches.
2005-07-11 03:54:22 +00:00
Sam Leffler
dd9c1736f5
pullup security fix on vendor branch
2005-06-09 15:54:42 +00:00
Sam Leffler
cc157742d1
Correct several denial-of-service vulnerabilities in tcpdump.
...
Security: FreeBSD-SA-05:10.tcpdump
Security: CAN-2005-1267, CAN-2005-1278, CAN-2005-1279, CAN-2005-1280
Obtained from: tcpdump.org
2005-06-09 15:42:58 +00:00
Sam Leffler
fa2afacabb
This commit was generated by cvs2svn to compensate for changes in r147173,
...
which included commits to RCS files with non-trunk default branches.
2005-06-09 15:42:58 +00:00
Sam Leffler
c1ad1296ec
resolve merge conflicts and update for proper build; including:
...
o print-fr.c returned to code on vendor branch
o remove pmap_prot.h include from print-sunrprc.c
o remove gcc/i386-specific ntoh* write-arounds from tcpdump-stdinc.h
Reviewed by: bms
2005-05-29 19:09:28 +00:00
Sam Leffler
d93a098204
Virgin import of tcpdump v3.9.1 (alpha 096) from tcpdump.org
2005-05-29 18:24:21 +00:00
Sam Leffler
3d1038b8ce
This commit was generated by cvs2svn to compensate for changes in r146775,
...
which included commits to RCS files with non-trunk default branches.
2005-05-29 18:24:21 +00:00
Sam Leffler
1de50e9f41
Virgin import of tcpdump v3.9.1 (alpha 096) from tcpdump.org
2005-05-29 18:17:16 +00:00
Sam Leffler
233f3abd96
This commit was generated by cvs2svn to compensate for changes in r146773,
...
which included commits to RCS files with non-trunk default branches.
2005-05-29 18:17:16 +00:00
Bruce M Simpson
a0fba9baed
Fix NULL pointer dereference bug when parsing IPV6CP traffic.
...
This file is already off the vendor branch, and the fix will be
in future tcpdump.org vendor branch imports.
PR: bin/76497
MFC after: 1 week
Obtained from: tcpdump.org rev 1.89.2.4
Discussed with: fenner, keramida
2005-01-24 14:56:48 +00:00
Bruce M Simpson
cc391cce11
Merge of tcpdump 3.8.3 from tcpdump.org, with the following caveats:
...
print-atm.c no longer performs special handling for FORE headers; these
can no doubt be re-added at a later date.
print-fr.c is effectively a no-op.
print-llc.c has had the default_print_unaligned() call removed as
tcpdump no longer defines this function, however the prototype is still
present. Suggest we roll in a diff to use print_unknown_data().
2004-03-31 14:57:24 +00:00
Bruce M Simpson
5b0fe47811
Import tcpdump 3.8.3, from http://www.tcpdump.org/releases/tcpdump-3.8.3.tar.gz
2004-03-31 09:17:26 +00:00
Bruce M Simpson
87e4d12e4a
This commit was generated by cvs2svn to compensate for changes in r127668,
...
which included commits to RCS files with non-trunk default branches.
2004-03-31 09:17:26 +00:00
Bill Fenner
c76561e4dc
Commit vendor update for vulnerabilities found by
...
Jonathan Heusser <jonny@drugphish.ch>
2004-01-13 17:28:59 +00:00
Bill Fenner
cea4bb1622
This commit was generated by cvs2svn to compensate for changes in r124488,
...
which included commits to RCS files with non-trunk default branches.
2004-01-13 17:28:59 +00:00
Bill Fenner
b97c9af58a
Commit vendor fix for l2tp vulnerability reported by
...
Przemyslaw Frasunek on bugtraq list.
2004-01-13 17:28:06 +00:00
Bill Fenner
11c9ffd1ce
This commit was generated by cvs2svn to compensate for changes in r124486,
...
which included commits to RCS files with non-trunk default branches.
2004-01-13 17:28:06 +00:00
Bill Fenner
0e0def197a
Merge tcpdump 3.7.2
2003-03-02 08:25:48 +00:00
Bill Fenner
9afd0c2902
Import tcpdump 3.7.2 (fudging for multi-DLT support) from
...
http://www.tcpdump.org/release/tcpdump-3.7.2.tar.gz
2003-03-02 08:22:26 +00:00
Bill Fenner
e32fdc8718
This commit was generated by cvs2svn to compensate for changes in r111726,
...
which included commits to RCS files with non-trunk default branches.
2003-03-02 08:22:26 +00:00
Bill Fenner
aa1a4c1370
Merge Multi-DLT support.
2003-01-26 01:23:26 +00:00
Bill Fenner
0ccd7b511b
Commit tcpdump.org's multi-DLT support to vendor branch.
2003-01-26 01:16:33 +00:00
Bill Fenner
a63efadcf1
This commit was generated by cvs2svn to compensate for changes in r109839,
...
which included commits to RCS files with non-trunk default branches.
2003-01-26 01:16:33 +00:00
Peter Wemm
dc14fb2388
Add in a patch from tcpdump-current (that will be included in the next
...
import) to stop a segfault on ia64. Add a #include to get missing
prototypes, particularly malloc().
Approved by: fenner
2003-01-08 22:12:01 +00:00
Peter Wemm
a828a2f58c
This commit was generated by cvs2svn to compensate for changes in r108968,
...
which included commits to RCS files with non-trunk default branches.
2003-01-08 22:12:01 +00:00
Bill Fenner
698bfaa4b5
Remove cruft.
2002-06-26 01:35:00 +00:00
Bill Fenner
a1c2090e60
Merge tcpdump 3.7.1
...
MFC after: 2 weeks
2002-06-21 00:49:02 +00:00
Bill Fenner
a90e161be3
Import tcpdump 3.7.1, from
...
http://www.tcpdump.org/release/tcpdump-3.7.1.tar.gz
2002-06-21 00:43:23 +00:00
Bill Fenner
1c6248dba0
This commit was generated by cvs2svn to compensate for changes in r98524,
...
which included commits to RCS files with non-trunk default branches.
2002-06-21 00:43:23 +00:00
Bill Fenner
93b99d6264
In TTEST2(), check to make sure the "l" argument isn't so large that
...
"snapend - l" underflows; this fixes a buffer overflow with malformed
NFS packets, and may fix other buffer overflows with malformed packets.
Obtained from: tcpdump.org CVS
2002-06-17 15:26:56 +00:00
Julian Elischer
f1f9d42a53
Quick hack to print out the non-standard pppoe used by 3com
2001-09-27 08:02:27 +00:00
Bill Fenner
d73c3f4796
Merge tcpdump 3.6.3
2001-07-23 23:15:44 +00:00
Bill Fenner
39eaefddae
Virgin import of tcpdump.org tcpdump v3.6.3
2001-07-23 23:15:13 +00:00
Bill Fenner
669c0adba2
This commit was generated by cvs2svn to compensate for changes in r80231,
...
which included commits to RCS files with non-trunk default branches.
2001-07-23 23:15:13 +00:00
Bill Fenner
7e9c480713
Check in the diff for rev 1.11 of tcpdump.org's print-smb.c
...
to replace freebsd.org's rev 1.2.
2001-04-04 00:11:06 +00:00
Bill Fenner
84c29ae3c4
This commit was generated by cvs2svn to compensate for changes in r75147,
...
which included commits to RCS files with non-trunk default branches.
2001-04-04 00:11:06 +00:00
Bill Fenner
943ee2b15a
Merge tcpdump 3.6.2
2001-04-03 07:50:46 +00:00
Bill Fenner
685295f4d7
Virgin import of tcpdump.org tcpdump v3.6.2
2001-04-03 07:45:48 +00:00
Bill Fenner
4df395f42e
This commit was generated by cvs2svn to compensate for changes in r75115,
...
which included commits to RCS files with non-trunk default branches.
2001-04-03 07:45:48 +00:00
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
b045338223
Virgin import of tcpdump.org tcpdump v3.5
2000-01-30 00:45:58 +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
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