Commit Graph

12 Commits

Author SHA1 Message Date
itojun ca89dc0998 minimize diffs to tcpdump.org tree, even if cosmetic.
changes include:
- do not chase header if ip/ip6 datagram is framgented, and it is not the
  first fragment
- u_short -> u_int16_t
- buffer boundary checks, including sprintf -> snprintf
- cleanup truncated packet cases
- pull tcpdump.org enhancements/corrections for RIP, IPv6 options, ICMPv6,
  OSPFv3, IPv4 options, BGP

there are a lot of local/conflicting changes.  we'd gradually decrease
# of diffs by synchronizing both ends, and then move to src/dist/tcpdump
and reachover makefile.
2001-01-28 10:05:05 +00:00
kleink f46c3b8662 Teach tcpdump(8) to dump VRRP. 2001-01-19 09:10:13 +00:00
itojun b4d29cbd68 don't try to parse packets with short iphlen.
From: tcpdump.org (bugtraq june 99)
2000-02-03 17:42:01 +00:00
itojun a91686b4c9 fix printing of IPv4 first fragment size.
(variable "len" was damaged by chained header onion-peeling code)
1999-08-26 14:52:04 +00:00
explorer a3d357795d print ip-proto PIM packets (ip proto 103) 1999-07-25 04:23:21 +00:00
itojun c282889c17 Pv6, IPsec, ospf6, ripng, dhcp and other protocols support. 1999-07-02 11:31:28 +00:00
hwr fadc6762f7 Add for packtes of IPPROTO_MOBILE (55). This is yet another
tunneling protocol which is described in RFC2004.
XXX There is no verification of the miniheader checksum at the moment.
1998-09-25 19:10:25 +00:00
christos b03548c3bc Resolved conflicts. 1997-10-03 19:54:07 +00:00
cgd 39e0ed2fd0 cast pointers to longs, not ints. don't return ptr to local var. 1995-04-24 13:27:39 +00:00
mycroft 1939eb406f Clean up merge, port to NetBSD, and add NetBSD RCS tags. 1995-03-06 19:09:42 +00:00
cgd 072431f8af headers, for protos. 1994-12-23 17:05:58 +00:00
deraadt 56c9ee826f tcpdump version 2.1.1 by Steve McCanne <mccanne@ee.lbl.gov> 1993-11-14 21:19:50 +00:00