Annotation of www/74.html, Revision 1.118
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>
1.110 deraadt 21: <a href="images/ImHappyBecauseEveryoneLovesMe.jpg">
22: <img width="227" height="303" src="images/ImHappyBecauseEveryoneLovesMe-s.gif" alt="I'm mHappy Because Everyone Loves Me"></a>
1.1 deraadt 23: <td>
1.110 deraadt 24: Released Oct 16, 2023. (55th OpenBSD release)<br>
1.1 deraadt 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:
1.84 benno 79: <!--
1.1 deraadt 80: <li>New/extended platforms:
81: <ul>
1.84 benno 82: <li>...
1.1 deraadt 83: </ul>
1.84 benno 84: -->
1.1 deraadt 85:
86: <li>Various kernel improvements:
87: <ul>
1.26 kn 88: <li>On arm64, show BTI and SBSS features in
1.21 schwarze 89: <a href="https://man.openbsd.org/dmesg.8">dmesg(8)</a>.
1.47 schwarze 90: <li>New <a href="https://man.openbsd.org/kqueue1">kqueue1(2)</a>
91: system call supporting the <code>O_CLOEXEC</code> flag.
1.21 schwarze 92: <li>Map device tree read/write to unbreak root on
93: <a href="https://man.openbsd.org/softraid.4">softraid(4)</a>.
1.93 schwarze 94: <li>Correctly recognize <a href="https://man.openbsd.org/umass.4">umass(4)</a>
1.34 krw 95: floppy disk devices as floppy disks.
1.44 schwarze 96: <li>In <a href="https://man.openbsd.org/wscons.4">wscons(4)</a>,
97: catch up with box drawing characters which have
1.35 benno 98: been standardized in unicode after the original wscons code was
99: written and chose placeholder values.
1.81 benno 100: <li>In <a href="https://man.openbsd.org/wscons.4">wscons(4)</a>,
101: make sure we do not increase the escape sequence argument count beyond
102: usable bounds.
1.62 schwarze 103: <li>Implement <a href="https://man.openbsd.org/dt.4">dt(4)</a>
1.93 schwarze 104: <a href="https://man.openbsd.org/utrace.2">utrace(2)</a>
105: support on amd64 and i386.
1.61 benno 106: <li>Correct undefined behavior when using MS-DOS filesystems, fixes imported from FreeBSD.
1.63 benno 107: <li>Make the <a href="https://man.openbsd.org/fstab.5">softdep</a>
108: <a href="https://man.openbsd.org/mount.8">mount(8)</a> option a no-op.
109: Softdep was a significant impediment to improving the vfs layer.
1.77 benno 110: <li>Allow <a href="https://man.openbsd.org/unveil.2">unveil(2)</a>ed
111: programs to dump <a href="https://man.openbsd.org/core.5">core(5)</a>
112: into the current working directory.
113: <li>Address incomplete validation of ELF program headers in <a
114: href="https://man.openbsd.org/execve.2">execve(2)</a>.
115: <li>On arm64, use the deep idle state available on Apple M1/M2 cores
116: in the idle loop and for suspend, resulting in power savings.
1.81 benno 117: <li>Update AMD CPU microcode if a newer patch is available.
118: <li>Enable a workaround for the 'Zenbleed' AMD CPU bug.
1.93 schwarze 119: <li>Report speculation control bits in
120: <a href="https://man.openbsd.org/dmesg.8">dmesg(8)</a> CPU lines.
1.81 benno 121: <li>To give the primary CPU an opportunity to perform clock interrupt
122: preparation in a machine-independent manner we need to separate the
123: "initialization" parts of cpu_initclocks() from the "start the clock
124: interrupt" parts. Separate cpu_initclocks() from cpu_startclock().
125: <li>Fix a problem where CPU time accounting and RLIMIT_CPU was
126: unreliable on idle systems.
127: <li>Improve the output of the "show proc" command of the kernel
128: debugger <a href="https://man.openbsd.org/ddb.4">ddb(4)</a> and show
129: both the PID and TID of the proc.
1.1 deraadt 130: </ul>
131:
132: <li>SMP Improvements
133: <ul>
1.66 schwarze 134: <li>Rewrite <a href="https://man.openbsd.org/pfsync.4">pfsync(4)</a>,
135: in particular to improve locking and to help with unlocking more
136: of <a href="https://man.openbsd.org/pf.4">pf(4)</a> and with
137: parallelisation of the network stack in the future.
1.82 benno 138: The protocol remains compatible with the older version.
1.91 schwarze 139: <li>Remove kernel locks from the ARP input path.
140: <li>Pull MP-safe arprequest() out of kernel lock.
1.51 benno 141: <li>Remove the kernel lock from IPv6 neighbor discovery.
1.82 benno 142: <li>Unlock more parts of <a
143: href="https://man.openbsd.org/ioctl.2">ioctl(2)</a> and the <a
144: href="https://man.openbsd.org/route.4">routing</a> code in the network
145: stack.
1.1 deraadt 146: </ul>
147:
148: <li>Direct Rendering Manager and graphics drivers
149: <ul>
1.91 schwarze 150: <li>Update <a href="https://man.openbsd.org/drm.4">drm(4)</a>
151: to Linux 6.1.55.
1.18 jsg 152: <li>Don't change end marker in sg_set_page(). Caused bad memory accesses
153: when using page flipping on Alder Lake and Raptor Lake.
1.1 deraadt 154: </ul>
155:
156: <li>VMM/VMD improvements
157: <ul>
1.38 dv 158: <li>Allowed <a href="https://man.openbsd.org/vmm.4">vmm(4)</a> guests to
159: enable and use supervisor IBT.
1.39 jsg 160: <li>Suppressed AMD hardware p-state visibility to
1.38 dv 161: <a href="https://man.openbsd.org/vmm.4">vmm(4)</a> guests.
1.21 schwarze 162: <li>Avoid use of uninitialised memory in
163: <a href="https://man.openbsd.org/vmd.8">vmd(8)</a>.
1.15 benno 164: <li>Migrate vmd_vm.vm_ttyname to char array allowing a vmd_vm
1.30 dv 165: object to be transmitted over an ipc channel.
166: <li>Cleaned up file descriptor closing in
167: <a href="https://man.openbsd.org/vmd.8">vmd(8)</a> vmm process.
168: <li>Fixed vm send/receive, restoring device virtqueue addresses on
169: receive.
170: <li>Introduced <a href="https://man.openbsd.org/execvp.3">execvp(3)</a>
171: after fork for child vm processes.
1.32 schwarze 172: <li>No longer generate an error in
173: <a href="https://man.openbsd.org/vmd.8">vmd(8)</a> if
174: <a href="https://man.openbsd.org/vm.conf.5">vm.conf(5)</a> is absent.
1.30 dv 175: <li>Split <a href="https://man.openbsd.org/vmm.4">vmm(4)</a> into MI/MD
176: parts.
177: <li>Introduced multi-process model for
178: <a href="https://man.openbsd.org/vmd.8">vmd(8)</a> virtio block and
179: network devices.
180: <li>Allowed vm owners to override boot kernel when using
181: <a href="https://man.openbsd.org/vmctl.8">vmctl(8)</a> to start a
182: vm.
183: <li>Changed staggered start of vms to number of online CPUs.
184: <li>Fixed a segfault on vm creation.
185: <li>Switched to anonymous shared memory mappings for
186: <a href="https://man.openbsd.org/vmd.8">vmd(8)</a> vm processes,
187: introducing a new <a href="https://man.openbsd.org/vmm.4">vmm(4)</a>
188: <a href="https://man.openbsd.org/ioctl.2">ioctl(2)</a>.
189: <li>Relaxed absolute path requirements for
190: <a href="https://man.openbsd.org/vmd.8">vmd(8)</a> configtest mode (-n).
191: <li>Adjusted shutdown logic by vm id to function similarly as by name.
192: <li>Moved validation of local network prefixes for the internal
193: <a href="https://man.openbsd.org/vmd.8">vmd(8)</a> DHCP service into
194: the config parser.
195: <li>Fixed QCOW2 base images when used with the
196: <a href="https://man.openbsd.org/vmd.8">vmd(8)</a> multi-process device
197: model.
198: <li>Fixed setting verbose logging in child processes.
199: <li>Fixed a race condition related to the emulated i8259 interrupt controller
200: by ignoring interrupt masks on assert.
201: <li>Inlined pending interrupts in the
202: <a href="https://man.openbsd.org/vmm.4">vmm(4)</a>
203: <a href="https://man.openbsd.org/ioctl.2">ioctl(2)</a> for running the
204: vcpu, reducing vm latency.
205: <li>Added zero-copy, vectored io to the
206: <a href="https://man.openbsd.org/vmd.8">vmd(8)</a> virtio block device.
207: <li>Changed to logging <a href="https://man.openbsd.org/vmd.8">vmd(8)</a>
208: vm ids in the vcpu run loop on error and not the ids used by
209: <a href="https://man.openbsd.org/vmm.4">vmm(4)</a>.
210: <li>Fixed a vm pause deadlock.
211: <li>Changed <a href="https://man.openbsd.org/vmd.8">vmd(8)</a> logging format
212: to disambiguate vm and device process by names and indices.
213: <li>Fixed dynamically toggling verbose logging mode with
214: <a href="https://man.openbsd.org/vmctl.8">vmctl(8)</a>.
1.1 deraadt 215: </ul>
216:
217: <li>Various new userland features:
218: <ul>
1.20 schwarze 219: <li>New ISO C11 header <code><uchar.h></code> declaring the
220: types <code>char32_t</code> and <code>char16_t</code> and the
221: functions <a href="https://man.openbsd.org/c32rtomb.3">c32rtomb(3)</a>,
222: <a href="https://man.openbsd.org/mbrtoc32.3">mbrtoc32(3)</a>,
223: <a href="https://man.openbsd.org/c16rtomb.3">c16rtomb(3)</a>, and
224: <a href="https://man.openbsd.org/mbrtoc16.3">mbrtoc16(3)</a>.
1.72 schwarze 225: <li>Introduce a new <a href="https://man.openbsd.org/malloc.3">malloc(3)</a>
226: option <a href="https://man.openbsd.org/malloc.3#D">D</a>
227: for memory leak detection with
228: <a href="https://man.openbsd.org/ktrace.1">ktrace(1)</a> and
229: <a href="https://man.openbsd.org/kdump.1">kdump(1)</a>.
1.46 schwarze 230: <li>Support <code>${.VARIABLES}</code> in
231: <a href="https://man.openbsd.org/make.1">make(1)</a>,
232: listing the names of all global variables that have been set.
233: <li>New <a href="https://man.openbsd.org/kdump.1">kdump(1)</a>
234: <code>-u</code> option to select
235: <a href="https://man.openbsd.org/utrace.2">utrace(2)</a>
236: tracepoints by label.
237: <li>In <a href="https://man.openbsd.org/openrsync.1">openrsync(1)</a>,
238: support the options <code>--size-only</code> and
1.93 schwarze 239: <code>--ignore-times</code>.
240: <li>Update <a href="https://man.openbsd.org/tzset.3">zoneinfo</a>
241: to tzdata2023c.
1.34 krw 242: <li>Accept the <a href="https://man.openbsd.org/ucom.4">ucom(4)</a> fixed
243: name format as a valid format for the
244: <a href="https://man.openbsd.org/cu.1">cu(1)</a> -l option.
1.62 schwarze 245: <li>In <a href="https://man.openbsd.org/cron.8">cron(8)</a> and
246: <a href="https://man.openbsd.org/crontab.5">crontab(5)</a>,
247: add support for random offsets when
1.51 benno 248: using ranges with a step value in cron. This extends the random range
249: syntax to support step values. Instead of choosing a random number
250: between the high and low values, the field is treated as a range with
251: a random offset less than the step value. This can be used to avoid
252: thundering herd problems where multiple machines contact a server all
253: at the same time via cron jobs.
1.94 schwarze 254: <li>Extend and improve the
255: <a href="https://man.openbsd.org/ibuf_add.3">ibuf</a> API in libutil
256: and add functions for more specific data types,
257: for modifying data at specific
1.87 jsg 258: offsets, for getting and setting the file descriptor stored on the ibuf
1.94 schwarze 259: and for efficient wrapping of ibufs into imsgs. The ibuf API is
1.61 benno 260: mostly used in network daemons.
1.59 schwarze 261: <li>In <a href="https://man.openbsd.org/wsconsctl.8">wsconsctl(8)</a>,
262: add button mappings for two- and three-finger clicks on clickpads.
1.1 deraadt 263: </ul>
264:
265: <li>Various bugfixes and tweaks in userland:
266: <ul>
1.33 schwarze 267: <li>In <a href="https://man.openbsd.org/pax.1">pax(1)</a> and
268: <a href="https://man.openbsd.org/tar.1">tar(1)</a>,
1.97 schwarze 269: do not open files that will be skipped,
270: speeding up archive creation when many files are skipped.
1.77 benno 271: <li>In <a href="https://man.openbsd.org/pax.1">pax(1)</a>,
272: <a href="https://man.openbsd.org/tar.1">tar(1)</a>, and
273: <a href="https://man.openbsd.org/cpio.1">cpio(1)</a> terminal
274: output, escape non-printable characters in messages that may
1.97 schwarze 275: include file names, and truncate times to the correct maximum value.
1.46 schwarze 276: <li>Better diagnostics from
277: <a href="https://man.openbsd.org/make.1">make(1)</a>
278: when a makefile exists but cannot be opened.
279: <li>Prevent a buffer underflow in
280: <a href="https://man.openbsd.org/patch.1">patch(1)</a>
281: that could occur with lines longer than 32kB.
282: <li>Prevent a segmentation fault in
283: <a href="https://man.openbsd.org/patch.1">patch(1)</a>
284: that occurred when a patch specified a file name so long that
285: <a href="https://man.openbsd.org/basename.3">basename(3)</a> failed.
286: <li>Prevent a read buffer overrun in
287: <a href="https://man.openbsd.org/patch.1">patch(1)</a>
288: that could occur when a patch specified a file name ending in a slash.
289: <li>Let <a href="https://man.openbsd.org/stat.1">stat(1)</a>
290: correctly print mtimes after 2038.
1.21 schwarze 291: <li>Refactoring and documenting of
292: <a href="https://man.openbsd.org/fdisk.8">fdisk(8)</a> code,
293: to make it easier to maintain.
1.34 krw 294: <li><a href="https://man.openbsd.org/fdisk.8">fdisk(8)</a>
295: no longer adds extra blanks at the end of lines, eliminating
296: spurious line wrapping.
1.21 schwarze 297: <li>In <a href="https://man.openbsd.org/clang.1">clang(1)</a>,
298: allow out-of-class defaulting of comparison operators,
1.11 benno 299: by ways of backporting an upstream commit.
1.86 benno 300:
1.21 schwarze 301: <li>Many changes in <a href="https://man.openbsd.org/mg.1">mg(1)</a>:
1.11 benno 302: <ul>
1.46 schwarze 303: <li>New command
304: <a href="https://man.openbsd.org/mg.1#set-tab-width">set-tab-width</a>
305: to change the tabulator width on a per-buffer basis.
1.113 schwarze 306: <li>Let the <a href="https://man.openbsd.org/mg.1#space-to-tabstop"
307: >space-to-tabstop</a> command move to the right
1.46 schwarze 308: position even if the line contains tabs, control characters,
309: or non-ASCII bytes.
310: <li>Fall back to <code>/bin/sh</code> if <code>$SHELL</code> is undefined.
1.100 schwarze 311: <li>Fix parsing of <a href="https://man.openbsd.org/mg.1#TAGS">tag
312: files</a> with duplicate entries.
313: Instead of erroring out, ignore duplicates. Fixes using
314: <code>/var/db/libc.tags</code> again.
1.46 schwarze 315: <li>Change the <a href="https://man.openbsd.org/mg.1#visit-tags-table"
316: >visit-tags-table</a> command to immediately
1.11 benno 317: load the tag file, and drop the lazy mechanics.
1.46 schwarze 318: <li>Do not leak memory in
319: <a href="https://man.openbsd.org/mg.1#pop-tag-mark">pop-tag-mark</a>
320: if it fails to switch buffers.
1.100 schwarze 321: <li>Fix a read buffer overrun caused by
322: <a href="https://man.openbsd.org/mg.1#u">-u</a> arguments
1.46 schwarze 323: longer than 1023 bytes.
324: <li>Fix a write buffer overrun on the stack caused by
325: <a href="https://man.openbsd.org/mg.1#blink-and-insert"
326: >blink-and-insert</a> matching a very long line
327: that is not currently visible in the window.
1.100 schwarze 328: <li>Skip checking permissions of conffile with
329: <a href="https://man.openbsd.org/access.2">access(2)</a>.
1.99 op 330: <li>Resurrect
331: <a href="https://man.openbsd.org/mg.1#no-tab-mode">no-tab-mode</a>
332: and add it to the list of modes that can
333: be set with
334: <a href="https://man.openbsd.org/mg.1#set-default-mode"
335: >set-default-mode</a>.
1.11 benno 336: </ul>
1.86 benno 337:
1.34 krw 338: <li>Fix a segfault when the
339: <a href="https://man.openbsd.org/disklabel.8">disklabel(8)</a>
340: simple editor encounters an incomplete partition line.
341: <li>Fix <a href="https://man.openbsd.org/disklabel.8">disklabel(8)</a>
342: handling of templates with partitions after a "N-* 100" entry.
343: <li>Enable <a href="https://man.openbsd.org/disklabel.8">disklabel(8)</a>
344: regress tests to work on sparc64.
345: <li>Fix <a href="https://man.openbsd.org/fdisk.8">fdisk(8)</a>
346: initialization of CHS/LBA fields in an MBR, allowing machines with
347: a BIOS that uses CHS to boot from disks >8G.
348: <li>Retire <a href="https://man.openbsd.org/disklabel.8">disklabel(8)</a>
349: -E expert mode.
350: <li>When displaying GPT partition attributes
351: <a href="https://man.openbsd.org/fdisk.8">fdisk(8)</a> prefixes
352: Microsoft partition attribute names with 'MS'.
353: <li>In the absence of the 'disktype' command line parameter
354: <a href="https://man.openbsd.org/disklabel.8">disklabel(8)</a>
355: always uses the current media type provided by the kernel.
356: <li>Ensure <a href="https://man.openbsd.org/fdisk.8">fdisk(8)</a> handles
357: the case where a GPT partition name is not a valid C string.
1.86 benno 358:
1.59 schwarze 359: <li>When creating new crypto volumes with
360: <a href="https://man.openbsd.org/bioctl.8">bioctl(8)</a>,
361: by default use a hardware based number of KDF rounds for passphrases.
362: <li>Let <a href="https://man.openbsd.org/bioctl.8">bioctl(8)</a>
363: gracefully prompt again during interactive creation and
364: passphrase change on CRYPTO and 1C volumes.
365: <li>Let <a href="https://man.openbsd.org/bioctl.8">bioctl(8)</a>
366: read passphrases without prompts or confirmation
1.95 schwarze 367: in <code>-s</code> mode, allowing non-interactive use.
1.86 benno 368:
1.59 schwarze 369: <li>Allow the <a href="https://man.openbsd.org/atactl.8">atactl(8)</a>
370: command <a href="https://man.openbsd.org/atactl.8#readattr">readattr</a>
371: to succeed even for disks where <code>ATA_SMART_READ</code> and
372: <code>ATA_SMART_THRESHOLD</code> revisions mismatch, as long as
373: checksums are OK.
1.101 schwarze 374: <li>In <a href="https://man.openbsd.org/ld.so.1">ld.so(1)</a>, treat
375: symlinks in $ORIGIN determination the same way as other OS linkers do.
1.44 schwarze 376: <li>In <a href="https://man.openbsd.org/ld.so.1">ld.so(1)</a>,
377: avoid an overflow in the ELF SYSV ABI hash function.
1.47 schwarze 378: <li>Make sure <a href="https://man.openbsd.org/modf.3">modf(3)</a> and
379: <a href="https://man.openbsd.org/modff.3">modff(3)</a>
380: return correct values for infinities.
381: <li>Do not fail in
382: <a href="https://man.openbsd.org/ober_scanf_elements.3"
383: >ober_scanf_elements(3)</a> when encountering empty sequences.
1.62 schwarze 384: <li>Remove broken special handling of <code>test -t</code> in
385: <a href="https://man.openbsd.org/ksh.1">ksh(1)</a>.
1.57 sthen 386: <li>The caching mechanism used by
1.60 sthen 387: <a href="https://man.openbsd.org/pkg_add.1">pkg_add(1)</a>
1.57 sthen 388: to speed up <tt>pkg_add -u</tt> now also works if -stable packages
389: are available.
1.81 benno 390: <li>Significantly increase the speed of <a
391: href="https://man.openbsd.org/pkg-config.1">pkg-config(1)</a>.
1.102 schwarze 392: <li>In <a href="https://man.openbsd.org/seq.1">seq(1)</a>,
393: fix a check for rounding error and truncation.
394: <li>In <a href="https://man.openbsd.org/cron.8">cron(8)</a>,
395: introduce upstream fixes in the handling of @yearly, @monthly,
1.61 benno 396: @weekly, @daily and @hourly entries.
1.78 benno 397: <li>Fix a bug in <a
398: href="https://man.openbsd.org/cron.8">cron(8)</a> where whitespace
1.87 jsg 399: after usernames would not be completely skipped while parsing the
1.93 schwarze 400: <a href="https://man.openbsd.org/crontab.5">crontab(5)</a> file.
1.77 benno 401: <li>Make <a href="https://man.openbsd.org/rcctl.8">rcctl(8)</a>
402: check if a daemon exists before trying to disable it, thereby avoiding
403: parsing and printing of bogus characters.
1.81 benno 404: <li>Print to the console the fingerprint of a newly generated <a
405: href="https://man.openbsd.org/ssh.1">ssh(1)</a> host key of the
406: preferred type (currently ED25519), typically when booting for the
407: first time. This simplifies a secure first ssh connection to a
408: freshly installed machine.
1.1 deraadt 409: </ul>
410:
411: <li>Improved hardware support and driver bugfixes, including:
412: <ul>
1.86 benno 413: <!-- new drivers -->
414: <li>Add <a href="https://man.openbsd.org/rkiovd.4">rkiovd(4)</a>,
415: a driver for the I/O voltage domains on Rockchip SoCs.
416: <li>Add support for TEMPerGold 3.4 temperature sensor to
417: <a href="https://man.openbsd.org/ugold.4">ugold(4)</a>.
418: <li>Add <a href="https://man.openbsd.org/qcrng.4">qcrng(4)</a>,
1.87 jsg 419: a driver for the Qualcomm RNG device found on the ThinkPad X13s.
1.86 benno 420: <li>Add <a href="https://man.openbsd.org/rkusbphy.4">rkusbphy(4)</a>,
421: a driver for the usb2phy on Rockchip SoCs.
422: <li>Support AP806/CP110 SoCs in
423: <a href="https://man.openbsd.org/mvtemp.4">mvtemp(4)</a>.
424: <li>Add <a href="https://man.openbsd.org/dwmshc.4">dwmshc(4)</a>
425: to support Designware Mobile Storage Host Controllers
426: found on rk356x and rk3588 SoCs.
427: <li>Add <a href="https://man.openbsd.org/iosf.4">iosf(4)</a>,
428: a driver for the Intel OnChip System Fabric.
429: <li>Add support for the RTL8153D chipset in
430: <a href="https://man.openbsd.org/ure.4">ure(4)</a>.
431: <li>Add support for the Peripheral Authentication Service SMC
432: interface in <a href="https://man.openbsd.org/qcscm.4">qcscm(4)</a>.
433: <li>Add <a href="https://man.openbsd.org/qcmtx.4">qcmtx(4)</a>,
434: a driver for the hardware spinlock on Qualcomm
435: SoCs that is used to synchronize access to the shared memory table.
436: <li>Add <a href="https://man.openbsd.org/qcsmptp.4">qcsmptp(4)</a>,
437: a driver to share 32-bit values between (co-)processors.
438: <li>Add <a href="https://man.openbsd.org/qcaoss.4">qcaoss(4)</a>,
439: a driver for the Always On Subsystem found on Qualcomm SoCs.
440: <li>Add <a href="https://man.openbsd.org/qcpas.4">qcpas(4)</a>,
441: a driver for the Peripheral Authentication Service
442: found on Qualcomm SoCs. Enable AC detection.
443: <li>Add <a href="https://man.openbsd.org/qctsens.4">qctsens(4)</a>,
444: a driver for the Temperature Sensor found on Qualcomm SoCs.
445: <li>Add driver <a href="https://man.openbsd.org/qccpu.4">qccpu(4)</a>
446: for QC CPU Power States.
447: <li>Add <a href="https://man.openbsd.org/qcsdam.4">qcsdam(4)</a>,
448: a driver for the PMIC Shared Direct Access Memory found on
449: Qualcomm SoCs.
450: <li>Add <a href="https://man.openbsd.org/stfrng.4">stfrng(4)</a>, a
1.87 jsg 451: driver for the random number generator on the StarFive JH7110 SoC.
1.86 benno 452: <li>Add support for the PCIe controller on the JH7110 SoC with <a
453: href="https://man.openbsd.org/stfpciephy.4">stfpciephy(4)</a>
454:
455:
456: <!-- other -->
1.20 schwarze 457: <li>New <a href="https://man.openbsd.org/sysctl.2">sysctl(2)</a>
458: nodes for battery management, <code>hw.battery.charge*</code>.
1.64 schwarze 459: Support them with
460: <a href="https://man.openbsd.org/acpithinkpad.4">acpithinkpad(4)</a>
461: and <a href="https://man.openbsd.org/aplsmc.4">aplsmc(4)</a>.
1.20 schwarze 462: <li>Define fixed names for
463: <a href="https://man.openbsd.org/ucom.4">ucom(4)</a> USB serial
1.34 krw 464: ports, display them in attach messages and via the new
465: <code>hw.ucomnames</code>
466: <a href="https://man.openbsd.org/sysctl.2#HW_UCOMNAMES~2">sysctl(2)</a>.
1.63 benno 467: <li>Add support for the RK3568 32k RTC, RK3588, and other clocks in
1.21 schwarze 468: <a href="https://man.openbsd.org/rkclock.4">rkclock(4)</a>.
469: <li>In <a href="https://man.openbsd.org/dwpcie.4">dwpcie(4)</a>,
470: attach Baikal-M PCIe.
1.11 benno 471: <li>In openfirmware, implement regulator notifiers which get called
472: when the voltage/current for a regulator is changed or when the
473: regulator gets initialized when it attaches for the first time. The
474: latter makes it possible to register a notifier for a regulator that
475: hasn't attached yet.
1.15 benno 476: <li>Ignore duplicate ACPI lid transitions as they can happen on Dell
477: Precision 5510 systems.
478: <li>Make RK3568 PCIe controllers run at the maximum possible speed
479: by using dwpcie_link_config() when initializing.
480: <li>In the Universal Flash Storage Host Controller Interface
1.21 schwarze 481: (<a href="https://man.openbsd.org/ufshci.4">ufshci(4)</a>),
482: enable Force Unit Access (FUA) for write commands.
1.28 benno 483: <li>Make SATA (<a href="https://man.openbsd.org/ahci.4">ahci(4)</a>)
484: work on a Banana Pi BPI-R2 Pro.
485: <li>In <a href="https://man.openbsd.org/umcs.4">umcs(4)</a>, set
486: parity bits correctly.
1.91 schwarze 487: <li>Enable the caps lock LED on modern Apple laptop keyboards.
1.44 schwarze 488: <li>Add support for Rockchip "cryptov2-rng" random number generator in
489: <a href="https://man.openbsd.org/rkrng.4">rkrng(4)</a>.
1.91 schwarze 490: <li>Fix cpuperf on the Apple M2 Pro/Max.
1.36 jsg 491: <li>Add support for the PCIe controller found on Apple M2 Pro/Max SoCs.
1.40 jsg 492: <li>Add support for enabling both the USB2 and USB3 PHYs in
493: <a href="https://man.openbsd.org/xhci.4">xhci(4)</a> with device tree.
1.62 schwarze 494: <li>In the SCSI tape driver
495: <a href="https://man.openbsd.org/st.4">st(4)</a>, add support
496: for I/O statistics so that tape speeds can be observed with
497: <a href="https://man.openbsd.org/iostat.8">iostat(8)</a>.
498: <li>Fix use of MMC/SD/SDIO on RK3588 ARM SoC in
499: <a href="https://man.openbsd.org/dwmmc.4">dwmmc(4)</a>.
500: <li>Support thermal sensors on Ryzen 9 79xx in
501: <a href="https://man.openbsd.org/ksmn.4">ksmn(4)</a>.
502: <li>Add support for JH7110 to
503: <a href="https://man.openbsd.org/dwmmc.4">dwmmc(4)</a>,
504: making eMMC and microSD mostly work on the Starfive VisionFive 2.
1.74 schwarze 505: <li>Add support for the RK3588 PCIe3 PHY to
506: <a href="https://man.openbsd.org/rkpciephy.4">rkpciephy(4)</a>.
507: The PHY controls 4 lanes that can be routed to 4 of 5 PCIe controllers.
508: <li>Add mute control to
509: <a href="https://man.openbsd.org/sncodec.4">sncodec(4)</a>.
510: This makes the mute button work on laptops using this driver.
1.77 benno 511: <li>Add mute control to <a
512: href="https://man.openbsd.org/tascodec.4">tascodec(4)</a>. This makes
513: the mute button on laptops that use tascodec(4) work.
1.81 benno 514: <li>Improve the suspend/resume behavior of several drivers, reducing
515: power consumption during suspend.
516: <li>Add support for the Synopsys DesignWare I2C controller
1.92 fcambus 517: (<a href="https://man.openbsd.org/dwiic.4">dwiic(4)</a>) and the
518: X-Powers AXP Power Management IC
519: (<a href="https://man.openbsd.org/axppmic.4">axppmic(4)</a>).
1.81 benno 520: <li>Enable the <a href="https://man.openbsd.org/mbg.4">mbg(4)</a>
521: timedelta sensor on amd64 and match the Meinberg PZF180PEX.
1.1 deraadt 522: </ul>
523:
524: <li>New or improved network hardware support:
525: <ul>
1.21 schwarze 526: <li>Fix <a href="https://man.openbsd.org/dwqe.4">dwqe(4)</a>
527: on several boards that use
528: <a href="https://man.openbsd.org/rgephy.4">rgephy(4)</a> by configuring
1.11 benno 529: the RGMII interface before taking the PHY out of reset.
1.28 benno 530: <li>Improve <a href="https://man.openbsd.org/dwqe.4">dwqe(4)</a> and
531: determine PHY mode and pass the appropriate flags down to the PHY when
1.80 deraadt 532: attaching.
1.31 schwarze 533: <li>Report in <a href="https://man.openbsd.org/dmesg.8">dmesg(8)</a> on
534: which gmac the <a href="https://man.openbsd.org/dwqe.4">dwqe(4)</a>
535: driver is attaching to.
1.21 schwarze 536: <li>Document that Intel i226 adapters are supported by
537: <a href="https://man.openbsd.org/igc.4">igc(4)</a>.
538: <li>Add <a href="https://man.openbsd.org/ngbe.4">ngbe(4)</a>,
539: a driver for WangXun WX1860 PCI Express 10/100/1Gb Ethernet devices.
540: Also support it on amd64 install media.
541: <li>Add support for the RTL8211F-VD PHY in
542: <a href="https://man.openbsd.org/rgephy.4">rgephy(4)</a>.
1.15 benno 543: <li>In openfirmware, add glue for network interfaces to be found by
544: fdt/ofw node or phandle in order to support "switch chips" like the
545: marvell link street.
1.37 kevlo 546: <li>Add support for RTL8153D devices to
547: <a href="https://man.openbsd.org/ure.4">ure(4)</a>.
1.62 schwarze 548: <li>Provide byte and packet counter statistics in some
549: <a href="https://man.openbsd.org/dwge.4">dwge(4)</a> implementations.
1.74 schwarze 550: <li>On <a href="https://man.openbsd.org/bge.4">bge(4)</a>, make hardware
551: counters available via kstats for BCM5705 and newer controller chips.
1.81 benno 552: <li>Make several improvements to <a
553: href="https://man.openbsd.org/vmx.4">vmx(4)</a>, the VMware VMXNET3
554: Virtual Interface Controller.
555: <li>In <a href="https://man.openbsd.org/em.4">em(4)</a>, stop
556: putting multicast addresses into the Receive Address Registers.
557: Instead hash them all into the Multicast Table Array.
558: <li>Support Mellanox ConnectX-6 Lx in <a
559: href="https://man.openbsd.org/mcx.4">mcx(4)</a>.
560: <li>In <a href="https://man.openbsd.org/mcx.4">mcx(4)</a>, add 100GB
561: LR4 Ethernet capability and map it to IFM_100G_LR4.
1.96 brynet 562: <li>Add initial support for Atlantic 2 hardware in
563: <a href="https://man.openbsd.org/aq.4">aq(4)</a>.
1.1 deraadt 564: </ul>
565:
566: <li>Added or improved wireless network drivers:
567: <ul>
1.21 schwarze 568: <li>Improve how Quectel LTE&5G devices attach to
569: <a href="https://man.openbsd.org/umb.4">umb(4)</a>.
1.1 deraadt 570: </ul>
571:
572: <li>IEEE 802.11 wireless stack improvements and bugfixes:
573: <ul>
1.27 stsp 574: <li> Add support for RTL8188FTV devices to the
575: <a href="https://man.openbsd.org/urtwn.4">urtwn(4)</a> driver.
576: <li>Attach Intel wireless devices with PCI product ID 0x51f1 to
577: <a href="https://man.openbsd.org/iwx.4">iwx(4)</a>.
578: <li>Fix a bug where <a href="https://man.openbsd.org/iwm.4">iwm(4)</a> and
579: <a href="https://man.openbsd.org/iwx.4">iwx(4)</a> background
580: scan tasks were added to the wrong task queue.
581: <li>Fix a firmware error that occurred when an
582: <a href="https://man.openbsd.org/iwx.4">iwx(4)</a> interface
583: was brought down.
584: <li>Fix <a href="https://man.openbsd.org/iwx.4">iwx(4)</a> firmware errors
585: triggered during background scans.
586: <li>Fix a crash in the <a href="https://man.openbsd.org/iwm.4">iwm(4)</a>
587: driver when userland attempts to inject frames via bpf in monitor mode.
1.1 deraadt 588: </ul>
589:
590: <li>Installer, upgrade and bootloader improvements:
591: <ul>
1.11 benno 592: <li>In the arm64 ramdisk, simplify apple firmware copying to make it
593: easier to add new firmware.
1.21 schwarze 594: <li>On armv7 and arm64, silence informational messages from
595: <a href="https://man.openbsd.org/dd.1">dd(1)</a>
1.11 benno 596: when zeroing a disk's first 1MB. Use character not block devices with
597: dd(1) like on other architectures.
598: <li>Refactor the code of md_installboot() on armv7 and arm64 to be
599: more in line with other architectures.
600: <li>Improve the dialogue of the installer without affecting
1.21 schwarze 601: <a href="https://man.openbsd.org/autoinstall.8">autoinstall(8)</a>
602: files.
603: <li>Enable <a href="https://man.openbsd.org/ufshci.4">ufshci(4)</a>
604: on arm64 install media.
1.15 benno 605: <li>On arm64 pine64 boards, stop writing pine64 firmware to disk.
1.81 benno 606: <li>When media has neither a GPT nor an MBR
607: <a href="https://man.openbsd.org/installboot.8">installboot(8)</a>,
608: assume OpenBSD occupies the entire disk starting at sector 0.
609: <li>Attempt to not overflow the ramdisk when extracting firmware on
610: Apple arm64 systems.
611: <li>Add support for loading files from the EFI System Partition.
612: <li>Fix a bug in the handling of SCSI drives in the bootloader on the luna88k architecture.
613: <li>On luna88k, implement the chmod() signaling mechanism for
614: <code>/bsd.upgrade</code> to prevent re-upgrade, like other
615: architectures.
1.86 benno 616:
617:
1.81 benno 618: <li>Support for <a
619: href="https://man.openbsd.org/softraid.4">softraid(4)</a> disks in the
620: installer was improved:
621: <ul>
622: <li>Make root on
1.21 schwarze 623: <a href="https://man.openbsd.org/softraid.4">softraid(4)</a>
624: installations boot out of the box on Raspberry Pis (arm64).
1.81 benno 625: <li>Support installations with root on
1.28 benno 626: <a href="https://man.openbsd.org/softraid.4">softraid(4)</a>
627: on arm64, tested on Pinebook Pro, Raspberry Pi 4b, and SolidRun CEX7.
1.81 benno 628: <li>On riscv64, enable softraid(4) in the ramdisk kernel and support
1.50 benno 629: installations with root on
630: <a href="https://man.openbsd.org/softraid.4">softraid(4)</a>
1.81 benno 631: <li>When installing on encrypted
1.28 benno 632: <a href="https://man.openbsd.org/softraid.4">softraid(4)</a>, determine
633: the disk for placing the root device automatically and make it default
634: as it is the only legit choice.
1.81 benno 635: <li>Add arm64 to the list of architectures with support for guided disk
636: encryption.
637: <li>Retain existing EFI System partitions on systems with APFSISC
1.26 kn 638: partitions (arm64 Apple M1/M2) during installation with root on
639: <a href="https://man.openbsd.org/softraid.4">softraid(4)</a>.
1.81 benno 640: <li>Enable <a
641: href="https://man.openbsd.org/softraid.4">softraid(4)</a> in ramdisk
642: on the powerpc64 architecture.
643: </ul>
1.1 deraadt 644: </ul>
645:
646: <li>Security improvements:
647: <ul>
1.90 schwarze 648: <li>Enable indirect branch tracking (IBT) on amd64 and branch target
649: identification (BTI) on arm64 in both the kernel and in userland.
650: On hardware that supports this feature, it helps enforcing
651: control flow integrity by making sure malicious code
652: cannot jump into the middle of a function.
653: <li>On the arm64 architecture, enable pointer authentication (PAC)
654: in userland on those machines where it works correctly.
655: It helps enforcing control flow integrity by making sure
656: malicious code cannot manipulate a function's return address.
657: <li>Together with retguard these two features protect against ROP attacks.
658: Compiler defaults for base clang, ports clang and ports gcc (as well
659: as some other non-C language family compilers in ports) have been
660: changed to enable these features by default. As a result the vast
661: majority of programs on OpenBSD (and all programs in the base system)
662: run with these security features enabled.
1.21 schwarze 663: <li>Change <a href="https://man.openbsd.org/malloc.3">malloc(3)</a>
1.24 otto 664: chunk sizes to be fine grained: chunk sizes are closer to the
665: requested allocation size.
1.21 schwarze 666: <li>In <a href="https://man.openbsd.org/malloc.3">malloc(3)</a>,
667: check all chunks in the delayed free list for write-after-free.
1.59 schwarze 668: <li>The <a href="https://man.openbsd.org/shutdown.8">shutdown(8)</a>
1.71 schwarze 669: program can now only be executed by members of the new
1.59 schwarze 670: <code>_shutdown</code> group. The idea is that system
671: administrators can now remove most users from the excessively
672: powerful <code>operator</code> group, which in particular
673: provides read access to disk device nodes.
1.89 benno 674: <li>Using <a href="https://man.openbsd.org/unveil.2">unveil(2)</a>,
675: restrict <a href="https://man.openbsd.org/patch.1">patch(1)</a>
676: filesystem access to the current directory including subdirectories,
677: TMPDIR, and file names given on the command line.
1.70 schwarze 678: <li>In <a href="https://man.openbsd.org/ksh.1">ksh(1)</a>, consistently
679: escape control characters when displaying file name completions,
1.33 schwarze 680: even when there are multiple matches.
1.1 deraadt 681: </ul>
682:
683: <li>Changes in the network stack:
684: <ul>
1.21 schwarze 685: <li>Sync the use of
686: <a href="https://man.openbsd.org/getuptime.9">getuptime(9)</a>
687: in the Neighbour Discovery (ND) code with ARP.
688: <li>In the IPv6 forwarding code, call
689: <a href="https://man.openbsd.org/getuptime.9">getuptime(9)</a>
690: once for consistency with IPv4.
1.28 benno 691: <li>ARP has a queue of packets that should be sent after name
692: resolution. Neighbor discovery (ND6) did only hold a single packet.
693: Unified the code, added a queue to ND6 and made the code MP safe.
1.31 schwarze 694: <li>Implement a new <a href="https://man.openbsd.org/sysctl.2">sysctl(2)</a>
695: <code>net.inet6.icmp6.nd6_queued</code> to show the number of packets
696: waiting for an ND6 response, analogous to ARP.
1.50 benno 697: <li>When configuring a new IPv6 address on an interface, an upstream router
698: doesn't know where to send traffic. Send an unsolicited
699: neighbor advertisement, as described in RFC9131, to the all-routers
700: multicast address so all routers on the same link will learn the path
701: back to the address.
1.103 schwarze 702: <li>Implement the inbound portion of RFC9131. Let routers create new
703: neighbor cache entries when receiving valid neighbor advertisements.
1.81 benno 704:
705: <li>Initial support for TCP segmentation offload (TSO) and TCP large receive offload (LRO) was implemented:
706: <ul>
1.104 schwarze 707: <li>If the driver of a network interface supports TSO,
708: do not chop the packet in the network stack,
1.69 schwarze 709: but pass it down to the interface layer for TSO.
1.81 benno 710: <li>Provide a software TSO implementation, to be used as a fallback
1.69 schwarze 711: if network hardware does not support TSO.
1.81 benno 712: <li>Provide a new <a href="https://man.openbsd.org/sysctl.2">sysctl(2)</a>
1.69 schwarze 713: node <a href="https://man.openbsd.org/sysctl.2#tcp.tso"
714: >net.inet.tcp.tso</a> such that TSO can be globally disabled.
715: By default, it is enabled on all interfaces supporting it.
1.81 benno 716: <li>In <a href="https://man.openbsd.org/ifconfig.8">ifconfig(8)</a>,
1.69 schwarze 717: display separate
718: <a href="https://man.openbsd.org/ifconfig.8#hwfeatures">hwfeatures</a>
1.104 schwarze 719: for TSOv4, TSOv6, and LRO and provide a
1.69 schwarze 720: <a href="https://man.openbsd.org/ifconfig.8#tcplro">-tcplro</a>
1.104 schwarze 721: parameter to disable LRO on a per-interface basis.
1.81 benno 722: <li>Enable TSO and forwarding of LRO packets via TSO in
1.69 schwarze 723: <a href="https://man.openbsd.org/ix.4">ix(4)</a>.
1.81 benno 724: <li>In <a href="https://man.openbsd.org/ix.4">ix(4)</a>, allocate
1.77 benno 725: less memory for tx buffers.
1.81 benno 726: <li>Speed up TCP transfer on
1.69 schwarze 727: <a href="https://man.openbsd.org/lo.4">lo(4)</a>
728: interfaces by using TSO and LRO.
1.104 schwarze 729: <li>Enable LRO per default in network
1.78 benno 730: drivers. LRO allows to receive aggregated packets larger than the MTU.
731: Receiving TCP streams becomes much faster. Currently only <a
732: href="https://man.openbsd.org/ix.4">ix(4)</a> and <a
733: href="https://man.openbsd.org/lo.4">lo(4)</a> devices support LRO, and
1.104 schwarze 734: ix(4) is limited to IPv4 and hardware newer than the old 82598 model.
1.81 benno 735: </ul>
736:
737: <li>The following changes were made to the <a
738: href="https://man.openbsd.org/pf.4">pf(4)</a> firewall:
739: <ul>
740: <li>Speed up the
1.67 schwarze 741: <a href="https://man.openbsd.org/ioctl.2">ioctl(2)</a> request
742: <a href="https://man.openbsd.org/pf.4#DIOCGETRULE">DIOCGETRULE</a>
743: such that <a href="https://man.openbsd.org/pfctl.8">pfctl(8)</a>
744: can retrieve all <a href="https://man.openbsd.org/pf.4">pf(4)</a>
745: rules from the kernel in linear rather than in quadratic time.
746: To protect the kernel from memory exhaustion,
747: userland processes now have to release tickets obtained with
748: <a href="https://man.openbsd.org/pf.4#DIOCGETRULES">DIOCGETRULES</a>
749: by issuing the new
750: <a href="https://man.openbsd.org/ioctl.2">ioctl(2)</a> request
751: <a href="https://man.openbsd.org/pf.4#DIOCXEND">DIOCXEND</a>.
752: In particular, <a href="https://man.openbsd.org/snmpd.8">snmpd(8)</a>
753: and <a href="https://man.openbsd.org/systat.1">systat(1)</a>
754: now do that.
1.105 schwarze 755: <li>Relax the implementation of the <code>pass all</code> rule so all
1.67 schwarze 756: forms of neighbor advertisements are allowed in either direction.
1.105 schwarze 757: <li>When redirecting locally generated IP packets to userland with
758: <a href="https://man.openbsd.org/pf.conf.5#divert-packet"
759: >divert-packet</a> rules, the packets may have no checksum
1.67 schwarze 760: due to hardware offloading. Calculate the checksum in that case.
1.105 schwarze 761: <li>Fix a bug where
762: <a href="https://man.openbsd.org/pf.conf.5#nat-to">nat-to</a>
763: could fail to insert a state
1.67 schwarze 764: due to conflict on chosen source port number.
1.105 schwarze 765: <li>No longer ignore <code>keep state</code> and <code>nat-to</code>
766: actions for unsolicited ICMP error responses.
767: Tighten the rule matching logic so ICMP error responses
768: no longer match <code>keep state</code> rule.
769: In typical scenarios, ICMP errors (if solicited) should match
770: existing state. The change is going to bite firewalls which deal
771: with asymmetric routes. In those cases the <code>keep state</code>
772: action should be relaxed to sloppy or new <code>no state</code>
773: rule to explicitly match ICMP errors should be added.
1.81 benno 774: </ul>
775: <li>Do not calculate IP, TCP, and UDP checksums on
776: <a href="https://man.openbsd.org/lo.4">lo(4)</a> interfaces.
1.63 benno 777: <li>Convert the tcp_now() time counter to 64 bits to avoid 32 bits
778: wrap around after changing tcp_now() ticks to milliseconds.
1.91 schwarze 779: <li>Add initial support for route-based IPsec VPNs.<br>
780: Rather than use IPsec flows (aka, entries in the IPsec security
1.81 benno 781: policy database) to decide which traffic should be encapsulated in
1.91 schwarze 782: IPsec and sent to a peer, this changes security associations (SAs)
783: so they can also refer to a tunnel interface. When traffic is routed
784: over that tunnel interface, an IPsec SA is looked up and used to
1.81 benno 785: encapsulate traffic before being sent to the peer on the SA. When
1.91 schwarze 786: traffic is received from a peer using an interface SA, the specified
1.81 benno 787: interface is looked up and the packet is handed to it so it looks
788: like packets come out of the tunnel.
789: <li>Add <a href="https://man.openbsd.org/sec.4">sec(4)</a> to support
1.106 schwarze 790: route-based IPsec VPNs.
1.81 benno 791: <li>Introduce reference counting for TCP syn cache entries.
792: <li>Have <a href="https://man.openbsd.org/wg.4">wg(4)</a> copy the
793: priority from the inner packet to the outer encrypted packet, so that
794: higher priority packets are picked from hfsc queues for earlier
795: transmission.
1.1 deraadt 796: </ul>
797:
798: <li>Routing daemons and other userland network improvements:
799: <ul>
800: <li>IPsec support was improved:
801: <ul>
1.21 schwarze 802: <li>In <a href="https://man.openbsd.org/iked.8">iked(8)</a>,
1.59 schwarze 803: support route-based
804: <a href="https://man.openbsd.org/sec.4">sec(4)</a> tunnels.
805: <li>In <a href="https://man.openbsd.org/iked.8">iked(8)</a>,
806: add support to verify X.509 chain from CERT payloads.
807: <li>In <a href="https://man.openbsd.org/iked.8">iked(8)</a>,
808: do not leak memory when receiving a CERT payload for pubkey auth
809: or for an invalid CERT Encoding.
810: <li>In <a href="https://man.openbsd.org/iked.8">iked(8)</a>,
811: do not leak a file descriptor if
812: <a href="https://man.openbsd.org/open_memstream.3"
813: >open_memstream(3)</a> fails while trying to enable a child SA.
814: <li>While trying to verify an ECDSA signature in
815: <a href="https://man.openbsd.org/iked.8">iked(8)</a>,
816: correctly detect failure of DER encoding with
1.21 schwarze 817: <a href="https://man.openbsd.org/i2d_ECDSA_SIG.3"
1.59 schwarze 818: >i2d_ECDSA_SIG(3)</a>.
819: <li>In <a href="https://man.openbsd.org/ipsecctl.8">ipsecctl(8)</a>,
1.91 schwarze 820: support route-based IPsec VPN negotiation with
1.59 schwarze 821: <a href="https://man.openbsd.org/sec.4">sec(4)</a>.
822: <li>In <a href="https://man.openbsd.org/isakmpd.8">isakmpd(8)</a>,
1.91 schwarze 823: support configuring interface SAs for route-based IPsec VPNs.
1.59 schwarze 824: <li>In <a href="https://man.openbsd.org/isakmpd.8">isakmpd(8)</a>
825: quick mode, do not crash with a <code>NULL</code> pointer
826: access when a group description is specified but it is invalid,
827: unsupported, or memory allocation or key generation fails.
1.21 schwarze 828: <li>In <a href="https://man.openbsd.org/isakmpd.8">isakmpd(8)</a>,
1.59 schwarze 829: avoid a double free in the unlikely event that
830: <a href="https://man.openbsd.org/EC_KEY_check_key.3"
831: >EC_KEY_check_key(3)</a> fails right after generating
832: a new key pair.
833: <li>Allow building
834: <a href="https://man.openbsd.org/isakmpd.8">isakmpd(8)</a>
835: with a libcrypto library that has
836: <a href="https://man.openbsd.org/OpenBSD-7.3/EC_GROUP_new.3"
837: >binary field support</a> ("GF2m") removed.
1.1 deraadt 838: </ul>
1.83 benno 839:
1.1 deraadt 840: <li>In <a href="https://man.openbsd.org/bgpd.8">bgpd(8)</a>,
841: <ul>
1.22 claudio 842: <li>Add first version of flowspec support. Right now only announcement
843: of flowspec rules is possible.
844: <li>Update ASPA support to follow draft-ietf-sidrops-aspa-verification-16
845: and draft-ietf-sidrops-aspa-profile-16 by making the ASPA lookup
846: tables AFI-agnostic.
847: <li>Rework UPDATE message generation to use the new ibuf API instead
848: of the hand-rolled solution before.
849: <li>Fix <code>ext-community * *</code> matching which also affects
1.29 jsg 850: filters removing all ext-communities.
1.22 claudio 851: <li>Improve and extend the bgpctl parser to handle commands like
852: <code>bgpctl show rib 192.0.2.0/24 detail</code>.
853: Also add various flowspec specific commands.
854: <li>Introduce a semaphore to protect intermittent RTR session data
855: from being published to the RDE.
856: <li>Limit the socket buffer size to 64k for all sessions.
857: Limiting the buffer size to a reasonable size ensures that not
858: too many updates end up queued in the TCP stack.
1.91 schwarze 859: <li>Adjust example <code>GRACEFUL_SHUTDOWN</code> filter rule in
1.22 claudio 860: the example config to only match on ebgp sessions.
1.1 deraadt 861: </ul>
1.83 benno 862:
1.1 deraadt 863: <li><a href="https://man.openbsd.org/rpki-client.8">rpki-client(8)</a> saw some changes:
864: <ul>
1.23 claudio 865: <li>A 30%-50% performance improvement was achieved through libcrypto's
866: partial chains certificate validation feature. Already validated
867: non-inheriting CA certificates are now marked as trusted roots. This
868: way it can be ensured that a leaf's delegated resources are properly
869: covered, and at the same time most validation paths are
870: significantly shortened.
871: <li>Support for gzip and deflate HTTP Content-Encoding compression was
872: added. This allows web servers to send RRDP XML in compressed form,
873: saving around 50% of bandwidth.
874: <li>ASPA support was updated to draft-ietf-sidrops-aspa-profile-16.
875: As part of supporting AFI-agnostic ASPAs, the JSON syntax for
876: Validated ASPA Payloads changed in both filemode and normal output.
877: <li>In filemode (-f option) the applicable manifests are now shown as
878: part of the signature path.
879: <li>A new -P option was added to manually specify a moment in time
880: to use when parsing the validity window of certificates. Useful
881: for regression testing. Default is invocation time of rpki-client.
882: <li>The -A option will now also exclude ASPA data from the JSON output.
883: <li>The synchronisation protocol used to sync the repository is now
884: included in the OpenMetrics output.
885: <li>Improved accounting by tracking objects both by repo and tal.
886: <li>Check whether products listed on a manifest were issued by the same
887: authority as the manifest itself.
888: <li>File modification timestamps of objects retrieved via RRDP are now
889: deterministically set to prepare the on-disk cache for seamless
890: failovers from RRDP to RSYNC.
891: <li>Improved detection of RRDP session desynchronization: a check was
892: added to compare whether the delta hashes associated to previously
893: seen serials are different in newly fetched notification files.
894: <li>Improved handling of RRDP deltas in which objects are published,
895: withdrawn, and published again.
896: <li>Disallow X.509 v2 issuer and subject unique identifiers in certs.
897: RPKI CAs will never issue certificates with V2 unique identifiers.
898: <li>A check to disallow duplicate X.509 certificate extensions was
899: added.
900: <li>A check to disallow empty sets of IP Addresses or AS numbers in RFC
901: 3779 extensions was added.
902: <li>A warning is printed when the CMS signing-time attribute in a Signed
903: Object is missing.
904: <li>Warnings about unrecoverable message digest mismatches now include
905: the manifestNumber to aid debugging the cause.
906: <li>A check was added to disallow multiple RRDP publish elements for the
907: same file in RRDP snapshots. If this error condition is encountered,
908: the RRDP transfer is failed and the RP falls back to rsync.
909: <li>A compliance check for the proper X.509 Certificate version and CRL
910: version was added.
911: <li>A compliance check was added to ensure CMS Signed Objects contain
912: SignedData, in accordance to RFC 6488 section 3 checklist item 1a.
913: <li>Compliance checks were added for the version, KeyUsage, and
914: ExtendedKeyUsage of EE certificates in Manifest, TAK, and GBR Signed
915: Objects.
916: <li>A CMS signing-time value being after the X.509 notAfter timestamp
917: was downgraded from an error to a warning.
918: <li>A bug was fixed in the handling of CA certificates which inherit IP
919: resources.
920: <li>A compliance check was added to ensure the X.509 Subject only
921: contains commonName and optionally serialNumber.
922: <li>A compliance check was added to ensure the CMS SignedData and
923: SignerInfo versions to be 3.
924: <li>Fisher-Yates shuffle the order in which Manifest entries are
925: processed. Previously, work items were enqueued in the order the CA
926: intended them to appear on a Manifest. However, there is no obvious
927: benefit to third parties deciding the order in which things are
928: processed.
1.1 deraadt 929: </ul>
930:
1.41 op 931: <li>In <a href="https://man.openbsd.org/smtpd.8">smtpd(8)</a>,
932: <ul>
933: <li>Swapped link-auth filter arguments to avoid ambiguities with user
934: names containing a "|" character.
935: <li>Bumped <a href="https://man.openbsd.org/smtpd-filters.7">smtpd-filters(7)</a>
936: protocol version.
937: <li>Fixed potential truncation of filtered data lines.
938: <li>Allowed arguments on NOOP.
939: </ul>
940:
1.87 jsg 941: <li>Many other changes in various network programs and libraries:
1.83 benno 942: <ul>
943: <li>Let <a href="https://man.openbsd.org/pcap_fopen_offline.3"
944: >pcap_fopen_offline(3)</a> correctly interpret some
945: <code>LINKTYPE_*</code> values in pcap headers written
946: on foreign operating systems.
947: <li>Make <a href="https://man.openbsd.org/dig.1">dig(1)</a>
948: use less deprecated LibreSSL API.
949:
950: <li>Remove stylistic differences between
951: <a href="https://man.openbsd.org/arp.8">arp(8)</a> and
952: <a href="https://man.openbsd.org/ndp.8">ndp(8)</a> delete()
953: function. This makes it easier to spot real changes in behavior.
954: <li>Make <a href="https://man.openbsd.org/ndp.8">ndp(8)</a>
955: not remove cloning routes when no neighbor entry is
956: found with <code>ndp -d</code>.
957:
958:
959: <li>Improved error handling in the <a
960: href="https://man.openbsd.org/asr_run.3">asr</a> resolver.
961:
962: <li>In <a href="https://man.openbsd.org/unwind.8">unwind(8)</a>,
963: handle SERVFAIL results on name resolution better.
964: <li>In <a href="https://man.openbsd.org/unwind.8">unwind(8)</a>,
965: fix a use-after-free bug triggered by fatal write errors
966: while sending TCP responses.
967:
968: <li>In the router advertisement daemon
969: <a href="https://man.openbsd.org/rad.8">rad(8)</a>, update the default
970: timers for prefix preferred and valid lifetimes to use the values from
971: RFC 9096.
972: <li>In <a href="https://man.openbsd.org/slaacd.8">slaacd(8)</a>,
973: remove artificial limit of 2 hours on a PIO lifetime.
1.81 benno 974:
1.83 benno 975: <li>In <a href="https://man.openbsd.org/ypldap.8">ypldap(8)</a>,
976: reduce memory usage when updating larger directories.
977: <li>Make <a href="https://man.openbsd.org/ypldap.8">ypldap(8)</a>
978: more resilient when some servers are
979: misbehaving: keep trying LDAP servers until full results arrive
980: rather than just until one accepts the TCP connection.
981:
982: <li>New <a href="https://man.openbsd.org/ifconfig.8#wgdescription"
983: >wgdescription</a> parameter to
984: <a href="https://man.openbsd.org/ifconfig.8">ifconfig(8)</a>
985: to set a string describing the
986: <a href="https://man.openbsd.org/wg.4">wg(4)</a> peer.
987:
988: <li>Let <a href="https://man.openbsd.org/ifconfig.8">ifconfig(8)</a>
989: prefix the interface name to many error and warning messages.
990:
991: <li>Make the <code>tlsv1.0</code> and <code>tlsv1.1</code> options
992: in <a href="https://man.openbsd.org/relayd.8">relayd(8)</a>
993: do nothing, as one should use the default <code>tlsv1.2</code>
994: instead.
995: <li>Fix IPv6 routes being changed by
996: <a href="https://man.openbsd.org/relayd.8">relayd(8)</a>
997: with Routers configuration.
998:
999: <li>In <a
1000: href="https://man.openbsd.org/dhcrelay6.8">dhcrelay6(8)</a>, do not
1001: ignore the AF_LINK entries of <a
1002: href="https://man.openbsd.org/carp.4">carp(4)</a> interfaces.
1003:
1.109 schwarze 1004: <li>Improve the config parser of
1005: <a href="https://man.openbsd.org/radiusd.8">radiusd(8)</a>
1006: to better handle
1.83 benno 1007: comments, improve error messages and plug a memory leak.
1008: <li>In <a href="https://man.openbsd.org/radiusd.8">radiusd(8)</a>,
1009: add request or response decoration feature which is used through the
1010: radiusd module interface. This makes additional modules can modify
1011: RADIUS request or response messages. Also add new "radius_standard"
1012: module which uses this new feature, provides some generic features
1013: like "strip-atmark-realm" which removes the realm part from the
1014: User-Name attribute.
1015:
1016: <li>Allow UDP for built-in <a
1017: href="https://man.openbsd.org/inetd.8">inetd(8)</a> services on
1.87 jsg 1018: 127.0.0.1. This restriction was added in year 2000 due to IPv6 compatible and
1.83 benno 1019: mapped addresses. Nowadays our kernel does not support these IPv6
1020: features and blocks localhost addresses on non-loopback interfaces.
1021: Make IPv4 127.0.0.1/8 and IPv6 ::1 behave identically and provide
1022: local services if configured.
1023:
1024: <li>In <a href="https://man.openbsd.org/spamd.8">spamd(8)</a>, log a
1.118 ! bentley 1025: dummy "<unknown>" IP address in the unlikely event that getnameinfo(3)
1.83 benno 1026: fails.
1027: </ul>
1.1 deraadt 1028: </ul>
1029:
1030: <li><a href="https://man.openbsd.org/tmux.1">tmux(1)</a> improvements and bug fixes:
1031: <ul>
1.11 benno 1032: <li>For passthrough, don't write to clients attached to different sessions.
1033: <li>Add a format to show if there are unseen changes while in a mode.
1.50 benno 1034: <li>Discard mouse sequences that have the right form but actually
1035: are invalid.
1036: <li>Invalidate cached tty state after changing features since they may
1037: change what the terminal can do and need mouse sequences or similar to
1038: be sent again.
1.51 benno 1039: <li>Add options to change the confirm key and default behaviour of
1040: confirm-before.
1.81 benno 1041: <li>Add an option menu-selected-style to configure the currently
1042: selected menu item.
1043: <li>Add -c to run-shell to set working directory.
1044: <li>Add detach-on-destroy previous and next,
1045: <li>Set visited flag on last windows when linking session.
1.1 deraadt 1046: </ul>
1047:
1.7 tb 1048: <li>LibreSSL version 3.8.2
1.1 deraadt 1049: <ul>
1.7 tb 1050: <li>Security fixes
1051: <ul>
1052: <li>Disabled TLSv1.0 and TLSv1.1 in libssl so that they may no longer
1053: be selected for use.
1.111 schwarze 1054: <li><a href="https://man.openbsd.org/BN_is_prime_ex.3">BN_is_prime_ex(3)</a>
1055: and BN_is_prime_fasttest_ex(3) refuse to check numbers larger than
1.7 tb 1056: 32 kbits for primality. This mitigates various DoS vectors.
1057: <li>Restricted the RFC 3779 code to IPv4 and IPv6. It was not written
1058: to be able to deal with anything else.
1059: </ul>
1060: <li>Portable changes
1061: <ul>
1062: <li>Extended the endian.h compat header with hto* and *toh macros.
1063: <li>Adapted more tests to the portable framework.
1064: <li>Internal tools are now statically linked.
1065: <li>Applications bundled as part of the LibreSSL package internally,
1.111 schwarze 1066: <a href="https://man.openbsd.org/nc.1">nc(1)</a> and
1067: <a href="https://man.openbsd.org/openssl.1">openssl(1)</a>,
1068: now are linked statically if static libraries are built.
1.7 tb 1069: <li>Internal compatibility function symbols are no longer exported from
1070: libcrypto. Instead, the libcompat library is linked to libcrypto,
1071: libssl, and libtls separately. This increases size a little, but
1072: ensures that the libraries are not exporting symbols to programs
1073: unintentionally.
1074: <li>Selective removal of CET implementation on platforms where it is
1075: not supported (macOS).
1076: <li>Integrated four more tests.
1077: <li>Added Windows ARM64 architecture to tested platforms.
1078: <li>Removed Solaris 10 support, fixed Solaris 11.
1079: <li>libtls no longer links statically to libcrypto / libssl unless
1080: <code>--enable-libtls-only</code> is specified at configure time.
1081: <li>Improved Windows compatibility library, namely handling of files vs
1082: sockets, correcting an exception when operating on a closed socket.
1083: <li>CMake builds no longer hardcode <code>-O2</code> into the compiler flags,
1084: instead using flags from the CMake build type instead.
1085: <li>Set the CMake default build type to <code>Release</code>. This can be overridden
1086: during configuration.
1087: <li>Fixed broken ASM support with MinGW builds.
1088: </ul>
1.1 deraadt 1089: <li>New features
1090: <ul>
1.111 schwarze 1091: <li>Added support for
1092: <a href="https://man.openbsd.org/EVP_sha512_224.3">truncated SHA-2</a>
1093: and for <a href="https://man.openbsd.org/EVP_sha3_224.3">SHA-3</a>.
1.7 tb 1094: <li>The BPSW primality test performs additional Miller-Rabin rounds
1095: with random bases to reduce the likelihood of composites passing.
1096: <li>Allow testing of ciphers and digests using badly aligned buffers
1097: in openssl speed using -unalign.
1.111 schwarze 1098: <li>Ed25519 certificates are now supported in openssl(1)
1099: <a href="https://man.openbsd.org/openssl.1#ca">ca</a> and
1100: <a href="https://man.openbsd.org/openssl.1#req">req</a>.
1.7 tb 1101: Prepared Ed25519 support in libssl.
1102: <li>Add branch target information (BTI) support to amd64 and arm64
1103: assembly.
1.1 deraadt 1104: </ul>
1105: <li>Compatibility changes
1106: <ul>
1.7 tb 1107: <li>Added a workaround for a poorly thought-out change in OpenSSL 3 that
1108: broke privilege separation support in libtls.
1109: <li>Moved libtls from ECDSA_METHOD to EC_KEY_METHOD.
1110: <li>Removed GF2m support: BIGNUM no longer supports binary extension
1111: field arithmetic and all binary elliptic builtin curves were removed.
1112: <li>Removed dangerous, "fast" NIST prime and elliptic curve implementations.
1113: In particular, EC_GFp_nist_method() is no longer available.
1114: <li>Removed most public symbols that were deprecated in OpenSSL 0.9.8.
1115: <li>Removed the public X9.31 API (RSA_X931_PADDING is still available).
1116: <li>Removed Cipher Text Stealing mode.
1117: <li>Removed ENGINE support, including ECDH_METHOD and ECDSA_METHOD.
1118: <li>Removed COMP, DSO, dynamic loading of conf modules and support for
1119: custom ex_data and error stacks.
1120: <li>Removed proxy certificate (RFC 3820) support.
1121: <li>Removed SXNET and NETSCAPE_CERT_SEQUENCE support including the
1.8 tb 1122: openssl(1) nseq command.
1.7 tb 1123: <li>ENGINE support was removed and OPENSSL_NO_ENGINE is set. In spite
1124: of this, some stub functions are provided to avoid patching some
1125: applications that do not honor OPENSSL_NO_ENGINE.
1126: <li>The POLICY_TREE and its related structures and API were removed.
1.111 schwarze 1127: <li>In <a href="https://man.openbsd.org/X509_VERIFY_PARAM_inherit.3"
1128: >X509_VERIFY_PARAM_inherit(3)</a>, copy hostflags independently of the
1.7 tb 1129: host list.
1.111 schwarze 1130: <li>Made <a href="https://man.openbsd.org/CRYPTO_get_ex_new_index.3"
1131: >CRYPTO_get_ex_new_index(3)</a> not return 0 to allow applications
1.7 tb 1132: to use *_{get,set}_app_data() and *_{get,set}_ex_data() alongside
1133: each other.
1.111 schwarze 1134: <li><a href="https://man.openbsd.org/X509_NAME_get_text_by_NID.3"
1135: >X509_NAME_get_text_by_NID(3)</a> and
1136: <a href="https://man.openbsd.org/X509_NAME_get_text_by_OBJ.3"
1137: >X509_NAME_get_text_by_OBJ(3)</a> now only succeed if they contain
1.7 tb 1138: valid UTF-8 without embedded NUL.
1139: <li>The explicitText user notice uses UTF8String instead of VisibleString
1140: to reduce the risk of emitting certificates with invalid DER-encoding.
1141: <li>Initial fixes for RSA-PSS support to make the TLSv1.3 stack more
1142: compliant with RFC 8446.
1.111 schwarze 1143: <li>Fixed <a href="https://man.openbsd.org/EVP_CIPHER_CTX_iv_length.3"
1144: >EVP_CIPHER_CTX_iv_length(3)</a> to return what was set with
1.7 tb 1145: EVP_CTRL_AEAD_SET_IVLEN or one of its aliases.
1.1 deraadt 1146: </ul>
1.7 tb 1147: <li>Internal improvements
1.1 deraadt 1148: <ul>
1.7 tb 1149: <li>Improved sieve of Eratosthenes script used for generating a table
1150: of small primes.
1151: <li>Removed incomplete and dangerous BN_RECURSION code.
1152: <li>Imported RFC 5280 policy checking code from BoringSSL and used it
1153: to replace the old exponential time code.
1154: <li>Converted more of libcrypto to use CBB/CBS.
1155: <li>Started cleaning up and rewriting SHA internals.
1156: <li>Reduced the dependency of hash implementations on many layers of
1157: macros. This results in significant speedups since modern compilers
1158: are now less confused.
1159: <li>Improved BIGNUM internals and performance.
1160: <li>Significantly simplified the BN_BLINDING internals used in RSA.
1.111 schwarze 1161: <li>Made <a href="https://man.openbsd.org/BN_num_bits.3">BN_num_bits(3)</a>
1162: independent of bn->top.
1.7 tb 1163: <li>Rewrote and simplified bn_sqr().
1164: <li>Significantly improved Montgomery multiplication performance.
1.111 schwarze 1165: <li>Rewrote and improved
1166: <a href="https://man.openbsd.org/BN_exp.3">BN_exp(3)</a> and
1167: <a href="https://man.openbsd.org/BN_copy.3">BN_copy(3)</a>.
1168: <li>Changed <a href="https://man.openbsd.org/ASN1_item_sign_ctx.3"
1169: >ASN1_item_sign_ctx(3)</a> and
1170: <a href="https://man.openbsd.org/ASN1_item_verify.3"
1171: >ASN1_item_verify(3)</a> to work with
1.7 tb 1172: Ed25519 and fixed a few bugs in there.
1173: <li>Lots of cleanup for DH, DSA, EC, RSA internals. Plugged numerous
1174: memory leaks, fixed logic errors and inconsistencies.
1175: <li>Cleaned up and simplified various ECDH and ECDSA internals.
1176: <li>Removed EC_GROUP precomp machinery.
1.111 schwarze 1177: <li>Fixed various issues with
1178: <a href="https://man.openbsd.org/EVP_PKEY_CTX_new.3"
1179: >EVP_PKEY_CTX_new(3)</a> and EVP_PKEY_CTX_dup(3).
1180: <li>Rewrote <a href="https://man.openbsd.org/OBJ_find_sigid_algs"
1181: >OBJ_find_sigid_algs(3)</a> and OBJ_find_sigid_by_algs(3).
1.7 tb 1182: <li>Improved X.509 certificate version checks.
1183: <li>Ensure no X.509v3 extensions appear more than once in certificates.
1184: <li>Replaced ASN1_bn_print with a cleaner internal implementation.
1185: <li>Fix OPENSSL_cpuid_setup() invocations on arm/aarch64.
1186: <li>Improved checks for commonName in libtls.
1.111 schwarze 1187: <li>Fixed error check for
1188: <a href="https://man.openbsd.org/X509_get_ext_d2i.3"
1189: >X509_get_ext_d2i(3)</a> failure in libtls.
1.7 tb 1190: <li>Removed code guarded by #ifdef ZLIB.
1.111 schwarze 1191: <li>Plug a potential memory leak in
1192: <a href="https://man.openbsd.org/ASN1_TIME_normalize.3"
1193: >ASN1_TIME_normalize(3)</a>.
1.7 tb 1194: <li>Fixed a use of uninitialized in i2r_IPAddrBlocks().
1.111 schwarze 1195: <li>Rewrote <a href="https://man.openbsd.org/CMS_SignerInfo_sign.3"
1196: >CMS_SignerInfo_sign(3)</a> and CMS_SignerInfo_verify(3).
1.1 deraadt 1197: </ul>
1.7 tb 1198: <li>Bug fixes
1.1 deraadt 1199: <ul>
1.7 tb 1200: <li>Correctly handle negative input to various BIGNUM functions.
1201: <li>Ensure ERR_load_ERR_strings() does not set errno unexpectedly.
1.111 schwarze 1202: <li>Fix error checking of
1203: <a href="https://man.openbsd.org/i2d_ECDSA_SIG.3">i2d_ECDSA_SIG(3)</a>
1204: in ossl_ecdsa_sign().
1205: <li>Fixed aliasing issue in
1206: <a href="https://man.openbsd.org/BN_mod_inverse.3"
1207: >BN_mod_inverse(3)</a>. Disallowed aliasing of result
1.8 tb 1208: and modulus in various BN_mod_* functions.
1.7 tb 1209: <li>Fixed detection of extended operations (XOP) on AMD hardware.
1210: <li>Ensure Montgomery exponentiation is used for the initial RSA blinding.
1211: <li>Policy is always checked in X509 validation. Critical policy extensions
1212: are no longer silently ignored.
1213: <li>Fixed error handling in tls_check_common_name().
1.111 schwarze 1214: <li>Add missing pointer invalidation in
1215: <a href="https://man.openbsd.org/SSL_free.3">SSL_free(3)</a>.
1.7 tb 1216: <li>Fixed X509err() and X509V3err() and their internal versions.
1.111 schwarze 1217: <li>Ensure that
1218: <a href="https://man.openbsd.org/OBJ_obj2txt.3">OBJ_obj2txt(3)</a>
1219: always returns a C string again.
1220: <li>Made <a href="https://man.openbsd.org/EVP_PKEY_CTX_set1_hkdf_key"
1221: >EVP_PKEY_CTX_set1_hkdf_key(3)</a> fail on a NULL key.
1.7 tb 1222: <li>On socket errors in the poll loop, netcat could issue system calls
1223: on invalidated file descriptors.
1224: <li>Allow IP addresses to be specified in a URI.
1.111 schwarze 1225: <li>Fixed a copy-paste error in
1226: <a href="https://man.openbsd.org/ASN1_TIME_compare.3"
1227: >ASN1_TIME_compare(3)</a> that could lead to two UTCTimes
1228: or two GeneralizedTimes incorrectly being compared as equal.
1.7 tb 1229: </ul>
1230: <li>Documentation improvements
1231: <ul>
1232: <li>Improved documentation of BIO_ctrl(3), BIO_set_info_callback(3),
1233: BIO_get_info_callback(3), BIO_method_type(3), and BIO_method_name(3).
1234: <li>Marked BIO_CB_return(), BIO_cb_pre(), and BIO_cb_post() as intentionally
1235: undocumented.
1236: <li>Made it very explicit that the verify callback should not be used.
1237: <li>Called out that the CRL lastUpdate is standardized as thisUpdate.
1238: <li>Documented the RFC 3779 API and its shortcomings.
1239: </ul>
1240: <li>Testing and Proactive Security
1241: <ul>
1.111 schwarze 1242: <li>Significantly improved test coverage of
1243: <a href="https://man.openbsd.org/BN_mod_sqrt.3">BN_mod_sqrt(3)</a>
1244: and GCD.
1.7 tb 1245: <li>As always, new test coverage is added as bugs are fixed and subsystems
1246: are cleaned up.
1.1 deraadt 1247: </ul>
1248: </ul>
1249:
1.13 dtucker 1250: <li>OpenSSH 9.5 and OpenSSH 9.4
1.1 deraadt 1251: <ul>
1.12 dtucker 1252: <li>Potentially incompatible changes
1.1 deraadt 1253: <ul>
1.12 dtucker 1254: <li><a href="https://man.openbsd.org/ssh-keygen.1">ssh-keygen(1)</a>:
1255: generate Ed25519 keys by default. Ed25519 public keys
1256: are very convenient due to their small size. Ed25519 keys are
1257: specified in RFC 8709 and OpenSSH has supported them since version 6.5
1258: (January 2014).
1259: <li><a href="https://man.openbsd.org/sshd.8">sshd(8)</a>:
1260: the Subsystem directive now accurately preserves quoting of
1261: subsystem commands and arguments. This may change behaviour for exotic
1262: configurations, but the most common subsystem configuration
1263: (sftp-server) is unlikely to be affected.
1.13 dtucker 1264: <li><a href="https://man.openbsd.org/ssh-agent.1">ssh-agent(1)</a>:
1265: PKCS#11 modules must now be specified by their full
1266: paths. Previously dlopen(3) could search for them in system
1267: library directories.
1.1 deraadt 1268: </ul>
1.12 dtucker 1269: <li>New features
1.1 deraadt 1270: <ul>
1.12 dtucker 1271: <li><a href="https://man.openbsd.org/ssh.1">ssh(1)</a>:
1272: add keystroke timing obfuscation to the client. This attempts
1273: to hide inter-keystroke timings by sending interactive traffic at
1274: fixed intervals (default: every 20ms) when there is only a small
1275: amount of data being sent. It also sends fake "chaff" keystrokes for
1276: a random interval after the last real keystroke. These are
1277: controlled by a new ssh_config ObscureKeystrokeTiming keyword.
1278: <li><a href="https://man.openbsd.org/ssh.1">ssh(1)</a>,
1279: <a href="https://man.openbsd.org/sshd.8">sshd(8)</a>:
1280: Introduce a transport-level ping facility. This adds
1281: a pair of SSH transport protocol messages SSH2_MSG_PING/PONG to
1282: implement a ping capability. These messages use numbers in the "local
1283: extensions" number space and are advertised using a "ping@openssh.com"
1284: ext-info message with a string version number of "0".
1.13 dtucker 1285: <li><a href="https://man.openbsd.org/sshd.8">sshd(8)</a>:
1286: allow override of Subsystem directives in sshd Match blocks.
1287: <li><a href="https://man.openbsd.org/ssh.1">ssh(1)</a>:
1288: allow forwarding Unix Domain sockets via ssh -W.
1289: <li><a href="https://man.openbsd.org/ssh.1">ssh(1)</a>:
1290: add support for configuration tags to ssh(1).
1291: This adds a ssh_config(5) "Tag" directive and corresponding
1292: "Match tag" predicate that may be used to select blocks of
1293: configuration similar to the pf.conf(5) keywords of the same
1294: name.
1295: <li><a href="https://man.openbsd.org/ssh.1">ssh(1)</a>:
1296: add a "match localnetwork" predicate. This allows matching
1297: on the addresses of available network interfaces and may be used to
1298: vary the effective client configuration based on network location.
1299: <li><a href="https://man.openbsd.org/ssh.1">ssh(1)</a>,
1300: <a href="https://man.openbsd.org/sshd.8">sshd(8)</a>,
1301: <a href="https://man.openbsd.org/ssh-keygen.1">ssh-keygen(1)</a>:
1302: infrastructure support for KRL
1303: extensions. This defines wire formats for optional KRL extensions
1304: and implements parsing of the new submessages. No actual extensions
1305: are supported at this point.
1306: <li><a href="https://man.openbsd.org/sshd.8">sshd(8)</a>:
1307: AuthorizedPrincipalsCommand and AuthorizedKeysCommand now
1308: accept two additional %-expansion sequences: %D which expands to
1309: the routing domain of the connected session and %C which expands
1310: to the addresses and port numbers for the source and destination
1311: of the connection.
1312: <li><a href="https://man.openbsd.org/ssh-keygen.1">ssh-keygen(1)</a>:
1313: increase the default work factor (rounds) for the
1314: bcrypt KDF used to derive symmetric encryption keys for passphrase
1315: protected key files by 50%.
1.1 deraadt 1316: </ul>
1317: <li>Bugfixes
1318: <ul>
1.12 dtucker 1319: <li><a href="https://man.openbsd.org/scp.1">scp(1)</a>:
1320: fix scp in SFTP mode recursive upload and download of
1321: directories that contain symlinks to other directories. In scp mode,
1322: the links would be followed, but in SFTP mode they were not.
1323: <li><a href="https://man.openbsd.org/ssh-keygen.1">ssh-keygen(1)</a>:
1324: handle cr+lf (instead of just cr) line endings in
1325: sshsig signature files.
1326: <li><a href="https://man.openbsd.org/ssh.1">ssh(1)</a>:
1327: interactive mode for ControlPersist sessions if they
1328: originally requested a tty.
1329: <li><a href="https://man.openbsd.org/sshd.8">sshd(8)</a>:
1330: make PerSourceMaxStartups first-match-wins
1331: <li><a href="https://man.openbsd.org/sshd.8">sshd(8)</a>:
1332: limit artificial login delay to a reasonable maximum (5s)
1333: and don't delay at all for the "none" authentication mechanism.
1.13 dtucker 1334: <li><a href="https://man.openbsd.org/sshd.8">sshd(8)</a>:
1335: Log errors in kex_exchange_identification() with level
1.12 dtucker 1336: verbose instead of error to reduce preauth log spam. All of those
1337: get logged with a more generic error message by sshpkt_fatal().
1338: <li><a href="https://man.openbsd.org/sshd.8">sshd(8)</a>:
1339: correct math for ClientAliveInterval that caused the probes
1340: to be sent less frequently than configured.
1.13 dtucker 1341: <li><a href="https://man.openbsd.org/ssh-agent.1">ssh-agent(1)</a>:
1342: improve isolation between loaded PKCS#11 modules
1343: by running separate ssh-pkcs11-helpers for each loaded provider.
1344: <li><a href="https://man.openbsd.org/ssh.1">ssh(1)</a>:
1345: make -f (fork after authentication) work correctly with
1346: multiplexed connections, including ControlPersist.
1347: <li><a href="https://man.openbsd.org/ssh.1">ssh(1)</a>:
1348: make ConnectTimeout apply to multiplexing sockets and not
1349: just to network connections.
1350: <li><a href="https://man.openbsd.org/ssh-agent.1">ssh-agent(1)</a>,
1351: <a href="https://man.openbsd.org/ssh.1">ssh(1)</a>:
1352: improve defences against invalid PKCS#11
1353: modules being loaded by checking that the requested module
1354: contains the required symbol before loading it.
1355: <li><a href="https://man.openbsd.org/sshd.8">sshd(8)</a>:
1356: fix AuthorizedPrincipalsCommand when AuthorizedKeysCommand
1357: appears before it in sshd_config. Since OpenSSH 8.7 the
1358: AuthorizedPrincipalsCommand directive was incorrectly ignored in
1359: this situation.
1360: <li><a href="https://man.openbsd.org/sshd.8">sshd(8)</a>,
1361: <a href="https://man.openbsd.org/ssh.1">ssh(1)</a>,
1362: <a href="https://man.openbsd.org/ssh-keygen.1">ssh-keygen(1)</a>:
1.16 jsg 1363: remove vestigial support for KRL
1.13 dtucker 1364: signatures When the KRL format was originally defined, it included
1365: support for signing of KRL objects. However, the code to sign KRLs
1.16 jsg 1366: and verify KRL signatures was never completed in OpenSSH. This
1.13 dtucker 1367: release removes the partially-implemented code to verify KRLs.
1368: All OpenSSH tools now ignore KRL_SECTION_SIGNATURE sections in
1369: KRL files.
1370: <li>All: fix a number of memory leaks and unreachable/harmless integer
1371: overflows.
1372: <li><a href="https://man.openbsd.org/ssh-agent.1">ssh-agent(1)</a>,
1373: <a href="https://man.openbsd.org/ssh.1">ssh(1)</a>:
1374: don't truncate strings logged from PKCS#11 modules
1375: <li><a href="https://man.openbsd.org/sshd.8">sshd(8)</a>,
1376: <a href="https://man.openbsd.org/ssh.1">ssh(1)</a>:
1377: better validate CASignatureAlgorithms in
1378: ssh_config and sshd_config. Previously this directive would accept
1379: certificate algorithm names, but these were unusable in practice as
1380: OpenSSH does not support CA chains.
1381: <li><a href="https://man.openbsd.org/ssh.1">ssh(1)</a>:
1382: make <code>ssh -Q CASignatureAlgorithms</code> only list signature
1383: algorithms that are valid for CA signing. Previous behaviour was
1384: to list all signing algorithms, including certificate algorithms.
1385: <li><a href="https://man.openbsd.org/ssh-keyscan.1">ssh-keyscan(1)</a>:
1386: gracefully handle systems where rlimits or the
1387: maximum number of open files is larger than INT_MAX
1388: <li><a href="https://man.openbsd.org/ssh-keygen.1">ssh-keygen(1)</a>:
1389: fix "no comment" not showing on when running
1390: <code>ssh-keygen -l</code> on multiple keys where one has a comment
1391: and other following keys do not.
1392: <li><a href="https://man.openbsd.org/scp.1">scp(1)</a>,
1.14 dtucker 1393: <a href="https://man.openbsd.org/sftp.1">sftp(1)</a>:
1.13 dtucker 1394: adjust ftruncate() logic to handle servers that
1395: reorder requests. Previously, if the server reordered requests then
1396: the resultant file would be erroneously truncated.
1397: <li><a href="https://man.openbsd.org/ssh.1">ssh(1)</a>:
1398: don't incorrectly disable hostname canonicalization when
1.16 jsg 1399: CanonicalizeHostname=yes and ProxyJump was explicitly set to
1.13 dtucker 1400: "none".
1401: <li><a href="https://man.openbsd.org/scp.1">scp(1)</a>:
1402: when copying local to remote, check that the source file
1403: exists before opening an SFTP connection to the server.
1.1 deraadt 1404: </ul>
1405: </ul>
1406:
1407: <li>Ports and packages:
1408: <p>Many pre-built packages for each architecture:
1409: <!-- number of FTP packages minus SHA256, SHA256.sig, index.txt -->
1410: <ul style="column-count: 3">
1.25 naddy 1411: <li>aarch64: 11508
1412: <li>amd64: 11845
1.117 naddy 1413: <li>arm: 7705
1.25 naddy 1414: <li>i386: 10603
1.114 visa 1415: <li>mips64: 8995
1.116 naddy 1416: <li>powerpc: 9683
1.112 naddy 1417: <li>powerpc64: 8351
1.115 naddy 1418: <li>riscv64: 10170
1.55 naddy 1419: <li>sparc64: 8469
1.1 deraadt 1420: </ul>
1421:
1422: <p>Some highlights:
1.7 tb 1423: <ul style="column-count: 3"><!-- XXX all need to be checked/updated 2023-03-04 -->
1.6 matthieu 1424: <li>Asterisk 16.30.1, 18.19.0 and 20.4.0
1.5 matthieu 1425: <li>Audacity 3.3.3
1426: <li>CMake 3.27.5
1.88 lteo 1427: <li>Chromium 117.0.5938.149
1.5 matthieu 1428: <li>Emacs 29.1
1429: <li>FFmpeg 4.4.4
1.1 deraadt 1430: <li>GCC 8.4.0 and 11.2.0
1.5 matthieu 1431: <li>GHC 9.2.7
1432: <li>GNOME 44
1433: <li>Go 1.21.1
1434: <li>JDK 8u382, 11.0.20 and 17.0.8
1435: <li>KDE Applications 23.08.0
1.107 rsadowsk 1436: <li>KDE Frameworks 5.110.0
1.5 matthieu 1437: <li>Krita 5.1.5
1438: <li>LLVM/Clang 13.0.0 and 16.0.6
1439: <li>LibreOffice 7.6.2.1
1440: <li>Lua 5.1.5, 5.2.4, 5.3.6 and 5.4.6
1441: <li>MariaDB 10.9.6
1442: <li>Mono 6.12.0.199
1443: <li>Mozilla Firefox 118.0.1 and ESR 115.3.1
1444: <li>Mozilla Thunderbird 115.3.1
1445: <li>Mutt 2.2.12 and NeoMutt 20230517
1446: <li>Node.js 18.18.0
1.1 deraadt 1447: <li>OCaml 4.12.1
1.5 matthieu 1448: <li>OpenLDAP 2.6.6
1449: <li>PHP 7.4.33, 8.0.30, 8.1.24 and 8.2.11
1450: <li>Postfix 3.7.3
1451: <li>PostgreSQL 15.4
1452: <li>Python 2.7.18, 3.9.18, 3.10.13 and 3.11.5
1453: <li>Qt 5.15.10 and 6.5.2
1454: <li>R 4.2.3
1455: <li>Ruby 3.0.6, 3.1.4 and 3.2.2
1456: <li>Rust 1.72.1
1.9 lteo 1457: <li>SQLite 3.42.0
1.5 matthieu 1458: <li>Shotcut 23.07.29
1459: <li>Sudo 1.9.14.2
1460: <li>Suricata 6.0.12
1461: <li>Tcl/Tk 8.5.19 and 8.6.13
1462: <li>TeX Live 2022
1463: <li>Vim 9.0.1897 and Neovim 0.9.1
1464: <li>Xfce 4.18
1.1 deraadt 1465: </ul>
1466: <p>
1467:
1468: <li>As usual, steady improvements in manual pages and other documentation.
1469:
1470: <li>The system includes the following major components from outside suppliers:
1.7 tb 1471: <ul><!-- XXX all need to be checked/updated 2023-03-04 -->
1.5 matthieu 1472: <li>Xenocara (based on X.Org 7.7 with xserver 21.1.8 + patches,
1473: freetype 2.13.0, fontconfig 2.14.2, Mesa 22.3.7, xterm 378,
1.1 deraadt 1474: xkeyboard-config 2.20, fonttosfnt 1.2.2 and more)
1475: <li>LLVM/Clang 13.0.0 (+ patches)
1476: <li>GCC 4.2.1 (+ patches) and 3.3.6 (+ patches)
1.5 matthieu 1477: <li>Perl 5.36.1 (+ patches)
1478: <li>NSD 4.7.0
1479: <li>Unbound 1.18.0
1.1 deraadt 1480: <li>Ncurses 5.7
1481: <li>Binutils 2.17 (+ patches)
1482: <li>Gdb 6.3 (+ patches)
1.5 matthieu 1483: <li>Awk September 12, 2023
1484: <li>Expat 2.5.0
1.49 schwarze 1485: <li>zlib 1.3 (+ patches)
1.1 deraadt 1486: </ul>
1487:
1488: </ul>
1489: </section>
1490:
1491: <hr>
1492:
1493: <section id=install>
1494: <h3>How to install</h3>
1495: <p>
1496: Please refer to the following files on the mirror site for
1497: extensive details on how to install OpenBSD 7.4 on your machine:
1498:
1499: <ul>
1500: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/7.4/alpha/INSTALL.alpha">
1.2 jsg 1501: .../OpenBSD/7.4/alpha/INSTALL.alpha</a>
1.1 deraadt 1502: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/7.4/amd64/INSTALL.amd64">
1.2 jsg 1503: .../OpenBSD/7.4/amd64/INSTALL.amd64</a>
1.1 deraadt 1504: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/7.4/arm64/INSTALL.arm64">
1.2 jsg 1505: .../OpenBSD/7.4/arm64/INSTALL.arm64</a>
1.1 deraadt 1506: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/7.4/armv7/INSTALL.armv7">
1.2 jsg 1507: .../OpenBSD/7.4/armv7/INSTALL.armv7</a>
1.1 deraadt 1508: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/7.4/hppa/INSTALL.hppa">
1.2 jsg 1509: .../OpenBSD/7.4/hppa/INSTALL.hppa</a>
1.1 deraadt 1510: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/7.4/i386/INSTALL.i386">
1.2 jsg 1511: .../OpenBSD/7.4/i386/INSTALL.i386</a>
1.1 deraadt 1512: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/7.4/landisk/INSTALL.landisk">
1.2 jsg 1513: .../OpenBSD/7.4/landisk/INSTALL.landisk</a>
1.1 deraadt 1514: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/7.4/loongson/INSTALL.loongson">
1.2 jsg 1515: .../OpenBSD/7.4/loongson/INSTALL.loongson</a>
1.1 deraadt 1516: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/7.4/luna88k/INSTALL.luna88k">
1.2 jsg 1517: .../OpenBSD/7.4/luna88k/INSTALL.luna88k</a>
1.1 deraadt 1518: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/7.4/macppc/INSTALL.macppc">
1.2 jsg 1519: .../OpenBSD/7.4/macppc/INSTALL.macppc</a>
1.1 deraadt 1520: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/7.4/octeon/INSTALL.octeon">
1.2 jsg 1521: .../OpenBSD/7.4/octeon/INSTALL.octeon</a>
1.1 deraadt 1522: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/7.4/powerpc64/INSTALL.powerpc64">
1.2 jsg 1523: .../OpenBSD/7.4/powerpc64/INSTALL.powerpc64</a>
1.1 deraadt 1524: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/7.4/riscv64/INSTALL.riscv64">
1.2 jsg 1525: .../OpenBSD/7.4/riscv64/INSTALL.riscv64</a>
1.1 deraadt 1526: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/7.4/sparc64/INSTALL.sparc64">
1.2 jsg 1527: .../OpenBSD/7.4/sparc64/INSTALL.sparc64</a>
1.1 deraadt 1528: </ul>
1529: </section>
1530:
1531: <hr>
1532:
1533: <section id=quickinstall>
1534: <p>
1535: Quick installer information for people familiar with OpenBSD, and the use of
1536: the "<a href="https://man.openbsd.org/disklabel.8">disklabel</a> -E" command.
1537: If you are at all confused when installing OpenBSD, read the relevant
1538: INSTALL.* file as listed above!
1539:
1540: <h3>OpenBSD/alpha:</h3>
1541:
1542: <p>
1543: If your machine can boot from CD, you can write <i>install74.iso</i> or
1544: <i>cd74.iso</i> to a CD and boot from it.
1545: Refer to INSTALL.alpha for more details.
1546:
1547: <h3>OpenBSD/amd64:</h3>
1548:
1549: <p>
1550: If your machine can boot from CD, you can write <i>install74.iso</i> or
1551: <i>cd74.iso</i> to a CD and boot from it.
1552: You may need to adjust your BIOS options first.
1553:
1554: <p>
1555: If your machine can boot from USB, you can write <i>install74.img</i> or
1556: <i>miniroot74.img</i> to a USB stick and boot from it.
1557:
1558: <p>
1559: If you can't boot from a CD, floppy disk, or USB,
1560: you can install across the network using PXE as described in the included
1561: INSTALL.amd64 document.
1562:
1563: <p>
1564: If you are planning to dual boot OpenBSD with another OS, you will need to
1565: read INSTALL.amd64.
1566:
1567: <h3>OpenBSD/arm64:</h3>
1568:
1569: <p>
1570: Write <i>install74.img</i> or <i>miniroot74.img</i> to a disk and boot from it
1571: after connecting to the serial console. Refer to INSTALL.arm64 for more
1572: details.
1573:
1574: <h3>OpenBSD/armv7:</h3>
1575:
1576: <p>
1577: Write a system specific miniroot to an SD card and boot from it after connecting
1578: to the serial console. Refer to INSTALL.armv7 for more details.
1579:
1580: <h3>OpenBSD/hppa:</h3>
1581:
1582: <p>
1583: Boot over the network by following the instructions in INSTALL.hppa or the
1584: <a href="hppa.html#install">hppa platform page</a>.
1585:
1586: <h3>OpenBSD/i386:</h3>
1587:
1588: <p>
1589: If your machine can boot from CD, you can write <i>install74.iso</i> or
1590: <i>cd74.iso</i> to a CD and boot from it.
1591: You may need to adjust your BIOS options first.
1592:
1593: <p>
1594: If your machine can boot from USB, you can write <i>install74.img</i> or
1595: <i>miniroot74.img</i> to a USB stick and boot from it.
1596:
1597: <p>
1598: If you can't boot from a CD, floppy disk, or USB,
1599: you can install across the network using PXE as described in
1600: the included INSTALL.i386 document.
1601:
1602: <p>
1603: If you are planning on dual booting OpenBSD with another OS, you will need to
1604: read INSTALL.i386.
1605:
1606: <h3>OpenBSD/landisk:</h3>
1607:
1608: <p>
1609: Write <i>miniroot74.img</i> to the start of the CF
1610: or disk, and boot normally.
1611:
1612: <h3>OpenBSD/loongson:</h3>
1613:
1614: <p>
1615: Write <i>miniroot74.img</i> to a USB stick and boot bsd.rd from it
1616: or boot bsd.rd via tftp.
1617: Refer to the instructions in INSTALL.loongson for more details.
1618:
1619: <h3>OpenBSD/luna88k:</h3>
1620:
1621: <p>
1622: Copy 'boot' and 'bsd.rd' to a Mach or UniOS partition, and boot the bootloader
1623: from the PROM, and then bsd.rd from the bootloader.
1624: Refer to the instructions in INSTALL.luna88k for more details.
1625:
1626: <h3>OpenBSD/macppc:</h3>
1627:
1628: <p>
1629: Burn the image from a mirror site to a CDROM, and power on your machine
1630: while holding down the <i>C</i> key until the display turns on and
1631: shows <i>OpenBSD/macppc boot</i>.
1632:
1633: <p>
1634: Alternatively, at the Open Firmware prompt, enter <i>boot cd:,ofwboot
1.2 jsg 1635: /7.4/macppc/bsd.rd</i>
1.1 deraadt 1636:
1637: <h3>OpenBSD/octeon:</h3>
1638:
1639: <p>
1640: After connecting a serial port, boot bsd.rd over the network via DHCP/tftp.
1641: Refer to the instructions in INSTALL.octeon for more details.
1642:
1643: <h3>OpenBSD/powerpc64:</h3>
1644:
1645: <p>
1646: To install, write <i>install74.img</i> or <i>miniroot74.img</i> to a
1647: USB stick, plug it into the machine and choose the <i>OpenBSD
1648: install</i> menu item in Petitboot.
1649: Refer to the instructions in INSTALL.powerpc64 for more details.
1650:
1651: <h3>OpenBSD/riscv64:</h3>
1652:
1653: <p>
1654: To install, write <i>install74.img</i> or <i>miniroot74.img</i> to a
1655: USB stick, and boot with that drive plugged in.
1656: Make sure you also have the microSD card plugged in that shipped with the
1657: HiFive Unmatched board.
1658: Refer to the instructions in INSTALL.riscv64 for more details.
1659:
1660: <h3>OpenBSD/sparc64:</h3>
1661:
1662: <p>
1663: Burn the image from a mirror site to a CDROM, boot from it, and type
1664: <i>boot cdrom</i>.
1665:
1666: <p>
1667: If this doesn't work, or if you don't have a CDROM drive, you can write
1668: <i>floppy74.img</i> or <i>floppyB74.img</i>
1669: (depending on your machine) to a floppy and boot it with <i>boot
1670: floppy</i>. Refer to INSTALL.sparc64 for details.
1671:
1672: <p>
1673: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install
1674: will most likely fail.
1675:
1676: <p>
1677: You can also write <i>miniroot74.img</i> to the swap partition on
1678: the disk and boot with <i>boot disk:b</i>.
1679:
1680: <p>
1681: If nothing works, you can boot over the network as described in INSTALL.sparc64.
1682: </section>
1683:
1684: <hr>
1685:
1686: <section id=upgrade>
1687: <h3>How to upgrade</h3>
1688: <p>
1.3 jsg 1689: If you already have an OpenBSD 7.3 system, and do not want to reinstall,
1.1 deraadt 1690: upgrade instructions and advice can be found in the
1691: <a href="faq/upgrade74.html">Upgrade Guide</a>.
1692: </section>
1693:
1694: <hr>
1695:
1696: <section id=sourcecode>
1697: <h3>Notes about the source code</h3>
1698: <p>
1699: <code>src.tar.gz</code> contains a source archive starting at <code>/usr/src</code>.
1700: This file contains everything you need except for the kernel sources,
1701: which are in a separate archive.
1702: To extract:
1703: <blockquote><pre>
1704: # <kbd>mkdir -p /usr/src</kbd>
1705: # <kbd>cd /usr/src</kbd>
1706: # <kbd>tar xvfz /tmp/src.tar.gz</kbd>
1707: </pre></blockquote>
1708: <p>
1709: <code>sys.tar.gz</code> contains a source archive starting at <code>/usr/src/sys</code>.
1710: This file contains all the kernel sources you need to rebuild kernels.
1711: To extract:
1712: <blockquote><pre>
1713: # <kbd>mkdir -p /usr/src/sys</kbd>
1714: # <kbd>cd /usr/src</kbd>
1715: # <kbd>tar xvfz /tmp/sys.tar.gz</kbd>
1716: </pre></blockquote>
1717: <p>
1718: Both of these trees are a regular CVS checkout. Using these trees it
1719: is possible to get a head-start on using the anoncvs servers as
1720: described <a href="anoncvs.html">here</a>.
1721: Using these files
1722: results in a much faster initial CVS update than you could expect from
1723: a fresh checkout of the full OpenBSD source tree.
1724: </section>
1725:
1726: <hr>
1727:
1728: <section id=ports>
1729: <h3>Ports Tree</h3>
1730: <p>
1731: A ports tree archive is also provided. To extract:
1732: <blockquote><pre>
1733: # <kbd>cd /usr</kbd>
1734: # <kbd>tar xvfz /tmp/ports.tar.gz</kbd>
1735: </pre></blockquote>
1736: <p>
1737: Go read the <a href="faq/ports/index.html">ports</a> page
1738: if you know nothing about ports
1739: at this point. This text is not a manual of how to use ports.
1740: Rather, it is a set of notes meant to kickstart the user on the
1741: OpenBSD ports system.
1742: <p>
1743: The <i>ports/</i> directory represents a CVS checkout of our ports.
1744: As with our complete source tree, our ports tree is available via
1745: <a href="anoncvs.html">AnonCVS</a>.
1746: So, in order to keep up to date with the -stable branch, you must make
1747: the <i>ports/</i> tree available on a read-write medium and update the tree
1748: with a command like:
1749: <blockquote><pre>
1750: # <kbd>cd /usr/ports</kbd>
1.2 jsg 1751: # <kbd>cvs -d anoncvs@server.openbsd.org:/cvs update -Pd -rOPENBSD_7_4</kbd>
1.1 deraadt 1752: </pre></blockquote>
1753: <p>
1754: [Of course, you must replace the server name here with a nearby anoncvs
1755: server.]
1756: <p>
1757: Note that most ports are available as packages on our mirrors. Updated
1758: ports for the 7.4 release will be made available if problems arise.
1759: <p>
1760: If you're interested in seeing a port added, would like to help out, or just
1761: would like to know more, the mailing list
1762: <a href="mail.html">ports@openbsd.org</a> is a good place to know.
1763: </section>
1764: </body>
1765: </html>