OpenBSD/src jSjoeaP — usr.sbin/rpki-client parser.c

   Gate reporting on manifest sequence number gaps behind verbose mode

   OK tb@
VersionDeltaFile
1.201+4-3usr.sbin/rpki-client/parser.c
+4-31 files

OpenBSD/src IU8ovXB — sys/scsi scsiconf.h scsi_base.c

   Remove unused scsi_ioh_del().
VersionDeltaFile
1.286+1-26sys/scsi/scsi_base.c
1.203+1-2sys/scsi/scsiconf.h
+2-282 files

OpenBSD/src eNdoWq6 — sys/net pipex.h pipex.c

   Remove unused pipex_pptp_userland_lookup_session_ipv6().
VersionDeltaFile
1.165+1-16sys/net/pipex.c
1.36+1-3sys/net/pipex.h
+2-192 files

OpenBSD/src 1CPlCHV — sys/net pf_ioctl.c

   Remove unused pf_qid2qname() and pf_qid_unref().
VersionDeltaFile
1.435+1-15sys/net/pf_ioctl.c
+1-151 files

OpenBSD/src k93tDMg — sys/kern subr_blist.c

   Do not compile helper functions only used by the regress test, or by the
   hibernate code, unless we are building the regress test, or a kernel with
   option HIBERNATE.
VersionDeltaFile
1.5+20-1sys/kern/subr_blist.c
+20-11 files

OpenBSD/src 1xYwANn — usr.sbin/rpki-client rpki-der.c

   rpki-client: wrap a line per KNF
VersionDeltaFile
1.2+3-2usr.sbin/rpki-client/rpki-der.c
+3-21 files

OpenBSD/src JQJcaTz — regress/usr.sbin/rpki-client test-seqnum.c

   rpki-client: extend test-seqnum to test for cert serials
VersionDeltaFile
1.5+23-1regress/usr.sbin/rpki-client/test-seqnum.c
+23-11 files

OpenBSD/src 5NiBkXi — usr.sbin/rpki-client cert.c extern.h

   rpki-client: disallow certs with zero serialNumber

   Consistency is hard:

   RFC 5280 (eid3200 clarifies) and RFC 6487 disallow a zero serialNumber.

   For extra fun, CRLNumber and manifestNumber are defined via ASN.1
   explicitly allowing zero. So we need some extra dances.

   Arguably eid3200 was resolved the wrong way.

   Serial number issue pointed out by the rpki-rp-benchmark.

   ok claudio
VersionDeltaFile
1.139+29-7usr.sbin/rpki-client/x509.c
1.253+2-2usr.sbin/rpki-client/cert.c
1.321+3-1usr.sbin/rpki-client/extern.h
+34-103 files

OpenBSD/src Vf1GrRg — regress/usr.sbin/rpki-client Makefile.inc, usr.sbin/rpki-client Makefile rpki-der.h

   rpki-client: split some helpers out of cms.c

   There are a bunch of helper functions that are not really CMS specific
   that will be shared by several signed object parsers. Implementations
   go into rpki-der.c and they are prototyped in rpki-der.h. The latter
   should eventually replace rpki-asn1.h.

   ok claudio
VersionDeltaFile
1.1+112-0usr.sbin/rpki-client/rpki-der.c
1.74+2-92usr.sbin/rpki-client/cms.c
1.1+35-0usr.sbin/rpki-client/rpki-der.h
1.52+2-2regress/usr.sbin/rpki-client/Makefile.inc
1.45+2-1usr.sbin/rpki-client/Makefile
+153-955 files

OpenBSD/src QmusnIZ — usr.sbin/rpki-client extern.h mft.c

   Directly dispatch the files referenced by a mft in the parser.

   There is no need to circle back to the parent process to schedule more work.
   This is the minimal way to handle this and should allow us to further improve
   the MFT handling.

   The work items enqueued by an MFT are put on the global entity queue but
   only after the mft message was enqueued into the output queue.

   OK tb@
VersionDeltaFile
1.200+68-6usr.sbin/rpki-client/parser.c
1.339+3-39usr.sbin/rpki-client/main.c
1.149+3-26usr.sbin/rpki-client/mft.c
1.320+5-1usr.sbin/rpki-client/extern.h
+79-724 files

OpenBSD/src shtFMQQ — sys/dev/pci files.pci

   another missing firmload decl; from Crystal Kolipe
