OpenBSD/src UoKbIIksys/arch/amd64/include i82489reg.h

   Add a few x2apic MSRs to specialreg.h

   Add a few missing MSR defines to specialreg.h, will be needed soon
VersionDeltaFile
1.7+6-5sys/arch/amd64/include/i82489reg.h
+6-51 files

OpenBSD/src 7NOPpY5sys/arch/amd64/include i82489reg.h

   Add a few lapic register defines

   Adds a few register defines that will be needed soon. no code change.
VersionDeltaFile
1.6+8-1sys/arch/amd64/include/i82489reg.h
+8-11 files

OpenBSD/src aKN4mxssys/kern subr_hibernate.c

   Make writes of the hibernate signature go through the I/O page of the
   piglet.  This fixes a potential issue on arm64 where the kernel might
   have been loaded into memory that isn't DMA reachable.  It will also
   help with implementing some future changes to make the side-effect free
   I/O functions support hardware without cache-coherent DMA or IOMMUs.

   ok deraadt@, mlarkin@
VersionDeltaFile
1.160+7-4sys/kern/subr_hibernate.c
+7-41 files

OpenBSD/src yhyeAm4sys/kern kern_exec.c exec_elf.c, sys/sys exec.h exec_elf.h

   Add a few more fields directly to exec_package so that the front-end
   and back-end of the ELF code doesn't need to communicate them via an
   malloc'd structure.  Much simpler.
   ok kettenis
VersionDeltaFile
1.206+15-29sys/kern/exec_elf.c
1.112+1-10sys/sys/exec_elf.h
1.273+2-8sys/kern/kern_exec.c
1.60+5-4sys/sys/exec.h
+23-514 files

OpenBSD/src LT0Ohbognu/usr.bin/binutils/gdb auxv.c, gnu/usr.bin/binutils/include/elf common.h

   Make our (legacy) gdb aware of the openbsd AUX values and what they
   mean (including the execpath variable)
   ok kettenis
VersionDeltaFile
1.14+2-0gnu/usr.bin/binutils/include/elf/common.h
1.4+2-0gnu/usr.bin/binutils/gdb/auxv.c
+4-02 files

OpenBSD/src rAqgLPqusr.sbin/vmd mc146818.c

   vmd: Fix some broken interrupt behavior in mc146818 rtc

   Fix a few issues discovered during development of mp support.

   ok dv
VersionDeltaFile
1.33+22-9usr.sbin/vmd/mc146818.c
+22-91 files

OpenBSD/src scfkFYWlib/libc/gen readpassphrase.c

   Don't override ignored signals when setting up signal handlers
   for readpassphrase(3), avoids spin when called with no controlling TTY,
   in a background process group, and with SIGTTIN and/or SIGTTOU already
   set to SIG_IGN by its parent.

   Portable OpenSSH b3995; with/ok millert and guenther
VersionDeltaFile
1.30+34-19lib/libc/gen/readpassphrase.c
+34-191 files

OpenBSD/src Xcs0Ilpusr.bin/ssh ed25519.sh

   whitespace
VersionDeltaFile
1.8+3-3usr.bin/ssh/ed25519.sh
+3-31 files

OpenBSD/src 93nfInQetc/rc.d rc.subr

   daemon_logger makes no sense without rc_bg being set as well; so error out
   if that's the case.
   The tree is currently clean of these but it will prevent potential future
   issues.

   ok sthen@
VersionDeltaFile
1.168+4-1etc/rc.d/rc.subr
+4-11 files

OpenBSD/src 7rR1xNvusr.bin/ssh ed25519.sh

   missing part of previous commit: update script to import ed25519
   implementation from libsodium
VersionDeltaFile
1.7+265-174usr.bin/ssh/ed25519.sh
+265-1741 files

OpenBSD/src 4xIJwfvregress/usr.bin/ssh/misc/sk-dummy sk-dummy.c, regress/usr.bin/ssh/unittests/crypto test_ed25519.c

   adapt to libsodium ed25519 implementation
VersionDeltaFile
1.5+12-12regress/usr.bin/ssh/unittests/crypto/test_ed25519.c
1.17+8-10regress/usr.bin/ssh/misc/sk-dummy/sk-dummy.c
+20-222 files

