pppoe(4): account for packets sent through the direct transmit path
pppoe_enqueue() bypasses ifq_enqueue() with the default priq, leaving
outbound data packets uncounted. Count packets and their pre-PPPoE
length after successful transmission; sppp_output() already accounts for
the framing bytes.
From Steffen Beyer.
OK dlg@
httpd: check access settings of the directory index location
When you ask for a directory, the index file can end up being served
by another location, and we never looked at its header rules, body
limits, block or authenticate. With authenticate on a fastcgi location
this even took the whole daemon down.
Move these checks into server_http_access() and call it from
server_file(), so every location that serves a request gets checked.
Hang on to the Authorization header until the request is done, so
each location can check it, and wipe it before handing the request
to fastcgi.
With input and help from armani@, OK armani@, kirill@
Reported by Artus KG
Add support for head -c, standardized in POSIX 2024
Ports patches will follow when amd64 snaps ship with head -c.
Input from ian@, tests from matthieu@, ok op@%
Fix endless loop in udp_output() on 32 bit architectures.
As CMSG_ALIGN() can overflow the integer value, do the length check
with and without alignment.
from Acts1631; OK mvs@
Mention -basedir in README, prompted by discussion with linetrace on
irc.libera.chat #openbsd-gaming.
Also correct license marker to GPLv2+, pointed out by bentley@ - thanks.
rpki-client: do not leak cert if auth_insert() fails
If certid reaches CERTID_MAX or the depth exceeds the maximum cert depth,
cert is not inserted into the auth tree. In this case we need to free the
cert.
Reported by Ties de Kock
ok claudio
Fix tests in sysutils/restic
- Use GNU tar for integration tests (which expect --no-same-owner)
- Skip unsupported xattr and unprivileged sticky-bit file restore tests
on OpenBSD
OK sthen@