OpenBSD/src 7mGHwJMsys/arch/amd64/include i82489reg.h, sys/arch/i386/include i82489reg.h

   include tsc deadline bit in lapic timer mode mask
   ok dv@ mlarkin@
VersionDeltaFile
1.6+2-2sys/arch/i386/include/i82489reg.h
1.8+2-2sys/arch/amd64/include/i82489reg.h
+4-42 files

OpenBSD/src NU6LETVlib/libcrypto/man X509_check_ca.3, lib/libcrypto/x509 x509_purp.c

   Align X509_chack_ca() with modern OpenSSL

   We have been documenting for quite a while that this API is broken and
   that callers need to ensure proper caching of extensions using the usual
   X509_check_purpose() trick. Since the API can't indicate errors, choose
   to err on the safe side and report a CA only after successful caching of
   extensions.

   Reported by Frank Denis and others

   ok beck, discussed with jsing
VersionDeltaFile
1.9+4-4lib/libcrypto/man/X509_check_ca.3
1.46+3-2lib/libcrypto/x509/x509_purp.c
+7-62 files

OpenBSD/src DYPymKwusr.sbin/ocspcheck ocspcheck.c

   ocspcheck: do not use OCSP_TRUSTOTHER

   Like in libtls, ensure that the provided OCSP staple is validated by an
   OCSP trust chain to the root.

   From Acts1631

   ok beck kenjiro
VersionDeltaFile
1.37+2-3usr.sbin/ocspcheck/ocspcheck.c
+2-31 files

OpenBSD/src wG6XuAJlib/libtls tls_ocsp.c

   libtls: fix OCSP responder authorization bypass

   If a CA revokes a valid TLS server cert using OCSP, a client configured to
   require a valid OCSP staple should always reject that cert. If the server's
   private key has been compromised, it was possible to bypass this requirement.

   The problem is the behavior of OCSP_TRUSTOTHER which skips chain
   validation for the OCSP trust chain to the root and the checking that
   the staple was signed by a CA of the validating chain. So remove this flag.

   This only affects callers of tls_config_ocsp_require_stapling(). In OpenBSD
   base these are reachable in OpenBSD base via opt-in behaviors of nc(1) -T
   and ftp(1) -S via the "muststaple" keyword. No ports call these functions.

   Reported by Acts1631 and Jiho Kim

   ok beck kenjiro
VersionDeltaFile
1.30+2-10lib/libtls/tls_ocsp.c
+2-101 files

OpenBSD/src qwvBCC1usr.sbin/dhcpd dhcp.c

   avoid double frees; ok krw@
VersionDeltaFile
1.59+1-3usr.sbin/dhcpd/dhcp.c
+1-31 files

OpenBSD/src eRIvb7Xlib/libcrypto/objects objects.txt obj_mac.num

   Add OID for id-ct-rpkiErikSegmentIndex

   Reference: draft-ietf-sidrops-rpki-erik-protocol-05

   See also SMI Security for S/MIME CMS Content Type (1.2.840.113549.1.9.16.1)
   https://www.iana.org/assignments/smi-numbers#security-smime-1

   OK tb@
VersionDeltaFile
1.47+1-0lib/libcrypto/objects/objects.txt
1.42+1-0lib/libcrypto/objects/obj_mac.num
+2-02 files

OpenBSD/src JbwBhFPsys/netinet tcp_input.c

   Recalulate the TCP SACK list after memory exhaustion.

   Acts1631 found that tcp(4) can advertise SACK blocks for data that
   it has discarded when the global TCP reassembly pool is exhausted.
   This can make a sender omit missing data from fast recovery and
   wait for its retransmission timer.

   This commit clears the receiver SACK report whenever the reassembly
   allocation fails, before either path can discard queued data.  It
   also returns -1 when the new input segment itself is discarded.
   The caller maps that value back to zero TCP flags but does not add
   the discarded range to the SACK report.  On the reuse path, the
   accepted current segment is still passed to tcp_update_sack_list(),
   after the stale report has been cleared.

   from Acts1631; discussed with claudio@ tb@