OpenBSD/src Z4QcbtWusr.bin/ssh crypto_api.h ssh-ed25519-sk.c

   switch from SUPERCOP ed25519 to libsodium

   The libsodium implementation includes a number of strictness and
   malleability checks over the original reference implementation we
   have used to this point.

   libsodium also offers a more traditional "detached" signature
   verification API (SUPERCOP required the signature to be contiguous
   with the signed data). Switch to this and avoid a bunch of fiddly
   code.

   ok markus, deraadt
VersionDeltaFile
1.9+4,487-1,872usr.bin/ssh/ed25519.c
1.4+14-39usr.bin/ssh/ed25519-openssl.c
1.24+12-37usr.bin/ssh/ssh-ed25519.c
1.6+8-28usr.bin/ssh/ssh-mldsa-eddsa.c
1.17+7-20usr.bin/ssh/ssh-ed25519-sk.c
1.13+4-4usr.bin/ssh/crypto_api.h
+4,532-2,0006 files

OpenBSD/src busuRzUusr.bin/ssh ssh-gss.h gss-serv.c

   Only store GSSAPI creds when authn succeeds

   Issue report and patch from Moritz Theile

   ok markus, deraadt
VersionDeltaFile
1.39+11-4usr.bin/ssh/gss-serv.c
1.18+2-1usr.bin/ssh/ssh-gss.h
+13-52 files

OpenBSD/src DTGbbywusr.bin/ssh ssh-gss.h auth2.c

   Reset GSSAPI client state before authentication

   Avoids situation where a partially-completed GSSAPI authentication attempt
   can retain state that is subsequently used by a later attempt.

   Report and feedback Moritz Theile, also reported by several others.

   ok markus, deraadt
VersionDeltaFile
1.38+13-8usr.bin/ssh/gss-serv.c
1.259+3-1usr.bin/ssh/monitor.c
1.17+2-1usr.bin/ssh/ssh-gss.h
1.176+2-1usr.bin/ssh/auth2.c
+20-114 files

OpenBSD/src UeVcx1xusr.bin/ssh servconf.c

   Correctly handle some options that accept "none"

   Some options, including AuthorizedPrincipalsFile were documented as accepting
   "none" as a way to disable them, however when overriddes by a ssh_config(5)
   Match keyword, this argument was being interpreted as a literal file.

   With Chris Rohlf in collaboration with Claude and Anthropic Research

   ok markus, deraadt
VersionDeltaFile
1.457+20-9usr.bin/ssh/servconf.c
+20-91 files

OpenBSD/src fetMwxnusr.bin/ssh auth-options.c

   Propagate authorized_keys "resrict" keyword

   The "restrict" keyword was not pervasively being applied to TunnelForwarding
   connections (which are administratively disabled by default). This is a
   separate problem to the one fixed in openssh-10.5

   reported by several people; ok markus, deraadt
VersionDeltaFile
1.103+2-1usr.bin/ssh/auth-options.c
+2-11 files

OpenBSD/src oeX3sqDusr.bin/ssh kexgexc.c kexgen.c

   Check key and CA sig type during key parsing

   Checks key type and CA signature algorithm allowlists as early as
   possible during public key deserialisation.

   Use this in the client and server to reduce attack surface from
   disallowed key/signature types.

   With Chris Rohlf in collaboration with Claude and Anthropic Research

   ok markus, deraadt
VersionDeltaFile
1.129+62-39usr.bin/ssh/auth2-pubkey.c
1.164+53-20usr.bin/ssh/sshkey.c
1.59+28-21usr.bin/ssh/auth2-hostbased.c
1.394+13-7usr.bin/ssh/sshconnect2.c
1.43+3-2usr.bin/ssh/kexgexc.c
1.15+3-2usr.bin/ssh/kexgen.c
+162-913 files not shown
+170-949 files

OpenBSD/src e7rNqJAusr.bin/ssh kex.h sshconnect.c

   Add WarnWeakCrypto to sshd

   This option was previously available for the client only. This adds it to
   sshd, so allow logging of non-PQ key exchanges.

   ok markus, deraadt
VersionDeltaFile
1.195+36-1usr.bin/ssh/kex.c
1.456+16-1usr.bin/ssh/servconf.c
1.407+15-1usr.bin/ssh/sshd_config.5
1.343+9-3usr.bin/ssh/packet.c
1.386+6-2usr.bin/ssh/sshconnect.c
1.135+6-1usr.bin/ssh/kex.h
+88-93 files not shown
+95-139 files

