OpenBSD/src HJRfzmtsys/netinet6 in6_ifattach.c

   netinet6: keep negotiated IPv6CP IFID unchanged for link-local address

   When sppp/PPPoE installs a peer-suggested IPv6CP interface identifier,
   in6_ifattach_linklocal() forced EUI64 G/U bit adjustments on the
   provided IFID. This unconditionally set the universal bit, rewriting a
   valid negotiated IFID like ::1 into ::200:0:0:1, yielding
   fe80::200:0:0:1 instead of fe80::1.

   RFC 5072 Section 5 specifies that the PPP link-local address is formed
   using the negotiated Interface Identifier as-is. Skip EUI64 bit
   modification on point-to-point interfaces. Non-P2P callers retain
   existing behaviour, while callers passing NULL continue using
   in6_get_ifid().

   Reported by Martin Crossley <admin AT crossleys DOT biz>.

   OK stsp@
VersionDeltaFile
1.126+7-3sys/netinet6/in6_ifattach.c
+7-31 files

OpenBSD/src X9158Ezusr.bin/tmux screen-redraw.c

   Clip floating panes exactly at window edge, don't let the border creep
   into the first outside column.
VersionDeltaFile
1.155+7-5usr.bin/tmux/screen-redraw.c
+7-51 files

OpenBSD/src xm7hXe3usr.bin/tmux window.c

   Invalidate scene when window is resized.
VersionDeltaFile
1.367+2-2usr.bin/tmux/window.c
+2-21 files

OpenBSD/src iAHP0bMusr.bin/tmux tmux.1 cmd-split-window.c

   Add a -C flag to new-pane to have a modal pane close when the mouse is
   clicked outside it, GitHub issue 5400.
VersionDeltaFile
1.1146+6-3usr.bin/tmux/tmux.1
1.146+5-3usr.bin/tmux/cmd-split-window.c
1.498+6-1usr.bin/tmux/server-client.c
1.1412+2-1usr.bin/tmux/tmux.h
+19-84 files

OpenBSD/src hEix0mVusr.sbin/rpki-client parser.c

   Fix possible exit race in the parser

   Call pthread_cond_broadcast() on exit with its mutex held to ensure
   that the receiving threads are all either parked or running and then
   checking quit before calling pthread_cond_wait().
   Also once woken recheck the value of quit and exit the main loop early.

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

OpenBSD/src bu6xfSZusr.bin/tmux screen-redraw.c

   If drawing border but not actually on a border, use the default line
   style.
VersionDeltaFile
1.154+3-1usr.bin/tmux/screen-redraw.c
+3-11 files

OpenBSD/src c8E2GTMusr.bin/tmux window-copy.c tmux.1

   Add copy-mode-current-line-style to set style for current line in copy
   mode, GitHub issue 5391 from Leo Henon.
VersionDeltaFile
1.423+43-7usr.bin/tmux/window-copy.c
1.1145+10-2usr.bin/tmux/tmux.1
1.240+10-1usr.bin/tmux/options-table.c
+63-103 files

OpenBSD/src xf91f95sys/dev/fdt xhci_fdt.c

   Use OF_getpropbool() instead of OF_getproplen() where appropriate.

   ok jsg@
VersionDeltaFile
1.31+5-5sys/dev/fdt/xhci_fdt.c
+5-51 files

OpenBSD/src gImrNpnlib/libc/asr gethostnamadr_async.c res_send_async.c

   DNS names are not proper C strings, they can contain NUL octets.

   If we want to use string functions (e.g. for comparison) we first need
   to convert them.

   with dgl some time ago
   OK dlg
VersionDeltaFile
1.55+9-6lib/libc/asr/gethostnamadr_async.c
1.45+7-3lib/libc/asr/res_send_async.c
+16-92 files

OpenBSD/src q58p6Cdlib/libc/asr asr.c

   Use decimal encoding for special characters in DNS labels.

   with dgl some time ago
   OK dlg
VersionDeltaFile
1.72+28-8lib/libc/asr/asr.c
+28-81 files

