| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |
|
|
| |
weeks ago.
|
| |
|
|
| |
From Kevin Reay, ok sthen@
|
| |
|
|
| |
Initial diff by Kevin Reay.
|
| |
|
|
| |
From Kevin Reay, ok sthen@
|
| |
|
|
| |
From Kevin Reay
|
| | |
|
| | |
|
| |
|
|
|
| |
known options that we don't otherwise decode yet (DNSSL, route information).
ok mpi@
|
| |
|
|
|
|
| |
tcpdump source files.
ok kettenis@
|
| |
|
|
| |
Patch from Kevin Reay.
|
| |
|
|
| |
ok guenther@
|
| |
|
|
|
|
| |
segfault with malformed packets. Adapted from f61639179282 in tcpdump.org git
by Kevin Reay, but not including the header no-copy optimization that was in
the upstream patch. ok benno@
|
| |
|
|
|
|
|
|
| |
avoiding division by zero when deciding whether it contains 2- or 4-byte ASNs.
Refactor TCHECK calls to ensure proper coverage.
From Kevin Reay, ok canacar with wording tweak (I used "malformed" rather
than canacar's suggested "invalid size" or Kevin's original "empty").
|
| |
|
|
|
|
|
|
|
| |
request packet.
From Kevin Reay who obtained the fix from the tcpdump.org repo (part of
commit 6191f36146f5d286304e9b6e893477fe509d83ab).
ok canacar@ sthen@
|
| |
|
|
|
|
|
| |
Don't catch signals that were ignored on entry
Suppress SIGCHLD if our kid is stopped: we don't care and it's not an error
ok millert@
|
| |
|
|
| |
reported by deraadt@
|
| |
|
|
| |
ok sthen@
|
| |
|
|
|
|
| |
(unsigned char) as required
found by Michael McConville (mmcconv1 (at) sccs.swarthmore.edu) w/Coccinelle
|
| |
|
|
| |
tweak + ok sthen@
|
| | |
|
| |
|
|
| |
way the process moves fd's.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
the packet processor pid is initialized on a socketpair, and then only
does byte analysis. it can be protected using a "stdio" tame request.
an successfull attack against it will find it cannot open files nor
sockets, and faces various other limitations described in the tame(2)
manual page.
the monitor process can be restricted to "malloc cmsg inet ioctl dns rpath".
that sounds like a large subset, but notice it cannot create or write files.
maybe this set can be wittled down by hoisting more initialization code
upwards?
with help from canacar a while back.
|
| |
|
|
| |
"kill it with fire" deraadt@
|
| |
|
|
| |
(others require more care)
|
| | |
|
| |
|
|
| |
In some cases, do additional cleanup in the immediate vicinity.
|
| | |
|
| |
|
|
| |
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
|