Annotation of www/71.html, Revision 1.14
1.1 deraadt 1: <!doctype html>
2: <html lang=en id=release>
3: <meta charset=utf-8>
4:
5: <title>OpenBSD 7.1</title>
6: <meta name="description" content="OpenBSD 7.1">
7: <meta name="viewport" content="width=device-width, initial-scale=1">
8: <link rel="stylesheet" type="text/css" href="openbsd.css">
9: <link rel="canonical" href="https://www.openbsd.org/71.html">
10:
11: <h2 id=OpenBSD>
12: <a href="index.html">
13: <i>Open</i><b>BSD</b></a>
14: 7.1
15: </h2>
16:
17: <table>
18: <tr>
19: <td>
20: <a href="images/xxx.png">
21: <img width="227" height="303" src="images/xxx-s.png" alt="xxx"></a>
22: <td>
1.6 tj 23: Released May ?, 2022. (52nd OpenBSD release)<br>
1.1 deraadt 24: Copyright 1997-2022, Theo de Raadt.<br>
25: <br>
1.3 job 26: Artwork by Luc Houweling.
1.1 deraadt 27: <br>
28: <ul>
29: <li>See the information on <a href="ftp.html">the FTP page</a> for
30: a list of mirror machines.
31: <li>Go to the <code class=reldir>pub/OpenBSD/7.1/</code> directory on
32: one of the mirror sites.
33: <li>Have a look at <a href="errata71.html">the 7.1 errata page</a> for a list
34: of bugs and workarounds.
35: <li>See a <a href="plus71.html">detailed log of changes</a> between the
36: 7.0 and 7.1 releases.
37: <p>
38: <li><a href="https://man.openbsd.org/signify.1">signify(1)</a>
39: pubkeys for this release:<p>
40:
41: <table class=signify>
42: <tr><td>
43: openbsd-71-base.pub:
44: <td>
45: <a href="https://ftp.openbsd.org/pub/OpenBSD/7.1/openbsd-71-base.pub">
46: RWR2eHwZTOEiTWog354iy3StRj18VbZl87O9uZpa1M2jGLXEkco6vDT5</a>
47: <tr><td>
48: openbsd-71-fw.pub:
49: <td>
50: RWQCAJ4gBK3pbcm/Q5XYxu+hIY3Zvx9kwGv2uJphEN7kNl1DD4QRue6v
51: <tr><td>
52: openbsd-71-pkg.pub:
53: <td>
54: RWQgLTtHQtisyH9qc9imxVFsf+P24M75F1aNio5qJCfG/bO6gATAzC9V
55: <tr><td>
56: openbsd-71-syspatch.pub:
57: <td>
58: RWTVqN+z9ta+Z6Ri7W7Vlf+XgXE30rGXld8kO78L1GmE61U5Xvbr/zHM
59: </table>
60: </ul>
61: <p>
62: All applicable copyrights and credits are in the src.tar.gz,
63: sys.tar.gz, xenocara.tar.gz, ports.tar.gz files, or in the
64: files fetched via <code>ports.tar.gz</code>.
65: </table>
66:
67: <hr>
68:
69: <section id=new>
70: <h3>What's New</h3>
71: <p>
72: This is a partial list of new features and systems included in OpenBSD 7.1.
73: For a comprehensive list, see the <a href="plus71.html">changelog</a> leading
74: to 7.1.
75:
76: <ul>
77:
78: <li>New/extended platforms:
79: <ul>
80: <li>The <a href="arm64.html">arm64</a> platform support was improved with the following changes:
81: <ul>
1.4 benno 82: <li>Support for Apple Silicon Macs has improved and is ready for general use:
1.1 deraadt 83: <ul>
1.10 benno 84: <li>Added <a href="https://man.openbsd.org/aplspi.4">aplspi(4)</a>, a driver for the SPI controller found on the Apple M1 SoC.
85: <li>Added <a href="https://man.openbsd.org/aplhidev.4">aplhidev(4)</a> support for the keyboard/touchpad on Apple M1 laptops.
1.11 benno 86: <li>Introduced <a href="https://man.openbsd.org/aplpmgr.4">aplpmgr(4)</a>, a driver for the power management controller found on various Apple SoCs.
87: <li>Introduced <a href="https://man.openbsd.org/aplmbox.4">aplmbox(4)</a>, a driver for the mailbox that provides a communication channel with additional cores integrated on Apple SoCs.
88: <li>Introduced <a href="https://man.openbsd.org/apliic.4">apliic(4)</a>, a driver for the I2C controller found on various Apple SoCs.
89: <li>Added the chip ids used on Apple M1 Pro/Max and Apple T2 Macs to <a href="https://man.openbsd.org/bwfm.4">bwfm(4)</a>.
90: <li>Rewrote arm64 kernel FPU handling code to fix the random crashes seen with SMP kernels on Apple M1.
91: <li>Restricted the <a href="https://man.openbsd.org/pci.4">pci(4)</a> ioctl interface to devices detected by the kernel, preventing Xorg PCI probes from breaking the WiFi chip on M1 macs.
92: <li>Introduced <a href="https://man.openbsd.org/aplsmc.4">aplsmc(4)</a>, a driver for the SMC found on Apple M1 SoCs.
93: <li>Introduced <a href="https://man.openbsd.org/aplnco.4">aplnco(4)</a>, a driver for the Numerically-controlled oscillator (NCO) clock which drives the audio clocks on Apple silicon.
94: <li>Introduced <a href="https://man.openbsd.org/tascodec.4">tascodec(4)</a>, a driver for the TI TAS2770/TAS5770 digital audio amplifier codec found on Apple M1 Macs.
1.14 ! benno 95: <li>Introduced <a href="https://man.openbsd.org/apldma.4">apldma(4)</a>, a driver for the DMA controller found on Apple SoCs.
1.10 benno 96:
1.1 deraadt 97: </ul>
1.10 benno 98: <li>Introduced <a
99: href="https://man.openbsd.org/gpiocharger.4">gpiocharger(4)</a>, a
100: driver providing support for battery chargers connected to GPIO pins,
101: such as those found on the Pinebook Pro.
102: <li>Introduced <a
103: href="https://man.openbsd.org/gpioleds.4">gpioleds(4)</a> for arm64, a
104: driver providing support for LEDs connected to GPIO pins, such as
105: those found on the Pinebook Pro.
106: <li>Added <a href="https://man.openbsd.org/gpiokeys.4">gpiokeys(4)</a>
107: for arm64, a driver which handles events triggered by GPIO keys such
108: as lid status and power button.
1.11 benno 109: <li>Added support for controlling keyboard LEDs to <a
110: href="https://man.openbsd.org/aplhidev.4">aplhidev(4)</a>.
111: <li>Added pclk clock used by <a
112: href="https://man.openbsd.org/dwdog.4">dwdog(4)</a> on RK3399 to <a
113: href="https://man.openbsd.org/rkclock.4">rkclock(4)</a>.
114: <li>Introduced <a href="https://man.openbsd.org/mpfclock.4">mpfclock(4)</a>, a driver for the PolarFire SoC MSS clock controller.
115: <li>Implemented powerdown in arm64.
116: <li>Introduced <a href="https://man.openbsd.org/cdsdhc.4">cdsdhc(4)</a>, a driver for the Cadence SD/SDIO/eMMC host controller.
117:
1.1 deraadt 118: </ul>
119: <li>Changes on other architectures:
120: <ul>
1.7 benno 121: <li>Enabled enforcing of RLIMIT_MEMLOCK on powerpc64.
1.11 benno 122: <li>Enabled <a href="https://man.openbsd.org/uhid.4">uhid(4)</a>/<a href="https://man.openbsd.org/fido.4">fido(4)</a> on riscv64.
1.14 ! benno 123: <li>Allowed riscv64 installation on a disk with a GPT.
1.11 benno 124: <li>Fixed booting from an IDE block device on the Sun Blade 100.
125: <li>Fixed <a href="https://man.openbsd.org/radeondrm.4">radeondrm(4)</a> console colors on sparc64.
126: <li>Added missing locking to <a href="https://man.openbsd.org/pmap_extract.9">pmap_extract(9)</a> and <a href="https://man.openbsd.org/pmap_unwire.9">pmap_unwire(9)</a> on arm64 and riscv64.
127: <li>Enabled <a href="https://man.openbsd.org/dt.4">dt(4)</a> on macppc.
128: <li>Increased <a href="https://man.openbsd.org/ddb.1">ddb(1)</a> access to registers on macppc and powerpc64.
1.14 ! benno 129: <li>Allowed <a href="https://man.openbsd.org/ddb.4">ddb(4)</a> trace through interrupt on macppc.
1.1 deraadt 130: </ul>
131: </ul>
132:
133: <li>Various kernel improvements:
134: <ul>
1.7 benno 135: <li>Fixed memory leak in <a
136: href="https://man.openbsd.org/fuse.4">fuse(4)</a> when calling <a
137: href="https://man.openbsd.org/namei.9">namei(9)</a>.
138: <li>Made redistributable firmwares available across all architectures.
139: <li>Fixed establishing legacy INTx interrupts on machines without a (usable) MSI interrupt controller.
140: <li>Cleaned up irrelevant uses of 3rd mode_t parameter for <a
141: href="https://man.openbsd.org/open.2">open(2)</a>/<a
142: href="https://man.openbsd.org/openat.2">openat(2)</a>, unused when not
143: creating files.
1.10 benno 144: <li>Changed the power management <a href="https://man.openbsd.org/sysctl.8">sysctl(8)</a>
145: hw.perfpolicy to "auto" at startup, defaulting to 100%
146: performance with AC power connected and using the auto algorithm when
147: on battery.
1.11 benno 148: <li>Switched to using long filenames by default with <a
149: href="https://man.openbsd.org/mount_msdos.8">mount_msdos(8)</a> on FAT
150: filesystems.
151: <li>Fixed <a href="https://man.openbsd.org/hilkbd.4">hilkbd(4)</a> Swedish keyboard layout on non-PS/2 style keyboards.
152: <li>Made futexes work in shared anonymous memory.
153: <li>Aligned memory allocation for USB device drivers and USB HC drivers, enlarging the USB memory pool.
154: <li>Reworked garbage collector for <a href="https://man.openbsd.org/unix.4">unix(4)</a> sockets to prevent potential kernel panics.
155: <li>Fixed hibernate setups where removal of a <a
156: href="https://man.openbsd.org/umass.4">umass(4)</a> device results in
157: a renumbered <a
158: href="https://man.openbsd.org/softraid.4">softraid(4)</a> boot device.
159: <li>Fix hibernate on newer hardware by allowing more memory ranges.
1.14 ! benno 160: <li>Grew the <a href="https://man.openbsd.org/dmesg.8">dmesg(8)</a> buffer on i386 from 4 to 8 pages.
1.11 benno 161:
1.1 deraadt 162: </ul>
163:
164: <li>SMP Improvements
165: <ul>
1.7 benno 166: <li>Made pipe event filters MP-safe.
167: <li>Set klist lock for sockets to make socket event filters MP-safe.
168: <li>Implemented <a href="https://man.openbsd.org/poll.2">poll(2)</a>,
169: <a href="https://man.openbsd.org/select.2">select(2)</a>, <a
170: href="https://man.openbsd.org/ppoll.2">ppoll(2)</a> and <a
171: href="https://man.openbsd.org/pselect.2">pselect(2)</a> on top of
172: kqueue.
173: <li>Unlocked top part of UVM fault hander on mips64. <!--- XXX move? --->
1.10 benno 174: <li>Unlocked the <a href="https://man.openbsd.org/kevent.2">kevent(2)</a> system call.
175: <li>Made the kqread event filter MP-safe.
176: <li>Reduced the time overhead of <a
177: href="https://man.openbsd.org/kqueue.2">kqueue(2)</a>-based <a
178: href="https://man.openbsd.org/poll.2">poll(2)</a> and <a
179: href="https://man.openbsd.org/select.2">select(2)</a> systems calls by
180: keeping knotes between the system calls.
1.11 benno 181: <li>Unlocked <a href="https://man.openbsd.org/accept.2">accept(2)</a>
182: and <a href="https://man.openbsd.org/accept4.2">accept4(2)</a>
183: syscalls.
184: <li>Prevented <a
185: href="https://man.openbsd.org/select.2">select(2)</a> from blocking if
186: registering found pending events.
187: <li>Protected <a href="https://man.openbsd.org/ipsec.4">ipsec(4)</a>
188: input and output with the kernel lock to allow forwarding of non-ipsec
189: traffic in parallel.
190: <li>Unlocked the bottom part of the uvm fault handler.
191: <li>Unlocked <a href="https://man.openbsd.org/getpeername.2">getpeername(2)</a>.
192: <li>Made <a href="https://man.openbsd.org/bpf.4">bpf(4)</a> MP-safe.
1.14 ! benno 193: <li>Implemented the <a
! 194: href="https://man.openbsd.org/poll.2">poll(2)</a> system call on top
! 195: of the <a href="https://man.openbsd.org/kqueue.2">kqueue(2)</a>
! 196: subsystem, obsoleting the old, non-MP-safe poll backend.
1.7 benno 197:
1.1 deraadt 198: </ul>
199:
200: <li>Direct Rendering Manager
201: <ul>
1.5 jsg 202: <li>Updated <a href="https://man.openbsd.org/drm.4">drm(4)</a>
203: to Linux 5.15.26
204: <li><a href="https://man.openbsd.org/inteldrm.4">inteldrm(4)</a>:
205: support for Elkhart Lake, Jasper Lake, Rocket Lake
206: <li><a href="https://man.openbsd.org/drm.4">amdgpu(4)</a>:
207: support for Van Gogh APU, Rembrandt "Yellow Carp" Ryzen 6000 APU,
208: Navi 22 "Navy Flounder", Navi 23 "Dimgrey Cavefish",
209: Navi 24 "Beige Goby"
1.1 deraadt 210: </ul>
211:
212: <li>VMM/VMD improvements
213: <ul>
1.10 benno 214: <li>Enabled <a href="https://man.openbsd.org/vmx.4">vmx(4)</a> on arm64.
1.8 dv 215: <li>Retired <a href="https://man.openbsd.org/OpenBSD-7.0/switch.4">
216: switch(4)</a> support in <a href="https://man.openbsd.org/vmd.8">
217: vmd(8)</a>.
218: <li>Fixed a bug where <a href="https://man.openbsd.org/vmd.8">vmd(8)</a>
219: would exit when requesting a new VM and hitting memory resource
220: limits.
221: <li>Fixed <a href="https://man.openbsd.org/vmm.4">vmm(4)</a> state
222: corruption on Intel hosts.
223: <li>Fixed <a href="https://man.openbsd.org/vmm.4">vmm(4)</a> cpuid leaf
224: clamping when the host has an invariant TSC.
225: <li>Added quiesce/wakeup hooks to <a href="https://man.openbsd.org/vmm.4">
226: vmm(4)</a> allowing Intel hosts to suspend and hibernate safely with
227: running guests.
228: <li>Added a new login class for <a href="https://man.openbsd.org/vmd.8">
229: vmd(8)</a> on amd64.
1.11 benno 230: <li>Fixed spurious abort of a VM by <a
231: href="https://man.openbsd.org/vmd.8">vmd(8)</a> when the scheduler
232: moves a VM to a different core while it is sleeping on a lock.
233: <li>Fixed broken <a href="https://man.openbsd.org/vmd.8">vmd(8)</a>
234: "boot device cdrom" feature after a fix in seabios.
235: <li>Reintroduced support for <a
236: href="https://man.openbsd.org/vmctl.8">vmctl(8)</a> <code>start -B net
237: -b bsd.rd</code>, which emulates a PXE boot and performs an
238: autoinstall.
239: <li>Made <a href="https://man.openbsd.org/vmm.4">vmm(4)</a> <a href="https://man.openbsd.org/dt.4">dt(4)</a> tracepoints amd64-only.
240:
1.1 deraadt 241: </ul>
242:
243: <li>Various new userland features:
244: <ul>
1.7 benno 245: <li>Added <a
246: href="https://man.openbsd.org/realpath.1">realpath(1)</a>, a wrapper
247: for <a href="https://man.openbsd.org/realpath.3">realpath(3)</a> for
248: use in ports.
249: <li>Removed an unused decoding of c/h/s from the MBR read from disk
250: by <a href="https://man.openbsd.org/fdisk.8">fdisk(8)</a>.
251: <li>Removed <a href="https://man.openbsd.org/fdisk.8">fdisk(8)</a>
252: "disk" editing command.
1.11 benno 253: <li>Prevented the possible creation of MBRs with overlapping
254: partitions 0 and 3 in <a
255: href="https://man.openbsd.org/fdisk.8">fdisk(8)</a>.
256: <li>Allowed <a href="https://man.openbsd.org/fdisk.8">fdisk(8)</a> to
257: extend the default OpenBSD partition to the end of the disk, rather
258: than truncating at the end of the last full cylinder.
259: <li>Corrected checksums written by <a href="https://man.openbsd.org/fdisk.8">fdisk(8)</a> on big-endian architectures to be little-endian as per spec.
1.14 ! benno 260: <li>Made <a href="https://man.openbsd.org/fdisk.8">fdisk(8)</a> -A preserve BIOS boot partition.
! 261: <li>Switched to using <a href="https://man.openbsd.org/fdisk.8">fdisk(8)</a> -b to create boot partitions on multiple architectures.
! 262:
1.7 benno 263: <li>Added <a href="https://man.openbsd.org/rcctl.8">rcctl(8)</a> "ls
264: rogue" to show daemons which are running but not set as "enabled" in
265: <a href="https://man.openbsd.org/rc.conf.local.8">rc.conf.local(8)</a>.
1.10 benno 266: <li>Allowed passing a different signal than SIGTERM in the default
267: rc_stop() function in <a
268: href="https://man.openbsd.org/rc.subr.8">rc.subr(8)</a>.
1.11 benno 269: <li>Improved and simplified timer handling in <a
270: href="https://man.openbsd.org/rc.d.8">rc.d(8)</a> "stop" and "reload".
271: <li>Implemented probe variables in BPFtrace (<a href="https://man.openbsd.org/bt.5">bt(5)</a>).
1.7 benno 272: <li>Provided common <a
273: href="https://man.openbsd.org/btrace.8">btrace(8)</a> scripts
274: kprofile.bt (to save kernel stackframes and produce flamegraphs) and
275: runqlat.bt (to measure the latency of the scheduler runqueues).
1.11 benno 276: <li>Implemented RFC6840 (AD flag processing) in the libc resolver, if
277: using trusted name servers specified with 'trust-ad' in <a
278: href="https://man.openbsd.org/resolv.conf.5">resolv.conf(5)</a>
279: <li>Switched LLD_ARCHs (architectures using the LLVM <a
280: href="https://man.openbsd.org/ld.lld.1">ld.lld(1)</a> linker) to also
281: user the LLVM archiver <a
282: href="https://man.openbsd.org/llvm-ar.1">llvm-ar(1)</a>.
1.14 ! benno 283: <li>Enabled support for displaying an estimated battery recharge time
! 284: in <a href="https://man.openbsd.org/apm.8">apm(8)</a> and <a
! 285: href="https://man.openbsd.org/apmd.8">apmd(8)</a>.
! 286: <li>Introduced support for storing capability databases in
! 287: /etc/login.conf.d, allowing easy addition of custom login classes from
! 288: packages.
! 289: <li>Made <a href="https://man.openbsd.org/rcctl.8">rcctl(8)</a> look for the login class in both login.conf and login.conf.d/${class}.
1.7 benno 290:
1.1 deraadt 291: </ul>
292:
293: <li>Various bugfixes and tweaks in userland:
294: <ul>
1.7 benno 295:
296: <li>Removed the constraint that <a
297: href="https://man.openbsd.org/fdisk.8">fdisk(8)</a> -b specified block
298: count or block size must be greater than 63.
299: <li>Stopped <a
300: href="https://man.openbsd.org/pkg_add.1">pkg_add(1)</a> from
301: communicating warnings starting with "XXX" which appeared to indicate
302: errors.
303: <li>Merged bugfixes from upstream into <a
304: href="https://man.openbsd.org/less.1">less(1)</a> including fixes for
305: the prompt hiding feature (CTRL-P) and an integer overflow.
1.11 benno 306: <li>Fixed possible use after free with long lines in <a href="https://man.openbsd.org/less.1">less(1)</a>.
1.7 benno 307: <li>Fixed file descriptor leak of /dev/tty on <a
308: href="https://man.openbsd.org/doas.1">doas(1)</a> auth failure.
309: <li>Replaced <a href="https://man.openbsd.org/lrint.3">lrint(3)</a>,
310: <a href="https://man.openbsd.org/lrintf.3">lrintf(3)</a>, <a
311: href="https://man.openbsd.org/llrint.3">llrint(3)</a> and <a
312: href="https://man.openbsd.org/llrintf.3">llrintf(3)</a>
313: implementations from NetBSD with the existing FreeBSD implementations
314: we were already using for <a
315: href="https://man.openbsd.org/lrintl.3">lrintl(3)</a> and <a
316: href="https://man.openbsd.org/llrintl.3">llrintl(3)</a>.
317: <li>Renamed Pacific/Enderbury timezone to Pacific/Kanton.
318: <li>Called <a href="https://man.openbsd.org/pledge.2">pledge(2)</a>
319: later to prevent it from killing various games using ncurses when both
320: stdout and stderr are redirected to a non-tty.
1.10 benno 321: <li>Fixed octal escape parsing in <a href="https://man.openbsd.org/tr.1">tr(1)</a> backslash().
322: <li>Added <a href="https://man.openbsd.org/uniq.1">uniq(1)</a> support for arbitrarily long input lines.
1.11 benno 323: <li>Made <a href="https://man.openbsd.org/uniq.1">uniq(1)</a> ignore trailing newlines when comparing lines.
324: <li>Made <a href="https://man.openbsd.org/uniq.1">uniq(1)</a> skip() each input line only once, improving performance.
1.10 benno 325: <li>Prevented an access to uninitialized memory in <a href="https://man.openbsd.org/awk.1">awk(1)</a>.
1.11 benno 326: <li>Increased <a href="https://man.openbsd.org/tee.1">tee(1)</a> I/O buffer size for 8KB to 64KB.
327: <li>Allowed bare numbers for key and mouse bindings in <a href="https://man.openbsd.org/cwm.1">cwm(1)</a>.
328: <li>Added a <a href="https://man.openbsd.org/cwm.1">cwm(1)</a> "group-last" command that shows only the previously active group.
329: <li>Set cpuspeed to 0 in <a href="https://man.openbsd.org/apm.8">apm(8)</a> when hw.cpuspeed cannot be retrieved.
330: <li>Improved performance of <a href="https://man.openbsd.org/rev.1">rev(1)</a>.
331: <li>Copied the <a href="https://man.openbsd.org/cos.3">cos(3)</a>
332: cosine software implementation from FreeBSD-13, and disabled assembly
333: implementations of trig functions on x86 platforms.
334: <li>Added optimization for tiny x in <a href="https://man.openbsd.org/cos.3">cos(3)</a> and <a href="https://man.openbsd.org/sin.3">sin(3) trigonometry functions</a>.
335: <li>Made <a href="https://man.openbsd.org/ed.1">ed(1)</a> flush all stdio streams before running a shell command.
336: <li>Prevented a file descriptor leak in <a href="https://man.openbsd.org/touch.1">touch(1)</a> after <a href="https://man.openbsd.org/futimens.2">futimens(2)</a> failure.
337:
1.10 benno 338:
1.7 benno 339:
1.1 deraadt 340: </ul>
341:
342: <li>Improved hardware support and driver bugfixes, including:
343: <ul>
1.7 benno 344: <li>Added support to <a
345: href="https://man.openbsd.org/pchgpio.4">pchgpio(4)</a> for Cannon
346: Lake H and Tiger Lake H platforms.
347: <li>Ensured use of the correct encoding in xenocara when /etc/kbdtype
348: is present with an attached <a
349: href="https://man.openbsd.org/ucc.4">ucc(4)</a> keyboard.
350: <li>Fixed an interrupt storm on <a
351: href="https://man.openbsd.org/dwge.4">dwge(4)</a> variants which
352: support Energy Efficient Ethernet when connected to a switch which
353: does so as well.
354: <li>Added support for tpm2 CRB interface to <a
355: href="https://man.openbsd.org/tpm.4">tpm(4)</a>, fixing recent S4
356: regressions on the Surface Go 2 caused by a firmware change.
357: ` <li>Ensured armv7 and arm64 efiboot allocate fresh memory for the
358: device tree with at least one page of free space to extend into. This
359: fixes booting on VMWare Fusion.
1.10 benno 360: <li>Stopped binding audio devices exposed by <a
361: href="https://man.openbsd.org/sndiod.8">sndiod(8)</a> to physical
362: devices. <!-- XXX check this -->
363: <li>Fixed handling of interrupts shared between multiple <a
364: href="https://man.openbsd.org/dwiic.4">swiic(4)</a> devices.
1.11 benno 365: <li>Introduced <a
366: href="https://man.openbsd.org/iicmux.4">iicmux(4)</a>, a driver that
367: switches between I2C busses connected to a single I2C controller by
368: using the pin muxing facilities of an SoC.
369: <li>Introduced <a
370: href="https://man.openbsd.org/pcyrtc.4">pcyrtc(4)</a>, a driver for
371: the NXP PCF85063A/TP RTC chips.
372: <li>Fixed a panic when running <a
373: href="https://man.openbsd.org/utvfu.4">utvfu(4)</a> on <a
374: href="https://man.openbsd.org/xhci.4">xhci(4)</a>.
375: <li>Added <a href="https://man.openbsd.org/acpipci.4">acpipci(4)</a>
376: support for interrupts represented by ACPI PCI Interrupt Link Devices,
377: making PCI interrupts work on QEMU's SBSA target.
378: <li>Added handling of multi-port controllers to <a href="https://man.openbsd.org/uslcom.4">uslcom(4)</a>.
379: <li>Make <a href="https://man.openbsd.org/com.4">com(4)</a> attach over <a href="https://man.openbsd.org/acpi.4">acpi(4)</a> on amd64.
380: <li>Added address locators for the ACPI "bus" and used these to fix the order of the <a href="https://man.openbsd.org/com.4">com(4)</a> devices to match the traditional order on the ISA bus.
381: <li>Added Intel Jasper Lake to the <a href="https://man.openbsd.org/azalia.4">azalia(4)</a> audio driver.
382: <li>Added Synopsys Designware UART support to <a href="https://man.openbsd.org/com.4">com(4)</a>.
383: <li>Fixed an issue where <a href="https://man.openbsd.org/com.4">com(4)</a> would attach for a disabled serial port leading to misdirection of the hardware variant and a subsequent hang when /etc/rc runs <a href="https://man.openbsd.org/ttyflags.8">ttyflags(8)</a> -a.
384: <li>Fixed <a href="https://man.openbsd.org/sdhc.4">sdhc(4)</a> for Jasper Lake eMMC.
385: <li>Improved how quirks are handled on <a href="https://man.openbsd.org/sdhc.4">sdhc(4)</a>-compatible drivers.
1.14 ! benno 386: <li>Enabled <a href="https://man.openbsd.org/acpibat.4">acpibat(4)</a> use with the Surface Go 3.
1.7 benno 387:
1.1 deraadt 388: </ul>
389:
390: <li>New or improved network hardware support:
391: <ul>
1.7 benno 392: <li>Added support to <a href="https://man.openbsd.org/umb.4">umb(4)</a> for SIMCom SIM7600.
393: <li>Fixed an interrupt storm on <a
394: href="https://man.openbsd.org/dwge.4">dwge(4)</a> variants which
395: support Energy Efficient Ethernet when connected to a switch which
396: does so as well.
1.10 benno 397: <li>Added <a href="https://man.openbsd.org/igc.4">igc(4)</a>, a
398: driver for the Intel 2.5Gb Ethernet controllers.
1.11 benno 399: <li>Implemented <a href="https://man.openbsd.org/em.4">em(4)</a>
400: support for selecting SMGII or SerDes mode depending on the plugged-in
401: SFP transceiver and for reading out transceiver information via <a
402: href="https://man.openbsd.org/ifconfig.8">ifconfig(8)</a>.
403: <li>Applied MP-safe changes from <a
404: href="https://man.openbsd.org/dwge.4">dwge(4)</a> to <a
405: href="https://man.openbsd.org/dwxe.4">dwxe(4)</a>.
1.14 ! benno 406: <li>Enabled hardware vlan tagging for <a href="https://man.openbsd.org/ixl.4">ixl(4)</a>.
! 407: <li>Re-enabled <a href="https://man.openbsd.org/ixl.4">ixl(4)</a> IPv4, TCP4/6 and UDP4/6 checksum offloading.
! 408: <li>Enabled receive checksum offloading on <a href="https://man.openbsd.org/ixl.4">ixl(4)</a>.
1.7 benno 409:
1.1 deraadt 410: </ul>
411:
412: <li>Added or improved wireless network drivers:
413: <ul>
1.7 benno 414: <li>Reset the Tx timer upon validation of a BA notification sent by
415: <a href="https://man.openbsd.org/iwx.4">iwx(4)</a> and <a
416: href="https://man.openbsd.org/iwm.4">iwm(4)</a> firmware.
417: <li>Prevented <a href="https://man.openbsd.org/iwm.4">iwm(4)</a> and
418: <a href="https://man.openbsd.org/iwx.4">iwx(4)</a> attempts to
419: transition toward the same state where this would result in a
420: redundant or illegal state transition and a potential hang.
421: <li>Fixed a panic when <a
422: href="https://man.openbsd.org/iwx.4">iwx(4)</a> cannot find firmware
423: at boot time.
424: <li>Added relicensed wireless firmwares from Realtek for <a
425: href="https://man.openbsd.org/rsu.4">rsu(4)</a>, <a
426: href="https://man.openbsd.org/rtwn.4">rtwn(4)</a> and <a
427: href="https://man.openbsd.org/urtwn.4">urtwn(4)</a> devices, allowing
428: these devices to work without requiring a separate firmware download.
429: <li>Added a workaround for buggy <a
430: href="https://man.openbsd.org/athn.4">athn(4)</a> devices to prevent
431: filling up the node cache when used in hostap mode.
432: <li>Applied a workaround in <a
433: href="https://man.openbsd.org/mvkpcie.4">mvkpcie(4)</a> to fix an
434: external abort under load with <a
435: href="https://man.openbsd.org/athn.4">athn(4)</a>.
436: <li>Fixed <a href="https://man.openbsd.org/iwm.4">iwm(4)</a>
437: performance drop after roaming between APs in 11n mode.
438: <li>Ensured <a href="https://man.openbsd.org/iwm.4">iwm(4)</a> uses
439: only the HT (high throughput) frame format for data frames.
440: <li>Allowed AUTH->AUTH state transitions in the <a
441: href="https://man.openbsd.org/iwm.4">iwm(4)</a> and <a
442: href="https://man.openbsd.org/iwx.4">iwx(4)</a> drivers again, needed
443: if the access point uses band-steering.
444: <li>Added support for 802.11n 40MHz channels to the <a
445: href="https://man.openbsd.org/iwm.4">iwm(4)</a> driver.
446: <li>Reverted to use <a
447: href="https://man.openbsd.org/iwm.4">iwm(4)</a> firmware v17 on Intel
448: AC 7265, fixing instability issues on X1 Carbon gen3.
449: <li>Cached the old BSSID when roaming with <a
450: href="https://man.openbsd.org/iwx.4">iwx(4)</a>.
451: <li>Explicitly stopped <a
452: href="https://man.openbsd.org/iwx.4">iwx(4)</a> Rx block ack when
453: roaming between access points.
454: <li>Added initial 40MHz support to the <a
455: href="https://man.openbsd.org/iwx.4">iwx(4)</a> driver.
1.10 benno 456: <li>Made <a href="https://man.openbsd.org/athn.4">athn(4)</a> attach to the Sony UWA-BR100.
457: <li>Fixed "null node" panics in <a href="https://man.openbsd.org/run.4">run(4)</a>.
458: <li>Fixed "(null node)" panics on <a href="https://man.openbsd.org/run.4">run(4)</a>.
459: <li>Fixed <a href="https://man.openbsd.org/iwn.4">iwn(4)</a> with 4965 devices.
1.11 benno 460: <li>Disabled active scanning on <a href="https://man.openbsd.org/iwm.4">iwm(4)</a> 9260 and 9560 to prevent a device lockup.
461: <li>Fixed monitor mode on <a href="https://man.openbsd.org/iwm.4">iwm(4)</a> and <a href="https://man.openbsd.org/iwx.4">iwx(4)</a>.
462: <li>Let <a href="https://man.openbsd.org/iwx.4">iwx(4)</a> and <a
463: href="https://man.openbsd.org/iwm.4">iwm(4)</a> use per-Tx-queue
464: interface timers to ensure timeout if a particular Tx queue gets
465: stuck.
466: <li>Disabled probe requests during scans in <a
467: href="https://man.openbsd.org/iwx.4">iwx(4)</a> again, preventing
468: device timeouts for some devices.<!-- XXX stsp: whats the final state of this? ;) -->
469: <li>Switched <a href="https://man.openbsd.org/iwx.4">iwx(4)</a> to new -67 firmware images.
470: <li>Introduced <a href="https://man.openbsd.org/mtw.4">mtw(4)</a>, a driver for MediaTek MT7601U wifi devices.
471: <li>Made <a href="https://man.openbsd.org/iwm.4">iwm(4)</a> attach to PCI devices with product ID 0x31dc, part of the 9560 chip family.
472: <li>Disabled minimum power consumption in <a href="https://man.openbsd.org/bwfm.4">bwfm(4)</a> hostap mode, improving connection reliability when used as an access point.
473: <li>Fixed wrong pointer assignment causing the driver to read block ack request information sent by firmware from the wrong offset in <a href="https://man.openbsd.org/iwx.4">iwx(4)</a>.
474: <li>Fixed and reenabled active scans on <a href="https://man.openbsd.org/iwm.4">iwm(4)</a> and <a href="https://man.openbsd.org/iwx.4">iwx(4)</a>.
1.7 benno 475:
1.1 deraadt 476: </ul>
477:
478: <li>IEEE 802.11 wireless stack improvements and bugfixes:
479: <ul>
1.7 benno 480: <li>Added <a href="https://man.openbsd.org/iwx.4">iwx(4)</a> Tx aggregation support.
481: <li>Added an ADDBA_OFFLOAD capability for wifi devices to manage Tx block ack sessions entirely in firmware.
482: <li>Cached the old BSSID when roaming with <a href="https://man.openbsd.org/iwm.4">iwm(4)</a> so firmware commands can continue using it while roaming to a new AP.
483: <li>Added support for 40MHz channels to net80211 RA.
484: <li>Added monitoring of 20/40MHz channel width changes in beacons sent by our access point, notifying drivers when the channel width has changed.
1.11 benno 485: <li>Introduced an optional driver-specific bgscan_done() handler which allows the driver to take control of the roaming teardown sequence, ensuring that race conditions between firmware state and net80211 state are avoided.<!-- XXX srsly? "net80211" is the only thing in this sentence that tells me this is about wireless! -->
486: <li>Implemented bgscan_done() handlers for <a href="https://man.openbsd.org/iwx.4">iwx(4)</a> and <a href="https://man.openbsd.org/iwm.4">iwm(4)</a>.
487: <li>Taught the net80211 stack to remove corresponding frames from ic_pwrsaveq when a power-saving client decides to leave our hostap interface, preventing a panic.
1.7 benno 488:
489:
1.1 deraadt 490: </ul>
491:
492: <li>Generic network stack improvements and bugfixes:
493: <ul>
1.7 benno 494: <li>Fixed <a href="https://man.openbsd.org/pfctl.8">pfctl(8)</a> $nr incorrect macro expansion.
1.10 benno 495: <li>Added support for PPP IPCP extensions for DNS to <a href="https://man.openbsd.org/sppp.4">sppp(4)</a>.
1.11 benno 496: <li>Added display of DNS information from <a href="https://man.openbsd.org/sppp.4">sppp(4)</a> to <a href="https://man.openbsd.org/ifconfig.8">ifconfig(8)</a>.
497: <li>Switched to calculating <a href="https://man.openbsd.org/pppoe.4">pppoe(4)</a> session duration using system uptime rather than UTC.
498: <li>Made "set skip on ..." in <a
499: href="https://man.openbsd.org/pf.conf.5">pf.conf(5)</a> dynamic, with
500: this, "set skip" can be used on interfaces that are not configured
501: yet.
502: <li>Fixed <a href="https://man.openbsd.org/veb.4">veb(4)</a> vport handling to prevent improper drop of packets leaving a vport interface.
1.14 ! benno 503: <li>Reworked <a href="https://man.openbsd.org/ix.4">ix(4)</a> checksum/vlan offloading and enabled it for IPv6.
1.11 benno 504:
1.1 deraadt 505: </ul>
506:
507: <li>Installer and upgrade improvements:
508: <ul>
1.7 benno 509: <li>Corrected installer to use "inet autoconf" properly for <a
510: href="https://man.openbsd.org/hostname.if.5">hostname.if(5)</a> files.
511: <li>Stopped prompting whether to fall back to HTTP in the installer, making the fallback automatic.
512: <li>Used <a href="https://man.openbsd.org/ifconfig.8">ifconfig(8)</a>
513: "join" command by default in <a
514: href="https://man.openbsd.org/hostname.if.5">hostname.if(5)</a> files,
515: replacing the old "nwid".
1.10 benno 516: <li>Documented <a
517: href="https://man.openbsd.org/install.site.5">install.site(5)</a>,
518: OpenBSD installation and upgrade customization.
519: <li>Corrected "!" escape handling in the installer when accepting WEP/WPA passphrase.
520: <li>Made <a href="https://man.openbsd.org/config.8">config(8)</a> -e work with ramdisk kernels.
1.11 benno 521: <li>Made <a href="https://man.openbsd.org/config.8">config(8)</a> -c
522: cmdfile use lines from the command file for all input, not just
523: commands. This allows complex actions like changing device parameters.
524: <li>Prevented a potential race which could make <a
525: href="https://man.openbsd.org/umount.8">umount(8)</a> fail spuriously
526: in the installer.
527: <li>Returned to a shell-script based <a
528: href="https://man.openbsd.org/fw_update.8">fw_update(8)</a>, written
529: to be usable by the install script, allowing earlier retrieval of
530: downloaded firmwares.
531: <li>Stopped <a
532: href="https://man.openbsd.org/fw_update.8">fw_update(8)</a> from
533: downloading SHA256.sig when not needed, to allow installing local
534: files without network access.
535: <li>Modified the installer to use <a
536: href="https://man.openbsd.org/fw_update.8">fw_update(8)</a> to install
537: non-free firmware files if present on the install media.
538: <li>Made <a href="https://man.openbsd.org/fw_update.8">fw_update(8)</a> re-download existing files with failed checksums.
1.14 ! benno 539: <li>Stopped unregistering firmware with <a href="https://man.openbsd.org/fw_update.8">fw_update(8)</a> when the SHA256.sig cannot be fetched.
! 540: <li>Used <a href="https://man.openbsd.org/installboot.8">installboot(8)</a> in riscv64 install.md.
1.7 benno 541:
1.1 deraadt 542: </ul>
543:
544: <li>Security improvements:
545: <ul>
1.7 benno 546: <li>Cleared length of keys in <a href="https://man.openbsd.org/vnconfig.8">vnconfig(8)</a> alongside keys themselves.
547: <li>Removed hifn(4), safe(4) and ubsec(4) crypto drivers.
548: <li>Fixed double free after allocation failure in <a href="https://man.openbsd.org/bpf.4">bpf(4)</a>.
549: <li>Added call to <a href="https://man.openbsd.org/unveil.2">unveil(2)</a> to restrict <a href="https://man.openbsd.org/stty.1">stty(1)</a> -f filesystem access.
550: <li>Fixed a panic by prohibiting renames of tmpfs mount-points.
551: <li>Fixed <a href="https://man.openbsd.org/vi.1">vi(1)</a> use after free with unsaved buffer. <!-- XXX move? -->
1.10 benno 552: <li>Disabled <a href="https://man.openbsd.org/xterm.1">xterm(1)</a> mouse tracking by default.
1.11 benno 553: <li>On arm64 architectures, used "rng-seed" and "kaslr-seed" properties from the device tree to mix extra entropy into the random pool.
554: <li>Restricted <a
555: href="https://man.openbsd.org/usbhidctl.1">usbhidctl(1)</a> and <a
556: href="https://man.openbsd.org/usbhidaction.1">usbhidaction(1)</a> file
557: system access with <a
558: href="https://man.openbsd.org/unveil.2">unveil(2)</a>.
559: <li>Updated libexpat to 2.4.4, fixing CVE-2022-23852 and CVE-2022-23990.
1.14 ! benno 560: <li>Added <a href="https://man.openbsd.org/ps.1">ps(1)</a> status flag "c" to indicate a process is chrooted.
1.1 deraadt 561: </ul>
562:
563: <li>Routing daemons and other userland network improvements:
564: <ul>
1.11 benno 565:
566: <!-- openrsync -->
1.10 benno 567: <li>Implemented <a href="https://man.openbsd.org/openrsync.1">openrsync(1)</a> --compare-dest, allowing specification of additional directories to check for files to be available.
568: <li>Implemented <a href="https://man.openbsd.org/openrsync.1">openrsync(1)</a> --max-size and --min-size.
569: <li>Limited the number of <a href="https://man.openbsd.org/openrsync.1">openrsync(1)</a> processes being spawned by <a href="https://man.openbsd.org/rpki-client.8">rpki-client(8)</a> to 16.
1.11 benno 570:
571: <!-- DNS: unwind/unbound/nsd -->
572: <li>Switched <a href="https://man.openbsd.org/nsd.8">nsd(8)</a> to enable default DNS cookies on, matching behavior as released in OpenBSD 7.0.
1.7 benno 573: <li>Ensured enabled resolvers are honored by <a href="https://man.openbsd.org/unwind.8">unwind(8)</a> to keep unused forwarders disabled properly.
1.11 benno 574: <li>Installed missing scope identifiers for IPv6 link-local addresses for <a href="https://man.openbsd.org/unwind.8">unwind(8)</a> and <a href="https://man.openbsd.org/resolvd.8">resolvd(8)</a>.
575: <li>Allowed interface names as scope-id in IPv6 link-local addresses in <a href="https://man.openbsd.org/unbound.8">unbound(8)</a>.
576:
577: <!-- httpd/relayd -->
578: <li>Fixed <a href="https://man.openbsd.org/httpd.8">httpd(8)</a> to respond with 400 Bad Request when a client sends header lines without a colon.
579: <li>Added protocol version checking to <a href="https://man.openbsd.org/httpd.8">httpd(8)</a>.
580: <li>Fixed crashes in <a href="https://man.openbsd.org/httpd.8">httpd(8)</a>.
1.7 benno 581: <li>Annotated an <a href="https://man.openbsd.org/httpd.8">httpd(8)</a> 413 error with "request body too large" in the error log.
1.10 benno 582: <li>Corrected <a href="https://man.openbsd.org/httpd.8">httpd(8)</a> version string checking, responding with 505 Version Not Supported rather than 400 Bad Request when the version format is incorrect.
1.7 benno 583: <li>Stopped duplicating "Connection: close" headers in <a href="https://man.openbsd.org/relayd.8">relayd(8)</a>, only adding it if it's not a websocket response.
584: <li>In <a href="https://man.openbsd.org/httpd.8">httpd(8)</a>, stopped sending content alongside responses to HEAD requests.
585: <li>Added <a href="https://man.openbsd.org/httpd.8">httpd(8)</a> custom error page facility.
1.11 benno 586:
587: <!-- iked/IPSEC -->
1.10 benno 588: <li>Made <a href="https://man.openbsd.org/iked.conf.5">iked.conf(5)</a> proto config option accept a list to allow specifying multiple protocols for a single policy.
589: <li>Fixed broken key exchange negotiation with matching proposals in <a href="https://man.openbsd.org/iked.8">iked(8)</a>.
1.11 benno 590: <li>Added <a href="https://man.openbsd.org/ikectl.8">ikectl(8)</a> "show certinfo" to show trusted CAs and certificates.
591: <li>Added <a href="https://man.openbsd.org/iked.8">iked(8)</a> -V to display the version.
592: <li>Fixed removal of SAs that could not be flushed with <a href="https://man.openbsd.org/ipsecctl.8">ipsecctl(8)</a> -F.
593: <li>Fixed a bug where <a href="https://man.openbsd.org/iked.8">iked(8)</a> sent zero-prefixed NAT-T messages on port 500, causing parsing errors.
594: <li>Changed <a href="https://man.openbsd.org/isakmpd.8">isakmpd(8)</a> to log a warning when proto is NULL rather than dereferencing it.
595:
596:
597: <!-- bgpd/rpki-client -->
1.10 benno 598: <li>Limited <a href="https://man.openbsd.org/rpki-client.8">rpki-client(8)</a> HTTP requests to 2GB of data.
599: <li>Published <a href="https://man.openbsd.org/rpki-client.8">rpki-client</a> 7.5.
600: <li>Limited the number of publication points under a given TAL in <a href="https://man.openbsd.org/rpki-client.8">rpki-client(8)</a>.
1.11 benno 601: <li>Introduced a validated cache which holds all the files successfully verified by <a href="https://man.openbsd.org/rpki-client.8">rpki-client(8)</a>.
602: <li>Allowed <a href="https://man.openbsd.org/rpki-client.8">rpki-client(8)</a> to display more than one file in -f mode.
603: <li>Allowed rsync:// URIs as files in <a href="https://man.openbsd.org/rpki-client.8">rpki-client(8)</a> -f mode.
604: <li>Properly handled .mft files in <a href="https://man.openbsd.org/rpki-client.8">rpki-client(8)</a>, preventing replay attacks using old but still valid files.
1.14 ! benno 605: <li>Enforced RFC 6384 certificate policy for RPKI in <a href="https://man.openbsd.org/rpki-client.8">rpki-client(8)</a>.
! 606: <li>Added a CRL check for manifests to <a href="https://man.openbsd.org/rpki-client.8">rpki-client(8)</a>.
1.11 benno 607:
608: <!-- others -->
609: <li>Modified <a href="https://man.openbsd.org/syslog.conf.5">syslog.conf(5)</a> examples to use TLS rather than the plaintext protocols.
610: <li>Stopped ignoring <a href="https://man.openbsd.org/carp.4">carp(4)</a> interfaces in <a href="https://man.openbsd.org/dhcpleased.8">dhcpleased(8)</a>.
611: <li>Made the <a href="https://man.openbsd.org/dhcpleased.8">dhcpleased(8)</a> host name DHCP option configurable.
612: <li>Prevented a crash in <a href="https://man.openbsd.org/slaacd.8">slaacd(8)</a> due to updating an interface which no longer exists.
613: <li>Fix <a href="https://man.openbsd.org/unveil.2">unveil(2)</a> in <a href="https://man.openbsd.org/ldapd.8">ldapd(8)</a>, create permissions are required for databases.
614: <li>Made <a href="https://man.openbsd.org/dhcpd.8">dhcpd(8)</a> start listening on interface in 'down' state. Interfaces can come up later, at which point dhcpd(8) will start receiving packets.
615: <li>Added a basic printer for EAPOL packets to <a href="https://man.openbsd.org/tcpdump.8">tcpdump(8)</a>.
1.10 benno 616:
1.7 benno 617:
618:
1.1 deraadt 619: </ul>
620:
621: <li><a href="https://man.openbsd.org/tmux">tmux(1)</a> improvements and bug fixes:
622: <ul>
1.7 benno 623: <li>Fixed a crash in <a
624: href="https://man.openbsd.org/tmux.1">tmux(1)</a> when a session with
625: multiple clients is destroyed but tmux does not close completely due
626: to other sessions.
627: <li>Fixed a <a href="https://man.openbsd.org/tmux.1">tmux(1)</a>
628: redraw problem on automargin terminals.
629: <li>Fixed a problem with repeat in <a
630: href="https://man.openbsd.org/tmux.1">tmux(1)</a> copy mode.
631: <li>Added -T to set a popup title in <a
632: href="https://man.openbsd.org/tmux.1">tmux(1)</a>.
633: <li>Added -s and -S to <a
634: href="https://man.openbsd.org/tmux.1">tmux(1)</a> display-popup to set
635: popup and border style.
636: <li>Fixed application-set fg and bg in <a
637: href="https://man.openbsd.org/tmux.1">tmux(1)</a> panes.
638: <li>Added a way to force a color to RGB in <a
639: href="https://man.openbsd.org/tmux.1">tmux(1)</a> and a format to
640: display it.
1.10 benno 641: <li>Added a cursor-colour option to <a href="https://man.openbsd.org/tmux.1">tmux(1)</a>.
642: <li>Added a cursor-style option to <a href="https://man.openbsd.org/tmux.1">tmux(1)</a>.
1.11 benno 643: <li>Added a pane-border-format pane option to <a href="https://man.openbsd.org/tmux.1">tmux(1)</a>.
644: <li>Added attempts to turn on less-capable mouse modes when <a href="https://man.openbsd.org/tmux.1">tmux(1)</a> turns on more-capable ones, in case the terminal doesn't support the desired mode.
1.14 ! benno 645: <li>Added a <a href="https://man.openbsd.org/tmux.1">tmux(1)</a> option to show arrows for the active pane indicator.
! 646: <li>Added a key in <a href="https://man.openbsd.org/tmux.1">tmux(1)</a> copy mode to toggle the position indicator.
1.7 benno 647:
1.1 deraadt 648: </ul>
649:
1.4 benno 650: <li>OpenSMTPD version <!--- XXX --->
1.1 deraadt 651: <ul>
1.14 ! benno 652: <li>Stopped <a href="https://man.openbsd.org/smtpd.8">smtpd(8)</a> from verifying the cert or CA for a relay using opportunistic TLS.
1.1 deraadt 653: </ul>
654:
1.4 benno 655: <li>LibreSSL version <!--- XXX --->
1.1 deraadt 656: <ul>
657: <li>New Features
658: <ul>
1.9 inoguchi 659: <li>The RFC 3779 API was ported from OpenSSL.<br>
660: Many bugs were fixed, regression tests were added and the code was cleaned up.
661: <li>Certificate Transparency was ported from OpenSSL.<br>
662: Many internal improvements were made, resulting in cleaner and safer code.<br>
663: Regress coverage was added. libssl does not yet make use of it.
1.1 deraadt 664: </ul>
665:
666: <li>Portable Improvements
667: <ul>
1.9 inoguchi 668: <li>Enabled ASAN CI on Linux platform.<br>
669: Thanks to Ilya Shipitsin (chipitsine <at> gmail com).
670: <li>Fixed various POSIX compliance and other portability issues<br>
671: found by the port to the Sortix operating system.
672: <li>Add libmd as platform specific libraries for Solaris.<br>
673: Issue reported from (ihsan <at> opencsw org) on libressl ML.
674: <li>Set IA-64 compiler flag only if it is HP-UX with IA-64.<br>
675: Suggested from Larkin Nickle (me <at> larbob org) by libressl ML.
676: <li>Enabled and scheduled Coverity scan.<br>
677: Contributed by Ilya Shipitsin (chipitsine <at> gmail com) on github.
1.1 deraadt 678: </ul>
679:
1.9 inoguchi 680: <li>Compatibility Changes
681: <ul>
682: <li>Most structs that were previously defined in the following headers
683: are now opaque as they are in OpenSSL 1.1:<br>
684: bio.h, bn.h, comp.h, dh.h, dsa.h, evp.h, hmac.h, ocsp.h, rsa.h,
685: x509.h, x509v3.h, x509_vfy.h
686: <li>Switch TLSv1.3 cipher names from AEAD- to OpenSSL's TLS_<br>
687: OpenSSL added the TLSv1.3 ciphersuites with "RFC names" instead
688: of using something consistent with the previous naming.<br>
689: Various test suites expect these names (instead of checking for the much
690: more sensible cipher numbers).<br>
691: The old names are still accepted as aliases.
692: <li>Subject alternative names and name constraints are now validated
693: when they are added to certificates.<br>
694: Various interoperability problems with stacks that validate
695: certificates more strictly than OpenSSL can be avoided this way.
696: <li>Attempt to opportunistically use the host name for SNI in s_client
697: </ul>
698:
699: <li>Bug fixes
1.1 deraadt 700: <ul>
1.9 inoguchi 701: <li>Avoid infinite loop for custom curves of order 1.<br>
702: Found and reported with a reproducer by Hanno Boeck.
703: Helpful comments and analysis from David Benjamin.
704: <li>Avoid infinite loop on parsing DSA private keys.<br>
705: Issue reported with reproducers by Hanno Boeck.
706: Additional variants and analysis by David Benjamin.
707: <li>A malicious certificate can cause an infinite loop.<br>
708: Reported by and fix from Tavis Ormandy and David Benjamin, Google.
709: <li>In some situations, the verifier would discard the error on an
710: unvalidated certificate chain.<br>
711: This would happen when the verification callback was in use,
712: instructing the verifier to continue unconditionally.<br>
713: This could lead to incorrect decisions being made in software.
714: <li>Avoid an infinite loop in SSL_shutdown()
715: <li>Fix another return 0 bug in SSL_shutdown()
716: <li>Handle zero byte reads/writes that trigger handshakes in the
717: TLSv1.3 stack
718: <li>A long standing memleak in libtls CRL handling was fixed
1.1 deraadt 719: </ul>
720:
1.9 inoguchi 721: <li>Internal Improvements
1.1 deraadt 722: <ul>
1.9 inoguchi 723: <li>Cache the SHA-512 hash instead of the SHA-1 hash and cache
724: notBefore and notAfter times when X.509 certificates are parsed.
725: <li>The X.509 lookup code has been simplified and cleaned up.
726: <li>Fixed numerous issues flagged by coverity and the cryptofuzz project
727: <li>Increased the number of Miller-Rabin checks in DH and DSA
728: key/parameter generation
729: <li>Started using the bytestring API in libcrypto for cleaner and
730: safer code
731: <li>Convert {i2d,d2i}_{,EC_,DSA_,RSA_}PUBKEY{,_bio,_fp}() to templated
732: ASN1
733: <li>Convert ASN1_OBJECT_new() to calloc()
734: <li>Convert ASN1_STRING_type_new() to calloc()
735: <li>Rewrite ASN1_STRING_cmp()
736: <li>Use calloc() for X509_CRL_METHOD_new() instead of malloc()
737: <li>Convert ASN1_PCTX_new() to calloc()
738: <li>Replace asn1_tlc_clear and asn1_tlc_clear_nc macros with a function
739: <li>Consolidate {d2i,i2d}_{pr,pu}.c
740: <li>Remove handling of a NULL BUF_MEM from asn1_collect()
741: <li>Pull the recursion depth check up to the top of asn1_collect()
742: <li>Inline collect_data() in asn1_collect()
743: <li>Convert asn1_d2i_ex_primitive()/asn1_collect() from BUF_MEM to CBB
744: <li>Clean up d2i_ASN1_BOOLEAN() and i2d_ASN1_BOOLEAN()
745: <li>Consolidate ASN.1 universal tag type data
746: <li>Rewrite ASN.1 identifier/length parsing in CBS
747: <li>Make OBJ_obj2nid() work correctly with NID_undef
748: <li>tlsext_tick_lifetime_hint is now an uint32_t
749: <li>Untangle ssl3_get_message() return values
750: <li>Rename tls13_buffer to tls_buffer
751: <li>Fold DTLS_STATE_INTERNAL into DTLS1_STATE
752: <li>Provide a way to determine our maximum legacy version
753: <li>Mop up enc_read_ctx and read_hash
754: <li>Fold SSL_SESSION_INTERNAL into SSL_SESSION
755: <li>Use ssl_force_want_read in the DTLS code
756: <li>Add record processing limit to DTLS code
757: <li>Add explicit CBS_contains_zero_byte() check in CBS_strdup()
758: <li>Improve SNI hostname validation
759: <li>Ensure SSL_set_tlsext_host_name() is given a valid hostname
760: <li>Fix a strange check in the auto DH codepath
761: <li>Factor out/rewrite DHE key exchange
762: <li>Convert server serialisation of DHE parameters/public key to new
763: functions
764: <li>Check DH public key in ssl_kex_peer_public_dhe()
765: <li>Move the minimum DHE key size check into ssl_kex_peer_params_dhe()
766: <li>Clean up and refactor server side DHE key exchange
767: <li>Provide CBS_get_last_u8()
768: <li>Provide CBS_get_u64()
769: <li>Provide CBS_add_u64()
770: <li>Provide various CBS_peek_* functions
771: <li>Use CBS_get_last_u8() to find the content type in TLSv1.3 records
772: <li>unifdef TLS13_USE_LEGACY_CLIENT_AUTH
773: <li>Correct SSL_get_peer_cert_chain() when used with the TLSv1.3 stack
774: <li>Only allow zero length key shares when we know we're doing HRR
775: <li>Pull key share group/length CBB code up from
776: tls13_key_share_public()
777: <li>Refactor ssl3_get_server_kex_ecdhe() to separate parsing and
778: validation
779: <li>Return 0 on failure from send/get kex functions in the legacy
780: stack
781: <li>Rename tls13_key_share to tls_key_share
782: <li>Allocate and free the EVP_AEAD_CTX struct in
783: tls13_record_protection
784: <li>Convert legacy TLS client to tls_key_share
785: <li>Convert legacy TLS server to tls_key_share
786: <li>Stop attempting to duplicate the public and private key of dh_tmp
787: <li>Rename dh_tmp to dhe_params
788: <li>Rename CERT to SSL_CERT and CERT_PKEY to SSL_CERT_PKEY
789: <li>Clean up pkey handling in ssl3_get_server_key_exchange()
790: <li>Fix GOST skip certificate verify handling
791: <li>Simplify tlsext_keyshare_server_parse()
792: <li>Plumb decode errors through key share parsing code
793: <li>Simplify SSL_get_peer_certificate()
794: <li>Cleanup/simplify ssl_cert_type()
795: <li>The S3I macro was removed
796: <li>The openssl(1) cms, smime and ts subcommands option handling was
797: converted and the C source was cleaned up.
1.1 deraadt 798: </ul>
799:
1.9 inoguchi 800: <li>Documentation improvements
1.1 deraadt 801: <ul>
1.9 inoguchi 802: <li>45 new manual pages, most of which were written from scratch.<br>
803: Documentation coverage of ASN.1 and X.509 code has been
804: significantly improved.
1.1 deraadt 805: </ul>
806:
1.9 inoguchi 807: <li>API additions and removals
1.1 deraadt 808: <ul>
1.9 inoguchi 809: <li>libssl
810: <ul>
811: <li>API additions
812: <ul>
813: <li>SSL_get0_verified_chain SSL_peek_ex SSL_read_ex SSL_write_ex
814: </ul>
815: <li>API stubs for compatibility
816: <ul>
817: <li>SSL_CTX_get_keylog_callback SSL_CTX_get_num_tickets<br>
818: SSL_CTX_set_keylog_callback SSL_CTX_set_num_tickets<br>
819: SSL_get_num_tickets SSL_set_num_tickets
820: </ul>
821: </ul>
822: <li>libcrypto
823: <ul>
824: <li>added API (some of these were previously available as macros):
825: <ul>
826: <li>ASIdOrRange_free ASIdOrRange_new ASIdentifierChoice_free<br>
827: ASIdentifierChoice_new ASIdentifiers_free ASIdentifiers_new<br>
828: ASN1_TIME_diff ASRange_free ASRange_new BIO_get_callback_ex<br>
829: BIO_get_init BIO_set_callback_ex BIO_set_next<br>
830: BIO_set_retry_reason BN_GENCB_set BN_GENCB_set_old<br>
831: BN_abs_is_word BN_get_flags BN_is_negative<br>
832: BN_is_odd BN_is_one BN_is_word BN_is_zero BN_set_flags<br>
833: BN_to_montgomery BN_with_flags BN_zero_ex CTLOG_STORE_free<br>
834: CTLOG_STORE_get0_log_by_id CTLOG_STORE_load_default_file<br>
835: CTLOG_STORE_load_file CTLOG_STORE_new CTLOG_free<br>
836: CTLOG_get0_log_id CTLOG_get0_name CTLOG_get0_public_key<br>
837: CTLOG_new CTLOG_new_from_base64 CT_POLICY_EVAL_CTX_free<br>
838: CT_POLICY_EVAL_CTX_get0_cert CT_POLICY_EVAL_CTX_get0_issuer<br>
839: CT_POLICY_EVAL_CTX_get0_log_store CT_POLICY_EVAL_CTX_get_time<br>
840: CT_POLICY_EVAL_CTX_new CT_POLICY_EVAL_CTX_set1_cert<br>
841: CT_POLICY_EVAL_CTX_set1_issuer<br>
842: CT_POLICY_EVAL_CTX_set_shared_CTLOG_STORE<br>
843: CT_POLICY_EVAL_CTX_set_time DH_get0_g DH_get0_p DH_get0_priv_key<br>
844: DH_get0_pub_key DH_get0_q DH_get_length DSA_bits DSA_get0_g<br>
845: DSA_get0_p DSA_get0_priv_key DSA_get0_pub_key DSA_get0_q<br>
846: ECDSA_SIG_get0_r ECDSA_SIG_get0_s EVP_AEAD_CTX_free<br>
847: EVP_AEAD_CTX_new EVP_CIPHER_CTX_buf_noconst<br>
848: EVP_CIPHER_CTX_get_cipher_data EVP_CIPHER_CTX_set_cipher_data<br>
849: EVP_MD_CTX_md_data EVP_MD_CTX_pkey_ctx EVP_MD_CTX_set_pkey_ctx<br>
850: EVP_MD_meth_dup EVP_MD_meth_free EVP_MD_meth_new<br>
851: EVP_MD_meth_set_app_datasize EVP_MD_meth_set_cleanup<br>
852: EVP_MD_meth_set_copy EVP_MD_meth_set_ctrl EVP_MD_meth_set_final<br>
853: EVP_MD_meth_set_flags EVP_MD_meth_set_init<br>
854: EVP_MD_meth_set_input_blocksize EVP_MD_meth_set_result_size<br>
855: EVP_MD_meth_set_update EVP_PKEY_asn1_set_check<br>
856: EVP_PKEY_asn1_set_param_check EVP_PKEY_asn1_set_public_check<br>
857: EVP_PKEY_check EVP_PKEY_meth_set_check<br>
858: EVP_PKEY_meth_set_param_check EVP_PKEY_meth_set_public_check<br>
859: EVP_PKEY_param_check EVP_PKEY_public_check FIPS_mode<br>
860: FIPS_mode_set IPAddressChoice_free IPAddressChoice_new<br>
861: IPAddressFamily_free IPAddressFamily_new IPAddressOrRange_free<br>
862: IPAddressOrRange_new IPAddressRange_free IPAddressRange_new<br>
863: OBJ_get0_data OBJ_length OCSP_resp_get0_certs OCSP_resp_get0_id<br>
864: OCSP_resp_get0_produced_at OCSP_resp_get0_respdata<br>
865: OCSP_resp_get0_signature OCSP_resp_get0_signer<br>
866: OCSP_resp_get0_tbs_sigalg PEM_write_bio_PrivateKey_traditional<br>
867: RSA_get0_d RSA_get0_dmp1 RSA_get0_dmq1 RSA_get0_e RSA_get0_iqmp<br>
868: RSA_get0_n RSA_get0_p RSA_get0_pss_params RSA_get0_q<br>
869: SCT_LIST_free SCT_LIST_print SCT_LIST_validate SCT_free<br>
870: SCT_get0_extensions SCT_get0_log_id SCT_get0_signature<br>
871: SCT_get_log_entry_type SCT_get_signature_nid SCT_get_source<br>
872: SCT_get_timestamp SCT_get_validation_status SCT_get_version<br>
873: SCT_new SCT_new_from_base64 SCT_print SCT_set0_extensions<br>
874: SCT_set0_log_id SCT_set0_signature SCT_set1_extensions<br>
875: SCT_set1_log_id SCT_set1_signature SCT_set_log_entry_type<br>
876: SCT_set_signature_nid SCT_set_source SCT_set_timestamp<br>
877: SCT_set_version SCT_validate SCT_validation_status_string<br>
878: X509_OBJECT_free X509_OBJECT_new X509_REQ_get0_pubkey<br>
879: X509_SIG_get0 X509_SIG_getm X509_STORE_CTX_get_by_subject<br>
880: X509_STORE_CTX_get_num_untrusted<br>
881: X509_STORE_CTX_get_obj_by_subject X509_STORE_CTX_get_verify<br>
882: X509_STORE_CTX_get_verify_cb X509_STORE_CTX_set0_verified_chain<br>
883: X509_STORE_CTX_set_current_cert X509_STORE_CTX_set_error_depth<br>
884: X509_STORE_CTX_set_verify X509_STORE_get_verify<br>
885: X509_STORE_get_verify_cb X509_STORE_set_verify<br>
886: X509_get_X509_PUBKEY X509_get_extended_key_usage<br>
887: X509_get_extension_flags X509_get_key_usage<br>
888: X509v3_addr_add_inherit X509v3_addr_add_prefix<br>
889: X509v3_addr_add_range X509v3_addr_canonize X509v3_addr_get_afi<br>
890: X509v3_addr_get_range X509v3_addr_inherits<br>
891: X509v3_addr_is_canonical X509v3_addr_subset<br>
892: X509v3_addr_validate_path X509v3_addr_validate_resource_set<br>
893: X509v3_asid_add_id_or_range X509v3_asid_add_inherit<br>
894: X509v3_asid_canonize X509v3_asid_inherits<br>
895: X509v3_asid_is_canonical X509v3_asid_subset<br>
896: X509v3_asid_validate_path X509v3_asid_validate_resource_set<br>
897: d2i_ASIdOrRange d2i_ASIdentifierChoice d2i_ASIdentifiers<br>
898: d2i_ASRange d2i_IPAddressChoice d2i_IPAddressFamily<br>
899: d2i_IPAddressOrRange d2i_IPAddressRange d2i_SCT_LIST<br>
900: i2d_ASIdOrRange i2d_ASIdentifierChoice i2d_ASIdentifiers<br>
901: i2d_ASRange i2d_IPAddressChoice i2d_IPAddressFamily<br>
902: i2d_IPAddressOrRange i2d_IPAddressRange i2d_SCT_LIST<br>
903: i2d_re_X509_CRL_tbs i2d_re_X509_REQ_tbs i2d_re_X509_tbs i2o_SCT<br>
904: i2o_SCT_LIST o2i_SCT o2i_SCT_LIST
905: </ul>
906: <li>removed API:
907: <ul>
908: <li>ASN1_check_infinite_end ASN1_const_check_infinite_end EVP_dss<br>
909: EVP_dss1 EVP_ecdsa HMAC_CTX_cleanup HMAC_CTX_init<br>
910: NETSCAPE_ENCRYPTED_PKEY_free NETSCAPE_ENCRYPTED_PKEY_new<br>
911: NETSCAPE_PKEY_free NETSCAPE_PKEY_new NETSCAPE_X509_free<br>
912: NETSCAPE_X509_new OBJ_bsearch_ex_ PEM_SealFinal PEM_SealInit<br>
913: PEM_SealUpdate PEM_read_X509_CERT_PAIR<br>
914: PEM_read_bio_X509_CERT_PAIR PEM_write_X509_CERT_PAIR<br>
915: PEM_write_bio_X509_CERT_PAIR X509_CERT_PAIR_free<br>
916: X509_CERT_PAIR_new X509_OBJECT_free_contents asn1_do_adb<br>
917: asn1_do_lock asn1_enc_free asn1_enc_init asn1_enc_restore<br>
918: asn1_enc_save asn1_ex_c2i asn1_get_choice_selector<br>
919: asn1_get_field_ptr asn1_set_choice_selector check_defer<br>
920: d2i_ASN1_BOOLEAN d2i_NETSCAPE_ENCRYPTED_PKEY d2i_NETSCAPE_PKEY<br>
921: d2i_NETSCAPE_X509 d2i_Netscape_RSA d2i_RSA_NET<br>
922: d2i_X509_CERT_PAIR i2d_ASN1_BOOLEAN i2d_NETSCAPE_ENCRYPTED_PKEY<br>
923: i2d_NETSCAPE_PKEY i2d_NETSCAPE_X509 i2d_Netscape_RSA i2d_RSA_NET<br>
924: i2d_X509_CERT_PAIR name_cmp obj_cleanup_defer
925: </ul>
926: </ul>
1.1 deraadt 927: </ul>
928: </ul>
929:
1.4 benno 930: <li>OpenSSH version <!--- XXX --->
1.1 deraadt 931: <ul>
932: <li>Security
933: <ul>
1.4 benno 934: <li>...
1.1 deraadt 935: </ul>
936: <li>Potentially incompatible changes
937: <ul>
1.4 benno 938: <li>...
1.1 deraadt 939: </ul>
940:
941: <li>New features
942: <ul>
1.4 benno 943: <li>...
1.1 deraadt 944: </ul>
945:
946: <li>Bugfixes
947: <ul>
1.4 benno 948: <li>...
1.1 deraadt 949: </ul>
950: </ul>
951:
1.13 schwarze 952: <li>mandoc 1.14.6 plus several bugfixes, including:
1.1 deraadt 953: <ul>
1.13 schwarze 954: <li>Fixed <a href="https://man.openbsd.org/man.1">man(1)</a>
955: to always read the configuration file and respect
956: the other directives contained in it,
957: even when the manpath is overridden by other means.
958: <li>Fixed a memory leak in
959: <a href="https://man.openbsd.org/man.1">man(1)</a>
960: that mattered when many names were given on the command line.
961: <li>Fixed a small memory leak in the
962: <a href="https://man.openbsd.org/roff.7">roff(7)</a> parser
963: that occurred each time a user-defined macro was called.
964: <li>Fixed the width of the <code>\h</code> (horizontal motion)
965: <a href="https://man.openbsd.org/roff.7">roff(7)</a>
966: escape sequence in the PostScript and PDF output modes.
1.1 deraadt 967: </ul>
968:
969: <li>Ports and packages:
970: <p>Many pre-built packages for each architecture:
971: <!-- number of FTP packages minus SHA256, SHA256.sig, index.txt -->
972: <ul style="column-count: 3">
973: <li>aarch64: XXXX
974: <li>amd64: XXXX
975: <li>arm: XXXX
976: <li>i386: XXXX
977: <li>mips64: XXXX
978: <li>powerpc: XXXX
979: <li>powerpc64: XXXX
980: <li>riscv64: XXXX
981: <li>sparc64: XXXX
982: </ul>
983:
984: <p>Some highlights:
985: <ul style="column-count: 3">
1.12 sthen 986: <li>Asterisk 16.25.1, 18.11.1 and 19.3.1
1.1 deraadt 987: <li>Audacity 2.4.2
988: <li>CMake 3.20.3
1.5 jsg 989: <li>Chromium 100.0.4896.75
1.1 deraadt 990: <li>Emacs 27.2
1.5 jsg 991: <li>FFmpeg 4.4.1
1.1 deraadt 992: <li>GCC 8.4.0 and 11.2.0
993: <li>GHC 8.10.6
1.5 jsg 994: <li>GNOME 41.5
995: <li>Go 1.17.7
996: <li>JDK 8u322, 11.0.14 and 17.0.2
997: <li>KDE Applications 21.12.2
998: <li>KDE Frameworks 5.91.0
999: <li>Krita 5.0.2
1000: <li>LLVM/Clang 13.0.0
1001: <li>LibreOffice 7.3.2.2
1.1 deraadt 1002: <li>Lua 5.1.5, 5.2.4 and 5.3.6
1.5 jsg 1003: <li>MariaDB 10.6.7
1.1 deraadt 1004: <li>Mono 6.12.0.122
1.5 jsg 1005: <li>Mozilla Firefox 99.0 and ESR 91.8.0
1006: <li>Mozilla Thunderbird 91.8.0
1007: <li>Mutt 2.2.2 and NeoMutt 20211029
1008: <li>Node.js 16.14.2
1009: <li>OCaml 4.12.1
1.1 deraadt 1010: <li>OpenLDAP 2.4.59
1.5 jsg 1011: <li>PHP 7.4.28, 8.0.17 and 8.1.4
1012: <li>Postfix 3.5.14
1013: <li>PostgreSQL 14.2
1014: <li>Python 2.7.18, 3.8.13, 3.9.12 and 3.10.4
1.1 deraadt 1015: <li>Qt 5.15.2 and 6.0.4
1.5 jsg 1016: <li>R 4.1.2
1017: <li>Ruby 2.7.5, 3.0.3 and 3.1.1
1018: <li>Rust 1.59.0
1019: <li>SQLite 2.8.17 and 3.38.2
1020: <li>Shotcut 21.10.31
1021: <li>Sudo 1.9.10
1022: <li>Suricata 6.0.4
1.1 deraadt 1023: <li>Tcl/Tk 8.5.19 and 8.6.8
1.5 jsg 1024: <li>TeX Live 2021
1025: <li>Vim 8.2.4600 and Neovim 0.6.1
1.1 deraadt 1026: <li>Xfce 4.16
1027: </ul>
1028: <p>
1029:
1030: <li>As usual, steady improvements in manual pages and other documentation.
1031:
1032: <li>The system includes the following major components from outside suppliers:
1033: <ul>
1.5 jsg 1034: <li>Xenocara (based on X.Org 7.7 with xserver 1.21.1.3 + patches,
1035: freetype 2.11.0, fontconfig 2.12.94, Mesa 21.3.7, xterm 369,
1.1 deraadt 1036: xkeyboard-config 2.20, fonttosfnt 1.2.2 and more)
1.5 jsg 1037: <li>LLVM/Clang 13.0.0 (+ patches)
1.1 deraadt 1038: <li>GCC 4.2.1 (+ patches) and 3.3.6 (+ patches)
1039: <li>Perl 5.32.1 (+ patches)
1.5 jsg 1040: <li>NSD 4.4.0
1041: <li>Unbound 1.15.0
1.1 deraadt 1042: <li>Ncurses 5.7
1043: <li>Binutils 2.17 (+ patches)
1044: <li>Gdb 6.3 (+ patches)
1.10 benno 1045: <li>Awk October 12, 2021
1.5 jsg 1046: <li>Expat 2.4.7
1.1 deraadt 1047: </ul>
1048:
1049: </ul>
1050: </section>
1051:
1052: <hr>
1053:
1054: <section id=install>
1055: <h3>How to install</h3>
1056: <p>
1057: Please refer to the following files on the mirror site for
1058: extensive details on how to install OpenBSD 7.1 on your machine:
1059:
1060: <ul>
1061: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/7.1/alpha/INSTALL.alpha">
1062: .../OpenBSD/7.1/alpha/INSTALL.alpha</a>
1063: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/7.1/amd64/INSTALL.amd64">
1064: .../OpenBSD/7.1/amd64/INSTALL.amd64</a>
1065: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/7.1/arm64/INSTALL.arm64">
1066: .../OpenBSD/7.1/arm64/INSTALL.arm64</a>
1067: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/7.1/armv7/INSTALL.armv7">
1068: .../OpenBSD/7.1/armv7/INSTALL.armv7</a>
1069: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/7.1/hppa/INSTALL.hppa">
1070: .../OpenBSD/7.1/hppa/INSTALL.hppa</a>
1071: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/7.1/i386/INSTALL.i386">
1072: .../OpenBSD/7.1/i386/INSTALL.i386</a>
1073: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/7.1/landisk/INSTALL.landisk">
1074: .../OpenBSD/7.1/landisk/INSTALL.landisk</a>
1075: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/7.1/luna88k/INSTALL.luna88k">
1076: .../OpenBSD/7.1/luna88k/INSTALL.luna88k</a>
1077: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/7.1/macppc/INSTALL.macppc">
1078: .../OpenBSD/7.1/macppc/INSTALL.macppc</a>
1079: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/7.1/octeon/INSTALL.octeon">
1080: .../OpenBSD/7.1/octeon/INSTALL.octeon</a>
1081: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/7.1/powerpc64/INSTALL.powerpc64">
1082: .../OpenBSD/7.1/powerpc64/INSTALL.powerpc64</a>
1083: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/7.1/riscv64/INSTALL.riscv64">
1084: .../OpenBSD/7.1/riscv64/INSTALL.riscv64</a>
1085: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/7.1/sparc64/INSTALL.sparc64">
1086: .../OpenBSD/7.1/sparc64/INSTALL.sparc64</a>
1087: </ul>
1088: </section>
1089:
1090: <hr>
1091:
1092: <section id=quickinstall>
1093: <p>
1094: Quick installer information for people familiar with OpenBSD, and the use of
1095: the "<a href="https://man.openbsd.org/disklabel.8">disklabel</a> -E" command.
1096: If you are at all confused when installing OpenBSD, read the relevant
1097: INSTALL.* file as listed above!
1098:
1099: <h3>OpenBSD/alpha:</h3>
1100:
1101: <p>
1102: If your machine can boot from CD, you can write <i>install71.iso</i> or
1103: <i>cd71.iso</i> to a CD and boot from it.
1104: Refer to INSTALL.alpha for more details.
1105:
1106: <h3>OpenBSD/amd64:</h3>
1107:
1108: <p>
1109: If your machine can boot from CD, you can write <i>install71.iso</i> or
1110: <i>cd71.iso</i> to a CD and boot from it.
1111: You may need to adjust your BIOS options first.
1112:
1113: <p>
1114: If your machine can boot from USB, you can write <i>install71.img</i> or
1115: <i>miniroot71.img</i> to a USB stick and boot from it.
1116:
1117: <p>
1118: If you can't boot from a CD, floppy disk, or USB,
1119: you can install across the network using PXE as described in the included
1120: INSTALL.amd64 document.
1121:
1122: <p>
1123: If you are planning to dual boot OpenBSD with another OS, you will need to
1124: read INSTALL.amd64.
1125:
1126: <h3>OpenBSD/arm64:</h3>
1127:
1128: <p>
1129: Write <i>install71.img</i> or <i>miniroot71.img</i> to a disk and boot from it
1130: after connecting to the serial console. Refer to INSTALL.arm64 for more
1131: details.
1132:
1133: <h3>OpenBSD/armv7:</h3>
1134:
1135: <p>
1136: Write a system specific miniroot to an SD card and boot from it after connecting
1137: to the serial console. Refer to INSTALL.armv7 for more details.
1138:
1139: <h3>OpenBSD/hppa:</h3>
1140:
1141: <p>
1142: Boot over the network by following the instructions in INSTALL.hppa or the
1143: <a href="hppa.html#install">hppa platform page</a>.
1144:
1145: <h3>OpenBSD/i386:</h3>
1146:
1147: <p>
1148: If your machine can boot from CD, you can write <i>install71.iso</i> or
1149: <i>cd71.iso</i> to a CD and boot from it.
1150: You may need to adjust your BIOS options first.
1151:
1152: <p>
1153: If your machine can boot from USB, you can write <i>install71.img</i> or
1154: <i>miniroot71.img</i> to a USB stick and boot from it.
1155:
1156: <p>
1157: If you can't boot from a CD, floppy disk, or USB,
1158: you can install across the network using PXE as described in
1159: the included INSTALL.i386 document.
1160:
1161: <p>
1162: If you are planning on dual booting OpenBSD with another OS, you will need to
1163: read INSTALL.i386.
1164:
1165: <h3>OpenBSD/landisk:</h3>
1166:
1167: <p>
1168: Write <i>miniroot71.img</i> to the start of the CF
1169: or disk, and boot normally.
1170:
1171: <h3>OpenBSD/luna88k:</h3>
1172:
1173: <p>
1174: Copy 'boot' and 'bsd.rd' to a Mach or UniOS partition, and boot the bootloader
1175: from the PROM, and then bsd.rd from the bootloader.
1176: Refer to the instructions in INSTALL.luna88k for more details.
1177:
1178: <h3>OpenBSD/macppc:</h3>
1179:
1180: <p>
1181: Burn the image from a mirror site to a CDROM, and power on your machine
1182: while holding down the <i>C</i> key until the display turns on and
1183: shows <i>OpenBSD/macppc boot</i>.
1184:
1185: <p>
1186: Alternatively, at the Open Firmware prompt, enter <i>boot cd:,ofwboot
1187: /7.1/macppc/bsd.rd</i>
1188:
1189: <h3>OpenBSD/octeon:</h3>
1190:
1191: <p>
1192: After connecting a serial port, boot bsd.rd over the network via DHCP/tftp.
1193: Refer to the instructions in INSTALL.octeon for more details.
1194:
1195: <h3>OpenBSD/powerpc64:</h3>
1196:
1197: <p>
1198: To install, write <i>install71.img</i> or <i>miniroot71.img</i> to a
1199: USB stick, plug it into the machine and choose the <i>OpenBSD
1200: install</i> menu item in Petitboot.
1201: Refer to the instructions in INSTALL.powerpc64 for more details.
1202:
1203: <h3>OpenBSD/riscv64:</h3>
1204:
1205: <p>
1206: To install, write <i>install71.img</i> or <i>miniroot71.img</i> to a
1207: USB stick, and boot with that drive plugged in.
1208: Make sure you also have the microSD card plugged in that shipped with the
1209: HiFive Unmatched board.
1210: Refer to the instructions in INSTALL.riscv64 for more details.
1211:
1212: <h3>OpenBSD/sparc64:</h3>
1213:
1214: <p>
1215: Burn the image from a mirror site to a CDROM, boot from it, and type
1216: <i>boot cdrom</i>.
1217:
1218: <p>
1219: If this doesn't work, or if you don't have a CDROM drive, you can write
1220: <i>floppy71.img</i> or <i>floppyB71.img</i>
1221: (depending on your machine) to a floppy and boot it with <i>boot
1222: floppy</i>. Refer to INSTALL.sparc64 for details.
1223:
1224: <p>
1225: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install
1226: will most likely fail.
1227:
1228: <p>
1229: You can also write <i>miniroot71.img</i> to the swap partition on
1230: the disk and boot with <i>boot disk:b</i>.
1231:
1232: <p>
1233: If nothing works, you can boot over the network as described in INSTALL.sparc64.
1234: </section>
1235:
1236: <hr>
1237:
1238: <section id=upgrade>
1239: <h3>How to upgrade</h3>
1240: <p>
1.6 tj 1241: If you already have an OpenBSD 7.0 system, and do not want to reinstall,
1.1 deraadt 1242: upgrade instructions and advice can be found in the
1243: <a href="faq/upgrade71.html">Upgrade Guide</a>.
1244: </section>
1245:
1246: <hr>
1247:
1248: <section id=sourcecode>
1249: <h3>Notes about the source code</h3>
1250: <p>
1251: <code>src.tar.gz</code> contains a source archive starting at <code>/usr/src</code>.
1252: This file contains everything you need except for the kernel sources,
1253: which are in a separate archive.
1254: To extract:
1255: <blockquote><pre>
1256: # <kbd>mkdir -p /usr/src</kbd>
1257: # <kbd>cd /usr/src</kbd>
1258: # <kbd>tar xvfz /tmp/src.tar.gz</kbd>
1259: </pre></blockquote>
1260: <p>
1261: <code>sys.tar.gz</code> contains a source archive starting at <code>/usr/src/sys</code>.
1262: This file contains all the kernel sources you need to rebuild kernels.
1263: To extract:
1264: <blockquote><pre>
1265: # <kbd>mkdir -p /usr/src/sys</kbd>
1266: # <kbd>cd /usr/src</kbd>
1267: # <kbd>tar xvfz /tmp/sys.tar.gz</kbd>
1268: </pre></blockquote>
1269: <p>
1270: Both of these trees are a regular CVS checkout. Using these trees it
1271: is possible to get a head-start on using the anoncvs servers as
1272: described <a href="anoncvs.html">here</a>.
1273: Using these files
1274: results in a much faster initial CVS update than you could expect from
1275: a fresh checkout of the full OpenBSD source tree.
1276: </section>
1277:
1278: <hr>
1279:
1280: <section id=ports>
1281: <h3>Ports Tree</h3>
1282: <p>
1283: A ports tree archive is also provided. To extract:
1284: <blockquote><pre>
1285: # <kbd>cd /usr</kbd>
1286: # <kbd>tar xvfz /tmp/ports.tar.gz</kbd>
1287: </pre></blockquote>
1288: <p>
1289: Go read the <a href="faq/ports/index.html">ports</a> page
1290: if you know nothing about ports
1291: at this point. This text is not a manual of how to use ports.
1292: Rather, it is a set of notes meant to kickstart the user on the
1293: OpenBSD ports system.
1294: <p>
1295: The <i>ports/</i> directory represents a CVS checkout of our ports.
1296: As with our complete source tree, our ports tree is available via
1297: <a href="anoncvs.html">AnonCVS</a>.
1298: So, in order to keep up to date with the -stable branch, you must make
1299: the <i>ports/</i> tree available on a read-write medium and update the tree
1300: with a command like:
1301: <blockquote><pre>
1302: # <kbd>cd /usr/ports</kbd>
1303: # <kbd>cvs -d anoncvs@server.openbsd.org:/cvs update -Pd -rOPENBSD_7_1</kbd>
1304: </pre></blockquote>
1305: <p>
1306: [Of course, you must replace the server name here with a nearby anoncvs
1307: server.]
1308: <p>
1309: Note that most ports are available as packages on our mirrors. Updated
1310: ports for the 7.1 release will be made available if problems arise.
1311: <p>
1312: If you're interested in seeing a port added, would like to help out, or just
1313: would like to know more, the mailing list
1314: <a href="mail.html">ports@openbsd.org</a> is a good place to know.
1315: </section>