OpenBSD/src NtZ712Yusr.sbin/bgpd session_bgp.c session.c

   Rework the IdleHoldTimer and how fast reconnects are implemented.

   On first error bgpd should allow a fast reconnect - this is especially
   helpful for passive sessions. The way this was implemented was error
   prone with a special case in session_accept().

   Adjust the FSM so that on the first IDLE transistion the session uses
   a IdleHoldTime of 0 sec but then increased to INTERVAL_IDLE_HOLD_INITIAL.
   At the same time the outgoing connection is delatyed via ConnectRetryTimer.
   Doing this moves the session quickly into active state and allows new
   connections in but delays the reconnect like before.

   Additionally the STATE_ACTIVE / EVNT_START FSM case is adjusted to initiate
   a connect immediatly. This allows a 'bgpctl nei X up' to work also for
   sessions in ACTIVE state. Also passive sessions will initiate a connection
   in this case, which is a new behaviour.

   OK tb@
VersionDeltaFile
1.11+35-24usr.sbin/bgpd/session_bgp.c
1.538+2-13usr.sbin/bgpd/session.c
1.141+3-7usr.sbin/bgpd/control.c
1.199+1-3usr.sbin/bgpd/session.h
+41-474 files

OpenBSD/src LPdYpxYusr.sbin/bgpd rde_peer.c

   Use peer_dump_done() in the EXPORT_NONE and EXPORT_DEFAULT_ROUTE cases of
   peer_dump().

   peer_dump_done() calls peer_blast_done() and it issues the End-Of-RIB
   marker. This unifies all the peer_dump finalizers to use peer_dump_done().

   OK tb@
VersionDeltaFile
1.81+3-3usr.sbin/bgpd/rde_peer.c
+3-31 files

OpenBSD/src yqmwwwrusr.sbin/bgpd bgpd.h

   Switch a few uint32_t to unsigned int where it makes sense.

   Instead of mixing uint32_t with unsigned long long use unsigned int for
   those. In most cases those are simple counts that can't get too big.
   The same is the case for max_prefix and max_out_prefix. There is no good
   reason to use uint32_t there.

   OK tb@
VersionDeltaFile
1.546+8-8usr.sbin/bgpd/bgpd.h
+8-81 files

OpenBSD/src wK8188uusr.sbin/bgpd bgpd.h

   In struct rde_peer_stats use unsigned long long instead of uint64_t to
   simplify printing the values out.

   OK tb@
VersionDeltaFile
1.545+10-10usr.sbin/bgpd/bgpd.h
+10-101 files

OpenBSD/src vdz1W8Qusr.bin/tmux format-draw.c

   Use correct cursor position for range end, GitHub issue 5414.
VersionDeltaFile
1.34+2-2usr.bin/tmux/format-draw.c
+2-21 files

OpenBSD/src CrLXICSusr.bin/tmux tty-keys.c

   Increase escape-time for tmux's own queries (refresh-client -l and
   window size) as well, GitHub issue 5388 from Jackson Edmonds.
VersionDeltaFile
1.211+4-3usr.bin/tmux/tty-keys.c
+4-31 files

OpenBSD/src TuW4MtHregress/usr.bin/ssh channel-timeout.sh

   verify that ChannelTimeout in a Match block is effective
VersionDeltaFile
1.3+12-1regress/usr.bin/ssh/channel-timeout.sh
+12-11 files

OpenBSD/src 5drQYWhregress/usr.bin/ssh rekey.sh

   verify that RekeyLimit in a Match block is effective
VersionDeltaFile
1.31+22-2regress/usr.bin/ssh/rekey.sh
+22-21 files

OpenBSD/src NQww9Cdusr.bin/ssh sshd-auth.c sshconnect2.c

   fix ChannelTimeout and RekeyLimit not being applied in sshd_config
   Match blocks; reported by Alex Harrison
VersionDeltaFile
1.17+3-4usr.bin/ssh/sshd-auth.c
1.389+3-4usr.bin/ssh/sshconnect2.c
1.165+4-1usr.bin/ssh/auth.c
1.340+4-1usr.bin/ssh/packet.c
1.148+3-1usr.bin/ssh/monitor_wrap.c
+17-115 files

OpenBSD/src KQE02sXusr.bin/ssh readconf.c

   s/= - 1/= -1/; from serity---
VersionDeltaFile
1.415+6-6usr.bin/ssh/readconf.c
+6-61 files

OpenBSD/src w0Hv2Euregress/lib/libcrypto/bn bn_mul_div.c

   bn_mul_div: use (unsigned long long) instead of (uint64_t) to print with %llu
VersionDeltaFile
1.9+2-2regress/lib/libcrypto/bn/bn_mul_div.c
+2-21 files

OpenBSD/src oDb9UQAsys/dev/pci mfii.c

   Don't use SCSI_DATA_IN for patrol read commands that don't have a data
   buffer.  Noticed while looking into crashes reported by job@ but doesn't
   fix anything.

   ok dlg@