VersionDeltaFile
1.375+2-2sys/dev/pci/files.pci
+2-21 files

OpenBSD/src 9lBO2jp — usr.sbin/rpki-client cert.c

   rpki-client: use strncmp() after x509_location()

   Now that the protocol (always expected to be https:// or rsync://) is
   normalized, we can do a simpler check.

   Prompted by a report by Ties de Kock

   ok claudio
VersionDeltaFile
1.252+7-7usr.sbin/rpki-client/cert.c
+7-71 files

OpenBSD/src eWHjI2M — usr.sbin/rpki-client x509.c

   rpki-client: reject short URIs in x509_location()

   Reject URIs not long enough to hold https:// or rsync://. While "a:///b/c"
   is in principle legal, this isn't plausibly a valid URI that should occur
   in the wild. Reject certs containing this.

   pointed out by/ok claudio
VersionDeltaFile
1.138+2-2usr.sbin/rpki-client/x509.c
+2-21 files

OpenBSD/src zqWq8OY — usr.sbin/rpki-client x509.c

   rpki-client: normalize known URI schemes in x509_location()

   RFC 3986 was written under full influence of the robustness principle,
   necessarily making all code handling URIs complicated and fragile. This
   is further exacerbated by RFC 5280 explicitly mentioning that scheme and
   host part of a URI are case-insensitive (for SAN, not explicitly for a
   URI accessLocation, but that seems implied).

   The schemes explicitly specified by RFC 6487 and friends are rsync and
   https and that's the only ones the callers do anything with. Normalize
   these to be lower case and accept other schemes (and currently no scheme)
   for simplicity. This avoids hitting an errx() in queue_add_from_cert().

   Reported by Ties de Kock

   ok claudio
VersionDeltaFile
1.137+27-2usr.sbin/rpki-client/x509.c
+27-21 files

OpenBSD/src lOvmOu2 — usr.sbin/rpki-client http.c

   Convert some assert() to simple http request failures with warn message.

   In theory the asserts placed should never be hit since for example at the
   end of a request no outstanding data should be left in the buffers. In
   practice those asserts did trigger too often. Bad servers could remotly
   trigger them and so it is clear that these failures are not assertions.

   Triggered by a report by Ties de Kock
   OK tb@
VersionDeltaFile
1.111+25-7usr.sbin/rpki-client/http.c
+25-71 files

OpenBSD/src ruvxThZ — sys/dev/usb if_rum.c

   Reject receive transfers whose descriptor frame length exceeds the data
   actually transferred.  The descriptor carries a 12-bit frame length and
   the chip accepts frames up to 4095 bytes, but a receive transfer only has
   MCLBYTES minus the descriptor for frame data.

   Trusting the descriptor produced an mbuf extending past its cluster.
   A fragmented IPv4 datagram then carried it into m_cat(), where a default
   kernel panics on a DIAGNOSTIC assertion.

   Report and diff from Acts1631.

   ok miod@ claudio@ kettenis@
VersionDeltaFile
1.130+10-3sys/dev/usb/if_rum.c
+10-31 files

OpenBSD/src rqgtOTO — sys/arch/macppc/include vmparam.h

   sys/macppc: increase MAXDSIZ to 3Gb

   OK: kettenis@
VersionDeltaFile
1.34+2-2sys/arch/macppc/include/vmparam.h
+2-21 files

OpenBSD/src cprcdiT — sys/arch/sparc64/sparc64 trap.c

   Remove support for "fpu disabled" traps in the kernel. This used to be needed
   to allow VIS instructions to be used in the kernel, but the last use of them
   was removed in 2003.

   ok claudio@
VersionDeltaFile
1.132+1-41sys/arch/sparc64/sparc64/trap.c
+1-411 files

OpenBSD/src sKQenC4 — sys/dev/usb uhid_rdesc.h

   fix comment in uhid_xb360gp_report_descr, erroneously stating REPORT SIZE when it is REPORT COUNT. from Lucas de Sena ( lucas () seninha ! org ). No functional change.
VersionDeltaFile
1.3+2-2sys/dev/usb/uhid_rdesc.h
+2-21 files

OpenBSD/src e5Fl7kj — sys/dev/usb uhidev.h uhidev.c

   uhidev_intr: reject payloads that exceed their declared input report
   sizes. Lower priority bug where a malicious/compromised USB device can
   overwrite memory.

   Report and diff from Acts1631. ok deraadt@
VersionDeltaFile
1.115+8-1sys/dev/usb/uhidev.c
1.42+2-1sys/dev/usb/uhidev.h
+10-22 files

OpenBSD/src e8ufQsk — sys/arch/mips64/mips64 pmap.c

   Fix destination address in virtual alias check.

   OK miod@
VersionDeltaFile
1.127+2-2sys/arch/mips64/mips64/pmap.c
+2-21 files

OpenBSD/src 1fLo8tq — usr.sbin/dbupdate dbupdate.sh, usr.sbin/fw_update fw_update.8 fw_update.sh

   Sometimes a specific address family will be broken or have sub-optimal
   connectivity, and require manual overrides.

   Allow -4 and -6 to specify using IPv4 or IPv6.  Defaults don't change and
   use whatever your system is configured to use first.

   OK sthen@ kn@
VersionDeltaFile
1.64+12-9usr.sbin/sysupgrade/sysupgrade.sh
1.75+9-6usr.sbin/fw_update/fw_update.sh
1.174+9-5usr.sbin/syspatch/syspatch.sh
1.12+8-5usr.sbin/dbupdate/dbupdate.sh
1.24+7-3usr.sbin/sysupgrade/sysupgrade.8
1.11+7-3usr.sbin/fw_update/fw_update.8
+52-312 files not shown
+65-358 files

OpenBSD/src AA1QyzH — usr.sbin/rpki-client main.c

   Pass the repoid to entity_new and simply use repo_id(rp) to get that
   now that repo_id handles NULL pointers.

   OK tb@
VersionDeltaFile
1.338+7-8usr.sbin/rpki-client/main.c
+7-81 files

OpenBSD/src COqFES8 — usr.sbin/rpki-client repo.c

   In repo_id() if rp is NULL return 0 as id which is not a valid repo id itself.

   OK tb@
VersionDeltaFile
1.101+3-1usr.sbin/rpki-client/repo.c
+3-11 files

OpenBSD/src FDeOEM6 — usr.sbin/rpki-client ccr.c

   Improve error message when RB_FIND fails because the MFT hash was not yet
   added to the tree.

   OK tb@
VersionDeltaFile
1.47+2-2usr.sbin/rpki-client/ccr.c
+2-21 files

OpenBSD/src I14sYSz — usr.sbin/rpki-client validate.c

   rpki-client: reject URIs with // except at the start of the authority

   This way each CA repo can only be addressed by a single URI, fixing a
   bypass of the recently introduced counters.

   Reported by Ties de Kock

   discussed with job
   ok claudio
VersionDeltaFile
1.92+17-3usr.sbin/rpki-client/validate.c
+17-31 files

OpenBSD/src xR9c41c — usr.sbin/rpki-client main.c repo.c

   Kill an errx check in main.

   uri can never be NULL and move the file size check to rrdp_handle_file.

   Problem reported by Ties de Kock
   OK tb@
VersionDeltaFile
1.100+7-1usr.sbin/rpki-client/repo.c
1.337+1-4usr.sbin/rpki-client/main.c
+8-52 files

OpenBSD/src BB7bwVe — usr.sbin/rpki-client rrdp_util.c

   In publish_done() check for MIN_FILE_SIZE after base64 decoding the input.

   The base64 decoding function ignore any space character and so the
   final length of the decoded blob can be smaller then expected if the
   input string contains many spaces. Doing the check after is safe since
   the base64 decode works even with an empty input.

   On top of this fix a memory leak of the pctx in all error paths.

   OK tb@
VersionDeltaFile
1.3+10-7usr.sbin/rpki-client/rrdp_util.c
+10-71 files

OpenBSD/src HDr8Ada — usr.bin/ssh sftp.c

   fix interactive_loop() indentation; ok deraadt@
VersionDeltaFile
1.264+2-2usr.bin/ssh/sftp.c
+2-21 files

OpenBSD/src bZ6cXPN — share/snmp OPENBSD-CARP-MIB.txt

   carpGroupDemote must be in range 0..255

   OK sthen@
VersionDeltaFile
1.5+4-3share/snmp/OPENBSD-CARP-MIB.txt
+4-31 files