Annotation of www/72.html, Revision 1.65
1.1 deraadt 1: <!doctype html>
2: <html lang=en id=release>
3: <head>
4: <meta charset=utf-8>
5:
6: <title>OpenBSD 7.2</title>
7: <meta name="description" content="OpenBSD 7.2">
8: <meta name="viewport" content="width=device-width, initial-scale=1">
9: <link rel="stylesheet" type="text/css" href="openbsd.css">
10: <link rel="canonical" href="https://www.openbsd.org/72.html">
11: </head><body>
12: <h2 id=OpenBSD>
13: <a href="index.html">
14: <i>Open</i><b>BSD</b></a>
15: 7.2
16: </h2>
17:
18: <table>
19: <tr>
20: <td>
21: <a href="images/XXX.png">
22: <img width="227" height="303" src="images/XXX-s.gif" alt="XXX"></a>
23: <td>
24: Released Oct 20, 2022. (53rd OpenBSD release)<br>
25: Copyright 1997-2022, Theo de Raadt.<br>
26: <br>
1.28 deraadt 27: Artwork by Jon Chad.
1.1 deraadt 28: <br>
29: <ul>
30: <li>See the information on <a href="ftp.html">the FTP page</a> for
31: a list of mirror machines.
32: <li>Go to the <code class=reldir>pub/OpenBSD/7.2/</code> directory on
33: one of the mirror sites.
34: <li>Have a look at <a href="errata72.html">the 7.2 errata page</a> for a list
35: of bugs and workarounds.
36: <li>See a <a href="plus72.html">detailed log of changes</a> between the
37: 7.1 and 7.2 releases.
38: <p>
39: <li><a href="https://man.openbsd.org/signify.1">signify(1)</a>
40: pubkeys for this release:<p>
41:
42: <table class=signify>
43: <tr><td>
44: openbsd-72-base.pub:
45: <td>
46: <a href="https://ftp.openbsd.org/pub/OpenBSD/7.2/openbsd-72-base.pub">
1.17 jsg 47: RWQTKNnK3CZZ8Lid7/kWPO1WxjEsTeuxiXbJSSg6RDir9OJmV+t7GrOo</a>
1.1 deraadt 48: <tr><td>
49: openbsd-72-fw.pub:
50: <td>
51: RWRvwsB/ZxwZxiQBgNVhuCnEacKE1MhrcDX25jFccqaj0pxsY9oIPJq4
52: <tr><td>
53: openbsd-72-pkg.pub:
54: <td>
55: RWSyNc+EwQQo5bZ5XtDpnk0FUl8NrIl+Ocq4FV/5VTvP9rOgHzKEnBx0
56: <tr><td>
57: openbsd-72-syspatch.pub:
58: <td>
59: RWQuBB7PRAc2Zy+C7VAynLuan8WDVtQ9R4xLpl8yjf1zxfqEBRRJ+66w
60: </table>
61: </ul>
62: <p>
63: All applicable copyrights and credits are in the src.tar.gz,
64: sys.tar.gz, xenocara.tar.gz, ports.tar.gz files, or in the
65: files fetched via <code>ports.tar.gz</code>.
66: </table>
67:
68: <hr>
69:
70: <section id=new>
71: <h3>What's New</h3>
72: <p>
73: This is a partial list of new features and systems included in OpenBSD 7.2.
74: For a comprehensive list, see the <a href="plus72.html">changelog</a> leading
75: to 7.2.
76:
77: <ul>
78:
79: <li>New/extended platforms:
80: <ul>
1.4 jsg 81: <li>Added support for Ampere Altra
82: <li>Added support for Apple M2
1.35 benno 83: <li>Added support for Lenovo ThinkPad x13s and other machines using
1.34 benno 84: the Qualcomm Snapdragon 8cx Gen 3 (SC8280XP) SoC.
1.1 deraadt 85: </ul>
86:
87: <li>Various kernel improvements:
88: <ul>
1.12 benno 89: <li>Allowed bsd.rd and bsd/bsd.mp to boot on Oracle Cloud amd64 instances.
90: <li>Added support for switching from glass console to serial console
91: on arm64 systems that default to glass console.
1.16 jsg 92: <li><a href="https://man.openbsd.org/pf.4">pf(4)</a> automatically allows
1.63 tj 93: IGMP and ICMP6 MLD packets with the router alert option.
1.44 benno 94: Special allow-opts rules are no longer needed for multicast
95: discovery.
1.19 benno 96: <li>Fixed a <a href="https://man.openbsd.org/pf.4">pf(4)</a> NULL
97: dereference panic triggered by <a
98: href="https://man.openbsd.org/relayd.8">relayd(8)</a>.
1.16 jsg 99: <li>Implement "show all routes" to print routing tables in
100: <a href="https://man.openbsd.org/ddb.4">ddb(4)</a>.
1.29 benno 101: <li>Added a method (ESC D) to enter <a
102: href="https://man.openbsd.org/ddb.4">ddb(4)</a> on serial drivers that
103: do not have a true BREAK mechanism.
104: <li>Added "show all routes" and the ability to show individual routes
105: (e.g. "show route 0xfffffd807e9b0000") to <a
106: href="https://man.openbsd.org/ddb.4">ddb(4)</a>.
107: <li>Added a "show swap" command to <a
108: href="https://man.openbsd.org/ddb.4">ddb(4)</a> to help debugging.
1.16 jsg 109: <li>Count dropped network packets due to low memory in
110: <a href="https://man.openbsd.org/netstat.1">netstat(1)</a>.
1.12 benno 111: <li>Simplified machine command handling in <a
112: href="https://man.openbsd.org/ddb.4">ddb(4)</a>.
113: <li>Changed to a simpler formula to calculate a default kern.maxthread
114: value: 2*NPROCESS.
115: <li>Enabled <a href="https://man.openbsd.org/kstat.4">kstat(4)</a>, a
116: device that exports kernel statistics that can be read by <a
1.23 jsg 117: href="https://man.openbsd.org/kstat.1">kstat(1)</a>.
1.63 tj 118: <li>Added CPU frequency sensors for each core on CPUs that have MPERF/APERF support.
1.14 benno 119: <li>Merged the UVM swap-backed and object-backed inactive page lists.
120: <li>Fixed <a href="https://man.openbsd.org/rwlock.9">rwlock(9)</a>
121: implementation to be fair to writers. Previously, readers could grab
122: the lock even if writers were waiting first.
123: <li>Made the CPU frequency scaling duration relative to the load
124: when in automatic mode on battery.
125: <li>Fixed luna88k MULTIPROCESSOR kernels booting with CPU modules
126: installed in arbitrary slots.
1.19 benno 127: <li>Added a missing <a
128: href="https://man.openbsd.org/kqueue.2">kqueue(2)</a> wakeup, found by
129: a Go testcase hang.
130: <li>Bumped the maximum number of supported CPUs to 256 on arm64.
1.44 benno 131: <!-- XXX should the following be here (swapper, pmem...) or maybe one entry describing them together? -->
1.29 benno 132: <li>Ensure uvm_swap_io() can succeed, even in out of memory
133: situations, by reserving a second segment for the page daemon.
134: <li>Ensured progress in the swapper by pre-allocating pages in a DMA-reachable region.
135: <li>Made the page daemon consider pmemrange regions when trying to
136: free pages from the inactive list. Previously the page daemon could
137: use a lot of CPU without freeing a page because the global limits were
138: satisfied.
139: <li>Ensured that uvm_swap_get() will always sleep rather than
140: returning an error. Previously an error could be returned to the fault
141: handler which would result in processes dying when a system was under
142: a lot of memory pressure.
1.44 benno 143: <!-- ... up to here -->
1.29 benno 144: <li>Added support for using non-standard UARTs (such as the Synopsys
145: DesignWare UART) as an early console.
146: <li>Remove NexGen CPU identification code as the kernel cannot run on these CPUs anyway.
147: <li>Remove Rise CPU identification code.
1.32 benno 148: <li>Dropped detection code for 386sx/386dx CPUs. OpenBSD/i386 hasn't
149: actually supported running on either for some time.
150: <li>Dropped detection code for Cyrix CPUs older than the Cyrix M2.
1.29 benno 151: <li>Implemented the fundamentals for suspend/resume on arm64.
1.32 benno 152: <li>Simplified TSC synchronization testing on amd64.
153: <li>Corrected sparc64 ofwboot to default to the <a
154: href="https://man.openbsd.org/softraid.4">softraid(4)</a> volume on the
155: boot device to make root on softraid work out of the box on sparc64
156: and be more consistent with softraid boot on other architectures.
157: <li>Removed the obsolete kern.nselcoll <a
158: href="https://man.openbsd.org/sysctl.2">sysctl(2)</a>.
159: <li>Changed mips64, octeon, and loongson to trigger deferred clock
160: interrupts from <a href="https://man.openbsd.org/splx.9">splx(9)</a>.
161: This isolates the clock interrupt schedule from the MD clock interrupt
162: code.
163: <li>Fixed a potential kernel panic when an msdos partition is out
164: of space by fixing instances where msdosfs passed a NULL proc pointer
165: to detrunc().
166: <li>Add a delay_init() function that helps on i386 and amd64
167: architectures in setting up delay_func for different timers and
168: switching between them depending on their quality properties. This
169: improves how timers backing <a
170: href="https://man.openbsd.org/delay.9">delay(9)</a> are managed.
1.1 deraadt 171: </ul>
172:
173: <li>SMP Improvements
174: <ul>
1.39 jsg 175: <li>Make route timer MP safe and use rttimer pool.
1.9 bluhm 176: <li>Use kernel lock to protect parts of ARP, ND6 and PPPoE that
177: are not MP safe.
1.46 benno 178: Lookup of existing ARP entries is MP safe and can run in parallel.
1.9 bluhm 179: <li>Start up to 4 softnet tasks to run IP input and forwarding
180: in parallel on multiple cores.
181: <li>Run IPv4 packet reassembly in parallel.
182: <li>Run IPv6 hop-by-hop options processing in parallel.
183: <li>Add a mutex to rate limiting functions to make them MP safe.
184: <li>Introduce mutex and reference counter for internet protocol
185: control block.
1.46 benno 186: <li>Protect <a href="https://man.openbsd.org/udp.4">UDP</a>, raw <a
187: href="https://man.openbsd.org/ip.4">IP</a>, and <a
188: href="https://man.openbsd.org/divert.4">divert</a> packet input
1.63 tj 189: routines with a per-socket mutex.
1.16 jsg 190: <li>Protect <a href="https://man.openbsd.org/recv.2">recv(2)</a> system call
1.63 tj 191: for UDP and raw IP packets with a per-socket mutex and shared netlock.
1.9 bluhm 192: Allows to receive packets while forwarding in parallel.
193: <li>Protect multicast deliver loop for UDP and raw IP sockets with rwlock.
1.13 benno 194: <li>Only grab netlock in IGMP and MLD timer when necessary.
1.9 bluhm 195: <li>TCP slow timer runs without netlock.
196: <li>Rework rwlock so that a writer will get the lock eventually.
197: Readers cannot share the lock forever.
198: This prevents starvation of the writer.
199: <li>Run interface media ioctl with shared netlock so packets
1.16 jsg 200: can be processed while running
201: <a href="https://man.openbsd.org/ifconfig.8">ifconfig(8)</a>.
202: <li><a href="https://man.openbsd.org/btrace.8">btrace(8)</a> can be used
203: to debug reference counting.
1.9 bluhm 204: <li>Use MP safe refcount for interface addresses.
1.29 benno 205: <li>Unlocked <a href="https://man.openbsd.org/kbind.2">kbind(2)</a>.
206: <li>Unlocked the <a href="https://man.openbsd.org/pledge.2">pledge(2)</a> system call.
1.46 benno 207: <li>Made <a href="https://man.openbsd.org/unix.4">UNIX</a> domain
1.29 benno 208: sockets locking per-socket rather than coarse locking of the entire
209: domain sockets layer.
1.1 deraadt 210: </ul>
211:
1.13 benno 212: <li>Direct Rendering Manager and graphics drivers
1.1 deraadt 213: <ul>
1.5 jsg 214: <li>Updated <a href="https://man.openbsd.org/drm.4">drm(4)</a>
215: to Linux 5.15.69
216: <li><a href="https://man.openbsd.org/inteldrm.4">inteldrm(4)</a>:
217: support for Alder Lake, Raptor Lake
1.42 jsg 218: <li>Reimplemented the TTM page allocation code using <a
1.13 benno 219: href="https://man.openbsd.org/bus_dma.9">bus_dma(9)</a> APIs to make
220: sure DMA addresses are translated properly on architectures with an
221: IOMMU. This fixed <a
222: href="https://man.openbsd.org/amdgpu.4">amdgpu(4)</a> and <a
223: href="https://man.openbsd.org/radeondrm.4">radeondrm(4)</a> on
1.42 jsg 224: powerpc64, sparc64, and arm64 machines with SMMU.
1.29 benno 225: <li>Implemented support for framebuffers that don't start on a page
1.41 jsg 226: boundary (like those on the 2021 14" and 16" MacBook Pro).
1.29 benno 227: <li>Added handling for framebuffers where the first pixel isn't
228: page-aligned to <a href="https://man.openbsd.org/wsfb.4">wsfb(4)</a>.
1.32 benno 229: <li>Fixed <a href="https://man.openbsd.org/Xorg.1">Xorg(1)</a> when
230: using the luna88k 1bpp framebuffer hardware.
1.1 deraadt 231: </ul>
232:
233: <li>VMM/VMD improvements
234: <ul>
1.11 benno 235: <li>Improved error handling and logging in <a
236: href="https://man.openbsd.org/vmd.8">vmd(8)</a>
237: <li>Unify all internal structures and interfaces between <a
238: href="https://man.openbsd.org/vmd.8">vmd(8)</a>, <a
239: href="https://man.openbsd.org/vmctl.8">vmctl(8)</a> and <a
240: href="https://man.openbsd.org/vmm.4">vmm(4)</a> to use bytes for
1.13 benno 241: memory and disk sizes.
1.18 jsg 242: <li>Fix rebooting a received VM in <a
1.11 benno 243: href="https://man.openbsd.org/vmd.8">vmd(8)</a>.
244: <li>Have <a href="https://man.openbsd.org/vmd.8">vmd(8)</a> provide
1.63 tj 245: a copy of bios at 4g boundary. SeaBIOS and newer Linux kernels expect
1.11 benno 246: it there.
247: <li>In <a href="https://man.openbsd.org/vmd.8">vmd(8)</a>, fix off by
1.18 jsg 248: one in VM memory range check.
1.11 benno 249: <li>In <a href="https://man.openbsd.org/vmd.8">vmd(8)</a>, add
1.18 jsg 250: support for MMIO assist. In <a
251: href="https://man.openbsd.org/vmm.4">vmm(4)</a>, send all port I/O
1.11 benno 252: emulation to userland.
253: <li>Have <a href="https://man.openbsd.org/vmd.8">vmd(8)</a> compute
254: i8254 read-back command latch from singular timestamp.
255: <li>Improve the command line parsing in <a
256: href="https://man.openbsd.org/vmctl.8">vmctl(8)</a>.
257: <li>Let <a href="https://man.openbsd.org/vmm.4">vmm(4)</a> allow
258: reading MSR_TSC on Intel hosts.
259: <li>In <a href="https://man.openbsd.org/vmm.4">vmm(4)</a>, reference
1.18 jsg 260: count VMs and VCPUs.
1.11 benno 261: <li>In <a href="https://man.openbsd.org/vmm.4">vmm(4)</a>, zero
1.18 jsg 262: virtual addresses of VCPU state pages after freeing.
1.11 benno 263: <li>Fix `vmctl send` on Intel hosts by load the vmcs before reading
1.18 jsg 264: VCPU registers in <a href="https://man.openbsd.org/vmm.4">vmm(4)</a>.
1.11 benno 265: <li>Fix `vmctl receive` on Intel hosts by adding an additional fault
266: type in <a href="https://man.openbsd.org/vmm.4">vmm(4)</a>.
267: <li>Add additional <a href="https://man.openbsd.org/dt.4">dt(4)</a>
268: tracepoints in various <a
269: href="https://man.openbsd.org/vmm.4">vmm(4)</a> codepaths.
1.34 benno 270: <li>Add <a href="https://man.openbsd.org/snmpd.8">snmpd(8)</a>
271: AgentX support based around VM-MIB (RFC7666).
1.1 deraadt 272: </ul>
273:
274: <li>Various new userland features:
275: <ul>
1.14 benno 276: <li>Replaced <a href="https://man.openbsd.org/rc.d.8">rc.d(8)</a>
277: $rcexec variable with an rc_exec function. <em>This will require a
278: mechanical change from <code>${rcexec}</code> to <code>rc_exec</code>
279: in rc.d scripts.</em> Kept compatibility to give people a chance to
280: fix their custom scripts.
1.19 benno 281: <li>Introduced a new daemon_execdir variable to <a
282: href="https://man.openbsd.org/rc.d.8">rc.d(8)</a> for changing to a
1.24 ajacouto 283: specified directory before running rc_exec.
1.46 benno 284: <li>Added <a href="https://man.openbsd.org/ts.1">ts(1)</a>, a
285: timestamp utility.
1.48 benno 286: <li>Add a new <i>configtest</i> action to <a
287: href="https://man.openbsd.org/rc.d.8">rc.d(8)</a> and <a
288: href="https://man.openbsd.org/rcctl.8">rcctl(8)</a> to check
289: configuration syntax of a daemon.
290: <li>Added forest (-f) mode to <a
291: href="https://man.openbsd.org/ps.1">ps(1)</a>.
1.24 ajacouto 292: </ul>
1.1 deraadt 293:
294: <li>Various bugfixes and tweaks in userland:
295: <ul>
1.37 benno 296: <!-- openrsync -->
1.43 jsg 297: <li>Fixed <a href="https://man.openbsd.org/openrsync.1">openrsync(1)</a>
1.12 benno 298: on sparc64 by eliminating a redundant second conversion of the int
299: value from little to host endian.
1.29 benno 300: <li>Added connection timeout functionality to <a
301: href="https://man.openbsd.org/openrsync.1">openrsync(1)</a> via the
302: --contimeout option.
303: <li>Set the default <a
304: href="https://man.openbsd.org/openrsync.1">openrsync(1)</a> connection
305: timeout that <a
306: href="https://man.openbsd.org/rpki-client.8">rpki-client(8)</a> uses
307: to 15 seconds.
308:
1.37 benno 309: <!-- pkg_add -->
1.12 benno 310: <li>Made use of the fact that repositories are unique objects in <a
1.43 jsg 311: href="https://man.openbsd.org/pkg_add.1">pkg_add(1)</a> and annotated
1.12 benno 312: the quirks repository as cached, allowing for a large speed increase.
1.14 benno 313: <li>Enabled <a href="https://man.openbsd.org/pkg_add.1">pkg_add(1)</a> caching by default.
1.19 benno 314: <li>Changed the tied algorithm in <a
315: href="https://man.openbsd.org/pkg_add.1">pkg_add(1)</a> to prevent
316: O(n^2) behavior when packages contain several hundred copies of the
317: same file.
1.29 benno 318: <li>Added a "processing" message for when <a
319: href="https://man.openbsd.org/pkg_add.1">pkg_add(1)</a> is
320: transferring data to inform the user that pkg_add is still working.
321:
1.37 benno 322: <!-- fdisk -->
1.64 krw 323: <li>Added missing uuid_dec_le() to init_gp() so <a
1.13 benno 324: href="https://man.openbsd.org/fdisk.8">fdisk(8)</a> -A works on
325: big-endian architectures.
1.14 benno 326: <li>Aligned <a href="https://man.openbsd.org/fdisk.8">fdisk(8)</a>
327: logic with that used in the kernel to allow the protective EFI GPT
328: partition to be in MBR partitions 0-3, not just 0.
329: <li>Prevented use of "-u" when <a
330: href="https://man.openbsd.org/fdisk.8">fdisk(8)</a> is operating on
331: GPT formatted disks.
1.29 benno 332: <li>Stopped telling <a
333: href="https://man.openbsd.org/fdisk.8">fdisk(8)</a> that macppc
334: HAS_MBR.
1.62 krw 335: <li>Made <a href="https://man.openbsd.org/fdisk.8">fdisk(8)</a>
1.29 benno 336: reject input of excessive length.
337: <li>Fixed an <a href="https://man.openbsd.org/fdisk.8">fdisk(8)</a>
338: regression to allow editing an MBR of all zeroes.
339: <li>Changed <a href="https://man.openbsd.org/fdisk.8">fdisk(8)</a> to
340: restrict user actions if neither GPT nor MBR structures can be found
341: on the disk.
1.32 benno 342: <li>Made <a href="https://man.openbsd.org/fdisk.8">fdisk(8)</a> print
343: a warning when an MBR partition starts or extends past the end of the
344: device.
345: <li>Made <a href="https://man.openbsd.org/fdisk.8">fdisk(8)</a> print
346: a warning when a GPT partition start or end is outside the usable LBA
347: area of the device.
1.64 krw 348: <li>Made <a href="https://man.openbsd.org/fdisk.8">fdisk(8)</a>
349: display "Microsoft basic data" instead of
350: "FAT12" for GPT_UUID_MSDOS partitions.
351: <li>Made <a href="https://man.openbsd.org/fdisk.8">fdisk(8)</a> print
352: GPT attributes in verbose output.
353: <li>Made <a href="https://man.openbsd.org/fdisk.8">fdisk(8)</a> use the
354: correct GPT bootable attribute bit.
355: <li>Made <a href="https://man.openbsd.org/fdisk.8">fdisk(8)</a> not
356: spoof GPT partitions with the attribute REQUIRED.
357: <li>Made <a href="https://man.openbsd.org/fdisk.8">fdisk(8)</a>
358: ensure GPT headers, table entries and usable area don't
359: overlap each other.
1.14 benno 360:
1.65 ! krw 361: <!-- disklabel/disktab -->
! 362: <li>Removed <a href="https://man.openbsd.org/disklabel.8">disklabel(8)</a>
! 363: ability to edit disk geometry information.
! 364: <li>Removed <a href="https://man.openbsd.org/disklabel.8">disklabel(8)</a>
! 365: and <a href="https://man.openbsd.org/disktab.5">disktab(5)</a> support
! 366: for 'bs' (bootblock size) and 'sb' (superblock size) attributes.
! 367: <li>Added keyword 'raid' to
! 368: <a href="https://man.openbsd.org/disklabel.8">disklabel(8)</a>
! 369: template files, allowing auto-allocation of RAID partitions.
! 370: <li>Removed <a href="https://man.openbsd.org/disklabel.8">disklabel(8)</a>
! 371: support for <a href="https://man.openbsd.org/disktab.5">disktab(5)</a>
! 372: 'd[0-4]' (drive data) attributes.
! 373:
1.37 benno 374: <!-- btrace -->
375: <li>Installed useful <a
376: href="https://man.openbsd.org/btrace.8">btrace(8)</a> scripts in
377: /usr/share/btrace.
378: <li>Made <a href="https://man.openbsd.org/btrace.8">btrace(8)</a>
379: execute the END probe upon receiving a SIGTERM signal.
380:
381: <!-- netstart/rc -->
382: <li>Moved the wait for autoconf interfaces from <a
383: href="https://man.openbsd.org/rc.8">rc(8)</a> to <a
384: href="https://man.openbsd.org/netstart.8">netstart(8)</a> to fix
385: tunnel interfaces that depend on working autoconf interfaces.
386: <li>Made <a href="https://man.openbsd.org/netstart.8">netstart(8)</a>
387: create virtual interfaces up front if specified on the command line.
388: <li>Changed <a
389: href="https://man.openbsd.org/rc.subr.8">rc.subr(8)</a> to copy the
390: message to stdout when using <a
391: href="https://man.openbsd.org/logger.1">logger(1)</a> to avoid needing
392: to check syslog when running in debug mode.
393:
394: <li>Fixed <a href="https://man.openbsd.org/kbd.8">kbd(8)</a> so it
395: doesn't fail silently when executed by a regular user.
1.14 benno 396: <li>In the <i>sndio</i> library, added the function <a
397: href="https://man.openbsd.org/sio_flush.3">sio_flush(3)</a> to stop
398: playback immediately. Altered <a
399: href="https://man.openbsd.org/sndiod.8">sndiod(8)</a> to wait until
400: the buffer is drained before closing the device.
401: <li>Made <a href="https://man.openbsd.org/xterm.1">xterm(1)</a> use a
402: much safer FD-passing idiom for updating <a
403: href="https://man.openbsd.org/utmp.5">utmp(5)</a>.
1.37 benno 404: <li>Prevented a crash in <a
1.43 jsg 405: href="https://man.openbsd.org/vi.1">vi(1)</a> when cursor key support is
1.37 benno 406: disabled.
1.43 jsg 407: <li>Updated <a href="https://man.openbsd.org/vi.1">vi(1)</a> to apply
1.37 benno 408: expandtab to the output of a ! command.
1.14 benno 409: <li>Made <a href="https://man.openbsd.org/mg.1">mg(1)</a>
410: automatically delete trailing whitespace on RET in c-mode and
411: auto-indent-mode.
1.19 benno 412: <li>Made <a href="https://man.openbsd.org/grep.1">grep(1)</a> provide
1.61 op 413: full context when using match count (<code>-m</code>)
1.19 benno 414: <li>Added the --null flag to <a
415: href="https://man.openbsd.org/grep.1">grep(1)</a> which makes grep
416: print an ASCII NUL byte after the file name to make the output
417: unambiguous.
1.37 benno 418: <li>Fixed multiple memory leaks in <a
419: href="https://man.openbsd.org/awk.1">awk(1)</a>.
1.43 jsg 420: <li>Changed <a href="https://man.openbsd.org/compress.1">compress(1)</a>
1.37 benno 421: to print a more accurate message when -v is used with -k.
1.32 benno 422: <li>Fixed <a href="https://man.openbsd.org/gzip.1">gzip(1)</a> byte
423: counts with 32-bit integers.
424: <li>Fixed the growth check in <a
425: href="https://man.openbsd.org/compress.1">compress(1)</a> and <a
426: href="https://man.openbsd.org/gzip.1">gzip(1)</a> in cases of small
427: files or files with sufficiently random data.
1.29 benno 428: <li>Made <a href="https://man.openbsd.org/timeout.1">timeout(1)</a> -s
429: accept HUP like <a href="https://man.openbsd.org/kill.1">kill(1)</a>
430: and GNU timeout(1) do.
431: <li>Updated capitals and countries in the game <a
432: href="https://man.openbsd.org/quiz.6">quiz(6)</a>.
433: <li>Set default sleep value of <a
434: href="https://man.openbsd.org/ico.1">ico(1)</a> to 10ms.
435: <li>Fixed a bug in <a
436: href="https://man.openbsd.org/cron.8">cron(8)</a> where it could exit
437: silently if <a href="https://man.openbsd.org/ppoll.2">ppoll(2)</a>
438: exited. Now it will log to <a
439: href="https://man.openbsd.org/syslog.3">syslog(3)</a> instead of
440: stderr.
441: <li>Added <a
442: href="https://man.openbsd.org/llvm-profdata.1">llvm-profdata(1)</a> to
443: base so that ports can benefit from profiled builds.
444: <li>Changed <a href="https://man.openbsd.org/rc.8">rc(8)</a> to only
445: attempt to set the <a href="https://man.openbsd.org/yp.8">yp(8)</a>
446: domainname if it has not been set yet.
447: <li>Raised the "staff" login class data-size-cur on arm64 to be the
448: same as that for amd64 in <a
449: href="https://man.openbsd.org/login.conf.5">login.conf(5)</a> (1536M).
450: <li>Fixed <a href="https://man.openbsd.org/patch.1">patch(1)</a>
451: locate-hunk in empty files.
452: <li>Fixed <a href="https://man.openbsd.org/patch.1">patch(1)</a> in
453: the case of reversing a patch that creates a file.
454: <li>Added seconds to the uptime display of <a
455: href="https://man.openbsd.org/top.1">top(1)</a>.
456: <li>Made <a href="https://man.openbsd.org/putenv.3">putenv(3)</a>
457: return an error if the string starts with the '=' character. This
458: matches the behavior on FreeBSD and NetBSD.
1.32 benno 459: <li>Fixed overflow of the number of errors in <a
460: href="https://man.openbsd.org/renice.8">renice(8)</a> by setting error
461: instead of incrementing it.
462: <li>Removed the "-c" compatibility option from <a
463: href="https://man.openbsd.org/vnconfig.8">vnconfig(8)</a>.
464: <li>Stopped <a
465: href="https://man.openbsd.org/vnconfig.8">vnconfig(8)</a> from
466: printing the device name on failure.
1.48 benno 467: <li>Print a message when <a
1.32 benno 468: href="https://man.openbsd.org/ld.so.1">ld.so(1)</a> fails inside <a
469: href="https://man.openbsd.org/execve.2">execve(2)</a> to clarify the
470: failure mode when a dynamic executable is run while /usr isn't
471: mounted.
472: <li>Improved <a href="https://man.openbsd.org/bioctl.8">bioctl(8)</a>
473: RAID level parsing to check numeric levels before checking single
474: character levels. This allows recognition of RAID 10 as a valid but
475: unsupported level.
476: <li>Fixed <a
477: href="https://man.openbsd.org/installboot.8">installboot(8)</a>
478: messaging when verbose (-v) and dry-run (-n) modes are combined with
479: <a href="https://man.openbsd.org/softraid.4">softraid(4)</a>.
1.33 benno 480: <li>Sped up <a href="https://man.openbsd.org/wc.1">wc(1)</a> word counting.
1.1 deraadt 481: </ul>
482:
483: <li>Improved hardware support and driver bugfixes, including:
484: <ul>
1.7 jsg 485: <li>New <a href="https://man.openbsd.org/arm64/aplaudio.4">aplaudio(4)</a>
486: driver for Apple audio subsystem.
487: <li>New <a href="https://man.openbsd.org/arm64/aplmca.4">aplmca(4)</a>
488: driver for Apple MCA controller.
489: <li>New <a href="https://man.openbsd.org/arm64/aplsart.4">aplsart(4)</a>
490: driver for Apple SART address filter.
491: <li>New alpdc, apldchidev, apldckbd, apldcms, and aplrtk drivers for
492: keyboard and trackpad on Apple M2 laptops.
493: <li>New <a href="https://man.openbsd.org/arm64/qcgpio.4">qcgpio(4)</a>
494: driver for Qualcomm Snapdragon GPIO controller.
495: <li>New <a href="https://man.openbsd.org/arm64/qciic.4">qciic(4)</a>
496: driver for Qualcomm Snapdragon GENI I2C controller.
497: <li>New <a href="https://man.openbsd.org/riscv64/sfgpio.4">sfgpio(4)</a>
498: driver for SiFive GPIO controller.
499: <li>New <a href="https://man.openbsd.org/riscv64/stfclock.4">stfclock(4)</a>
500: driver for StarFive JH7100 clock controller.
501: <li>New <a href="https://man.openbsd.org/riscv64/stfpinctrl.4">stfpinctrl(4)</a>
502: driver for StarFive JH7100 pin configuration.
503: <li>New stftemp
504: driver for StarFive JH7100 temperature sensor.
505: <li>New <a href="https://man.openbsd.org/sxirintc.4">sxirintc(4)</a>
506: driver for Allwinner wakeup interrupt controller.
507: <li>New gpiorestart
508: driver for system reset via GPIO pin.
1.12 benno 509: <li>Added support for more power sensors to <a
510: href="https://man.openbsd.org/ipmi.4">ipmi(4)</a>.
1.14 benno 511: <li>Added support for the <a
512: href="https://man.openbsd.org/ehci.4">ehci(4)</a> controller on
1.18 jsg 513: Marvell 3720 boards.
1.37 benno 514: <li>Extended <a href="https://man.openbsd.org/ksmn.4">ksmn(4)</a> to
515: show CCD temperatures if available.
1.19 benno 516: <li>Fixed missing interrupts for trackpads on some machines after
517: resume by making sure <a
518: href="https://man.openbsd.org/amdgpio.4">amdgpio(4)</a> restores pin
519: configuration on resume.
1.40 anton 520: <li>Added FIFO support and allow baud rate changes to
521: <a href="https://man.openbsd.org/pluart.4">pluart(4)</a>.
1.29 benno 522: <li>Added support for the Synopsys DesignWare UART found on the Ryzen
523: Embedded V1000 SoCs to <a
524: href="https://man.openbsd.org/com.4">com(4)</a>.
525: <li>Added <a href="https://man.openbsd.org/xhci.4">xhci(4)</a> support
526: for the dual role controllers integrated on the Qualcomm Snapdragon
527: 8cx gen 3 SoC.
528: <li>Added support for using the power button to wake up from suspend
529: to <a href="https://man.openbsd.org/axppmic.4">axppmic(4)</a>.
530: <li>Modified <a href="https://man.openbsd.org/pms.4">pms(4)</a> to
531: discard relative movement packets outside of the [-127, 127] range to
532: prevent cursor jumps when using the trackpoint on some Lenovo laptops.
1.32 benno 533: <li>Allowed <a href="https://man.openbsd.org/spdmem.4">spdmem(4)</a>
534: to attach to <a
535: href="https://man.openbsd.org/loongson/gdiumiic.4">gdiumiic(4)</a>.
536: <li>Make <a href="https://man.openbsd.org/spdmem.4">spdmem(4)</a>
537: attach on 2F-based loongson systems.
538: <li>Added power button support to <a
1.43 jsg 539: href="https://man.openbsd.org/arm64/aplsmc.4">aplsmc(4)</a>.
1.33 benno 540: <li>Changed the <a href="https://man.openbsd.org/mfii.4">mfii(4)</a>
541: RAID controller driver to allow the firmware more time to transition
542: out of the UNDEFINED state.
543: <li>Added Wacom One S (CTL-472) support to <a
544: href="https://man.openbsd.org/uwacom.4">uwacom(4)</a>.
1.1 deraadt 545: </ul>
546:
547: <li>New or improved network hardware support:
548: <ul>
1.37 benno 549: <li>Increased rx buffer size on <a
550: href="https://man.openbsd.org/uaq.4">uaq(4)</a> to 62kB.
551: <li>Repaired <a href="https://man.openbsd.org/rge.4">rge(4)</a>
552: hardware VLAN tagging.
553: <li>Provide statistics via kstats for <a
554: href="https://man.openbsd.org/mvneta.4">mvneta(4)</a>.
1.19 benno 555: <li>Enabled <a href="https://man.openbsd.org/aq.4">aq(4)</a> on arm64.
556: <li>Implemented and enabled IPv4, TCP, and UDP checksum offloading for
557: <a href="https://man.openbsd.org/igc.4">igc(4)</a>.
558: <li>Fixed a panic triggered by ifconfig bnxt0 down by changing <a
559: href="https://man.openbsd.org/bnxt.4">bnxt(4)</a> devices to not run
560: rx and tx interrupt handlers when the interface is not running.
1.29 benno 561: <li>Introduced Large Receive Offloading of TCP segment offloading in
562: <a href="https://man.openbsd.org/ix.4">ix(4)</a>. Also added a tso
563: option to <a href="https://man.openbsd.org/ifconfig.8">ifconfig(8)</a>
564: to enable and disable this feature.
1.1 deraadt 565: </ul>
566:
567: <li>Added or improved wireless network drivers:
568: <ul>
1.19 benno 569: <li>Made device matching in <a
1.22 jsg 570: href="https://man.openbsd.org/iwx.4">iwx(4)</a> more similar to Linux
1.55 stsp 571: iwlwifi in order to recognize more devices.
1.37 benno 572: <li>Added support for AX210/AX211 devices to <a
573: href="https://man.openbsd.org/iwx.4">iwx(4)</a>.
1.14 benno 574: <li>Fixed <a href="https://man.openbsd.org/iwx.4">iwx(4)</a> setting
575: of HT/VHT bits in rate flags of the Tx command that could cause a
576: firmware panic.
1.19 benno 577: <li>Added handling of 9k devices which do not support antenna B to <a
578: href="https://man.openbsd.org/iwm.4">iwm(4)</a>.
579: <li>Fixed <a href="https://man.openbsd.org/bwfm.4">bwfm(4)</a>
580: ifconfig media display on devices with sta_info command version 3.
1.29 benno 581: <li>Fixed a <a href="https://man.openbsd.org/bwfm.4">bwfm(4)</a> crash during USB detach.
1.55 stsp 582: <li>Fixed detection of the Rx data rate on rtl8192eu <a
1.32 benno 583: href="https://man.openbsd.org/urtwn.4">urtwn(4)</a> devices.
584: <li>Fixed integer overflows in the <a
585: href="https://man.openbsd.org/iwm.4">iwm(4)</a> and <a
586: href="https://man.openbsd.org/iwx.4">iwx(4)</a> firmware file parsers.
1.1 deraadt 587: </ul>
588:
589: <li>IEEE 802.11 wireless stack improvements and bugfixes:
590: <ul>
1.29 benno 591: <li>Make sure drivers initialize all of ieee80211_rxinfo struct.
1.1 deraadt 592: </ul>
593:
1.45 benno 594: <li>Installer, upgrade and bootloader improvements:
1.1 deraadt 595: <ul>
1.63 tj 596: <li>Fixed the watchdog in the installer so that it is reset
1.14 benno 597: after each download and each set installation.
1.63 tj 598: <li>Ensured that running <a
1.19 benno 599: href="https://man.openbsd.org/sysupgrade.8">sysupgrade(8)</a> on
1.63 tj 600: -stable will move to the next release, not -current.
1.19 benno 601: <li>Added the -b option to <a
602: href="https://man.openbsd.org/sysupgrade.8">sysupgrade(8)</a> to set
603: an alternative base directory to which the installation files will be
1.63 tj 604: downloaded.
1.19 benno 605: <li>Increased the <a
606: href="https://man.openbsd.org/disklabel.8">disklabel(8)</a> auto
607: partitioner's maximum size for /usr to 30G.
1.29 benno 608: <li>Altered installer behavior so the <a
609: href="https://man.openbsd.org/vlan.4">vlan(4)</a> question won't be
610: asked unless another network interface exists.
611: <li>Added support for wildcards in <a
612: href="https://man.openbsd.org/fw_update.8">fw_update(8)</a> patterns.
1.45 benno 613: <!-- bootblock stuff -->
1.47 benno 614: <li>Added support for booting from RAID 1C <a
615: href="https://man.openbsd.org/softraid.4">softraid(4)</a> volumes on
616: amd64, sparc64 and arm64.
1.32 benno 617: <li>Added NFS client support to the luna88k RAMDISK kernel.
1.33 benno 618: <li>Made the EFI bootloader provide the extra parameters necessary to
619: use non-standard UARTs on the AMD Ryzen Embedded V1000 SoCs as console.
620: <li>Switched bootloaders to the extended BOOTARG_CONSDEV struct.
621: <li>Added UFS2 support to landisk boot blocks.
1.1 deraadt 622: </ul>
623:
624: <li>Security improvements:
625: <ul>
1.29 benno 626: <li>Implemented privilege separation in <a
627: href="https://man.openbsd.org/xlock.1">xlock(1)</a>.
1.32 benno 628: <li>Added privilege separation to <a
629: href="https://man.openbsd.org/snmpd.8">snmpd(8)</a>.
1.29 benno 630: <li>The TZ environment variable no longer supports absolute paths,
1.31 gnezdo 631: to fit better into the <a
1.29 benno 632: href="https://man.openbsd.org/pledge.2">pledge(2)</a> bypass model.
633: <li>AF_UNIX socket <a
634: href="https://man.openbsd.org/bind.2">bind(2)</a> and <a
635: href="https://man.openbsd.org/connect.2">connect(2)</a> now follow <a
636: href="https://man.openbsd.org/unveil.2">unveil(2)</a> configuration.
637: <li>New <a
638: href="https://man.openbsd.org/ypconnect.2">ypconnect(2)</a> system
639: call creates a socket based upon the IP address encoded directly in a
640: locked ypbinding file, thereby removing a horrible hack to support YP
1.31 gnezdo 641: lookups in programs using strong
1.29 benno 642: <a href="https://man.openbsd.org/pledge.2">pledge(2)</a> rules.
1.56 benno 643: <li>Processes that pledge("vminfo") may now use the read-only <a
1.52 benno 644: href="https://man.openbsd.org/swapctl.2">swapctl(2)</a> operations
645: SWAP_NSWAP and SWAP_STATS providing information on swap devices.
1.29 benno 646: <li>Randomized the rekey interval of <a
647: href="https://man.openbsd.org/arc4random.3">arc4random(3)</a>.
1.56 benno 648: <li>Reduce the attack surface by introducing a 'local bind' mode to
649: <a href="https://man.openbsd.org/ypldap.8">ypldap(8)</a>. In this mode
1.32 benno 650: ypldap binds its RPC sockets to loopback, so YP services are only
1.56 benno 651: available to the host it's running on. ypldap writes the YP binding
652: file in /var/yp/binding itself and replaces <a
653: href="https://man.openbsd.org/ypbind.8">ypbind(8)</a> and <a
654: href="https://man.openbsd.org/ypserv.8">ypserv(8)</a>. This also
655: implies that <a
1.52 benno 656: href="https://man.openbsd.org/portmap.8">portmap(8)</a> doesn't need
657: to be running anymore when local bind mode is used.
1.32 benno 658: <li>Changed the /sbin daemons <a
659: href="https://man.openbsd.org/dhcpleased.8">dhcpleased(8)</a>, <a
660: href="https://man.openbsd.org/mountd.8">mountd(8)</a>, <a
661: href="https://man.openbsd.org/nfsd.8">nfsd(8)</a>, <a
662: href="https://man.openbsd.org/pflogd.8">pflogd(8)</a>, <a
663: href="https://man.openbsd.org/resolvd.8">resolvd(8)</a>, <a
664: href="https://man.openbsd.org/slaacd.8">slaacd(8)</a>, and <a
665: href="https://man.openbsd.org/unwind.8">unwind(8)</a> to be
666: dynamically linked to allow them to benefit from all the additional
667: mitigations that dynamically linked executables gain. NFS mounting of
668: /usr must now use statically configured IP addresses.
1.1 deraadt 669: </ul>
670:
1.12 benno 671: <li>Changes in the network stack:
672: <ul>
1.44 benno 673: <li>Added the <a
674: href="https://man.openbsd.org/recvmmsg.2">recvmmsg(2)</a> system call
675: that allows receiving multiple msghdrs at once, and the <a
676: href="https://man.openbsd.org/sendmmsg.2">sendmmsg</a> syscall that
677: allows sending multiple msghdrs at once.
1.13 benno 678: <li>Relaxed address availability check for <a
679: href="https://man.openbsd.org/multicast.4">multicast(4)</a> binds so
680: processes listening for the same multicast address do not need to be
681: the same UID.
682: <li>Introduced dedicated link entries for snapshots to <a
683: href="https://man.openbsd.org/pfsync.4">pfsync(4)</a>.
1.14 benno 684: <li>Changed <a href="https://man.openbsd.org/pf.4">pf(4)</a> handling
685: of IGMP and ICMP6 MLD packets to allow multicast control packets to
686: work by default.
1.39 jsg 687: <li>Made <a href="https://man.openbsd.org/pf.4">pf(4)</a> more paranoid about
688: IGMP/MLD messages.
1.19 benno 689: <li>Fixed a logic bug in pf_find_state() that could cause <a
690: href="https://man.openbsd.org/pf.4">pf(4)</a> to incorrectly block a
691: packet.
1.39 jsg 692: <li>Fixed <a href="https://man.openbsd.org/pf.4">pf(4)</a> syncookies during fast TCP port reuse.
1.29 benno 693: <li>Fixed a bug in <a href="https://man.openbsd.org/pf.4">pf(4)</a>
694: where a pool defined like "172.16.0.0/16" would count as a pool size
695: of one address. Also fixed random selection of source address to be
696: uniform across the whole pool.
1.44 benno 697: <li>Fixed a kernel panic in <a
698: href="https://man.openbsd.org/pf.4">pf(4)</a> if IP options with an
699: ICMP payload were truncated. Such packets will now be dropped instead.
1.14 benno 700: <li>Allow forwarding to and from IPs in the 240/4 range.
1.18 jsg 701: <li>Corrected the Virtual Ethernet Bridge <a
1.14 benno 702: href="https://man.openbsd.org/veb.4">veb(4)</a> to avoid calling
703: if_enqueue from an smr critical section.
1.44 benno 704: <li>Reworked the kroute rttimer code to fix icmp_pmtu_timeout crashes.
1.29 benno 705: <li>Fixed an interrupt storm upon suspend on Amlogic arm64 boards.
1.32 benno 706: <li>Fixed a race between pflow_output_process() and
707: pflow_clone_destroy() in <a
708: href="https://man.openbsd.org/pflow.4">pflow(4)</a>.
1.44 benno 709: <li>Added a missing input validation step to <a
1.54 jsg 710: href="https://man.openbsd.org/pipex.4">pipex(4)</a> MPPE keylenbits.
1.44 benno 711: </ul>
1.12 benno 712:
1.1 deraadt 713: <li>Routing daemons and other userland network improvements:
714: <ul>
1.11 benno 715: <li>IPsec support was improved:
716: <ul>
1.29 benno 717: <li>Made <a href="https://man.openbsd.org/iked.8">iked(8)</a> ignore
718: any CERT payload after the first rather than failing the exchange when
719: more than one CERT payload is received.
720: <li>Added <a href="https://man.openbsd.org/iked.8">iked(8)</a> support
721: for sending certificate chains with intermediate CAs in multiple CERT
722: payloads.
723: <li>Added an OpenIKED Vendor ID payload in the <a
724: href="https://man.openbsd.org/iked.8">iked(8)</a> initial handshake to
725: make it easier to handle interoperability problems with older versions
726: in the future.
1.33 benno 727: <li>Added <a href="https://man.openbsd.org/iked.8">iked(8)</a>
728: connection statistics for successful and failed connections, error
729: types, and other events that can be printed with "ikectl show stats".
1.11 benno 730: </ul>
1.34 benno 731: <li>In <a href="https://man.openbsd.org/bgpd.8">bgpd(8)</a>,
1.11 benno 732: <ul>
733: <li>Implement max-communities filter to limit the number of allowed
734: communities, ext-communities and large-communities.
735: <li>Fix insertion of additional non-transitive extended communities when
736: sending out prefixes.
737: <li>Relax IP address limitation by allowing prefixes in 240/4.
738: <li>Implement RFC 9234 - Route Leak Prevention and Detection Using Roles
739: in UPDATE and OPEN Messages.
1.52 benno 740: <li>Full support for RFC 7911 - Advertisement of Multiple Paths in BGP (ADD-PATH).
1.11 benno 741: <li>Improve FIB code, handle IPv6 scoped addresses properly.
742: <li>Add <a href="https://man.openbsd.org/bgplgd.8">bgplgd(8)</a>,
1.43 jsg 743: a FastCGI server providing a REST API to execute
744: <a href="https://man.openbsd.org/bgpctl.8">bgpctl(8)</a> commands.
1.16 jsg 745: <li>Bugfix: <a href="https://man.openbsd.org/bgpd.8">bgpd(8)</a> could
746: fail to invalidate nexthops and incorrectly leave them in the FIB or
747: Adj-RIB-Out.
1.11 benno 748: <li>Speedup <a href="https://man.openbsd.org/bgpctl.8">bgpctl</a>
749: <code>show rib 10/8 or-longer</code> and <code>show rib 10/8
750: or-shorter</code>
751: <li>Switch various static hash tables to RB trees improving
752: performance on large systems
753: <li>Export per neighbor pending update and withdraw statistics
754: <li>Fix race between a neighbor session reset and its update message
755: backlog
756: <li>Improve handling of nexthop reachability state changes
1.32 benno 757: <li>Made sure only one <a
758: href="https://man.openbsd.org/bgpd.8">bgpd(8)</a> roa softreconfig
759: runner is run at any time.
1.11 benno 760: </ul>
761: <li><a href="https://man.openbsd.org/rpki-client.8">rpki-client(8)</a> saw some changes:
762: <ul>
1.12 benno 763: <li>Allowed more than one CRL URI in certificates.
1.11 benno 764: <li>Do not apply timezone offsets when converting X509 times. X509
765: times are in UTC and comparing them to times in different timezones
766: would cause validity problems.
767: <li>Add support for an operator-configurable skiplist facility.
768: Operators can specify a list of FQDNs which should not be contacted
769: when synchronizing the local cache to the network.
770: <li>Emit a warning when a RRDP session serial number decreases.
771: <li>DER decoding functions were refactored to leverage ASN.1 templates.
772: <li>Add support to validate & inspect .sig files containing RPKI Signed
773: Checklists in filemode (-f). (draft-ietf-sidrops-rpki-rsc-08)
774: <li>Print various statistics after the completion of the main process.
775: <li>Add support to decode & print TAL (RFC 8630) details in filemode (-f).
776: <li>Emit objects in Concatenated JSON format when filemode (-f) and the JSON
777: output flag (-j) are combined.
1.13 benno 778: <li>Add support for validating Autonomous System Provider Authorization
1.11 benno 779: (ASPA) objects conforming to draft-ietf-sidrops-aspa-profile-10.
780: Validated ASPA payloads are visible in JSON and filemode (-f) output.
1.44 benno 781: <li>Set <a href="https://man.openbsd.org/openrsync.1">rsync(1)</a> connection I/O idle timeout to 15 seconds.
782: <li>Unify the maximum idle I/O and connect timeouts for <a href="https://man.openbsd.org/openrsync.1">rsync(1)</a> & HTTPS.
783: <li><a href="https://man.openbsd.org/rpki-client.8">rpki-client(8)</a> now performs stricter EE certificate validation:
1.11 benno 784: <ul>
785: <li>Disallow AS Resources extensions in ROA EE certificates.
786: <li>Disallow Subject Information Access (SIA) extensions in RPKI
787: Signed Checklist (RSC) EE certs.
788: <li>Check the resources in ROAs and RSCs against EE certs.
789: </ul>
790: <li>Improve readability and add various information being printed in
791: verbose mode.
792: <li>Extend filemode (-f) output and print X.509 certificates in PEM
793: format when increased verbosity (-vv) is specified.
794: <li>Shorten the RRDP I/O idle timeout.
795: <li>Introduce a deadline timer that aborts all repository synchronization
796: after seven eights of timeout (-s). With this rpki-client has improved
1.13 benno 797: chances to complete and produce an output even when a CA is excessively
1.11 benno 798: slow.
799: <li>Abort a currently running RRDP request process when the per-repository
800: timeout is reached.
801: <li>Permit multiple AccessDescription entries in SIA X.509 extensions. While
802: fetching from secondary locations is not yet supported, rpki-client will
1.13 benno 803: not treat occurrence as a fatal error.
1.11 benno 804: <li>Resolve a potential for a race condition in non-atomic RRDP deltas.
805: <li>Fix some memory leaks.
806: <li>Improve compliance with the HTTP protocol specification.
807: </ul>
808:
1.34 benno 809: <li>In <a href="https://man.openbsd.org/snmpd.8">snmpd(8)</a>,
810: <ul>
811: <li>Allow object names to be used in addition to OIDs in
1.43 jsg 812: <a href="https://man.openbsd.org/snmpd.conf.5">snmpd.conf(5)</a>.
1.34 benno 813: <li>Better type hinting for debug logging.
814: <li>Introduce a blocklist feature, which removes subtrees from view.
815: <li>Reintroduce AgentX master support.
1.39 jsg 816: <li>Move non-SNMP related metrics to their own AgentX based backend.
1.34 benno 817: <li>The snmpe process is now pledged <code>stdio recvfd inet unix</code>.
818: <li>Imported <a
819: href="https://man.openbsd.org/snmpd_metrics.8">snmpd_metrics(8)</a>.
820: This allows those who need to use net-snmpd the ability to access base
821: <a href="https://man.openbsd.org/snmpd.8">snmpd(8)</a> metrics.
822: </ul>
1.32 benno 823:
1.44 benno 824: <li>In <a href="https://man.openbsd.org/ldapd.8">ldapd(8)</a>,
825: match password schemas case sensitive.
1.14 benno 826: <li>In <a href="https://man.openbsd.org/ospfd.8">ospfd(8)</a>,
1.11 benno 827: relax the limitations on what is an acceptable unicast IP. There are no
828: more experiments in IPv4 and so there is less reason for network
829: daemons to deny formerly experimental IP space. Multicast IPs
1.13 benno 830: (224/4) and loopback (127/8) are still disallowed.
1.14 benno 831: <li>Added check to <a
832: href="https://man.openbsd.org/acme-client.1">acme-client(1)</a> to
833: ensure the challenge token is turned into a filename that is base64url
834: encoded.
835: <li>Added RFC 9234 "BGP Role" support to <a
836: href="https://man.openbsd.org/tcpdump.8">tcpdump(8)</a>
1.19 benno 837: <li>Have <a
838: href="https://man.openbsd.org/tcpdump.8">tcpdump(8)</a> print
1.60 deraadt 839: ASnumbers in 'asplain' format instead of the old 'asdot' format.
1.19 benno 840: <li>Fixed a crash in libpcap when it would walk off the end of the array performing frees.
1.39 jsg 841: <li>Made -X connect SOCKS work with IPv6 addresses in <a href="https://man.openbsd.org/nc.1">nc(1)</a>.
1.29 benno 842: <li>Introduced a blocklist backend and keyword to <a
1.60 deraadt 843: href="https://man.openbsd.org/snmpd.8">snmpd(8)</a>, this deprecates
1.29 benno 844: filter-pf-addresses.
845: <li>Changed <a
846: href="https://man.openbsd.org/dhclient.8">dhclient(8)</a> to defer to
847: <a href="https://man.openbsd.org/dhcpleased.8">dhcpleased(8)</a> by
848: doing execve ifconfig and providing syslog warnings about deprecated
849: options.
850: <li>Implemented <a href="https://man.openbsd.org/dig.1">dig(1)</a>
851: support for SVCB and HTTPS record types.
1.32 benno 852: <li>Made <a href="https://man.openbsd.org/resolvd.8">resolvd(8)</a>
853: write /etc/resolv.conf in a more atomic manner.
854: <li>Added a <a href="https://man.openbsd.org/slowcgi.8">slowcgi(8)</a>
855: -t flag to change the request timeout.
1.39 jsg 856: <li>Corrected handling of an abnormal FastCGI termination in <a
1.32 benno 857: href="https://man.openbsd.org/httpd.8">httpd(8)</a>.
1.54 jsg 858: <li>Made newer MIME type definitions take precedence over existing
1.32 benno 859: ones in <a href="https://man.openbsd.org/httpd.8">httpd(8)</a>.
1.33 benno 860: <li>Moved the <a href="https://man.openbsd.org/relayd.8">relayd(8)</a>
861: <a href="https://man.openbsd.org/daemon.3">daemon(3)</a> call to just
862: before forking the children so the parent disassociates from its
863: controlling terminal and shell, but not from its children.
864: <li>Changed <a href="https://man.openbsd.org/ftp.1">ftp(1)</a> to use
865: non-blocking <a
866: href="https://man.openbsd.org/connect.2">connect(2)</a> with <a
867: href="https://man.openbsd.org/ppoll.2">ppoll(2)</a> and timeout
868: instead of <a href="https://man.openbsd.org/alarm.3">alarm(3)</a>.
869: This allows failing over to another IP address for hosts that have
870: more than one.
1.1 deraadt 871: </ul>
872:
1.43 jsg 873: <li><a href="https://man.openbsd.org/tmux.1">tmux(1)</a> improvements and bug fixes:
1.1 deraadt 874: <ul>
1.19 benno 875: <li>Added an ACL list for multiple users attaching to the <a
876: href="https://man.openbsd.org/tmux.1">tmux(1)</a> socket.
1.63 tj 877: <li>Ensured cursor remains on selected item on menu.
878: <li>Added support for OSC 8 hyperlinks.
1.29 benno 879: <li>Added support for hyperlinks with capture-pane -e and a
1.63 tj 880: mouse_hyperlink format.
881: <li>Added an "all" state to allow-passthrough to work even in invisible panes.
882: <li>Fixed a crash when searching for .* with extremely long lines.
1.32 benno 883: <li>Added <a href="https://man.openbsd.org/vi.1">vi(1)</a> Home/End
1.63 tj 884: bindings.
1.32 benno 885: <li>Added a Nobr terminfo capability to tell <a
886: href="https://man.openbsd.org/tmux.1">tmux(1)</a> the terminal does
887: not use bright colors for bold.
1.63 tj 888: <li>Added a notification when a paste buffer is deleted.
889: <li>Fixed window size reporting.
1.1 deraadt 890: </ul>
891:
1.2 jsg 892: <li>LibreSSL version 3.6.0
1.1 deraadt 893: <ul>
1.50 tb 894: <li>New features
1.1 deraadt 895: <ul>
1.50 tb 896: <li>EVP API for HKDF ported from OpenSSL and subsequently cleaned up.
897: <li>The security level API (SSL_{,CTX}_{get,set}_security_level()) is
898: now available. Callbacks and ex_data are not supported. Sane
899: software will not be using this.
900: <li>Experimental support for the BoringSSL QUIC API.
901: <li>Add initial support for TS ESSCertIDv2 verification.
902: <li>LibreSSL now uses the Baillie-PSW primality test instead of
903: Miller-Rabin.
1.1 deraadt 904: </ul>
905:
1.50 tb 906: <li>Compatibility changes
1.1 deraadt 907: <ul>
1.50 tb 908: <li>The ASN.1 time parser has been refactored and rewritten using CBS.
909: It has been made stricter in that it now enforces the rules from
910: RFC 5280.
911: <li>ASN1_AFLG_BROKEN was removed.
912: <li>Error check tls_session_secret_cb() like OpenSSL.
913: <li>Added ASN1_INTEGER_{get,set}_{u,}int64()
914: <li>Move leaf certificate checks to the last thing after chain
915: validation.
1.53 benno 916: <li>Added -s option to <a
917: href="https://man.openbsd.org/openssl.1">openssl(1)</a> ciphers
918: that only shows the ciphers supported by the specified protocol.
919: <li>Use <a href="https://man.openbsd.org/TLS_client_method.3">TLS_client_method(3)</a>
920: instead of <a href="https://man.openbsd.org/TLSv1_client_method.3">TLSv1_client_method(3)</a> in
921: the <a
922: href="https://man.openbsd.org/openssl.1">openssl(1)</a> ciphers command.
923: <li>Validate the protocols in <a
924: href="https://man.openbsd.org/SSL_CTX_set_alpn_protos.3">SSL{_CTX,}_set_alpn_protos()</a>.
1.50 tb 925: <li>Made TS and PKCS12 opaque.
926: <li>Per RFC 7292, safeContentsBag is a SEQUENCE OF, not a SET OF.
927: <li>Align PKCS12_key_gen_uni() with OpenSSL
928: <li>Various PKCS12 and TS accessors were added. In particular, the
929: TS_RESP_CTX_set_time_cb() function was added back.
1.53 benno 930: <li>Allow a NULL header in <a
931: href="https://man.openbsd.org/PEM_write.3">PEM_write{,_bio}()</a>
1.50 tb 932: <li>Allow empty attribute sets in CSRs.
1.53 benno 933: <li>Adjust signatures of <a
934: href="https://man.openbsd.org/BIO_ctrl.3">BIO_ctrl</a> functions.
1.50 tb 935: <li>Provide additional defines for EVP AEAD.
936: <li>Provide OPENSSL_cleanup().
1.53 benno 937: <li>Make <a
938: href="https://man.openbsd.org/BIO_info_cb.3">BIO_info_cb()</a> identical to bio_info_cb().
1.1 deraadt 939: </ul>
940:
941: <li>Bug fixes
942: <ul>
1.50 tb 943: <li>Avoid use of uninitialized in BN_mod_exp_recp().
1.53 benno 944: <li>Fix <a
945: href="https://man.openbsd.org/X509_get_extension_flags.3">X509_get_extension_flags()</a>
946: by ensuring that EXFLAG_INVALID is
1.50 tb 947: set on X509_get_purpose() failure.
1.53 benno 948: <li>Fix <a
949: href="https://man.openbsd.org/HMAC.3">HMAC()</a> with NULL key.
950: <li>Add ERR_load_{COMP,CT,KDF}_strings() to <a
951: href="https://man.openbsd.org/ERR_load_crypto_strings.3">ERR_load_crypto_strings()</a>.
1.50 tb 952: <li>Avoid strict aliasing violations in BN_nist_mod_*().
1.53 benno 953: <li>Do not return X509_V_ERR_UNSPECIFIED from <a
954: href="https://man.openbsd.org/X509_check_ca.3">X509_check_ca()</a>.
1.50 tb 955: No return value of X509_check_ca() indicates failure. Application
956: code should therefore issue a checked call to X509_check_purpose()
957: before calling X509_check_ca().
958: <li>Rewrite and fix X509v3_asid_subset() to avoid segfaults on some
959: valid input.
960: <li>Call the ASN1_OP_D2I_PRE callback after ASN1_item_ex_new().
961: <li>Fix d2i_ASN1_OBJECT to advance the *der_in pointer correctly.
1.53 benno 962: <li>Avoid use of uninitialized in <a
963: href="https://man.openbsd.org/ASN1_STRING_to_UTF8.3">ASN1_STRING_to_UTF8()</a>.
964: <li>Do not pass uninitialized pointer to <a
965: href="https://man.openbsd.org/ASN1_STRING_to_UTF8.3">ASN1_STRING_to_UTF8()</a>.
966: <li>Do not refuse valid IPv6 addresses in <a
967: href="https://man.openbsd.org/nc.1">nc(1)</a>'s HTTP CONNECT proxy.
1.50 tb 968: <li>Do not reject primes in trial divisions.
969: <li>Error out on negative shifts in BN_{r,l}shift() instead of
970: accessing arrays out of bounds.
1.54 jsg 971: <li>Fix URI name constraints, allow for URIs with no host part.
1.50 tb 972: <li>Fix the legacy verifier callback behaviour for untrusted certs.
973: <li>Correct serfver-side handling of TLSv1.3 key updates.
974: <li>Plug leak in PKCS12_setup_mac().
1.53 benno 975: <li>Plug leak in <a
976: href="https://man.openbsd.org/X509V3_add1_i2d.3">X509V3_add1_i2d()</a>.
1.50 tb 977: <li>Only print X.509 versions we know about.
978: <li>Avoid signed integer overflow due to unary negation
1.53 benno 979: <li>Initialize readbytes in <a
980: href="https://man.openbsd.org/BIO_gets.3">BIO_gets()</a>.
1.50 tb 981: <li>Plug memory leak in CMS_add_simple_smimecap().
1.53 benno 982: <li>Plug memory leak in <a
983: href="https://man.openbsd.org/X509_REQ_print_ex.3">X509_REQ_print_ex()</a>.
984: <li>Check <a
985: href="https://man.openbsd.org/HMAC.3">HMAC()</a> return value to avoid a later use of uninitialized.
1.50 tb 986: <li>Avoid potential NULL dereference in ssl_set_pkey().
987: <li>Check return values in ssl_print_tmp_key().
988: <li>Switch loop bounds from size_t to int in check_hosts().
989: <li>Avoid division by zero if no connection was made in s_time.c.
990: <li>Check sk_SSL_CIPHER_push() return value
991: <li>Avoid out-of-bounds read in ssl_cipher_process_rulestr().
992: <li>Use LONG_MAX as the limit for ciphers with long based APIs.
1.1 deraadt 993: </ul>
994:
1.50 tb 995: <li>Internal improvements
1.1 deraadt 996: <ul>
1.50 tb 997: <li>Avoid expensive RFC 3779 checks during cert verification.
998: <li>The templated ASN.1 decoder has been cleaned up, refactored,
999: modernized with parts rewritten using CBB and CBS.
1000: <li>The ASN.1 time parser has been rewritten.
1.53 benno 1001: <li>Rewrite and fix <a
1002: href="https://man.openbsd.org/ASN1_STRING_to_UTF8.3">ASN1_STRING_to_UTF8()</a>.
1.50 tb 1003: <li>Use asn1_abs_set_unused_bits() rather than inlining it.
1004: <li>Simplify ec_asn1_group2curve().
1005: <li>First pass at a clean up of ASN1_item_sign_ctx()
1006: <li>ssl_txt.c was cleaned up.
1007: <li>Internal function arguments and struct member have been changed
1008: to size_t.
1009: <li>Lots of missing error checks of EVP API were added.
1010: <li>Clean up and clarify BN_kronecker().
1011: <li>Simplify ASN1_INTEGER_cmp()
1012: <li>Rewrite ASN1_INTEGER_{get,set}() using CBS and CBB and reuse
1013: the ASN1_INTEGER functions for ASN1_ENUMERATED.
1014: <li>Use ASN1_INTEGER to parse and build {Z,}LONG_it
1015: <li>Refactored and cleaned up group (elliptic curve) handling in
1016: t1_lib.c.
1017: <li>Simplify certificate list handling code in the legacy server.
1018: <li>Make CBB_finish() fail if *out_data is not NULL.
1019: <li>Remove tls_buffer_set_data() and remove/revise callers.
1020: <li>Rewrite SSL{_CTX,}_set_alpn_protos() using CBS.
1021: <li>Simplify tlsext_supported_groups_server_parse().
1022: <li>Remove redundant length checks in tlsext parse functions.
1023: <li>Simplify tls13_server_encrypted_extensions_recv().
1024: <li>Add read and write support to tls_buffer.
1025: <li>Convert TLS transcript from BUF_MEM to tls_buffer.
1026: <li>Clear key on exit in PKCS12_gen_mac().
1027: <li>Minor fixes in PKCS12_parse().
1028: <li>Provide and use a primitive clear function for BIGNUM_it.
1029: <li>Use ASN1_INTEGER to encode/decode BIGNUM_it.
1030: <li>Add stack frames to AES-NI x86_64 assembly.
1031: <li>Use named initialisers for BIGNUMs.
1032: <li>Tidy up some of BN_nist_mod_*.
1033: <li>Expand BLOCK_CIPHER_* and related macros.
1034: <li>Avoid shadowing the cbs function parameter in
1035: tlsext_alpn_server_parse()
1036: <li>Deduplicate peer certificate chain processing code.
1037: <li>Make it possible to signal an error from an i2c_* function.
1038: <li>Rewrite i2c_ASN1_INTEGER() using CBB/CBS.
1039: <li>Remove UINT32_MAX limitation on ChaCha() and CRYPTO_chacha_20().
1040: <li>Remove bogus length checks from EVP_aead_chacha20_poly1305().
1041: <li>Reworked DSA_size() and ECDSA_size().
1042: <li>Stop using CBIGNUM_it internal to libcrypto.
1043: <li>Provide c2i_ASN1_ENUMERATED_cbs() and call it from
1044: asn1_c2i_primitive().
1045: <li>Ensure ASN.1 types are appropriately encoded.
1046: <li>Avoid recycling ASN1_STRINGs when decoding ASN.1.
1047: <li>Tidy up asn1_c2i_primitive() slightly.
1048: <li>Mechanically expand IMPLEMENT_BLOCK_CIPHER, IMPLEMENT_CFBR,
1049: BLOCK_CIPHER and the looney M_do_cipher macros.
1050: <li>Use correct length for EVP CFB mode ciphers.
1051: <li>Provide a version of ssl_msg_callback() that takes a CBS.
1052: <li>Use CBS to parse TLS alerts in the legacy stack.
1053: <li>Increment the input and output position for EVP AES CFB1.
1054: <li>Ensure there is no trailing data for a CCS received by the
1055: TLSv1.3 stack.
1056: <li>Use CBS when procesing a CCS message in the legacy stack.
1057: <li>Be stricter with middlebox compatibility mode in the TLSv1.3
1058: server.
1.1 deraadt 1059: </ul>
1060: </ul>
1061:
1.2 jsg 1062: <li>OpenSSH 9.1
1.1 deraadt 1063: <ul>
1.49 dtucker 1064: <li>Security
1065: <ul>
1.63 tj 1066: <li>ssh-keyscan(1): fix a one-byte overflow in SSH banner processing
1.49 dtucker 1067: <li>ssh-keygen(1): fix double free() in error path of signing/verify code
1068: <li>ssh-keysign(8): fix double-free in error path introduced in OpenSSH 8.9.
1069: </ul>
1070: <li>Potentially-incompatible changes
1071: <ul>
1072: <li>ssh(1), sshd(8): SetEnv directives in ssh_config and sshd_config
1073: are now first-match-wins to match other directives. Previously
1074: if an environment variable was multiply specified the last set
1075: value would have been used.
1076: <li>ssh-keygen(8): ssh-keygen -A (generate all default host key types)
1077: will no longer generate DSA keys, as these are insecure and have
1078: not been used by default for some years.
1079: <li>ssh(1), sshd(8): add a RequiredRSASize directive to set a minimum
1080: RSA key length. Keys below this length will be ignored for user
1081: authentication and for host authentication in sshd(8).<br>
1082: ssh(1) will terminate a connection if the server offers an RSA key
1083: that falls below this limit, as the SSH protocol does not include
1084: the ability to retry a failed key exchange
1085: <li>sftp-server(8): add a <code>users-groups-by-id@openssh.com</code>
1086: extension request that allows the client to obtain user/group names that
1087: correspond to a set of uids/gids.
1088: <li>sftp(1): use <code>users-groups-by-id@openssh.com</code> sftp-server
1089: extension (when available) to fill in user/group names for
1090: directory listings.
1091: <li>sftp-server(8): support the <code>home-directory</code> extension
1092: request defined in draft-ietf-secsh-filexfer-extensions-00. This overlaps
1093: a bit with the existing "expand-path@openssh.com", but some other
1094: clients support it.
1095: <li>ssh-keygen(1), sshd(8): allow certificate validity intervals,
1096: sshsig verification times and authorized_keys expiry-time options
1097: to accept dates in the UTC time zone in addition to the default
1098: of interpreting them in the system time zone. YYYYMMDD and
1099: YYMMDDHHMM[SS] dates/times will be interpreted as UTC if suffixed
1100: with a 'Z' character.<br>
1101: Also allow certificate validity intervals to be specified in raw
1102: seconds-since-epoch as hex value, e.g. -V 0x1234:0x4567890. This
1103: is intended for use by regress tests and other tools that call
1104: ssh-keygen as part of a CA workflow.
1105: <li>sftp(1): allow arguments to the sftp -D option, e.g. sftp -D
1106: <code>/usr/libexec/sftp-server -el debug3</code>.
1107: <li>ssh-keygen(1): allow the existing -U (use agent) flag to work
1108: with <code>-Y sign</code> operations, where it will be interpreted to
1109: require that the private keys is hosted in an agent.
1110: </ul>
1111: <li>Bugfixes
1112: <ul>
1113: <li>ssh-keygen(1): implement the "verify-required" certificate option.
1114: This was already documented when support for user-verified FIDO
1115: keys was added, but the ssh-keygen(1) code was missing.
1116: <li>ssh-agent(1): hook up the restrict_websafe command-line flag;
1117: previously the flag was accepted but never actually used.
1118: <li>sftp(1): improve filename tab completions: never try to complete
1119: names to non-existent commands, and better match the completion
1120: type (local or remote filename) against the argument position
1121: being completed.
1122: <li>ssh-keygen(1), ssh(1), ssh-agent(1): several fixes to FIDO key
1123: handling, especially relating to keys that request
1124: user-verification. These should reduce the number of unnecessary
1125: PIN prompts for keys that support intrinsic user verification.
1126: <li>ssh-keygen(1): when enrolling a FIDO resident key, check if a
1127: credential with matching application and user ID strings already
1128: exists and, if so, prompt the user for confirmation before
1129: overwriting the credential.
1130: <li> sshd(8): improve logging of errors when opening authorized_keys
1131: files.
1132: <li>ssh(1): avoid multiplexing operations that could cause SIGPIPE from
1133: causing the client to exit early. bz3454
1134: <li>ssh_config(5), sshd_config(5): clarify that the RekeyLimit
1135: directive applies to both transmitted and received data.
1136: <li>ssh-keygen(1): avoid double fclose() in error path.
1137: <li>sshd(8): log an error if pipe() fails while accepting a connection.
1138: <li>ssh(1), ssh-keygen(1): fix possible NULL deref when built without
1139: FIDO support.
1140: <li>ssh-keyscan(1): add missing *-sk types to ssh-keyscan manpage.
1141: <li>sshd(8): ensure that authentication passwords are cleared from
1142: memory in error paths.
1143: <li>ssh(1), ssh-agent(1): avoid possibility of notifier code executing
1144: kill(-1).
1145: <li>ssh_config(5): note that the ProxyJump directive also accepts the
1146: same tokens as ProxyCommand.
1147: <li>scp(1): do not not ftruncate(3) files early when in sftp mode. The
1148: previous behaviour of unconditionally truncating the destination
1149: file would cause <code>scp ~/foo localhost:</code> and <code>scp
1150: localhost:foo ~/</code> to delete all the contents of their destination.
1151: <li>ssh-keygen(1): improve error message when <code>ssh-keygen -Y sign
1152: </code> is unable to load a private key.
1153: <li>sftp(1), scp(1): when performing operations that glob(3) a remote
1154: path, ensure that the implicit working directory used to construct
1155: that path escapes glob(3) characters. This prevents glob characters
1156: from being processed in places they shouldn't, e.g. <code>cd
1157: /tmp/a*/</code>, <code>get *.txt</code> should have the get operation
1158: treat the path <code>/tmp/a*</code> literally and not attempt to expand
1159: it.
1160: <li>ssh(1), sshd(8): be stricter in which characters will be accepted
1161: in specifying a mask length; allow only 0-9.
1162: <li>ssh-keygen(1): avoid printing hash algorithm twice when dumping a
1163: KRL.
1164: <li>ssh(1), sshd(8): continue running local I/O for open channels
1165: during SSH transport rekeying. This should make ~-escapes work in
1166: the client (e.g. to exit) if the connection happened to have
1167: stalled during a rekey event.
1168: <li>ssh(1), sshd(8): avoid potential poll() spin during rekeying
1169: <li>Further hardening for sshbuf internals: disallow "reparenting" a
1170: hierarchical sshbuf and zero the entire buffer if reallocation
1171: fails.
1172: </ul>
1.1 deraadt 1173: </ul>
1174:
1.58 schwarze 1175: <li>mandoc 1.14.6 plus some new features and many bugfixes, including:
1.1 deraadt 1176: <ul>
1.58 schwarze 1177: <li>Significantly improved accessibility of
1178: <a href="https://man.openbsd.org/mandoc.1">mandoc(1)</a>
1179: <code>-T html</code> and
1180: <a href="https://man.openbsd.org/man.cgi.8">man.cgi(8)</a>
1181: output by using semantically better HTML elements in several places
1182: and by adding ARIA and DPUB-ARIA roles and aria-label attributes
1183: to several HTML elements.
1184: <li>Got rid of archaic HTML table markup for header and footer lines
1185: in favor of flexbox CSS.
1186: Rendering now adapts to browser windows of arbitrary narrowness.
1187: <li>Prevented <code>-T html</code> output from turning breakable
1188: hyphens into underscores in URI fragment identifiers.
1189: <li>Improved the <a href="https://man.openbsd.org/roff.7">roff(7)</a>
1190: escape sequence parser in several fundamental ways
1191: regarding output correctness and groff compatibility.
1192: <li>Corrected output that depends on the order of evaluation of
1193: <a href="https://man.openbsd.org/roff.7">roff(7)</a>
1194: escape sequences by parsing them left-to-right
1195: rather than right-to-left.
1196: <li>Significantly improved <code>-T lint</code> diagnostics regarding
1197: syntax errors in <a href="https://man.openbsd.org/roff.7">roff(7)</a>
1198: escape sequences and in their arguments.
1199: <li>Stopped emitting vertical space before the
1200: <a href="https://man.openbsd.org/tbl.7">tbl(7)</a> .TS (table
1201: start) macro for compatibility with the same change in groff.
1202: This implies .PP or .Pp macros may need to be inserted before .TS
1203: in some (but not all!) places in some manual pages using tbl(7).
1204: <li>Stopped skipping vertical space after the
1205: <a href="https://man.openbsd.org/tbl.7">tbl(7)</a> .TE (table
1206: end) macro of boxed tables for compatibility with the same
1207: change in groff. This implies .sp requests may need to be
1208: removed after .TE in some manual pages using tbl(7).
1209: <li>Corrected the calculation of the width of spanned
1210: <a href="https://man.openbsd.org/tbl.7">tbl(7)</a> columns.
1211: <li>Improved the handling of literal tab characters in filled text
1212: in multiple ways for compatibility with groff and Heirloom troff.
1213: <li>Plus bugfixes for two segfaults, two infinite loops, and several
1214: assertion failures.
1.1 deraadt 1215: </ul>
1216:
1217: <li>Ports and packages:
1218: <p>Many pre-built packages for each architecture:
1219: <!-- number of FTP packages minus SHA256, SHA256.sig, index.txt -->
1220: <ul style="column-count: 3">
1.27 naddy 1221: <li>aarch64: 11261
1222: <li>amd64: 11451
1.1 deraadt 1223: <li>arm: XXXX
1.27 naddy 1224: <li>i386: 10225
1.57 visa 1225: <li>mips64: 8759
1.1 deraadt 1226: <li>powerpc: XXXX
1227: <li>powerpc64: XXXX
1.59 jca 1228: <li>riscv64: 9808
1.51 naddy 1229: <li>sparc64: 9275
1.1 deraadt 1230: </ul>
1231:
1232: <p>Some highlights:
1233: <ul style="column-count: 3">
1.3 sthen 1234: <li>Asterisk 16.28.0, 18.14.0 and 19.6.0
1.1 deraadt 1235: <li>Audacity 2.4.2
1.3 sthen 1236: <li>CMake 3.24.2
1237: <li>Chromium 105.0.5195.125
1238: <li>Emacs 28.2
1239: <li>FFmpeg 4.4.2
1.1 deraadt 1240: <li>GCC 8.4.0 and 11.2.0
1.3 sthen 1241: <li>GHC 9.2.4
1242: <li>GNOME 42.4
1243: <li>Go 1.19.1
1244: <li>JDK 8u342, 11.0.16 and 17.0.4
1245: <li>KDE Applications 22.08.1
1246: <li>KDE Frameworks 5.98.0
1247: <li>Krita 5.1.1
1.1 deraadt 1248: <li>LLVM/Clang 13.0.0
1.3 sthen 1249: <li>LibreOffice 7.4.1.2
1.1 deraadt 1250: <li>Lua 5.1.5, 5.2.4 and 5.3.6
1.3 sthen 1251: <li>MariaDB 10.9.3
1252: <li>Mono 6.12.0.182
1253: <li>Mozilla Firefox 105.0.1 and ESR 102.3.0
1254: <li>Mozilla Thunderbird 102.3.0
1255: <li>Mutt 2.2.7 and NeoMutt 20220429
1256: <li>Node.js 16.17.1
1.1 deraadt 1257: <li>OCaml 4.12.1
1.3 sthen 1258: <li>OpenLDAP 2.6.3
1259: <li>PHP 7.4.30, 8.0.23 and 8.1.10
1260: <li>Postfix 3.7.2
1261: <li>PostgreSQL 14.5
1262: <li>Python 2.7.18, 3.9.14 and 3.10.7
1263: <li>Qt 5.15.6 and 6.3.1
1264: <li>R 4.2.1
1265: <li>Ruby 2.7.6, 3.0.4 and 3.1.2
1266: <li>Rust 1.63.0
1267: <li>SQLite 3.39.3
1268: <li>Shotcut 22.06.23
1269: <li>Sudo 1.9.11.2
1270: <li>Suricata 6.0.6
1271: <li>Tcl/Tk 8.5.19 and 8.6.12
1.1 deraadt 1272: <li>TeX Live 2021
1.3 sthen 1273: <li>Vim 9.0.0192 and Neovim 0.7.2
1.1 deraadt 1274: <li>Xfce 4.16
1275: </ul>
1276: <p>
1277:
1278: <li>As usual, steady improvements in manual pages and other documentation.
1279:
1280: <li>The system includes the following major components from outside suppliers:
1281: <ul>
1.2 jsg 1282: <li>Xenocara (based on X.Org 7.7 with xserver 21.1.4 + patches,
1.15 jsg 1283: freetype 2.12.1, fontconfig 2.13.94, Mesa 22.1.7, xterm 372,
1.1 deraadt 1284: xkeyboard-config 2.20, fonttosfnt 1.2.2 and more)
1285: <li>LLVM/Clang 13.0.0 (+ patches)
1286: <li>GCC 4.2.1 (+ patches) and 3.3.6 (+ patches)
1287: <li>Perl 5.32.1 (+ patches)
1.2 jsg 1288: <li>NSD 4.6.0
1289: <li>Unbound 1.16.3
1.1 deraadt 1290: <li>Ncurses 5.7
1291: <li>Binutils 2.17 (+ patches)
1292: <li>Gdb 6.3 (+ patches)
1.2 jsg 1293: <li>Awk September 12, 2022
1294: <li>Expat 2.4.9
1.1 deraadt 1295: </ul>
1296:
1297: </ul>
1298: </section>
1299:
1300: <hr>
1301:
1302: <section id=install>
1303: <h3>How to install</h3>
1304: <p>
1305: Please refer to the following files on the mirror site for
1306: extensive details on how to install OpenBSD 7.2 on your machine:
1307:
1308: <ul>
1309: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/7.2/alpha/INSTALL.alpha">
1310: .../OpenBSD/7.2/alpha/INSTALL.alpha</a>
1311: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/7.2/amd64/INSTALL.amd64">
1312: .../OpenBSD/7.2/amd64/INSTALL.amd64</a>
1313: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/7.2/arm64/INSTALL.arm64">
1314: .../OpenBSD/7.2/arm64/INSTALL.arm64</a>
1315: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/7.2/armv7/INSTALL.armv7">
1316: .../OpenBSD/7.2/armv7/INSTALL.armv7</a>
1317: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/7.2/hppa/INSTALL.hppa">
1318: .../OpenBSD/7.2/hppa/INSTALL.hppa</a>
1319: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/7.2/i386/INSTALL.i386">
1320: .../OpenBSD/7.2/i386/INSTALL.i386</a>
1321: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/7.2/landisk/INSTALL.landisk">
1322: .../OpenBSD/7.2/landisk/INSTALL.landisk</a>
1.8 jsg 1323: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/7.2/loongson/INSTALL.loongson">
1324: .../OpenBSD/7.2/loongson/INSTALL.loongson</a>
1.1 deraadt 1325: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/7.2/luna88k/INSTALL.luna88k">
1326: .../OpenBSD/7.2/luna88k/INSTALL.luna88k</a>
1327: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/7.2/macppc/INSTALL.macppc">
1328: .../OpenBSD/7.2/macppc/INSTALL.macppc</a>
1329: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/7.2/octeon/INSTALL.octeon">
1330: .../OpenBSD/7.2/octeon/INSTALL.octeon</a>
1331: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/7.2/powerpc64/INSTALL.powerpc64">
1332: .../OpenBSD/7.2/powerpc64/INSTALL.powerpc64</a>
1333: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/7.2/riscv64/INSTALL.riscv64">
1334: .../OpenBSD/7.2/riscv64/INSTALL.riscv64</a>
1335: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/7.2/sparc64/INSTALL.sparc64">
1336: .../OpenBSD/7.2/sparc64/INSTALL.sparc64</a>
1337: </ul>
1338: </section>
1339:
1340: <hr>
1341:
1342: <section id=quickinstall>
1343: <p>
1344: Quick installer information for people familiar with OpenBSD, and the use of
1345: the "<a href="https://man.openbsd.org/disklabel.8">disklabel</a> -E" command.
1346: If you are at all confused when installing OpenBSD, read the relevant
1347: INSTALL.* file as listed above!
1348:
1349: <h3>OpenBSD/alpha:</h3>
1350:
1351: <p>
1352: If your machine can boot from CD, you can write <i>install72.iso</i> or
1353: <i>cd72.iso</i> to a CD and boot from it.
1354: Refer to INSTALL.alpha for more details.
1355:
1356: <h3>OpenBSD/amd64:</h3>
1357:
1358: <p>
1359: If your machine can boot from CD, you can write <i>install72.iso</i> or
1360: <i>cd72.iso</i> to a CD and boot from it.
1361: You may need to adjust your BIOS options first.
1362:
1363: <p>
1364: If your machine can boot from USB, you can write <i>install72.img</i> or
1365: <i>miniroot72.img</i> to a USB stick and boot from it.
1366:
1367: <p>
1368: If you can't boot from a CD, floppy disk, or USB,
1369: you can install across the network using PXE as described in the included
1370: INSTALL.amd64 document.
1371:
1372: <p>
1373: If you are planning to dual boot OpenBSD with another OS, you will need to
1374: read INSTALL.amd64.
1375:
1376: <h3>OpenBSD/arm64:</h3>
1377:
1378: <p>
1379: Write <i>install72.img</i> or <i>miniroot72.img</i> to a disk and boot from it
1380: after connecting to the serial console. Refer to INSTALL.arm64 for more
1381: details.
1382:
1383: <h3>OpenBSD/armv7:</h3>
1384:
1385: <p>
1386: Write a system specific miniroot to an SD card and boot from it after connecting
1387: to the serial console. Refer to INSTALL.armv7 for more details.
1388:
1389: <h3>OpenBSD/hppa:</h3>
1390:
1391: <p>
1392: Boot over the network by following the instructions in INSTALL.hppa or the
1393: <a href="hppa.html#install">hppa platform page</a>.
1394:
1395: <h3>OpenBSD/i386:</h3>
1396:
1397: <p>
1398: If your machine can boot from CD, you can write <i>install72.iso</i> or
1399: <i>cd72.iso</i> to a CD and boot from it.
1400: You may need to adjust your BIOS options first.
1401:
1402: <p>
1403: If your machine can boot from USB, you can write <i>install72.img</i> or
1404: <i>miniroot72.img</i> to a USB stick and boot from it.
1405:
1406: <p>
1407: If you can't boot from a CD, floppy disk, or USB,
1408: you can install across the network using PXE as described in
1409: the included INSTALL.i386 document.
1410:
1411: <p>
1412: If you are planning on dual booting OpenBSD with another OS, you will need to
1413: read INSTALL.i386.
1414:
1415: <h3>OpenBSD/landisk:</h3>
1416:
1417: <p>
1418: Write <i>miniroot72.img</i> to the start of the CF
1419: or disk, and boot normally.
1.8 jsg 1420:
1421: <h3>OpenBSD/loongson:</h3>
1422:
1423: <p>
1424: Write <i>miniroot72.img</i> to a USB stick and boot bsd.rd from it
1425: or boot bsd.rd via tftp.
1426: Refer to the instructions in INSTALL.loongson for more details.
1.1 deraadt 1427:
1428: <h3>OpenBSD/luna88k:</h3>
1429:
1430: <p>
1431: Copy 'boot' and 'bsd.rd' to a Mach or UniOS partition, and boot the bootloader
1432: from the PROM, and then bsd.rd from the bootloader.
1433: Refer to the instructions in INSTALL.luna88k for more details.
1434:
1435: <h3>OpenBSD/macppc:</h3>
1436:
1437: <p>
1438: Burn the image from a mirror site to a CDROM, and power on your machine
1439: while holding down the <i>C</i> key until the display turns on and
1440: shows <i>OpenBSD/macppc boot</i>.
1441:
1442: <p>
1443: Alternatively, at the Open Firmware prompt, enter <i>boot cd:,ofwboot
1444: /7.2/macppc/bsd.rd</i>
1445:
1446: <h3>OpenBSD/octeon:</h3>
1447:
1448: <p>
1449: After connecting a serial port, boot bsd.rd over the network via DHCP/tftp.
1450: Refer to the instructions in INSTALL.octeon for more details.
1451:
1452: <h3>OpenBSD/powerpc64:</h3>
1453:
1454: <p>
1455: To install, write <i>install72.img</i> or <i>miniroot72.img</i> to a
1456: USB stick, plug it into the machine and choose the <i>OpenBSD
1457: install</i> menu item in Petitboot.
1458: Refer to the instructions in INSTALL.powerpc64 for more details.
1459:
1460: <h3>OpenBSD/riscv64:</h3>
1461:
1462: <p>
1463: To install, write <i>install72.img</i> or <i>miniroot72.img</i> to a
1464: USB stick, and boot with that drive plugged in.
1465: Make sure you also have the microSD card plugged in that shipped with the
1466: HiFive Unmatched board.
1467: Refer to the instructions in INSTALL.riscv64 for more details.
1468:
1469: <h3>OpenBSD/sparc64:</h3>
1470:
1471: <p>
1472: Burn the image from a mirror site to a CDROM, boot from it, and type
1473: <i>boot cdrom</i>.
1474:
1475: <p>
1476: If this doesn't work, or if you don't have a CDROM drive, you can write
1477: <i>floppy72.img</i> or <i>floppyB72.img</i>
1478: (depending on your machine) to a floppy and boot it with <i>boot
1479: floppy</i>. Refer to INSTALL.sparc64 for details.
1480:
1481: <p>
1482: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install
1483: will most likely fail.
1484:
1485: <p>
1486: You can also write <i>miniroot72.img</i> to the swap partition on
1487: the disk and boot with <i>boot disk:b</i>.
1488:
1489: <p>
1490: If nothing works, you can boot over the network as described in INSTALL.sparc64.
1491: </section>
1492:
1493: <hr>
1494:
1495: <section id=upgrade>
1496: <h3>How to upgrade</h3>
1497: <p>
1.10 benno 1498: If you already have an OpenBSD 7.1 system, and do not want to reinstall,
1.1 deraadt 1499: upgrade instructions and advice can be found in the
1500: <a href="faq/upgrade72.html">Upgrade Guide</a>.
1501: </section>
1502:
1503: <hr>
1504:
1505: <section id=sourcecode>
1506: <h3>Notes about the source code</h3>
1507: <p>
1508: <code>src.tar.gz</code> contains a source archive starting at <code>/usr/src</code>.
1509: This file contains everything you need except for the kernel sources,
1510: which are in a separate archive.
1511: To extract:
1512: <blockquote><pre>
1513: # <kbd>mkdir -p /usr/src</kbd>
1514: # <kbd>cd /usr/src</kbd>
1515: # <kbd>tar xvfz /tmp/src.tar.gz</kbd>
1516: </pre></blockquote>
1517: <p>
1518: <code>sys.tar.gz</code> contains a source archive starting at <code>/usr/src/sys</code>.
1519: This file contains all the kernel sources you need to rebuild kernels.
1520: To extract:
1521: <blockquote><pre>
1522: # <kbd>mkdir -p /usr/src/sys</kbd>
1523: # <kbd>cd /usr/src</kbd>
1524: # <kbd>tar xvfz /tmp/sys.tar.gz</kbd>
1525: </pre></blockquote>
1526: <p>
1527: Both of these trees are a regular CVS checkout. Using these trees it
1528: is possible to get a head-start on using the anoncvs servers as
1529: described <a href="anoncvs.html">here</a>.
1530: Using these files
1531: results in a much faster initial CVS update than you could expect from
1532: a fresh checkout of the full OpenBSD source tree.
1533: </section>
1534:
1535: <hr>
1536:
1537: <section id=ports>
1538: <h3>Ports Tree</h3>
1539: <p>
1540: A ports tree archive is also provided. To extract:
1541: <blockquote><pre>
1542: # <kbd>cd /usr</kbd>
1543: # <kbd>tar xvfz /tmp/ports.tar.gz</kbd>
1544: </pre></blockquote>
1545: <p>
1546: Go read the <a href="faq/ports/index.html">ports</a> page
1547: if you know nothing about ports
1548: at this point. This text is not a manual of how to use ports.
1549: Rather, it is a set of notes meant to kickstart the user on the
1550: OpenBSD ports system.
1551: <p>
1552: The <i>ports/</i> directory represents a CVS checkout of our ports.
1553: As with our complete source tree, our ports tree is available via
1554: <a href="anoncvs.html">AnonCVS</a>.
1555: So, in order to keep up to date with the -stable branch, you must make
1556: the <i>ports/</i> tree available on a read-write medium and update the tree
1557: with a command like:
1558: <blockquote><pre>
1559: # <kbd>cd /usr/ports</kbd>
1560: # <kbd>cvs -d anoncvs@server.openbsd.org:/cvs update -Pd -rOPENBSD_7_2</kbd>
1561: </pre></blockquote>
1562: <p>
1563: [Of course, you must replace the server name here with a nearby anoncvs
1564: server.]
1565: <p>
1566: Note that most ports are available as packages on our mirrors. Updated
1567: ports for the 7.2 release will be made available if problems arise.
1568: <p>
1569: If you're interested in seeing a port added, would like to help out, or just
1570: would like to know more, the mailing list
1571: <a href="mail.html">ports@openbsd.org</a> is a good place to know.
1572: </section>
1573: </body>
1574: </html>