VersionDeltaFile
1.92+2-2sys/dev/pci/mfii.c
+2-21 files

OpenBSD/src 1RZ6ml9sys/dev/fdt xhci_fdt.c

   Enable on Spacemit K3.
VersionDeltaFile
1.30+5-3sys/dev/fdt/xhci_fdt.c
+5-31 files

OpenBSD/src 1qNIgZLregress/usr.sbin/relayd Makefile args-ssl-ec.pl

   Add add ECDSA tests (based on the RSA tests)
VersionDeltaFile
1.24+31-4regress/usr.sbin/relayd/Makefile
1.1+22-0regress/usr.sbin/relayd/args-ssl-ec.pl
+53-42 files

OpenBSD/src f8xlPVqusr.sbin/relayd ca.c ssl.c

   relayd: add ECDSA support to the CA privsep engine

   Add an EC_KEY_METHOD that forwards the sign operation to the CA process,
   clone the existing RSA engine. ssl_load_pkey() now handles both RSA
   and EC keys and attaches the cert hash accordingly.

   The engine and signing code was migrated from smtpd from (op@) with
   some tweaks by me.

   OK op@
VersionDeltaFile
1.57+258-8usr.sbin/relayd/ca.c
1.43+35-8usr.sbin/relayd/ssl.c
1.267+4-1usr.sbin/relayd/relay.c
1.290+2-1usr.sbin/relayd/relayd.h
+299-184 files

OpenBSD/src USyrzGKusr.sbin/vmd vmd.c

   vmd(8): validate memory ranges in vmd before vmm(4).

   While vmm(4) does its own check on the number of memory ranges, do
   the check in vmd(8) to fail fast and provide feedback to the user.

   Report and diff by Andrew Griffiths.

   ok @hshoexer
VersionDeltaFile
1.177+4-1usr.sbin/vmd/vmd.c
+4-11 files

OpenBSD/src CBjHZ8Pusr.sbin/authpf authpf.c

   authpf(8) read_config() should chop off trailing white space

   if administrator mistakenly types into configuration file

   anchor=authpf_test

   where 'authpf_test' is followed by white space, the authpf(8)
   is going to use anchor 'authpf_test ' instead of the 'authpf_test'
   which is defined in pf.conf(5) as 'anchor authpf_test/*'

   issue kindly reported and patch submitted by

   Avinash Duduskar <avinash.duduskar (_at_) gmail (_dot_) com>

   OK sashan@
VersionDeltaFile
1.131+3-3usr.sbin/authpf/authpf.c
+3-31 files

OpenBSD/src QDh7bggusr.sbin/bgpd rde_update.c rde.h

   Bring back up_generate_addpath_all() using the rib entry queue

   add-path send all can take a fair amount of shortcuts compared to the
   other add-path send modes. The rib entry queue (struct pq_entry) holds
   all the information to update the adj-rib-out.

   For general updates just walk the pq list and insert / withdraw all
   paths. A path can only be once on the list so the code just needs to
   walk it and call up_process_prefix for updates. If up_process_prefix()
   returns UP_FILTERED or UP_EXCLUDED then try to withdraw the prefix. This
   uses the same codepath as for any withdraw in the queue.

   Tested on the NLNOG ring looking glass server.
   OK tb@
VersionDeltaFile
1.202+25-32usr.sbin/bgpd/rde_update.c
1.359+7-1usr.sbin/bgpd/rde.h
1.303+1-7usr.sbin/bgpd/rde_rib.c
+33-403 files

OpenBSD/src giri6XEusr.bin/tmux input.c tmux.h

   Change cellused/size to 16 bits and time to 32 bits in grid_line and add
   the OSC 133 positions (size stays the same).
VersionDeltaFile
1.269+83-30usr.bin/tmux/input.c
1.1411+30-8usr.bin/tmux/tmux.h
1.154+28-3usr.bin/tmux/grid.c
1.68+16-4usr.bin/tmux/cmd-capture-pane.c
1.284+5-2usr.bin/tmux/screen-write.c
1.422+4-2usr.bin/tmux/window-copy.c
+166-496 files

OpenBSD/src SzXR7Gcusr.sbin/rpki-client ccr.c

   Disambigulate all warnings about CCR corruption

   OK tb@
VersionDeltaFile
1.43+11-7usr.sbin/rpki-client/ccr.c
+11-71 files