sys/utvfu: free the transfers when utvfu_vs_init() fails to allocate
If utvfu_vs_alloc_isoc() fails partway or utvfu_vs_alloc_frame()
fails, the transfers that were allocated are left behind, and the
next utvfu_vs_init() allocates them again over the old pointers.
Input and OK mglocker@
Diff from Brad Smith
Remove TAK (RFC 9691) decoding/printing support
The idea behind TAKs was that a TA operator (RIR) can issue a special
type of signed object that contains the next TAL and that RPs would then
automatically add that new TAL to their local trust store. The RIRs
imagined that having a way to remotely update RP trust stores through
some in-band means would help RP instances that are running on autopilot
and not being updated through other means. OTOH, outdated RPs will
probably have bigger issues than just an outdated trust store. TAKs also
were envisioned to help speed up some HSM migration scenarios.
The rpki-client utility only ever had support for the boring parts
(validation, decoding, printing), and the "now install it in your trust
store"-part was elided because adding a new TAL to /etc/rpki/ from the
parser subprocess would require crossing various privsep boundries that
exist for good reasons. In other words, TAK support in rpki-client
consciously was incomplete and intended as a diagnostic utility to help
the community. Other RP projects don't seem to support TAK either.
No TAK object has ever been observed in the global RPKI.
[5 lines not shown]
httpd: answer CONNECT with 405
httpd is not a forward proxy, but CONNECT put the connection in tunnel
mode and "CONNECT /path" reached the location handlers, FastCGI
included. Reject it like TRACE and remove server_read(), now unused
Remove draft-ietf-sidrops-rpki-prefixlist support
This draft doesn't seem to be going anywhere.
The idea was fine: SPL enables AS holders to inform the world what IP
prefixes their AS /might/ originate, in turn this signal can help combat
some forms of AS-spoofing/misattribution. But, the wider community
does not seem super interested to change the status quo and make this
particular idea a deployed reality. To be fair, it would be quite some
work to push this across the finish line: the RTR protocol would need a
new PDU type, we'd need to add support to bgpd for SPL validation, and
the RIRs would need to add knobs to their RPKI web UI & APIs. That's ok,
not every idea comes to fruition.
OK tb@
At suspend time, sp_ccbs is not freed. But at resume time, it is
allocated. This leaks the ccb array. We cannot sleep at resume
time, so this is convenient we can just reuse the array rather than
trying to allocate it.
ok jmatthew
Add support for WPA3 to ifconfig. Not enabled in the installer yet.
Made possible with financial support from NLnet's NGIzero fund, thanks!
testing and ok phessler, kevlo, armani
remove IMSG_RES_QUERY; dead code
it was introduced by eric@ in 2019 in order to be able to run any kind
of dns query thru the lka process, probably in order to run spf or dkim
or such.
it has been unused since then; it can go away.
patch: reject unreasonable path names
we should not accept absolute paths or paths with '..' segments in them.
shouldn't have any practical change in most cases, the unveil(".") is
already cutting down almost all misuses of unreasonable paths.
prompted by an issue reported by acts1631 where patch could still edit
files under /tmp
lengthly discussed with kirill@ and deraadt@ in krk. tested in a bulk
build by kirill@ (thanks!)
okay kirill@
deraadt agrees
plug leak in res_query()
res_query_async() leaves the raw DNS packet (if any) in ar.ar_data, but
for some error replies (like NXDOMAIN) res_query() should fail, without
leaking the DNS packet though.
reported by acts1631
okay deraadt, florian