| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
|
|
|
|
| |
no sneakiness detected by krw
|
|
|
|
| |
ok millert krw
|
|
|
|
|
| |
instead of showing just the primary one and "above" or "below" for secondary.
ok sthen
|
| |
|
|
|
|
|
|
| |
Apparently sniffing wifi frames isn't a very popular addiction?!?
Requested by David Hill.
ok aja phessler mpi
|
|
|
|
| |
much help and ok zhuk@, ok sthen@ for an earlier version
|
|
|
|
| |
ok phessler sthen
|
| |
|
|
|
|
| |
ok deraadt@ zhuk@ sthen@
|
|
|
|
|
| |
and from tcpdump.
Pointed out by James Hartley.
|
|
|
|
|
| |
(at ^C time) into a services provided by the privsep monitor.
ok canacar
|
|
|
|
| |
ok semarie@ sthen@
|
|
|
|
|
| |
handling along the way.
Reviews by Brendan MacDonell, Jeremy Devenport, florian, doug, millert
|
| |
|
|
|
|
|
|
|
|
|
| |
an AP in beacons in the run-up to a channel switch, either for radar avoidance,
or for frequency management). ok stsp@
We don't support these in net80211 yet (as pointed out by stsp a few days ago)
but it's useful to at least have a way to debug why your connection is getting
knocked down!
|
|
|
|
|
|
| |
reference.
ok sthen@ jca@ deraadt@
|
|
|
|
|
|
| |
was an extra line without benefit. Remove the new-line in printf
to make parsing easier.
OK lteo@ mikeb@
|
|
|
|
|
|
|
|
|
| |
What's worse, the tzfile.h that gets installed is over 20 years old
and doesn't match the real tzfile.h in libc/time. This makes the
tree safe for /usr/include/tzfile.h removal. The TM_YEAR_BASE
define has been moved to time.h temporarily until its usage is
replaced by 1900 in the tree. Actual removal of tzfile.h is pending
a ports build. Based on a diff from deraadt@
|
|
|
|
|
|
|
|
|
|
|
| |
Predefined strings are not very portable across troff implementations,
and they make the source much harder to read. Usually the intended
character can be written directly.
No output changes, except for two instances where the incorrect escape
was used in the first place.
tweaks + ok schwarze@
|
|
|
|
| |
ok florian
|
|
|
|
|
| |
delete <sys/param.h> if now possible
ok guenther
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
slightly tweaked version of an earlier diff ok'd by djm@ and miod@
|
|
|
|
|
|
| |
fixes a crash found by the afl fuzzer
ok djm@ miod@
|
|
|
|
|
|
|
|
|
|
|
| |
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@
|
| |
|
| |
|
|
|
|
|
|
| |
The frame subtype field is in the first byte of frame control but tcpdump(8)
was looking at the second byte to determine if this is a data frame.
Patch by Nathanael Rensen, thanks!
|
|
|
|
|
|
| |
equal to the source ip address. This is confusing and inconsistent
with IPv6. So always print the rtrid.
OK stsp@
|
|
|
|
|
|
| |
the parsers sucked, so byte misalignment repair was requested. These
days it means the parsers should improve.
ok lteo
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
checksum, make tcpdump (with the -v flag) show the actual bad checksum
within the IP/protocol header itself and what the good checksum should
be, e.g. "[bad tcp cksum abcd! -> d1e6]"
This change applies to IP, TCP (over IPv4 and IPv6), UDP (over IPv4 and
IPv6), ICMP, and ICMPv6. This commit also fixes several inconsistencies
in the way bad checksums were displayed for these protocols.
Tested on amd64, i386, and macppc.
ok henning@
|
|
|
|
|
|
|
| |
upcoming commit which will fix and improve the display of bad checksums
for the major protocols.
ok henning@
|
|
|
|
|
|
|
| |
protocol checksum offload, where tcpdump might see bad checksums on
valid packets.
ok henning@ jmc@
|
|
|
|
|
|
| |
messages which should be sent with AA set. Adapted from a patch at
http://marc.info/?l=tcpdump-patches&m=98115734907026&w=2 pointed out by
Peter J. Philipp, ok henning@
|
|
|
|
| |
ok jmc@
|
|
|
|
|
|
| |
Fix inspired by what upstream is doing.
Tested by me and matthieu@.
Input^WHand holding and OK guenther@
|
| |
|
| |
|
|
|
|
|
|
| |
Tested on amd64, i386, loongson, and macppc.
OK florian@
|
|
|
|
|
|
| |
Tested on amd64, i386, loongson, and macppc.
OK florian@
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
packet without the IP header. This is needed by the next commit that
will allow tcpdump to detect bad ICMP checksums.
Related functions like {tcp,udp,icmp6}_print() already accept this
length variable, so this change makes icmp_print() consistent with
them as well.
This commit makes no functional change to tcpdump itself.
OK florian@
|
|
|
|
|
| |
easy road, otherwise this would be a righteous mess)
ok florian
|
| |
|
|
|
|
|
|
|
|
| |
pointer or non-const array, as that minimizes the symbols, maximizes the
placement into read-only memory, and avoids warnings from gcc -Wformat=2
when they're used as format strings.
ok deraadt@
|
|
|
|
|
|
| |
They do not indicate a problem with the reduction of namespace export,
but got suckered into the 1999 plan.
ok benno
|