VersionDeltaFile
1.469+13-4sys/netinet/tcp_input.c
+13-41 files

OpenBSD/src L1Q6yKWusr.sbin/rtrctl rtrctl.c

   Split read_openbgpd into smaller functions

   (preparation for supporting other payload formats)

   OK rcovelli@
VersionDeltaFile
1.4+50-39usr.sbin/rtrctl/rtrctl.c
+50-391 files

OpenBSD/src mxrK6x0sys/dev/pci mfii.c

   The MR_DCMD_LD_GET_LIST command doesn't return any data on SAS39xx
   controllers.  Luckily everything we need is also available through
   MR_DCMD_CONF_GET, so we can just rework everything to use that instead.
   To enable this, we need to retrieve the configuration during attach.
   This gets bioctl, sensors and AEN processing working on SAS39xx.

   tested on SAS3108 and SAS3508 by me, on SAS39xx by daharmasterkor at gmail
   ok dlg@
VersionDeltaFile
1.95+86-83sys/dev/pci/mfii.c
+86-831 files

OpenBSD/src Vy38B27lib/libtls tls_conninfo.c tls.c

   Keep our own copy of the certificates sent by the peer.

   SSL_get_peer_cert_chain() includes the peer certificate for a client but
   not for a server. Build a STACK_OF(X509) owned by libtls that always
   starts with the peer certificate, and convert it to PEM with a helper
   that takes any STACK_OF(X509).

   ok jsing@ tb@
VersionDeltaFile
1.106+55-4lib/libtls/tls.c
1.30+20-24lib/libtls/tls_conninfo.c
+75-282 files

OpenBSD/src a5nKOIWsys/dev/pci mfii.c

   Expand LD arrays from 64 to 240 as SAS39xx controllers support that many

   ok dlg@ as part of a larger diff
VersionDeltaFile
1.94+11-9sys/dev/pci/mfii.c
+11-91 files

OpenBSD/src ihlqN41sys/arch/amd64/amd64 vmm_machdep.c, usr.sbin/vmd x86_vm.c vmd.h

   Redesign shutdown of vmd processes and use SIGTERM for hanging vm's.

   In preparation for some bigger changes in vmm(4)/vmd(8), improve the
   shutdown paths for vmd vm's. For vmd vm processes, the objective is to
   make it through cleanup routines (such as sev_shutdown()) in any
   conditions where it's safe to continue executing the program. From the
   vmd "vmm" process, still use the current VMM_IOC_TERM to signal that
   the vcpu's should be terminating, but also fall back to SIGTERM to the
   vm process if it doesn't get the hint.

   The timeouts may need to be adjusted in the future, but those can be
   optimized after the bigger changes land.

   Go for it, mlarkin@.
VersionDeltaFile
1.133+223-168usr.sbin/vmd/vm.c
1.142+56-27usr.sbin/vmd/vmm.c
1.86+3-3sys/arch/amd64/amd64/vmm_machdep.c
1.152+4-1usr.sbin/vmd/vmd.h
1.23+2-2usr.sbin/vmd/x86_vm.c
+288-2015 files

OpenBSD/src L7jCSBjsys/arch/amd64/amd64 vmm_machdep.c, sys/arch/amd64/include vmmvar.h

   Provide the faulting GPA to vmd(8) for MMIO exits from vmm(4).

   The nested page fault on VMX and SVM provides the faulting GPA, so
   pass that to userland. This simplifies a lot of the mmio handlers
   that can use the GPA without having to translate the GVA. Also
   simplify the fatal events for when the GPA isn't known.

   Go for it, mlarkin@.
VersionDeltaFile
1.6+72-182usr.sbin/vmd/x86_mmio.c
1.85+9-1sys/arch/amd64/amd64/vmm_machdep.c
1.120+5-3sys/arch/amd64/include/vmmvar.h
+86-1863 files