OpenBSD/src xOq4hvnusr.sbin/vmd Makefile hpet.h


   Add ACPI layer into vmd

   This creates the required tables for most modern OSes as well as providing
   a PM timer and HPET implementation for when that is hooked up later.

   This code is compiled into vmd but not yet used.

   ok dv@
VersionDeltaFile
1.1+661-0usr.sbin/vmd/acpi.c
1.1+75-0usr.sbin/vmd/acpi.h
1.1+38-0usr.sbin/vmd/hpet.h
1.32+2-2usr.sbin/vmd/Makefile
+776-24 files

OpenBSD/src X5Mp6Jyusr.bin/ssh session.c servconf.c

   Allow specification of agent socket directories

   Add AgentSocketPath for sshd_config and -A flag for ssh-agent.

   Agent socket directories may be shared or user-specific.

   Shared directories (specified like "shared:/tmp") will cause the listening
   program to create a temporary subdirectory ssh-XXXXXXXXXX under the requeted
   path to hold the socket. This supports the old sshd/ssh-agent behaviour before
   we switched to the socket directory being under ~/.ssh/agent

   User-specific directories just create the socket directly in the requested
   directory. This is the default, as user:.ssh/agent

   bz3860; ok markus, deraadt
VersionDeltaFile
1.8+178-50usr.bin/ssh/misc-agent.c
1.332+43-34usr.bin/ssh/ssh-agent.c
1.88+31-8usr.bin/ssh/ssh-agent.1
1.406+29-1usr.bin/ssh/sshd_config.5
1.455+28-1usr.bin/ssh/servconf.c
1.351+8-3usr.bin/ssh/session.c
+317-973 files not shown
+332-1079 files

OpenBSD/src ZJseChJusr.sbin/relayd hce.c ca.c

   relayd: use a per-host random ICMP echo id

   The echo id used to be a single pid-derived value shared by all hosts for the
   whole process lifetime. Give each host its own random id, refreshed on every
   check cycle.

   "Looks like a good enough step" deraadt@
VersionDeltaFile
1.51+12-8usr.sbin/relayd/check_icmp.c
1.89+1-3usr.sbin/relayd/hce.c
1.59+1-3usr.sbin/relayd/ca.c
1.298+2-2usr.sbin/relayd/relayd.h
+16-164 files

OpenBSD/src lwKFfzalib/libssl s3_lib.c tls12_internal.h

   Read TLSv1.2 records into a dedicated structure.

   Provide a struct tls12_record and read TLSv1.2 records into it following the
   same pattern used for TLSv1.3. This simplifies things considerably and means
   that we no longer use s->s3->rbuf, s->s3->rrec or s->s3->packet for non-DTLS
   in the legacy stack.

   ok kenjiro@ tb@
VersionDeltaFile
1.1+117-0lib/libssl/tls12_record.c
1.75+26-70lib/libssl/ssl_pkt.c
1.1+60-0lib/libssl/tls12_record.h
1.1+60-0lib/libssl/tls12_legacy.c
1.2+22-1lib/libssl/tls12_internal.h
1.263+7-1lib/libssl/s3_lib.c
+292-722 files not shown
+299-748 files

OpenBSD/src sld9pFwusr.bin/ssh auth2.c auth.h

   Account pubkey checks separately to auth attempts

   Add a `PubkeyOptions max-pk-ok:nnnn` option to allow PK_OK tests (asking
   whether the server might accept a given public key) that do not count
   against MaxAuthTries, defaulting to 6 attempts.

   After these attempts are exhausted, futher attempts count as failed
   authentications against MaxAuthTries.

   ok markus, deraadt
VersionDeltaFile
1.454+60-4usr.bin/ssh/servconf.c
1.405+18-4usr.bin/ssh/sshd_config.5
1.128+14-2usr.bin/ssh/auth2-pubkey.c
1.181+5-2usr.bin/ssh/servconf.h
1.175+3-1usr.bin/ssh/auth2.c
1.111+3-1usr.bin/ssh/auth.h
+103-146 files

