In the old, dark ages of the infancy of the OpenBSD/hppa port, wsdisplay
would attach at the end of the device configuration process, because at that
time it was quite common to hit a panic or the kernel debugger before reaching
that point, and we needed the kernel debugger to be usable.
The reliability of the code has improved a lot since then, and, using a
simple trick to use the prom console as input to wsdisplay, we do not need to
postpone attachment of wsdisplay any longer.
fix a bug where if an exit-status message arrives and then the TCP
connection is terminated before the session channel finishes draining
its buffered data, then ssh(1)'s exit status could reflect success
rather than an abnormally-terminated connection.
Anthropic ANT-2026-2LSSYBUV; feedback/ok markus@
Some performance improvements for sshbuf
1. When allocating, geometrically scale the buffer by 1.25x rather
than doing linear increments. This avoids quadratic behaviour in
some cases and expensive ramp up if the target state is a large
buffer.
2. Keep a 50% allocation headroom above the requested maximum size.
Because we need to sometime repack buffers by memmove()ing their
contents from the end of the buffer to the start, this avoids a
pathological state where an almost-full buffer that is doing
small get/put operations spends almost all of its time in memcpy.
ok markus@
Update to 8.34.0
had to relax dependency to puppet-resource_api, as the one we have is
aleady newer.
Get rid of patch wrt. openbsd package provider, was accepted upstream.
OK kn@ (MAINTAINER)
add async DNS resolution for dynamic (SOCKS 4a/5) forwarding
using libc ASR. Avoids hangs in ssh/sshd when forwarding requests
lookup of a name that is slow to resolve.
Controlled using ASR option in Makefile.inc, on by default.
feedback/ok markus@
Fix FIN_WAIT_2 timeout of closed TCP sockets.
During keep alive timer refactoring at 2025-01-16 I messed up
tcp_keepidle and tcp_keepintvl variables when arming the FIN_WAIT_2
timer. As a consequence connections in FIN_WAIT_2 without socket
stay for 16 hours instead of 10 minutes. A peer that never sends
its FIN can exhaust kernel resources this way. Restore the old
behaviour.
from Acts1631; OK mvs@