OpenBSD/src 4uWYHeLsys/arch/amd64/amd64 tsc.c, sys/dev/pv pvreg.h

   Get TSC frequency from KVM/VMWare parameter leaf at early boot time

   So, we can boot in VMs where the i8254 is not emulated.

   Tested by bluhm on various machines

   ok mlarkin@
   ok kettenis@
VersionDeltaFile
1.33+53-1sys/arch/amd64/amd64/tsc.c
1.7+2-1sys/dev/pv/pvreg.h
+55-22 files

OpenBSD/src oTSICD8usr.sbin/vmd vm.c x86_mmio.c

   Clean up debug logging in vmd mmio code.

   Tuck stuff into DPRINTF macros that use log_debug.

   Discussed with mlarkin@
VersionDeltaFile
1.5+37-34usr.sbin/vmd/x86_mmio.c
1.132+1-3usr.sbin/vmd/vm.c
+38-372 files

OpenBSD/src BdeCNZuregress/lib/libcrypto/x509 name_constraints_test.c

   Add more name constraint tests.

   We have coverage already in the betterTLS stuff for much of the
   basics, but it does not cover email name constraints and some
   of the other corner cases.

   Cover a permitted subject email address, a hostname CN checked when
   the SAN carries only an email address, excluded DNS and email
   subtrees, and constraints carried by the trust anchor

   ok tb@ joshua@
VersionDeltaFile
1.3+176-3regress/lib/libcrypto/x509/name_constraints_test.c
+176-31 files

OpenBSD/src JYuuivGusr.sbin/acme-client parse.h parse.y

   Allow wildcards to be specified in alternate names in the configuration
   file.  This does not enable issuance of wildcard certificates except in
   limited circumstances where the ACME server does not require any challenges,
   such as when you've already validated control of the domain name with your
   CA and you're using an EAB key provided by the CA to link that to an
   ACME account.

   ok tb@, "fine by me" florian@
VersionDeltaFile
1.49+12-3usr.sbin/acme-client/parse.y
1.19+2-1usr.sbin/acme-client/parse.h
+14-42 files

OpenBSD/src yXWDUBrlib/libcrypto/x509 x509_constraints.c, regress/lib/libcrypto/x509 name_constraints_test.c

   Search the whole subject for email addresses and common names.

   The subject lookups started from the index left over from walking
   the subjectAltName, so a leaf without a SAN never had its first two
   subject entries examined and an emailAddress there escaped the
   name constraints check.

   Reported by Sina Gogani Khiabani.

   ok tb@ joshua@
VersionDeltaFile
1.2+98-17regress/lib/libcrypto/x509/name_constraints_test.c
1.36+10-7lib/libcrypto/x509/x509_constraints.c
+108-242 files

OpenBSD/src BkuLJVUsys/dev/pci if_bgereg.h if_bge.c

   Enable 64 bit DMA for bge(4) BCM5720.

   The DMA engines of various bge(4) hardware is full of bugs.  Only
   the latest revsion BCM5720 is common and it works with 64 bit DMA
   addresses.  Enable mbufs in the 64 bit address space only for that
   model.

   OK deraadt@ kettenis@ jmatthew@
VersionDeltaFile
1.409+14-6sys/dev/pci/if_bge.c
1.137+2-1sys/dev/pci/if_bgereg.h
+16-72 files

OpenBSD/src D6uQwSYusr.sbin/rtrctl rtrctl.8 rtrctl.c

   Make rtrctl feel more like bgpctl

   While there, also add some visual feedback the program did something
   following a reload command.

   OK deraadt@
VersionDeltaFile
1.3+7-6usr.sbin/rtrctl/rtrctl.c
1.3+4-4usr.sbin/rtrctl/rtrctl.8
+11-102 files

OpenBSD/src 2Fz2DKeusr.sbin/bgpctl bgpctl.8, usr.sbin/bgpd bgpd.8 bgpd.conf.5

   Make man page cross references more consistent

   pointed out by claudio@ OK tb@