OpenBSD/src gFDj4fNusr.sbin/relayd patterns.h relayd.c

   relayd: add patters(7) support and improve glob(7) documentation

   Filter rules on cookie, header, path, query, and url now accept an optional
   "pattern" keyword before the key or value string. With "pattern", the string is
   interpreted as a patterns(7) expression instead of the default glob(7) rules.

   glob(7) support was already there before, but it wasn't really documented. The
   documentation now describes all the possibilities and limitations.

   Tested by Mischa, feedback by claudio@, OK kirill@
VersionDeltaFile
1.1+711-0usr.sbin/relayd/patterns.c
1.224+161-14usr.sbin/relayd/relayd.conf.5
1.104+108-48usr.sbin/relayd/relay_http.c
1.270+90-47usr.sbin/relayd/parse.y
1.210+62-9usr.sbin/relayd/relayd.c
1.1+46-0usr.sbin/relayd/patterns.h
+1,178-1182 files not shown
+1,217-1288 files

OpenBSD/src JuIlgn0usr.bin/ssh misc.c servconf.c

   Extend TCPKeepAlive to support forwardings too

   This allows the existing client and server TCPKeepAlive option to optionally
   enable keepalives on TCP connections that are created for forwardings.

   Previously this option controlled keepalives on the connection socket only.

   TCPKeepAlive "yes" or "transport" enables keepalives on the connection
   socket. "TCPKeepAlive all" additionally enables them for forwarding
   sockets.

   bz3921. ok markus, deraadt
VersionDeltaFile
1.467+74-32usr.bin/ssh/channels.c
1.404+24-18usr.bin/ssh/sshd_config.5
1.430+22-15usr.bin/ssh/ssh_config.5
1.417+15-3usr.bin/ssh/readconf.c
1.453+14-2usr.bin/ssh/servconf.c
1.219+14-1usr.bin/ssh/misc.c
+163-719 files not shown
+200-9915 files

OpenBSD/src yTmcZq2usr.bin/ssh sshd.c

   Mask SIGTERM/SIGQUIT when processing a SIGHUP restart request.
   This ensures that these signals are subsequently delivered after
   the restart has been completed, rather than ignored. bz3981
VersionDeltaFile
1.633+7-1usr.bin/ssh/sshd.c
+7-11 files

OpenBSD/src K1CLeQnlib/libcrypto/x509 x509_asid.c x509_addr.c

   RFC 3779: fix inheritance for leaves

   It's been publicly known at least since Frank Denis's "security audit"
   dumps back in May that the RFC 3779 inheritance handling in libcrypto's
   path validation is broken. Namely, if the certificate to be validated
   inherits resources, X509v3_asid_validate_path(3) and friends can succeed
   even if one of the certs on the path does not have the corresponding
   resource delegation extension at all. RFC 3779's sections 2.3 and 3.3
   clearly require that every cert on the entire validating path have the
   relevant INR delegation extensions. Frank Denis flagged this for ASIDs,
   but it is obvious that IP addresses have the same problem.

   For rpki-client, one of the very few (the only?) consumers of this code
   in libcrypto, this doesn't matter all that much because it duplicates
   much of the work on INR validation. Per the specification, EE certs with
   inherit elements are only in MFTs, TAKs (of which there are none) and
   the no longer supported GBRs (of which there is one - malformed).
   Correct nesting and presence of RFC 3779 extensions is ensured by
   rpki-client (until recently inheriting leaves were skipped due to a

    [51 lines not shown]
VersionDeltaFile
1.97+13-3lib/libcrypto/x509/x509_addr.c
1.47+13-2lib/libcrypto/x509/x509_asid.c
+26-52 files

OpenBSD/src dFCil3Ylib/libssl ssl_pkt.c

   Remove pointless ret variable from ssl3_get_record().

   This is assigned once and never changed - just directly return -1 in the
   error case.
VersionDeltaFile
1.74+2-3lib/libssl/ssl_pkt.c
+2-31 files

OpenBSD/src QSPs6NVlib/libssl ssl_pkt.c

   Remove unneeded prototype for ssl3_get_record().
VersionDeltaFile
1.73+1-2lib/libssl/ssl_pkt.c
+1-21 files

OpenBSD/src c9kX7WLlib/libssl ssl_local.h tls12_record_layer.c

   Mark buffer argument of tls12_record_layer_open_record() as const.
VersionDeltaFile
1.43+3-3lib/libssl/tls12_record_layer.c
1.44+2-2lib/libssl/ssl_local.h
+5-52 files