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@
don't use builtins for LDBL defines on arm64 and riscv64
Match other archs and drop the ifdef and builtin use. Use the same
values as the clang builtins.
ok miod@ kettenis@
When ForwardX11Timeout=0, explicitly ask for a xauth cookie that doesn't
expire. Prevents some fail-open behaviour because xauth by default will
make one that does expire.
Anthropic ANT-2026-GJIF7KJI
www/nginx,-stream: preserve OpenSSL flavor and match nginx dependency
Stripping the openssl flavor from -stream could cause dlopen() symbol
mismatches against nginx. Keep the flavor on -stream, bump
REVISION-stream, and depend on the matching nginx flavor.
OK robert@
disallow users of forwarded agents from adding FIDO keys to ssh-agent
by default, as permitting this allows a remote user to probe which
credentials are present on a token.
A new allow-remote-fido startup option reenables the ability to do this.
Anthropic ANT-2026-0LK6RYG0
pppoe(4): match peer MAC address in session lookups
Per RFC 2516, a PPPoE session is identified by its session ID and both
Ethernet endpoint addresses. Require sc_dest to match the packets source
MAC in pppoe_find_softc_by_session() and pppoe_smr_find_by_session() to
prevent session hijacking, forged LCP termination, and session ID
collisions on a shared segment.
Reported by Acts1631, who also provided a reproducer, and this diff.
OK gnezdo@, dlg@
when building a KRL from a control file, do not treat a # character
that is not at the start of a line or preceeded by whitespace as the
start of a comment, as key IDs may legitimately contain these
Anthropic ANT-2026-ZF4XFAKS