Commit Graph

9 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
he 70a24dc7c0 Change from sprintf() to snprintf() where we may print externally
supplied data of unknown length.
Changes adapted from FreeBSD-SA-00:61.
2000-10-31 12:17:07 +00:00
itojun d9bba2ca98 some merge from tcpdump.org code.
- print-telnet.c: do not print control character
- print-icmp6.c: improve icmp6 node information printing
  (we need to at least meet our kernel code!)
- update dhcp6 printing to 15 draft (14 and 15 are totally incompatible)
- add safeputc() and safeputs() into util.c
2000-08-01 17:29:47 +00:00
christos b03548c3bc Resolved conflicts. 1997-10-03 19:54:07 +00:00
fvdl d65ddbd4e0 Grok NFSv3 packets. Needs a bit of work but is ok for now. Enable dumping
of NFS packets over TCP. Upgrade to 3.0.4 while at it. 3.0.4 fixes previous
fix made to util.c too; 'official' fix applied instead (very minor difference).

Fixes to be sent to maintainers RSN.
1996-05-20 00:41:00 +00:00
mycroft d779242948 Use the correct time zone info; not what the kernel says. (Forward to tcpdump
maintainers.)
1996-05-11 13:18:00 +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