Annotation of www/74.html, Revision 1.45
1.1 deraadt 1: <!doctype html>
2: <html lang=en id=release>
3: <head>
4: <meta charset=utf-8>
5:
6: <title>OpenBSD 7.4</title>
7: <meta name="description" content="OpenBSD 7.4">
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/74.html">
11: </head><body>
12: <h2 id=OpenBSD>
13: <a href="index.html">
14: <i>Open</i><b>BSD</b></a>
15: 7.4
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 XXX, 2023. (55th OpenBSD release)<br>
25: Copyright 1997-2023, Theo de Raadt.<br>
26: <br>
1.4 job 27: Artwork by Jessica Scott.
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.4/</code> directory on
33: one of the mirror sites.
34: <li>Have a look at <a href="errata74.html">the 7.4 errata page</a> for a list
35: of bugs and workarounds.
36: <li>See a <a href="plus74.html">detailed log of changes</a> between the
37: 7.3 and 7.4 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-74-base.pub:
45: <td>
46: <a href="https://ftp.openbsd.org/pub/OpenBSD/7.4/openbsd-74-base.pub">
47: RWRoyQmAD08ajTqgzK3UcWaVlwaJMckH9/CshU8Md5pN1GoIrcBdTF+c</a>
48: <tr><td>
49: openbsd-74-fw.pub:
50: <td>
51: RWTRA9KXRuZKunpXYK0ed5OxbE0K7rYWpDnTu+M8wZdqzRroFqed0U6I
52: <tr><td>
53: openbsd-74-pkg.pub:
54: <td>
55: RWR/h7gubZ9M/O46RNy3PzLTPevOCK24LGCPca41IHMwSH4YuVA+jnWO
56: <tr><td>
57: openbsd-74-syspatch.pub:
58: <td>
59: RWQqty2voy8V8afR9/v2RzuNr7r4y9cKwljABN7Tytd7JcPdBjnXg0Ue
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.4.
74: For a comprehensive list, see the <a href="plus74.html">changelog</a> leading
75: to 7.4.
76:
77: <ul>
78:
79: <li>New/extended platforms:
80: <ul>
1.11 benno 81: <li>On arm64, implement branch target protection using the branch
82: target identification feature introduced in Armv8.5. This provides
83: "head-CFI" to complement the "tail-CFI" provided by retguard, and is
84: supported on Apple M2.
1.1 deraadt 85: </ul>
86:
87: <li>Various kernel improvements:
88: <ul>
1.21 schwarze 89: <li>On amd64, identify IBT capability in
90: <a href="https://man.openbsd.org/amd64/cpu.4">cpu(4)</a> dmesg lines.
1.26 kn 91: <li>On arm64, show BTI and SBSS features in
1.21 schwarze 92: <a href="https://man.openbsd.org/dmesg.8">dmesg(8)</a>.
93: <li>Map device tree read/write to unbreak root on
94: <a href="https://man.openbsd.org/softraid.4">softraid(4)</a>.
1.34 krw 95: <li>Correctly recognize <a href="https://man.openbsd.org/umass.4">umass(4)</a>.
96: floppy disk devices as floppy disks.
1.44 schwarze 97: <li>In <a href="https://man.openbsd.org/wscons.4">wscons(4)</a>,
98: catch up with box drawing characters which have
1.35 benno 99: been standardized in unicode after the original wscons code was
100: written and chose placeholder values.
1.1 deraadt 101: </ul>
102:
103: <li>SMP Improvements
104: <ul>
1.15 benno 105: <li>Protect struct clockintr(9)_queue with a mutex so that arbitrary CPUs
106: can manipulate clock interrupts established on arbitrary CPU queues.
1.28 benno 107: <li>Pushed kernel lock into nd6_resolve().
108: <li>Removed kernel locks from the ARP input path.
109: <li>Pulled MP-safe arprequest() out of kernel lock.
1.44 schwarze 110: <li>Unlock more parts of
111: <a href="https://man.openbsd.org/ioctl.2">ioctl(2)</a>
112: code in the network stack.
1.1 deraadt 113: </ul>
114:
115: <li>Direct Rendering Manager and graphics drivers
116: <ul>
1.18 jsg 117: <li>Updated <a href="https://man.openbsd.org/drm.4">drm(4)</a>
118: to Linux 6.1.55
119: <li>Don't change end marker in sg_set_page(). Caused bad memory accesses
120: when using page flipping on Alder Lake and Raptor Lake.
1.1 deraadt 121: </ul>
122:
123: <li>VMM/VMD improvements
124: <ul>
1.38 dv 125: <li>Allowed <a href="https://man.openbsd.org/vmm.4">vmm(4)</a> guests to
126: enable and use supervisor IBT.
1.39 jsg 127: <li>Suppressed AMD hardware p-state visibility to
1.38 dv 128: <a href="https://man.openbsd.org/vmm.4">vmm(4)</a> guests.
1.21 schwarze 129: <li>Avoid use of uninitialised memory in
130: <a href="https://man.openbsd.org/vmd.8">vmd(8)</a>.
1.15 benno 131: <li>Migrate vmd_vm.vm_ttyname to char array allowing a vmd_vm
1.30 dv 132: object to be transmitted over an ipc channel.
133: <li>Cleaned up file descriptor closing in
134: <a href="https://man.openbsd.org/vmd.8">vmd(8)</a> vmm process.
135: <li>Fixed vm send/receive, restoring device virtqueue addresses on
136: receive.
137: <li>Introduced <a href="https://man.openbsd.org/execvp.3">execvp(3)</a>
138: after fork for child vm processes.
1.32 schwarze 139: <li>No longer generate an error in
140: <a href="https://man.openbsd.org/vmd.8">vmd(8)</a> if
141: <a href="https://man.openbsd.org/vm.conf.5">vm.conf(5)</a> is absent.
1.30 dv 142: <li>Split <a href="https://man.openbsd.org/vmm.4">vmm(4)</a> into MI/MD
143: parts.
144: <li>Introduced multi-process model for
145: <a href="https://man.openbsd.org/vmd.8">vmd(8)</a> virtio block and
146: network devices.
147: <li>Allowed vm owners to override boot kernel when using
148: <a href="https://man.openbsd.org/vmctl.8">vmctl(8)</a> to start a
149: vm.
150: <li>Changed staggered start of vms to number of online CPUs.
151: <li>Fixed a segfault on vm creation.
152: <li>Switched to anonymous shared memory mappings for
153: <a href="https://man.openbsd.org/vmd.8">vmd(8)</a> vm processes,
154: introducing a new <a href="https://man.openbsd.org/vmm.4">vmm(4)</a>
155: <a href="https://man.openbsd.org/ioctl.2">ioctl(2)</a>.
156: <li>Relaxed absolute path requirements for
157: <a href="https://man.openbsd.org/vmd.8">vmd(8)</a> configtest mode (-n).
158: <li>Adjusted shutdown logic by vm id to function similarly as by name.
159: <li>Moved validation of local network prefixes for the internal
160: <a href="https://man.openbsd.org/vmd.8">vmd(8)</a> DHCP service into
161: the config parser.
162: <li>Fixed QCOW2 base images when used with the
163: <a href="https://man.openbsd.org/vmd.8">vmd(8)</a> multi-process device
164: model.
165: <li>Fixed setting verbose logging in child processes.
166: <li>Fixed a race condition related to the emulated i8259 interrupt controller
167: by ignoring interrupt masks on assert.
168: <li>Inlined pending interrupts in the
169: <a href="https://man.openbsd.org/vmm.4">vmm(4)</a>
170: <a href="https://man.openbsd.org/ioctl.2">ioctl(2)</a> for running the
171: vcpu, reducing vm latency.
172: <li>Added zero-copy, vectored io to the
173: <a href="https://man.openbsd.org/vmd.8">vmd(8)</a> virtio block device.
174: <li>Changed to logging <a href="https://man.openbsd.org/vmd.8">vmd(8)</a>
175: vm ids in the vcpu run loop on error and not the ids used by
176: <a href="https://man.openbsd.org/vmm.4">vmm(4)</a>.
177: <li>Fixed a vm pause deadlock.
178: <li>Changed <a href="https://man.openbsd.org/vmd.8">vmd(8)</a> logging format
179: to disambiguate vm and device process by names and indices.
180: <li>Fixed dynamically toggling verbose logging mode with
181: <a href="https://man.openbsd.org/vmctl.8">vmctl(8)</a>.
1.1 deraadt 182: </ul>
183:
184: <li>Various new userland features:
185: <ul>
1.20 schwarze 186: <li>New ISO C11 header <code><uchar.h></code> declaring the
187: types <code>char32_t</code> and <code>char16_t</code> and the
188: functions <a href="https://man.openbsd.org/c32rtomb.3">c32rtomb(3)</a>,
189: <a href="https://man.openbsd.org/mbrtoc32.3">mbrtoc32(3)</a>,
190: <a href="https://man.openbsd.org/c16rtomb.3">c16rtomb(3)</a>, and
191: <a href="https://man.openbsd.org/mbrtoc16.3">mbrtoc16(3)</a>.
1.24 otto 192: <li><a href="https://man.openbsd.org/malloc.3">malloc(3)</a> gains built-in leak detection.
1.11 benno 193: <li>Update zoneinfo to tzdata2023c.
1.34 krw 194: <li>Accept the <a href="https://man.openbsd.org/ucom.4">ucom(4)</a> fixed
195: name format as a valid format for the
196: <a href="https://man.openbsd.org/cu.1">cu(1)</a> -l option.
1.1 deraadt 197: </ul>
198:
199: <li>Various bugfixes and tweaks in userland:
200: <ul>
1.33 schwarze 201: <li>In <a href="https://man.openbsd.org/pax.1">pax(1)</a> and
202: <a href="https://man.openbsd.org/tar.1">tar(1)</a>,
203: speed up archive creation when many files are skipped.
1.21 schwarze 204: <li>Refactoring and documenting of
205: <a href="https://man.openbsd.org/fdisk.8">fdisk(8)</a> code,
206: to make it easier to maintain.
1.34 krw 207: <li><a href="https://man.openbsd.org/fdisk.8">fdisk(8)</a>
208: no longer adds extra blanks at the end of lines, eliminating
209: spurious line wrapping.
1.21 schwarze 210: <li>In <a href="https://man.openbsd.org/clang.1">clang(1)</a>,
211: allow out-of-class defaulting of comparison operators,
1.11 benno 212: by ways of backporting an upstream commit.
1.21 schwarze 213: <li>Improve the code of
214: <a href="https://man.openbsd.org/aucat.1">aucat(1)</a>
215: and fix spelling mistakes.
1.11 benno 216: <li>Improve the code quality of find(1).
1.21 schwarze 217: <li>Many changes in <a href="https://man.openbsd.org/mg.1">mg(1)</a>:
1.11 benno 218: <ul>
1.21 schwarze 219: <li>Improve the readability of the code.
220: <li>Fall back to /bin/sh if $SHELL is undefined.
221: <li>Fix parsing of tag files with duplicate entries.
1.11 benno 222: Instead of erroring out ignore duplicates. Fixes using
223: /var/db/libc.tags again.
1.21 schwarze 224: <li>Change tagvisit (aka visit-tag-table) to immediately
1.11 benno 225: load the tag file, and drop the lazy mechanics.
1.21 schwarze 226: <li>Remove useless global variable.
227: <li>Plug memory leak.
228: <li>Replace strncpy() with strlcpy().
1.11 benno 229: <li>Skip checking permissions of conffile with access(2).
1.35 benno 230: <li>Added a missing void.
1.11 benno 231: </ul>
1.16 jsg 232: <li>On aarch64 architectures improve how BTI control flow integrity
1.11 benno 233: enforcement is implemented in the executable entry point and enable
1.16 jsg 234: support for BTI control flow integrity checks in libc assembly
1.11 benno 235: functions.
1.28 benno 236: <li>In <a href="https://man.openbsd.org/ld.so.1">ld.so(1)</a> treat
237: symlinks in $ORIGIN determination the same way as other OS linkers do.
1.34 krw 238: <li>Fix a segfault when the
239: <a href="https://man.openbsd.org/disklabel.8">disklabel(8)</a>
240: simple editor encounters an incomplete partition line.
241: <li>Fix <a href="https://man.openbsd.org/disklabel.8">disklabel(8)</a>
242: handling of templates with partitions after a "N-* 100" entry.
243: <li>Enable <a href="https://man.openbsd.org/disklabel.8">disklabel(8)</a>
244: regress tests to work on sparc64.
245: <li>Fix <a href="https://man.openbsd.org/fdisk.8">fdisk(8)</a>
246: initialization of CHS/LBA fields in an MBR, allowing machines with
247: a BIOS that uses CHS to boot from disks >8G.
248: <li>Retire <a href="https://man.openbsd.org/disklabel.8">disklabel(8)</a>
249: -E expert mode.
250: <li>When displaying GPT partition attributes
251: <a href="https://man.openbsd.org/fdisk.8">fdisk(8)</a> prefixes
252: Microsoft partition attribute names with 'MS'.
253: <li>In the absence of the 'disktype' command line parameter
254: <a href="https://man.openbsd.org/disklabel.8">disklabel(8)</a>
255: always uses the current media type provided by the kernel.
256: <li>Ensure <a href="https://man.openbsd.org/fdisk.8">fdisk(8)</a> handles
257: the case where a GPT partition name is not a valid C string.
1.44 schwarze 258: <li>In <a href="https://man.openbsd.org/ld.so.1">ld.so(1)</a>,
259: avoid an overflow in the ELF SYSV ABI hash function.
1.1 deraadt 260: </ul>
261:
262: <li>Improved hardware support and driver bugfixes, including:
263: <ul>
1.20 schwarze 264: <li>New <a href="https://man.openbsd.org/sysctl.2">sysctl(2)</a>
265: nodes for battery management, <code>hw.battery.charge*</code>.
266: <li>Define fixed names for
267: <a href="https://man.openbsd.org/ucom.4">ucom(4)</a> USB serial
1.34 krw 268: ports, display them in attach messages and via the new
269: <code>hw.ucomnames</code>
270: <a href="https://man.openbsd.org/sysctl.2#HW_UCOMNAMES~2">sysctl(2)</a>.
1.28 benno 271: <li>Add support for the RK3568 32k RTC and other clocks in
1.21 schwarze 272: <a href="https://man.openbsd.org/rkclock.4">rkclock(4)</a>.
273: <li>In <a href="https://man.openbsd.org/dwpcie.4">dwpcie(4)</a>,
274: attach Baikal-M PCIe.
1.11 benno 275: <li>In openfirmware, implement regulator notifiers which get called
276: when the voltage/current for a regulator is changed or when the
277: regulator gets initialized when it attaches for the first time. The
278: latter makes it possible to register a notifier for a regulator that
279: hasn't attached yet.
1.21 schwarze 280: <li>Add <a href="https://man.openbsd.org/rkiovd.4">rkiovd(4)</a>,
281: a driver for the I/O voltage domains on Rockchip SoCs.
282: <li>Add support for TEMPerGold 3.4 temperature sensor to
283: <a href="https://man.openbsd.org/ugold.4">ugold(4)</a>.
1.15 benno 284: <li>Ignore duplicate ACPI lid transitions as they can happen on Dell
285: Precision 5510 systems.
286: <li>Make RK3568 PCIe controllers run at the maximum possible speed
287: by using dwpcie_link_config() when initializing.
288: <li>In the Universal Flash Storage Host Controller Interface
1.21 schwarze 289: (<a href="https://man.openbsd.org/ufshci.4">ufshci(4)</a>),
290: enable Force Unit Access (FUA) for write commands.
1.28 benno 291: <li>Make SATA (<a href="https://man.openbsd.org/ahci.4">ahci(4)</a>)
292: work on a Banana Pi BPI-R2 Pro.
293: <li>In <a href="https://man.openbsd.org/umcs.4">umcs(4)</a>, set
294: parity bits correctly.
1.35 benno 295: <li>Enabled the caps lock LED on modern Apple laptop keyboards.
1.44 schwarze 296: <li>Add support for Rockchip "cryptov2-rng" random number generator in
297: <a href="https://man.openbsd.org/rkrng.4">rkrng(4)</a>.
1.35 benno 298: <li>Fixed cpuperf on the Apple M2 Pro/Max.
1.36 jsg 299: <li>Add support for the PCIe controller found on Apple M2 Pro/Max SoCs.
1.40 jsg 300: <li>Add support for enabling both the USB2 and USB3 PHYs in
301: <a href="https://man.openbsd.org/xhci.4">xhci(4)</a> with device tree.
1.43 jsg 302: <li>Add <a href="https://man.openbsd.org/rkusbphy.4">rkusbphy(4)</a>,
303: a driver for the usb2phy on Rockchip SoCs.
1.1 deraadt 304: </ul>
305:
306: <li>New or improved network hardware support:
307: <ul>
1.21 schwarze 308: <li>Fix <a href="https://man.openbsd.org/dwqe.4">dwqe(4)</a>
309: on several boards that use
310: <a href="https://man.openbsd.org/rgephy.4">rgephy(4)</a> by configuring
1.11 benno 311: the RGMII interface before taking the PHY out of reset.
1.28 benno 312: <li>Improve <a href="https://man.openbsd.org/dwqe.4">dwqe(4)</a> and
313: determine PHY mode and pass the appropriate flags down to the PHY when
314: we attach it.
1.31 schwarze 315: <li>Report in <a href="https://man.openbsd.org/dmesg.8">dmesg(8)</a> on
316: which gmac the <a href="https://man.openbsd.org/dwqe.4">dwqe(4)</a>
317: driver is attaching to.
1.21 schwarze 318: <li>Document that Intel i226 adapters are supported by
319: <a href="https://man.openbsd.org/igc.4">igc(4)</a>.
320: <li>Add <a href="https://man.openbsd.org/ngbe.4">ngbe(4)</a>,
321: a driver for WangXun WX1860 PCI Express 10/100/1Gb Ethernet devices.
322: Also support it on amd64 install media.
323: <li>Add support for the RTL8211F-VD PHY in
324: <a href="https://man.openbsd.org/rgephy.4">rgephy(4)</a>.
1.15 benno 325: <li>In openfirmware, add glue for network interfaces to be found by
326: fdt/ofw node or phandle in order to support "switch chips" like the
327: marvell link street.
1.37 kevlo 328: <li>Add support for RTL8153D devices to
329: <a href="https://man.openbsd.org/ure.4">ure(4)</a>.
1.1 deraadt 330: </ul>
331:
332: <li>Added or improved wireless network drivers:
333: <ul>
1.21 schwarze 334: <li>Improve how Quectel LTE&5G devices attach to
335: <a href="https://man.openbsd.org/umb.4">umb(4)</a>.
1.1 deraadt 336: </ul>
337:
338: <li>IEEE 802.11 wireless stack improvements and bugfixes:
339: <ul>
1.27 stsp 340: <li> Add support for RTL8188FTV devices to the
341: <a href="https://man.openbsd.org/urtwn.4">urtwn(4)</a> driver.
342: <li>Attach Intel wireless devices with PCI product ID 0x51f1 to
343: <a href="https://man.openbsd.org/iwx.4">iwx(4)</a>.
344: <li>Fix a bug where <a href="https://man.openbsd.org/iwm.4">iwm(4)</a> and
345: <a href="https://man.openbsd.org/iwx.4">iwx(4)</a> background
346: scan tasks were added to the wrong task queue.
347: <li>Fix a firmware error that occurred when an
348: <a href="https://man.openbsd.org/iwx.4">iwx(4)</a> interface
349: was brought down.
350: <li>Fix <a href="https://man.openbsd.org/iwx.4">iwx(4)</a> firmware errors
351: triggered during background scans.
352: <li>Fix a crash in the <a href="https://man.openbsd.org/iwm.4">iwm(4)</a>
353: driver when userland attempts to inject frames via bpf in monitor mode.
1.1 deraadt 354: </ul>
355:
356: <li>Installer, upgrade and bootloader improvements:
357: <ul>
1.11 benno 358: <li>In the arm64 ramdisk, simplify apple firmware copying to make it
359: easier to add new firmware.
1.21 schwarze 360: <li>On armv7 and arm64, silence informational messages from
361: <a href="https://man.openbsd.org/dd.1">dd(1)</a>
1.11 benno 362: when zeroing a disk's first 1MB. Use character not block devices with
363: dd(1) like on other architectures.
364: <li>Refactor the code of md_installboot() on armv7 and arm64 to be
365: more in line with other architectures.
366: <li>Improve the dialogue of the installer without affecting
1.21 schwarze 367: <a href="https://man.openbsd.org/autoinstall.8">autoinstall(8)</a>
368: files.
369: <li>Enable <a href="https://man.openbsd.org/ufshci.4">ufshci(4)</a>
370: on arm64 install media.
1.15 benno 371: <li>On arm64 pine64 boards, stop writing pine64 firmware to disk.
1.21 schwarze 372: <li>Make root on
373: <a href="https://man.openbsd.org/softraid.4">softraid(4)</a>
374: installations boot out of the box on Raspberry Pis (arm64).
1.28 benno 375: <li>Support installations with root on
376: <a href="https://man.openbsd.org/softraid.4">softraid(4)</a>
377: on arm64, tested on Pinebook Pro, Raspberry Pi 4b, and SolidRun CEX7.
378: <li>When installing on encrypted
379: <a href="https://man.openbsd.org/softraid.4">softraid(4)</a>, determine
380: the disk for placing the root device automatically and make it default
381: as it is the only legit choice.
1.26 kn 382: <li>Add arm64 to the list of architectures with support for guided disk
383: encryption.
384: <li>Retain existing EFI System partitions on systems with APFSISC
385: partitions (arm64 Apple M1/M2) during installation with root on
386: <a href="https://man.openbsd.org/softraid.4">softraid(4)</a>.
1.34 krw 387: <li>When media has neither a GPT nor an MBR
1.45 ! fcambus 388: <a href="https://man.openbsd.org/installboot.8">installboot(8)</a>,
! 389: assume OpenBSD occupies the entire disk starting at sector 0.
1.35 benno 390: <li>Attempt to not overflow the ramdisk when extracting firmware on
391: Apple arm64 systems.
1.1 deraadt 392: </ul>
393:
394: <li>Security improvements:
395: <ul>
1.21 schwarze 396: <li>Change <a href="https://man.openbsd.org/malloc.3">malloc(3)</a>
1.24 otto 397: chunk sizes to be fine grained: chunk sizes are closer to the
398: requested allocation size.
1.21 schwarze 399: <li>In <a href="https://man.openbsd.org/malloc.3">malloc(3)</a>,
400: check all chunks in the delayed free list for write-after-free.
1.33 schwarze 401: <li>In <a href="https://man.openbsd.org/ksh.1">ksh(1)</a>, escape
402: control characters when displaying file name completions,
403: even when there are multiple matches.
404: <li>In <a href="https://man.openbsd.org/pax.1">pax(1)</a>,
405: <a href="https://man.openbsd.org/tar.1">tar(1)</a>, and
406: <a href="https://man.openbsd.org/cpio.1">cpio(1)</a> terminal
407: output, escape non-printable characters in messages that may
408: include file names.
1.1 deraadt 409: </ul>
410:
411: <li>Changes in the network stack:
412: <ul>
1.21 schwarze 413: <li>In <a href="https://man.openbsd.org/pf.4">pf(4)</a>,
414: when redirecting locally generated IP packets to
1.15 benno 415: userland with divert-packet rules, the packets may have no checksum
1.17 jsg 416: due to hardware offloading. Calculate the checksum in that case.
1.21 schwarze 417: <li>Sync the use of
418: <a href="https://man.openbsd.org/getuptime.9">getuptime(9)</a>
419: in the Neighbour Discovery (ND) code with ARP.
420: <li>In the IPv6 forwarding code, call
421: <a href="https://man.openbsd.org/getuptime.9">getuptime(9)</a>
422: once for consistency with IPv4.
1.28 benno 423: <li>ARP has a queue of packets that should be sent after name
424: resolution. Neighbor discovery (ND6) did only hold a single packet.
425: Unified the code, added a queue to ND6 and made the code MP safe.
1.31 schwarze 426: <li>Implement a new <a href="https://man.openbsd.org/sysctl.2">sysctl(2)</a>
427: <code>net.inet6.icmp6.nd6_queued</code> to show the number of packets
428: waiting for an ND6 response, analogous to ARP.
1.15 benno 429:
1.1 deraadt 430: </ul>
431:
432: <li>Routing daemons and other userland network improvements:
433: <ul>
434: <li>IPsec support was improved:
435: <ul>
1.21 schwarze 436: <li>In <a href="https://man.openbsd.org/isakmpd.8">isakmpd(8)</a>,
437: avoid a double free in ec_init() when using the OpenSSL API.
438: <li>In <a href="https://man.openbsd.org/iked.8">iked(8)</a>,
439: do not treat the return value of
440: <a href="https://man.openbsd.org/i2d_ECDSA_SIG.3"
441: >i2d_ECDSA_SIG(3)</a> as a length as it can be negative.
442: <li>Prepare <a href="https://man.openbsd.org/isakmpd.8">isakmpd(8)</a>
443: for a libcrypto library that is lacking binary field support.
444: <li>In <a href="https://man.openbsd.org/isakmpd.8">isakmpd(8)</a>,
445: avoid a potential crash by adding a missing NULL check.
1.11 benno 446:
1.1 deraadt 447: </ul>
448: <li>In <a href="https://man.openbsd.org/bgpd.8">bgpd(8)</a>,
449: <ul>
1.22 claudio 450: <li>Add first version of flowspec support. Right now only announcement
451: of flowspec rules is possible.
452: <li>Update ASPA support to follow draft-ietf-sidrops-aspa-verification-16
453: and draft-ietf-sidrops-aspa-profile-16 by making the ASPA lookup
454: tables AFI-agnostic.
455: <li>Rework UPDATE message generation to use the new ibuf API instead
456: of the hand-rolled solution before.
457: <li>Fix <code>ext-community * *</code> matching which also affects
1.29 jsg 458: filters removing all ext-communities.
1.22 claudio 459: <li>Improve and extend the bgpctl parser to handle commands like
460: <code>bgpctl show rib 192.0.2.0/24 detail</code>.
461: Also add various flowspec specific commands.
462: <li>Introduce a semaphore to protect intermittent RTR session data
463: from being published to the RDE.
464: <li>Limit the socket buffer size to 64k for all sessions.
465: Limiting the buffer size to a reasonable size ensures that not
466: too many updates end up queued in the TCP stack.
467: <li>Adjusted example <code>GRACEFUL_SHUTDOWN</code> filter rule in
468: the example config to only match on ebgp sessions.
1.1 deraadt 469: </ul>
470: <li><a href="https://man.openbsd.org/rpki-client.8">rpki-client(8)</a> saw some changes:
471: <ul>
1.23 claudio 472: <li>A 30%-50% performance improvement was achieved through libcrypto's
473: partial chains certificate validation feature. Already validated
474: non-inheriting CA certificates are now marked as trusted roots. This
475: way it can be ensured that a leaf's delegated resources are properly
476: covered, and at the same time most validation paths are
477: significantly shortened.
478: <li>Support for gzip and deflate HTTP Content-Encoding compression was
479: added. This allows web servers to send RRDP XML in compressed form,
480: saving around 50% of bandwidth.
481: <li>ASPA support was updated to draft-ietf-sidrops-aspa-profile-16.
482: As part of supporting AFI-agnostic ASPAs, the JSON syntax for
483: Validated ASPA Payloads changed in both filemode and normal output.
484: <li>In filemode (-f option) the applicable manifests are now shown as
485: part of the signature path.
486: <li>A new -P option was added to manually specify a moment in time
487: to use when parsing the validity window of certificates. Useful
488: for regression testing. Default is invocation time of rpki-client.
489: <li>The -A option will now also exclude ASPA data from the JSON output.
490: <li>The synchronisation protocol used to sync the repository is now
491: included in the OpenMetrics output.
492: <li>Improved accounting by tracking objects both by repo and tal.
493: <li>Check whether products listed on a manifest were issued by the same
494: authority as the manifest itself.
495: <li>File modification timestamps of objects retrieved via RRDP are now
496: deterministically set to prepare the on-disk cache for seamless
497: failovers from RRDP to RSYNC.
498: <li>Improved detection of RRDP session desynchronization: a check was
499: added to compare whether the delta hashes associated to previously
500: seen serials are different in newly fetched notification files.
501: <li>Improved handling of RRDP deltas in which objects are published,
502: withdrawn, and published again.
503: <li>Disallow X.509 v2 issuer and subject unique identifiers in certs.
504: RPKI CAs will never issue certificates with V2 unique identifiers.
505: <li>A check to disallow duplicate X.509 certificate extensions was
506: added.
507: <li>A check to disallow empty sets of IP Addresses or AS numbers in RFC
508: 3779 extensions was added.
509: <li>A warning is printed when the CMS signing-time attribute in a Signed
510: Object is missing.
511: <li>Warnings about unrecoverable message digest mismatches now include
512: the manifestNumber to aid debugging the cause.
513: <li>A check was added to disallow multiple RRDP publish elements for the
514: same file in RRDP snapshots. If this error condition is encountered,
515: the RRDP transfer is failed and the RP falls back to rsync.
516: <li>A compliance check for the proper X.509 Certificate version and CRL
517: version was added.
518: <li>A compliance check was added to ensure CMS Signed Objects contain
519: SignedData, in accordance to RFC 6488 section 3 checklist item 1a.
520: <li>Compliance checks were added for the version, KeyUsage, and
521: ExtendedKeyUsage of EE certificates in Manifest, TAK, and GBR Signed
522: Objects.
523: <li>A CMS signing-time value being after the X.509 notAfter timestamp
524: was downgraded from an error to a warning.
525: <li>A bug was fixed in the handling of CA certificates which inherit IP
526: resources.
527: <li>A compliance check was added to ensure the X.509 Subject only
528: contains commonName and optionally serialNumber.
529: <li>A compliance check was added to ensure the CMS SignedData and
530: SignerInfo versions to be 3.
531: <li>Fisher-Yates shuffle the order in which Manifest entries are
532: processed. Previously, work items were enqueued in the order the CA
533: intended them to appear on a Manifest. However, there is no obvious
534: benefit to third parties deciding the order in which things are
535: processed.
1.1 deraadt 536: </ul>
537:
1.41 op 538: <li>In <a href="https://man.openbsd.org/smtpd.8">smtpd(8)</a>,
539: <ul>
540: <li>Swapped link-auth filter arguments to avoid ambiguities with user
541: names containing a "|" character.
542: <li>Bumped <a href="https://man.openbsd.org/smtpd-filters.7">smtpd-filters(7)</a>
543: protocol version.
544: <li>Fixed potential truncation of filtered data lines.
545: <li>Allowed arguments on NOOP.
546: </ul>
547:
1.1 deraadt 548: <li>In <a href="https://man.openbsd.org/snmpd.8">snmpd(8)</a>,
549: <ul>
550: <li>...
551: </ul>
552:
1.21 schwarze 553: <li>Make <a href="https://man.openbsd.org/dig.1">dig(1)</a>
554: use less deprecated LibreSSL API.
555: <li>In <a href="https://man.openbsd.org/ypldap.8">ypldap(8)</a>,
556: reduce memory usage when updating larger directories.
557: <li>Remove stylistic differences between
558: <a href="https://man.openbsd.org/arp.8">arp(8)</a> and
559: <a href="https://man.openbsd.org/ndp.8">ndp(8)</a> delete()
1.15 benno 560: function. This makes it easier to spot real changes in behavior.
1.21 schwarze 561: <li>Make <a href="https://man.openbsd.org/ndp.8">ndp(8)</a>
562: not remove cloning routes when no neighbor entry is
1.15 benno 563: found with <code>ndp -d</code>.
1.1 deraadt 564: </ul>
565:
566: <li><a href="https://man.openbsd.org/tmux.1">tmux(1)</a> improvements and bug fixes:
567: <ul>
1.11 benno 568: <li>For passthrough, don't write to clients attached to different sessions.
569: <li>Add a format to show if there are unseen changes while in a mode.
1.1 deraadt 570: </ul>
571:
1.7 tb 572: <li>LibreSSL version 3.8.2
1.1 deraadt 573: <ul>
1.7 tb 574: <li>Security fixes
575: <ul>
576: <li>Disabled TLSv1.0 and TLSv1.1 in libssl so that they may no longer
577: be selected for use.
578: <li>BN_is_prime{,_fasttest}_ex() refuse to check numbers larger than
579: 32 kbits for primality. This mitigates various DoS vectors.
580: <li>Restricted the RFC 3779 code to IPv4 and IPv6. It was not written
581: to be able to deal with anything else.
582: </ul>
583: <li>Portable changes
584: <ul>
585: <li>Extended the endian.h compat header with hto* and *toh macros.
586: <li>Adapted more tests to the portable framework.
587: <li>Internal tools are now statically linked.
588: <li>Applications bundled as part of the LibreSSL package internally,
589: nc(1) and openssl(1), now are linked statically if static libraries
590: are built.
591: <li>Internal compatibility function symbols are no longer exported from
592: libcrypto. Instead, the libcompat library is linked to libcrypto,
593: libssl, and libtls separately. This increases size a little, but
594: ensures that the libraries are not exporting symbols to programs
595: unintentionally.
596: <li>Selective removal of CET implementation on platforms where it is
597: not supported (macOS).
598: <li>Integrated four more tests.
599: <li>Added Windows ARM64 architecture to tested platforms.
600: <li>Removed Solaris 10 support, fixed Solaris 11.
601: <li>libtls no longer links statically to libcrypto / libssl unless
602: <code>--enable-libtls-only</code> is specified at configure time.
603: <li>Improved Windows compatibility library, namely handling of files vs
604: sockets, correcting an exception when operating on a closed socket.
605: <li>CMake builds no longer hardcode <code>-O2</code> into the compiler flags,
606: instead using flags from the CMake build type instead.
607: <li>Set the CMake default build type to <code>Release</code>. This can be overridden
608: during configuration.
609: <li>Fixed broken ASM support with MinGW builds.
610: </ul>
1.1 deraadt 611: <li>New features
612: <ul>
1.7 tb 613: <li>Added support for truncated SHA-2 and for SHA-3.
614: <li>The BPSW primality test performs additional Miller-Rabin rounds
615: with random bases to reduce the likelihood of composites passing.
616: <li>Allow testing of ciphers and digests using badly aligned buffers
617: in openssl speed using -unalign.
618: <li>Ed25519 certificates are now supported in openssl(1) ca and req.
619: Prepared Ed25519 support in libssl.
620: <li>Add branch target information (BTI) support to amd64 and arm64
621: assembly.
1.1 deraadt 622: </ul>
623: <li>Compatibility changes
624: <ul>
1.7 tb 625: <li>Added a workaround for a poorly thought-out change in OpenSSL 3 that
626: broke privilege separation support in libtls.
627: <li>Moved libtls from ECDSA_METHOD to EC_KEY_METHOD.
628: <li>Removed GF2m support: BIGNUM no longer supports binary extension
629: field arithmetic and all binary elliptic builtin curves were removed.
630: <li>Removed dangerous, "fast" NIST prime and elliptic curve implementations.
631: In particular, EC_GFp_nist_method() is no longer available.
632: <li>Removed most public symbols that were deprecated in OpenSSL 0.9.8.
633: <li>Removed the public X9.31 API (RSA_X931_PADDING is still available).
634: <li>Removed Cipher Text Stealing mode.
635: <li>Removed ENGINE support, including ECDH_METHOD and ECDSA_METHOD.
636: <li>Removed COMP, DSO, dynamic loading of conf modules and support for
637: custom ex_data and error stacks.
638: <li>Removed proxy certificate (RFC 3820) support.
639: <li>Removed SXNET and NETSCAPE_CERT_SEQUENCE support including the
1.8 tb 640: openssl(1) nseq command.
1.7 tb 641: <li>ENGINE support was removed and OPENSSL_NO_ENGINE is set. In spite
642: of this, some stub functions are provided to avoid patching some
643: applications that do not honor OPENSSL_NO_ENGINE.
644: <li>The POLICY_TREE and its related structures and API were removed.
645: <li>In X509_VERIFY_PARAM_inherit() copy hostflags independently of the
646: host list.
647: <li>Made CRYPTO_get_ex_new_index() not return 0 to allow applications
648: to use *_{get,set}_app_data() and *_{get,set}_ex_data() alongside
649: each other.
650: <li>X509_NAME_get_text_by_{NID,OBJ}() now only succeed if they contain
651: valid UTF-8 without embedded NUL.
652: <li>The explicitText user notice uses UTF8String instead of VisibleString
653: to reduce the risk of emitting certificates with invalid DER-encoding.
654: <li>Initial fixes for RSA-PSS support to make the TLSv1.3 stack more
655: compliant with RFC 8446.
656: <li>Fixed EVP_CIPHER_CTX_iv_length() to return what was set with
657: EVP_CTRL_AEAD_SET_IVLEN or one of its aliases.
1.1 deraadt 658: </ul>
1.7 tb 659: <li>Internal improvements
1.1 deraadt 660: <ul>
1.7 tb 661: <li>Improved sieve of Eratosthenes script used for generating a table
662: of small primes.
663: <li>Removed incomplete and dangerous BN_RECURSION code.
664: <li>Imported RFC 5280 policy checking code from BoringSSL and used it
665: to replace the old exponential time code.
666: <li>Converted more of libcrypto to use CBB/CBS.
667: <li>Started cleaning up and rewriting SHA internals.
668: <li>Reduced the dependency of hash implementations on many layers of
669: macros. This results in significant speedups since modern compilers
670: are now less confused.
671: <li>Improved BIGNUM internals and performance.
672: <li>Significantly simplified the BN_BLINDING internals used in RSA.
673: <li>Made BN_num_bits() independent of bn->top.
674: <li>Rewrote and simplified bn_sqr().
675: <li>Significantly improved Montgomery multiplication performance.
676: <li>Rewrote and improved BN_exp() and BN_copy().
677: <li>Changed ASN1_item_sign_ctx() and ASN1_item_verify() to work with
678: Ed25519 and fixed a few bugs in there.
679: <li>Lots of cleanup for DH, DSA, EC, RSA internals. Plugged numerous
680: memory leaks, fixed logic errors and inconsistencies.
681: <li>Cleaned up and simplified various ECDH and ECDSA internals.
682: <li>Removed EC_GROUP precomp machinery.
683: <li>Fixed various issues with EVP_PKEY_CTX_{new,dup}().
684: <li>Rewrote OBJ_find_sigid_algs() and OBJ_find_sigid_by_algs().
685: <li>Improved X.509 certificate version checks.
686: <li>Ensure no X.509v3 extensions appear more than once in certificates.
687: <li>Replaced ASN1_bn_print with a cleaner internal implementation.
688: <li>Fix OPENSSL_cpuid_setup() invocations on arm/aarch64.
689: <li>Improved checks for commonName in libtls.
690: <li>Fixed error check for X509_get_ext_d2i() failure in libtls.
691: <li>Removed code guarded by #ifdef ZLIB.
692: <li>Plug a potential memory leak in ASN1_TIME_normalize().
693: <li>Fixed a use of uninitialized in i2r_IPAddrBlocks().
694: <li>Rewrote CMS_SignerInfo_{sign,verify}().
1.1 deraadt 695: </ul>
1.7 tb 696: <li>Bug fixes
1.1 deraadt 697: <ul>
1.7 tb 698: <li>Correctly handle negative input to various BIGNUM functions.
699: <li>Ensure ERR_load_ERR_strings() does not set errno unexpectedly.
700: <li>Fix error checking of i2d_ECDSA_SIG() in ossl_ecdsa_sign().
1.8 tb 701: <li>Fixed aliasing issue in BN_mod_inverse(). Disallowed aliasing of result
702: and modulus in various BN_mod_* functions.
1.7 tb 703: <li>Fixed detection of extended operations (XOP) on AMD hardware.
704: <li>Ensure Montgomery exponentiation is used for the initial RSA blinding.
705: <li>Policy is always checked in X509 validation. Critical policy extensions
706: are no longer silently ignored.
707: <li>Fixed error handling in tls_check_common_name().
708: <li>Add missing pointer invalidation in SSL_free().
709: <li>Fixed X509err() and X509V3err() and their internal versions.
710: <li>Ensure that OBJ_obj2txt() always returns a C string again.
711: <li>Made EVP_PKEY_set1_hkdf_key() fail on a NULL key.
712: <li>On socket errors in the poll loop, netcat could issue system calls
713: on invalidated file descriptors.
714: <li>Allow IP addresses to be specified in a URI.
715: <li>Fixed a copy-paste error in ASN1_TIME_compare() that could lead
716: to two UTCTimes or two GeneralizedTimes incorrectly being compared
717: as equal.
718: </ul>
719: <li>Documentation improvements
720: <ul>
721: <li>Improved documentation of BIO_ctrl(3), BIO_set_info_callback(3),
722: BIO_get_info_callback(3), BIO_method_type(3), and BIO_method_name(3).
723: <li>Marked BIO_CB_return(), BIO_cb_pre(), and BIO_cb_post() as intentionally
724: undocumented.
725: <li>Made it very explicit that the verify callback should not be used.
726: <li>Called out that the CRL lastUpdate is standardized as thisUpdate.
727: <li>Documented the RFC 3779 API and its shortcomings.
728: </ul>
729: <li>Testing and Proactive Security
730: <ul>
731: <li>Significantly improved test coverage of BN_mod_sqrt() and GCD.
732: <li>As always, new test coverage is added as bugs are fixed and subsystems
733: are cleaned up.
1.1 deraadt 734: </ul>
735: </ul>
736:
1.13 dtucker 737: <li>OpenSSH 9.5 and OpenSSH 9.4
1.1 deraadt 738: <ul>
1.12 dtucker 739: <li>Potentially incompatible changes
1.1 deraadt 740: <ul>
1.12 dtucker 741: <li><a href="https://man.openbsd.org/ssh-keygen.1">ssh-keygen(1)</a>:
742: generate Ed25519 keys by default. Ed25519 public keys
743: are very convenient due to their small size. Ed25519 keys are
744: specified in RFC 8709 and OpenSSH has supported them since version 6.5
745: (January 2014).
746: <li><a href="https://man.openbsd.org/sshd.8">sshd(8)</a>:
747: the Subsystem directive now accurately preserves quoting of
748: subsystem commands and arguments. This may change behaviour for exotic
749: configurations, but the most common subsystem configuration
750: (sftp-server) is unlikely to be affected.
1.13 dtucker 751: <li><a href="https://man.openbsd.org/ssh-agent.1">ssh-agent(1)</a>:
752: PKCS#11 modules must now be specified by their full
753: paths. Previously dlopen(3) could search for them in system
754: library directories.
1.1 deraadt 755: </ul>
1.12 dtucker 756: <li>New features
1.1 deraadt 757: <ul>
1.12 dtucker 758: <li><a href="https://man.openbsd.org/ssh.1">ssh(1)</a>:
759: add keystroke timing obfuscation to the client. This attempts
760: to hide inter-keystroke timings by sending interactive traffic at
761: fixed intervals (default: every 20ms) when there is only a small
762: amount of data being sent. It also sends fake "chaff" keystrokes for
763: a random interval after the last real keystroke. These are
764: controlled by a new ssh_config ObscureKeystrokeTiming keyword.
765: <li><a href="https://man.openbsd.org/ssh.1">ssh(1)</a>,
766: <a href="https://man.openbsd.org/sshd.8">sshd(8)</a>:
767: Introduce a transport-level ping facility. This adds
768: a pair of SSH transport protocol messages SSH2_MSG_PING/PONG to
769: implement a ping capability. These messages use numbers in the "local
770: extensions" number space and are advertised using a "ping@openssh.com"
771: ext-info message with a string version number of "0".
1.13 dtucker 772: <li><a href="https://man.openbsd.org/sshd.8">sshd(8)</a>:
773: allow override of Subsystem directives in sshd Match blocks.
774: <li><a href="https://man.openbsd.org/ssh.1">ssh(1)</a>:
775: allow forwarding Unix Domain sockets via ssh -W.
776: <li><a href="https://man.openbsd.org/ssh.1">ssh(1)</a>:
777: add support for configuration tags to ssh(1).
778: This adds a ssh_config(5) "Tag" directive and corresponding
779: "Match tag" predicate that may be used to select blocks of
780: configuration similar to the pf.conf(5) keywords of the same
781: name.
782: <li><a href="https://man.openbsd.org/ssh.1">ssh(1)</a>:
783: add a "match localnetwork" predicate. This allows matching
784: on the addresses of available network interfaces and may be used to
785: vary the effective client configuration based on network location.
786: <li><a href="https://man.openbsd.org/ssh.1">ssh(1)</a>,
787: <a href="https://man.openbsd.org/sshd.8">sshd(8)</a>,
788: <a href="https://man.openbsd.org/ssh-keygen.1">ssh-keygen(1)</a>:
789: infrastructure support for KRL
790: extensions. This defines wire formats for optional KRL extensions
791: and implements parsing of the new submessages. No actual extensions
792: are supported at this point.
793: <li><a href="https://man.openbsd.org/sshd.8">sshd(8)</a>:
794: AuthorizedPrincipalsCommand and AuthorizedKeysCommand now
795: accept two additional %-expansion sequences: %D which expands to
796: the routing domain of the connected session and %C which expands
797: to the addresses and port numbers for the source and destination
798: of the connection.
799: <li><a href="https://man.openbsd.org/ssh-keygen.1">ssh-keygen(1)</a>:
800: increase the default work factor (rounds) for the
801: bcrypt KDF used to derive symmetric encryption keys for passphrase
802: protected key files by 50%.
1.1 deraadt 803: </ul>
804: <li>Bugfixes
805: <ul>
1.12 dtucker 806: <li><a href="https://man.openbsd.org/scp.1">scp(1)</a>:
807: fix scp in SFTP mode recursive upload and download of
808: directories that contain symlinks to other directories. In scp mode,
809: the links would be followed, but in SFTP mode they were not.
810: <li><a href="https://man.openbsd.org/ssh-keygen.1">ssh-keygen(1)</a>:
811: handle cr+lf (instead of just cr) line endings in
812: sshsig signature files.
813: <li><a href="https://man.openbsd.org/ssh.1">ssh(1)</a>:
814: interactive mode for ControlPersist sessions if they
815: originally requested a tty.
816: <li><a href="https://man.openbsd.org/sshd.8">sshd(8)</a>:
817: make PerSourceMaxStartups first-match-wins
818: <li><a href="https://man.openbsd.org/sshd.8">sshd(8)</a>:
819: limit artificial login delay to a reasonable maximum (5s)
820: and don't delay at all for the "none" authentication mechanism.
1.13 dtucker 821: <li><a href="https://man.openbsd.org/sshd.8">sshd(8)</a>:
822: Log errors in kex_exchange_identification() with level
1.12 dtucker 823: verbose instead of error to reduce preauth log spam. All of those
824: get logged with a more generic error message by sshpkt_fatal().
825: <li><a href="https://man.openbsd.org/sshd.8">sshd(8)</a>:
826: correct math for ClientAliveInterval that caused the probes
827: to be sent less frequently than configured.
1.13 dtucker 828: <li><a href="https://man.openbsd.org/ssh-agent.1">ssh-agent(1)</a>:
829: improve isolation between loaded PKCS#11 modules
830: by running separate ssh-pkcs11-helpers for each loaded provider.
831: <li><a href="https://man.openbsd.org/ssh.1">ssh(1)</a>:
832: make -f (fork after authentication) work correctly with
833: multiplexed connections, including ControlPersist.
834: <li><a href="https://man.openbsd.org/ssh.1">ssh(1)</a>:
835: make ConnectTimeout apply to multiplexing sockets and not
836: just to network connections.
837: <li><a href="https://man.openbsd.org/ssh-agent.1">ssh-agent(1)</a>,
838: <a href="https://man.openbsd.org/ssh.1">ssh(1)</a>:
839: improve defences against invalid PKCS#11
840: modules being loaded by checking that the requested module
841: contains the required symbol before loading it.
842: <li><a href="https://man.openbsd.org/sshd.8">sshd(8)</a>:
843: fix AuthorizedPrincipalsCommand when AuthorizedKeysCommand
844: appears before it in sshd_config. Since OpenSSH 8.7 the
845: AuthorizedPrincipalsCommand directive was incorrectly ignored in
846: this situation.
847: <li><a href="https://man.openbsd.org/sshd.8">sshd(8)</a>,
848: <a href="https://man.openbsd.org/ssh.1">ssh(1)</a>,
849: <a href="https://man.openbsd.org/ssh-keygen.1">ssh-keygen(1)</a>:
1.16 jsg 850: remove vestigial support for KRL
1.13 dtucker 851: signatures When the KRL format was originally defined, it included
852: support for signing of KRL objects. However, the code to sign KRLs
1.16 jsg 853: and verify KRL signatures was never completed in OpenSSH. This
1.13 dtucker 854: release removes the partially-implemented code to verify KRLs.
855: All OpenSSH tools now ignore KRL_SECTION_SIGNATURE sections in
856: KRL files.
857: <li>All: fix a number of memory leaks and unreachable/harmless integer
858: overflows.
859: <li><a href="https://man.openbsd.org/ssh-agent.1">ssh-agent(1)</a>,
860: <a href="https://man.openbsd.org/ssh.1">ssh(1)</a>:
861: don't truncate strings logged from PKCS#11 modules
862: <li><a href="https://man.openbsd.org/sshd.8">sshd(8)</a>,
863: <a href="https://man.openbsd.org/ssh.1">ssh(1)</a>:
864: better validate CASignatureAlgorithms in
865: ssh_config and sshd_config. Previously this directive would accept
866: certificate algorithm names, but these were unusable in practice as
867: OpenSSH does not support CA chains.
868: <li><a href="https://man.openbsd.org/ssh.1">ssh(1)</a>:
869: make <code>ssh -Q CASignatureAlgorithms</code> only list signature
870: algorithms that are valid for CA signing. Previous behaviour was
871: to list all signing algorithms, including certificate algorithms.
872: <li><a href="https://man.openbsd.org/ssh-keyscan.1">ssh-keyscan(1)</a>:
873: gracefully handle systems where rlimits or the
874: maximum number of open files is larger than INT_MAX
875: <li><a href="https://man.openbsd.org/ssh-keygen.1">ssh-keygen(1)</a>:
876: fix "no comment" not showing on when running
877: <code>ssh-keygen -l</code> on multiple keys where one has a comment
878: and other following keys do not.
879: <li><a href="https://man.openbsd.org/scp.1">scp(1)</a>,
1.14 dtucker 880: <a href="https://man.openbsd.org/sftp.1">sftp(1)</a>:
1.13 dtucker 881: adjust ftruncate() logic to handle servers that
882: reorder requests. Previously, if the server reordered requests then
883: the resultant file would be erroneously truncated.
884: <li><a href="https://man.openbsd.org/ssh.1">ssh(1)</a>:
885: don't incorrectly disable hostname canonicalization when
1.16 jsg 886: CanonicalizeHostname=yes and ProxyJump was explicitly set to
1.13 dtucker 887: "none".
888: <li><a href="https://man.openbsd.org/scp.1">scp(1)</a>:
889: when copying local to remote, check that the source file
890: exists before opening an SFTP connection to the server.
1.1 deraadt 891: </ul>
892: </ul>
893:
894: <li>Ports and packages:
895: <p>Many pre-built packages for each architecture:
896: <!-- number of FTP packages minus SHA256, SHA256.sig, index.txt -->
897: <ul style="column-count: 3">
1.25 naddy 898: <li>aarch64: 11508
899: <li>amd64: 11845
1.1 deraadt 900: <li>arm:
1.25 naddy 901: <li>i386: 10603
1.1 deraadt 902: <li>mips64:
903: <li>powerpc:
904: <li>powerpc64:
905: <li>riscv64:
906: <li>sparc64:
907: </ul>
908:
909: <p>Some highlights:
1.7 tb 910: <ul style="column-count: 3"><!-- XXX all need to be checked/updated 2023-03-04 -->
1.6 matthieu 911: <li>Asterisk 16.30.1, 18.19.0 and 20.4.0
1.5 matthieu 912: <li>Audacity 3.3.3
913: <li>CMake 3.27.5
1.10 matthieu 914: <li>Chromium 117.0.5838.149
1.5 matthieu 915: <li>Emacs 29.1
916: <li>FFmpeg 4.4.4
1.1 deraadt 917: <li>GCC 8.4.0 and 11.2.0
1.5 matthieu 918: <li>GHC 9.2.7
919: <li>GNOME 44
920: <li>Go 1.21.1
921: <li>JDK 8u382, 11.0.20 and 17.0.8
922: <li>KDE Applications 23.08.0
1.1 deraadt 923: <li>KDE Frameworks 5.98.0
1.5 matthieu 924: <li>Krita 5.1.5
925: <li>LLVM/Clang 13.0.0 and 16.0.6
926: <li>LibreOffice 7.6.2.1
927: <li>Lua 5.1.5, 5.2.4, 5.3.6 and 5.4.6
928: <li>MariaDB 10.9.6
929: <li>Mono 6.12.0.199
930: <li>Mozilla Firefox 118.0.1 and ESR 115.3.1
931: <li>Mozilla Thunderbird 115.3.1
932: <li>Mutt 2.2.12 and NeoMutt 20230517
933: <li>Node.js 18.18.0
1.1 deraadt 934: <li>OCaml 4.12.1
1.5 matthieu 935: <li>OpenLDAP 2.6.6
936: <li>PHP 7.4.33, 8.0.30, 8.1.24 and 8.2.11
937: <li>Postfix 3.7.3
938: <li>PostgreSQL 15.4
939: <li>Python 2.7.18, 3.9.18, 3.10.13 and 3.11.5
940: <li>Qt 5.15.10 and 6.5.2
941: <li>R 4.2.3
942: <li>Ruby 3.0.6, 3.1.4 and 3.2.2
943: <li>Rust 1.72.1
1.9 lteo 944: <li>SQLite 3.42.0
1.5 matthieu 945: <li>Shotcut 23.07.29
946: <li>Sudo 1.9.14.2
947: <li>Suricata 6.0.12
948: <li>Tcl/Tk 8.5.19 and 8.6.13
949: <li>TeX Live 2022
950: <li>Vim 9.0.1897 and Neovim 0.9.1
951: <li>Xfce 4.18
1.1 deraadt 952: </ul>
953: <p>
954:
955: <li>As usual, steady improvements in manual pages and other documentation.
956:
957: <li>The system includes the following major components from outside suppliers:
1.7 tb 958: <ul><!-- XXX all need to be checked/updated 2023-03-04 -->
1.5 matthieu 959: <li>Xenocara (based on X.Org 7.7 with xserver 21.1.8 + patches,
960: freetype 2.13.0, fontconfig 2.14.2, Mesa 22.3.7, xterm 378,
1.1 deraadt 961: xkeyboard-config 2.20, fonttosfnt 1.2.2 and more)
962: <li>LLVM/Clang 13.0.0 (+ patches)
963: <li>GCC 4.2.1 (+ patches) and 3.3.6 (+ patches)
1.5 matthieu 964: <li>Perl 5.36.1 (+ patches)
965: <li>NSD 4.7.0
966: <li>Unbound 1.18.0
1.1 deraadt 967: <li>Ncurses 5.7
968: <li>Binutils 2.17 (+ patches)
969: <li>Gdb 6.3 (+ patches)
1.5 matthieu 970: <li>Awk September 12, 2023
971: <li>Expat 2.5.0
1.1 deraadt 972: </ul>
973:
974: </ul>
975: </section>
976:
977: <hr>
978:
979: <section id=install>
980: <h3>How to install</h3>
981: <p>
982: Please refer to the following files on the mirror site for
983: extensive details on how to install OpenBSD 7.4 on your machine:
984:
985: <ul>
986: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/7.4/alpha/INSTALL.alpha">
1.2 jsg 987: .../OpenBSD/7.4/alpha/INSTALL.alpha</a>
1.1 deraadt 988: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/7.4/amd64/INSTALL.amd64">
1.2 jsg 989: .../OpenBSD/7.4/amd64/INSTALL.amd64</a>
1.1 deraadt 990: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/7.4/arm64/INSTALL.arm64">
1.2 jsg 991: .../OpenBSD/7.4/arm64/INSTALL.arm64</a>
1.1 deraadt 992: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/7.4/armv7/INSTALL.armv7">
1.2 jsg 993: .../OpenBSD/7.4/armv7/INSTALL.armv7</a>
1.1 deraadt 994: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/7.4/hppa/INSTALL.hppa">
1.2 jsg 995: .../OpenBSD/7.4/hppa/INSTALL.hppa</a>
1.1 deraadt 996: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/7.4/i386/INSTALL.i386">
1.2 jsg 997: .../OpenBSD/7.4/i386/INSTALL.i386</a>
1.1 deraadt 998: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/7.4/landisk/INSTALL.landisk">
1.2 jsg 999: .../OpenBSD/7.4/landisk/INSTALL.landisk</a>
1.1 deraadt 1000: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/7.4/loongson/INSTALL.loongson">
1.2 jsg 1001: .../OpenBSD/7.4/loongson/INSTALL.loongson</a>
1.1 deraadt 1002: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/7.4/luna88k/INSTALL.luna88k">
1.2 jsg 1003: .../OpenBSD/7.4/luna88k/INSTALL.luna88k</a>
1.1 deraadt 1004: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/7.4/macppc/INSTALL.macppc">
1.2 jsg 1005: .../OpenBSD/7.4/macppc/INSTALL.macppc</a>
1.1 deraadt 1006: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/7.4/octeon/INSTALL.octeon">
1.2 jsg 1007: .../OpenBSD/7.4/octeon/INSTALL.octeon</a>
1.1 deraadt 1008: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/7.4/powerpc64/INSTALL.powerpc64">
1.2 jsg 1009: .../OpenBSD/7.4/powerpc64/INSTALL.powerpc64</a>
1.1 deraadt 1010: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/7.4/riscv64/INSTALL.riscv64">
1.2 jsg 1011: .../OpenBSD/7.4/riscv64/INSTALL.riscv64</a>
1.1 deraadt 1012: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/7.4/sparc64/INSTALL.sparc64">
1.2 jsg 1013: .../OpenBSD/7.4/sparc64/INSTALL.sparc64</a>
1.1 deraadt 1014: </ul>
1015: </section>
1016:
1017: <hr>
1018:
1019: <section id=quickinstall>
1020: <p>
1021: Quick installer information for people familiar with OpenBSD, and the use of
1022: the "<a href="https://man.openbsd.org/disklabel.8">disklabel</a> -E" command.
1023: If you are at all confused when installing OpenBSD, read the relevant
1024: INSTALL.* file as listed above!
1025:
1026: <h3>OpenBSD/alpha:</h3>
1027:
1028: <p>
1029: If your machine can boot from CD, you can write <i>install74.iso</i> or
1030: <i>cd74.iso</i> to a CD and boot from it.
1031: Refer to INSTALL.alpha for more details.
1032:
1033: <h3>OpenBSD/amd64:</h3>
1034:
1035: <p>
1036: If your machine can boot from CD, you can write <i>install74.iso</i> or
1037: <i>cd74.iso</i> to a CD and boot from it.
1038: You may need to adjust your BIOS options first.
1039:
1040: <p>
1041: If your machine can boot from USB, you can write <i>install74.img</i> or
1042: <i>miniroot74.img</i> to a USB stick and boot from it.
1043:
1044: <p>
1045: If you can't boot from a CD, floppy disk, or USB,
1046: you can install across the network using PXE as described in the included
1047: INSTALL.amd64 document.
1048:
1049: <p>
1050: If you are planning to dual boot OpenBSD with another OS, you will need to
1051: read INSTALL.amd64.
1052:
1053: <h3>OpenBSD/arm64:</h3>
1054:
1055: <p>
1056: Write <i>install74.img</i> or <i>miniroot74.img</i> to a disk and boot from it
1057: after connecting to the serial console. Refer to INSTALL.arm64 for more
1058: details.
1059:
1060: <h3>OpenBSD/armv7:</h3>
1061:
1062: <p>
1063: Write a system specific miniroot to an SD card and boot from it after connecting
1064: to the serial console. Refer to INSTALL.armv7 for more details.
1065:
1066: <h3>OpenBSD/hppa:</h3>
1067:
1068: <p>
1069: Boot over the network by following the instructions in INSTALL.hppa or the
1070: <a href="hppa.html#install">hppa platform page</a>.
1071:
1072: <h3>OpenBSD/i386:</h3>
1073:
1074: <p>
1075: If your machine can boot from CD, you can write <i>install74.iso</i> or
1076: <i>cd74.iso</i> to a CD and boot from it.
1077: You may need to adjust your BIOS options first.
1078:
1079: <p>
1080: If your machine can boot from USB, you can write <i>install74.img</i> or
1081: <i>miniroot74.img</i> to a USB stick and boot from it.
1082:
1083: <p>
1084: If you can't boot from a CD, floppy disk, or USB,
1085: you can install across the network using PXE as described in
1086: the included INSTALL.i386 document.
1087:
1088: <p>
1089: If you are planning on dual booting OpenBSD with another OS, you will need to
1090: read INSTALL.i386.
1091:
1092: <h3>OpenBSD/landisk:</h3>
1093:
1094: <p>
1095: Write <i>miniroot74.img</i> to the start of the CF
1096: or disk, and boot normally.
1097:
1098: <h3>OpenBSD/loongson:</h3>
1099:
1100: <p>
1101: Write <i>miniroot74.img</i> to a USB stick and boot bsd.rd from it
1102: or boot bsd.rd via tftp.
1103: Refer to the instructions in INSTALL.loongson for more details.
1104:
1105: <h3>OpenBSD/luna88k:</h3>
1106:
1107: <p>
1108: Copy 'boot' and 'bsd.rd' to a Mach or UniOS partition, and boot the bootloader
1109: from the PROM, and then bsd.rd from the bootloader.
1110: Refer to the instructions in INSTALL.luna88k for more details.
1111:
1112: <h3>OpenBSD/macppc:</h3>
1113:
1114: <p>
1115: Burn the image from a mirror site to a CDROM, and power on your machine
1116: while holding down the <i>C</i> key until the display turns on and
1117: shows <i>OpenBSD/macppc boot</i>.
1118:
1119: <p>
1120: Alternatively, at the Open Firmware prompt, enter <i>boot cd:,ofwboot
1.2 jsg 1121: /7.4/macppc/bsd.rd</i>
1.1 deraadt 1122:
1123: <h3>OpenBSD/octeon:</h3>
1124:
1125: <p>
1126: After connecting a serial port, boot bsd.rd over the network via DHCP/tftp.
1127: Refer to the instructions in INSTALL.octeon for more details.
1128:
1129: <h3>OpenBSD/powerpc64:</h3>
1130:
1131: <p>
1132: To install, write <i>install74.img</i> or <i>miniroot74.img</i> to a
1133: USB stick, plug it into the machine and choose the <i>OpenBSD
1134: install</i> menu item in Petitboot.
1135: Refer to the instructions in INSTALL.powerpc64 for more details.
1136:
1137: <h3>OpenBSD/riscv64:</h3>
1138:
1139: <p>
1140: To install, write <i>install74.img</i> or <i>miniroot74.img</i> to a
1141: USB stick, and boot with that drive plugged in.
1142: Make sure you also have the microSD card plugged in that shipped with the
1143: HiFive Unmatched board.
1144: Refer to the instructions in INSTALL.riscv64 for more details.
1145:
1146: <h3>OpenBSD/sparc64:</h3>
1147:
1148: <p>
1149: Burn the image from a mirror site to a CDROM, boot from it, and type
1150: <i>boot cdrom</i>.
1151:
1152: <p>
1153: If this doesn't work, or if you don't have a CDROM drive, you can write
1154: <i>floppy74.img</i> or <i>floppyB74.img</i>
1155: (depending on your machine) to a floppy and boot it with <i>boot
1156: floppy</i>. Refer to INSTALL.sparc64 for details.
1157:
1158: <p>
1159: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install
1160: will most likely fail.
1161:
1162: <p>
1163: You can also write <i>miniroot74.img</i> to the swap partition on
1164: the disk and boot with <i>boot disk:b</i>.
1165:
1166: <p>
1167: If nothing works, you can boot over the network as described in INSTALL.sparc64.
1168: </section>
1169:
1170: <hr>
1171:
1172: <section id=upgrade>
1173: <h3>How to upgrade</h3>
1174: <p>
1.3 jsg 1175: If you already have an OpenBSD 7.3 system, and do not want to reinstall,
1.1 deraadt 1176: upgrade instructions and advice can be found in the
1177: <a href="faq/upgrade74.html">Upgrade Guide</a>.
1178: </section>
1179:
1180: <hr>
1181:
1182: <section id=sourcecode>
1183: <h3>Notes about the source code</h3>
1184: <p>
1185: <code>src.tar.gz</code> contains a source archive starting at <code>/usr/src</code>.
1186: This file contains everything you need except for the kernel sources,
1187: which are in a separate archive.
1188: To extract:
1189: <blockquote><pre>
1190: # <kbd>mkdir -p /usr/src</kbd>
1191: # <kbd>cd /usr/src</kbd>
1192: # <kbd>tar xvfz /tmp/src.tar.gz</kbd>
1193: </pre></blockquote>
1194: <p>
1195: <code>sys.tar.gz</code> contains a source archive starting at <code>/usr/src/sys</code>.
1196: This file contains all the kernel sources you need to rebuild kernels.
1197: To extract:
1198: <blockquote><pre>
1199: # <kbd>mkdir -p /usr/src/sys</kbd>
1200: # <kbd>cd /usr/src</kbd>
1201: # <kbd>tar xvfz /tmp/sys.tar.gz</kbd>
1202: </pre></blockquote>
1203: <p>
1204: Both of these trees are a regular CVS checkout. Using these trees it
1205: is possible to get a head-start on using the anoncvs servers as
1206: described <a href="anoncvs.html">here</a>.
1207: Using these files
1208: results in a much faster initial CVS update than you could expect from
1209: a fresh checkout of the full OpenBSD source tree.
1210: </section>
1211:
1212: <hr>
1213:
1214: <section id=ports>
1215: <h3>Ports Tree</h3>
1216: <p>
1217: A ports tree archive is also provided. To extract:
1218: <blockquote><pre>
1219: # <kbd>cd /usr</kbd>
1220: # <kbd>tar xvfz /tmp/ports.tar.gz</kbd>
1221: </pre></blockquote>
1222: <p>
1223: Go read the <a href="faq/ports/index.html">ports</a> page
1224: if you know nothing about ports
1225: at this point. This text is not a manual of how to use ports.
1226: Rather, it is a set of notes meant to kickstart the user on the
1227: OpenBSD ports system.
1228: <p>
1229: The <i>ports/</i> directory represents a CVS checkout of our ports.
1230: As with our complete source tree, our ports tree is available via
1231: <a href="anoncvs.html">AnonCVS</a>.
1232: So, in order to keep up to date with the -stable branch, you must make
1233: the <i>ports/</i> tree available on a read-write medium and update the tree
1234: with a command like:
1235: <blockquote><pre>
1236: # <kbd>cd /usr/ports</kbd>
1.2 jsg 1237: # <kbd>cvs -d anoncvs@server.openbsd.org:/cvs update -Pd -rOPENBSD_7_4</kbd>
1.1 deraadt 1238: </pre></blockquote>
1239: <p>
1240: [Of course, you must replace the server name here with a nearby anoncvs
1241: server.]
1242: <p>
1243: Note that most ports are available as packages on our mirrors. Updated
1244: ports for the 7.4 release will be made available if problems arise.
1245: <p>
1246: If you're interested in seeing a port added, would like to help out, or just
1247: would like to know more, the mailing list
1248: <a href="mail.html">ports@openbsd.org</a> is a good place to know.
1249: </section>
1250: </body>
1251: </html>