| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
ok deraadt@
|
| |
|
|
| |
no sneakiness detected by krw
|
| |
|
|
|
|
|
|
|
| |
possible. Annotate <sys/param.h> lines with their current reasons. Switch
to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_NAME_MAX, etc. Change
MIN() and MAX() to local definitions of MINIMUM() and MAXIMUM() where
sensible to avoid pulling in the pollution. These are the files confirmed
through binary verification.
ok guenther, millert, doug (helped with the verification protocol)
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
bpf aligns data following the datalink header (e.g. ethernet)
on the BPF_ALIGNMENT boundary. Since rev1.41 of bpf.h it's
uint32_t instead of a long. And also since then almost all
packets become "unaligned" from the tcpdump perspective and
require costly copies into the internal buffer. Neither IP
header (struct ip) nor IPv6 (struct ip6_hdr) have fields
larger than 32 bits and therefore alignment requirements for
them are at most 32 bit.
ok millert, jsg, deraadt
|
| |
|
|
|
|
|
|
| |
aligned IP/IPv6 packet so that tcpdump can print hexdump of the whole
packet including the Ethernet header (if requested) and not only the
IP/IPv6 part of it.
ok jsg
|
| |
|
|
|
|
|
| |
routines should check that there's at least a complete IP/IPv6 header
available in the buffer before trying to do anything else.
ok jsg
|
| |
|
|
|
|
|
|
|
|
|
| |
ip_print() and others.
Allows code deciding on a minimum length to memmove()
to work as intended, preventing various crashes found
with the afl fuzzer. Callers of ip6_print() should of
course be fixed to provide sane lengths as well.
ok deraadt@ djm@
|
| | |
|
| | |
|
| |
|
|
|
|
|
| |
displayed.
help from bluhm@
OK claudio@
|
| |
|
|
|
|
| |
cleaned up to be less gross after some suggestions from stsp.
ok stsp@
|
| |
|
|
|
| |
is run with -v. This behavior is analog to ipv4.
ok mpf@ todd@
|
| |
|
|
|
|
|
| |
unmaintainable). these days, people use source. these id's do not provide
any benefit, and do hurt the small install media
(the 33,000 line diff is essentially mechanical)
ok with the idea millert, ok dms
|
| |
|
|
| |
ok todd@, henning@
|
| |
|
|
|
|
| |
buffers overlap, which happens on 64 bit archs, when
handling encapsulated packets. Reported and tested by Jurjen Oskam
additional testing by Stuart Henderson and todd@, ok henning@
|
| |
|
|
|
| |
when parsing IPv6 headers with unknown or corrupted header options.
OK henning@ mcbride@
|
| | |
|
| |
|
|
| |
From Jason Wright via PR-4531.
|
| |
|
|
| |
ok deraadt@
|
| |
|
|
|
|
| |
hbhopt_print() and dstopt_print() can return 0 if
the option is located just one byte short of snapend
this would cause an infinite loop in ip6_print().
|
| | |
|
| | |
|
|
|
DHCP/BOOTP
tcp & udp checksum detection
numerous bugfixes
|