VersionDeltaFile
1.258+3-4usr.sbin/bgpd/bgpd.conf.5
1.114+3-4usr.sbin/bgpctl/bgpctl.8
1.89+3-2usr.sbin/bgpd/bgpd.8
+9-103 files

OpenBSD/src taioD37lib/libcrypto/x509 x509_verify.c, regress/lib/libcrypto/x509 Makefile name_constraints_test.c

   Cache the leaf's extensions before adding it to the chain.

   A freshly parsed leaf has no cached subjectAltName when its names are
   collected for the name constraints check

   Fixes https://github.com/libressl/portable/issues/1299

   Change-Id: I0f155e08f5581ec1509138a96df34db29e9c46a1
VersionDeltaFile
1.1+160-0regress/lib/libcrypto/x509/name_constraints_test.c
1.30+7-2regress/lib/libcrypto/x509/Makefile
1.80+6-1lib/libcrypto/x509/x509_verify.c
+173-33 files

OpenBSD/src ZFnpEihusr.sbin/dhcpd memory.c

   Don't try to look for an invalid iaddr in the iaddr hash. It's not there.

   Prevents bogus or malicious iaddr data from crashing dhcpd.

   Problem found and part of a larger diff by Acts1631.

   ok tb@
VersionDeltaFile
1.32+4-1usr.sbin/dhcpd/memory.c
+4-11 files

OpenBSD/src IJNVgfVusr.bin/ssh ssh-agent.1

   use Nm instead of Xr to self
VersionDeltaFile
1.89+3-3usr.bin/ssh/ssh-agent.1
+3-31 files

OpenBSD/src 04x10nousr.sbin/relayd relayd.conf.5

   correct Xr order
VersionDeltaFile
1.225+3-3usr.sbin/relayd/relayd.conf.5
+3-31 files

OpenBSD/src 6arUMVhsys/dev/pci/drm/i915/gt intel_sseu.c, sys/dev/pci/drm/include/linux bitmap.h

   unstub intel_slicemask_from_xehp_dssmask()
VersionDeltaFile
1.11+17-1sys/dev/pci/drm/include/linux/bitmap.h
1.9+0-4sys/dev/pci/drm/i915/gt/intel_sseu.c
+17-52 files

OpenBSD/src 24N3cQMusr.sbin/bgpctl bgpctl.8, usr.sbin/bgpd bgpd.conf.5 bgpd.8

   Crosslink the bgpd, rpki-client, and rtrd man pages into a constellation

   OK deraadt@
VersionDeltaFile
1.142+4-3usr.sbin/rpki-client/rpki-client.8
1.257+4-3usr.sbin/bgpd/bgpd.conf.5
1.88+4-3usr.sbin/bgpd/bgpd.8
1.113+4-3usr.sbin/bgpctl/bgpctl.8
1.2+4-2usr.sbin/rtrd/rtrd.8
+20-145 files

OpenBSD/src oqxNQN1distrib/sets/lists/base mi, distrib/sets/lists/man mi

   sync
VersionDeltaFile
1.1775+2-0distrib/sets/lists/man/mi
1.1200+2-0distrib/sets/lists/base/mi
+4-02 files

OpenBSD/src tHpi71Cusr.sbin Makefile

   connect rtrd to the tree
VersionDeltaFile
1.218+2-2usr.sbin/Makefile
+2-21 files

OpenBSD/src gaNLHHEusr.sbin/vmd vioblk.c virtio.h

   vmd(8): msi/msi-x virtio device interrupt

   add pci plumbing and msi/msi-x interrupt support for virtio devices
   in vmd.

   ok dv
VersionDeltaFile
1.41+462-55usr.sbin/vmd/pci.c
1.152+116-21usr.sbin/vmd/virtio.c
1.35+41-11usr.sbin/vmd/vionet.c
1.17+27-2usr.sbin/vmd/pci.h
1.65+7-2usr.sbin/vmd/virtio.h
1.35+4-2usr.sbin/vmd/vioblk.c
+657-933 files not shown
+669-989 files