Annotation of www/71.html, Revision 1.22
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>
1.16 benno 80: <li>Support for Apple Silicon Macs has improved and is ready for general use:
1.1 deraadt 81: <ul>
1.10 benno 82: <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.
83: <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 84: <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.
85: <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.
86: <li>Introduced <a href="https://man.openbsd.org/apliic.4">apliic(4)</a>, a driver for the I2C controller found on various Apple SoCs.
87: <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>.
88: <li>Rewrote arm64 kernel FPU handling code to fix the random crashes seen with SMP kernels on Apple M1.
89: <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.
90: <li>Introduced <a href="https://man.openbsd.org/aplsmc.4">aplsmc(4)</a>, a driver for the SMC found on Apple M1 SoCs.
91: <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.
92: <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 93: <li>Introduced <a href="https://man.openbsd.org/apldma.4">apldma(4)</a>, a driver for the DMA controller found on Apple SoCs.
1.15 benno 94: <li>Added support to explicitly power on some PCIe devices on the M1 and M1 Pro/Max through a GPIO controlled by the SMC.
95: <li>Added <a href="https://man.openbsd.org/aplcpu.4">aplcpu(4)</a>, a driver to control the CPU performance levels on Apple SoCs.
96: <li>Modified <a href="https://man.openbsd.org/aplintc.4">aplintc(4)</a> to support a newer interrupt controller, making OpenBSD run on M1 Pro/Max machines.
97: <li>Added nvmem support to <a href="https://man.openbsd.org/aplpmu.4">aplpmu(4)</a> and made it available on Apple SPMI PMUs.
98: <li>Added RTC support to <a href="https://man.openbsd.org/aplsmc.4">aplsmc(4)</a>.
99: <li>Made the arm64 ramdisk installer fetch <a href="https://man.openbsd.org/bwfm.4">bwfm(4)</a> firmware from the EFI System Partition on Apple Silicon devices for use during installation and addition to the newly installed system.
100: <li>Added support for controlling keyboard LEDs to <a
101: href="https://man.openbsd.org/aplhidev.4">aplhidev(4)</a>.
102: <li>Added basic GPIO support to <a href="https://man.openbsd.org/aplsmc.4">aplsmc(4)</a>.
103: <li>Ensured <a href="https://man.openbsd.org/apldart.4">apldart(4)</a> keeps the DART enabled in front of the display controller to preserve its access to the framebuffer and continued display.
104: <li>Fixed reading motherboard time on Apple machines with old SMC firmware.
105: <li>Implemented reboot/powerdown support in <a href="https://man.openbsd.org/aplsmc.4">aplsmc(4)</a>.
106: <li>Implemented <a href="https://man.openbsd.org/aplintc.4">aplintc(4)</a> support for multiple dies, making OpenBSD work on the M1 Ultra.
1.10 benno 107:
1.16 benno 108: </ul>
109: <li>Support for other <a href="arm64.html">arm64</a> architecture hardware was also improved with the following changes:
110: <ul>
1.10 benno 111: <li>Introduced <a
112: href="https://man.openbsd.org/gpiocharger.4">gpiocharger(4)</a>, a
113: driver providing support for battery chargers connected to GPIO pins,
114: such as those found on the Pinebook Pro.
115: <li>Introduced <a
116: href="https://man.openbsd.org/gpioleds.4">gpioleds(4)</a> for arm64, a
117: driver providing support for LEDs connected to GPIO pins, such as
118: those found on the Pinebook Pro.
119: <li>Added <a href="https://man.openbsd.org/gpiokeys.4">gpiokeys(4)</a>
120: for arm64, a driver which handles events triggered by GPIO keys such
121: as lid status and power button.
1.11 benno 122: <li>Added pclk clock used by <a
123: href="https://man.openbsd.org/dwdog.4">dwdog(4)</a> on RK3399 to <a
124: href="https://man.openbsd.org/rkclock.4">rkclock(4)</a>.
125: <li>Introduced <a href="https://man.openbsd.org/mpfclock.4">mpfclock(4)</a>, a driver for the PolarFire SoC MSS clock controller.
126: <li>Implemented powerdown in arm64.
127: <li>Introduced <a href="https://man.openbsd.org/cdsdhc.4">cdsdhc(4)</a>, a driver for the Cadence SD/SDIO/eMMC host controller.
1.15 benno 128: <li>Introduced <a href="https://man.openbsd.org/mpfiic.4">mpfiic(4)</a>, a driver for the PolarFire SoC MSS I2C controller.
129: <li>Introduced <a href="https://man.openbsd.org/mpfgpio.4">mpfgpio(4)</a>, a driver for the PolarFire SoC MSS GPIO controller.
130: <li>Enabled <a href="https://man.openbsd.org/cduart.4">cduart(4)</a> on arm64.
131: <li>Added <a href="https://man.openbsd.org/mvpinctrl.4">mvpinctrl(4)</a> support for the CP115 block found on Marvell CN9K SoCs.
132: <li>Added <a href="https://man.openbsd.org/mvclock.4">mvclock(4)</a> support for the AP807 block found on Marvell CN9K SoCs.
1.1 deraadt 133: </ul>
134: <li>Changes on other architectures:
135: <ul>
1.16 benno 136: <!-- riscv -->
1.11 benno 137: <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 138: <li>Allowed riscv64 installation on a disk with a GPT.
1.16 benno 139: <li>Added missing locking to <a
140: href="https://man.openbsd.org/pmap_extract.9">pmap_extract(9)</a> and
141: <a href="https://man.openbsd.org/pmap_unwire.9">pmap_unwire(9)</a> on
142: arm64 and riscv64.
143: <li>Improved stack unwinding on riscv64 in <a href="https://man.openbsd.org/ddb.4">ddb(4)</a>.
144: <li>Fixed kernel stack alignment on riscv64.
145: <li>Fixed RISC-V lld link code when dealing with object files created with "ld -b".
146: <li>Made sure nothing can map address zero on RISC-V.
147: <li>Made sure armv7,arm64 and risc-v FDT bootloader code does not write beyond the FDT data structure.
148: <-- sparc64 -->
1.11 benno 149: <li>Fixed booting from an IDE block device on the Sun Blade 100.
150: <li>Fixed <a href="https://man.openbsd.org/radeondrm.4">radeondrm(4)</a> console colors on sparc64.
1.16 benno 151: <!-- macppc/powerpc64 -->
1.11 benno 152: <li>Enabled <a href="https://man.openbsd.org/dt.4">dt(4)</a> on macppc.
153: <li>Increased <a href="https://man.openbsd.org/ddb.1">ddb(1)</a> access to registers on macppc and powerpc64.
1.16 benno 154: <li>Enabled enforcing of RLIMIT_MEMLOCK on powerpc64.
1.14 benno 155: <li>Allowed <a href="https://man.openbsd.org/ddb.4">ddb(4)</a> trace through interrupt on macppc.
1.1 deraadt 156: </ul>
157: </ul>
158:
159: <li>Various kernel improvements:
160: <ul>
1.16 benno 161: <li>Made redistributable firmwares available across all architectures.<!-- XXX right place? -->
162:
163: <li>Made futexes work in shared anonymous memory.
164: <li>Improved tracking of mbuf memory usage in the whole system.
165: <li>Switched to using long filenames by default with <a
166: href="https://man.openbsd.org/mount_msdos.8">mount_msdos(8)</a> on FAT
167: filesystems.
1.7 benno 168: <li>Fixed memory leak in <a
169: href="https://man.openbsd.org/fuse.4">fuse(4)</a> when calling <a
170: href="https://man.openbsd.org/namei.9">namei(9)</a>.
171: <li>Fixed establishing legacy INTx interrupts on machines without a (usable) MSI interrupt controller.
172: <li>Cleaned up irrelevant uses of 3rd mode_t parameter for <a
173: href="https://man.openbsd.org/open.2">open(2)</a>/<a
174: href="https://man.openbsd.org/openat.2">openat(2)</a>, unused when not
175: creating files.
1.16 benno 176: <li>Reworked garbage collector for <a
177: href="https://man.openbsd.org/unix.4">unix(4)</a> sockets to prevent
178: potential kernel panics.
1.10 benno 179: <li>Changed the power management <a href="https://man.openbsd.org/sysctl.8">sysctl(8)</a>
180: hw.perfpolicy to "auto" at startup, defaulting to 100%
181: performance with AC power connected and using the auto algorithm when
182: on battery.
1.11 benno 183: <li>Aligned memory allocation for USB device drivers and USB HC drivers, enlarging the USB memory pool.
1.16 benno 184: <li>Prevent panic in <a
185: href="https://man.openbsd.org/softraid.4">softraid(4)</a> while
186: rebooting if softraid has been disabled.
187:
188: <!-- suspend/hibernate/resume -->
1.11 benno 189: <li>Fixed hibernate setups where removal of a <a
190: href="https://man.openbsd.org/umass.4">umass(4)</a> device results in
191: a renumbered <a
192: href="https://man.openbsd.org/softraid.4">softraid(4)</a> boot device.
193: <li>Fix hibernate on newer hardware by allowing more memory ranges.
1.15 benno 194: <li>If CPU sleep state S4 is not available, use S5 for the ACPI-transitions in hibernate support.
195: <li>Added code to update hw.power whenever AC state changes on resume.
1.22 ! benno 196: <li>Fixed a panic by prohibiting renames of tmpfs mount-points.
! 197: <li>Fixed double free after allocation failure in <a href="https://man.openbsd.org/bpf.4">bpf(4)</a>.
1.11 benno 198:
1.16 benno 199:
1.1 deraadt 200: </ul>
201:
202: <li>SMP Improvements
203: <ul>
1.7 benno 204: <li>Made pipe event filters MP-safe.
205: <li>Set klist lock for sockets to make socket event filters MP-safe.
206: <li>Implemented <a href="https://man.openbsd.org/poll.2">poll(2)</a>,
207: <a href="https://man.openbsd.org/select.2">select(2)</a>, <a
208: href="https://man.openbsd.org/ppoll.2">ppoll(2)</a> and <a
209: href="https://man.openbsd.org/pselect.2">pselect(2)</a> on top of
210: kqueue.
211: <li>Unlocked top part of UVM fault hander on mips64. <!--- XXX move? --->
1.10 benno 212: <li>Unlocked the <a href="https://man.openbsd.org/kevent.2">kevent(2)</a> system call.
213: <li>Made the kqread event filter MP-safe.
214: <li>Reduced the time overhead of <a
215: href="https://man.openbsd.org/kqueue.2">kqueue(2)</a>-based <a
216: href="https://man.openbsd.org/poll.2">poll(2)</a> and <a
217: href="https://man.openbsd.org/select.2">select(2)</a> systems calls by
218: keeping knotes between the system calls.
1.11 benno 219: <li>Unlocked <a href="https://man.openbsd.org/accept.2">accept(2)</a>
220: and <a href="https://man.openbsd.org/accept4.2">accept4(2)</a>
221: syscalls.
222: <li>Prevented <a
223: href="https://man.openbsd.org/select.2">select(2)</a> from blocking if
224: registering found pending events.
225: <li>Protected <a href="https://man.openbsd.org/ipsec.4">ipsec(4)</a>
226: input and output with the kernel lock to allow forwarding of non-ipsec
227: traffic in parallel.
228: <li>Unlocked the bottom part of the uvm fault handler.
229: <li>Unlocked <a href="https://man.openbsd.org/getpeername.2">getpeername(2)</a>.
230: <li>Made <a href="https://man.openbsd.org/bpf.4">bpf(4)</a> MP-safe.
1.14 benno 231: <li>Implemented the <a
232: href="https://man.openbsd.org/poll.2">poll(2)</a> system call on top
233: of the <a href="https://man.openbsd.org/kqueue.2">kqueue(2)</a>
234: subsystem, obsoleting the old, non-MP-safe poll backend.
1.15 benno 235: <li>Made <a href="https://man.openbsd.org/audio.4">audio(4)</a> event filters MP-safe.
236: <li>Unlocked <a href="https://man.openbsd.org/getsockname.2">getsockname(2)</a>.
237: <li>Added kernel interfaces for atomic load and store functions for int and long to be used in reference counted struct members.
1.1 deraadt 238: </ul>
239:
240: <li>Direct Rendering Manager
241: <ul>
1.5 jsg 242: <li>Updated <a href="https://man.openbsd.org/drm.4">drm(4)</a>
243: to Linux 5.15.26
244: <li><a href="https://man.openbsd.org/inteldrm.4">inteldrm(4)</a>:
245: support for Elkhart Lake, Jasper Lake, Rocket Lake
246: <li><a href="https://man.openbsd.org/drm.4">amdgpu(4)</a>:
247: support for Van Gogh APU, Rembrandt "Yellow Carp" Ryzen 6000 APU,
248: Navi 22 "Navy Flounder", Navi 23 "Dimgrey Cavefish",
249: Navi 24 "Beige Goby"
1.16 benno 250: <li>Reinstated a <a href="https://man.openbsd.org/drm.4">drm(4)</a>
251: workaround to get framebuffer size from efifb, preventing fatal errors
252: for the BESSTAR TECH HM90 with Ryzen 9 4900H.
253:
1.1 deraadt 254: </ul>
255:
256: <li>VMM/VMD improvements
257: <ul>
1.10 benno 258: <li>Enabled <a href="https://man.openbsd.org/vmx.4">vmx(4)</a> on arm64.
1.8 dv 259: <li>Retired <a href="https://man.openbsd.org/OpenBSD-7.0/switch.4">
260: switch(4)</a> support in <a href="https://man.openbsd.org/vmd.8">
261: vmd(8)</a>.
262: <li>Fixed a bug where <a href="https://man.openbsd.org/vmd.8">vmd(8)</a>
263: would exit when requesting a new VM and hitting memory resource
264: limits.
265: <li>Fixed <a href="https://man.openbsd.org/vmm.4">vmm(4)</a> state
266: corruption on Intel hosts.
267: <li>Fixed <a href="https://man.openbsd.org/vmm.4">vmm(4)</a> cpuid leaf
268: clamping when the host has an invariant TSC.
269: <li>Added quiesce/wakeup hooks to <a href="https://man.openbsd.org/vmm.4">
270: vmm(4)</a> allowing Intel hosts to suspend and hibernate safely with
271: running guests.
272: <li>Added a new login class for <a href="https://man.openbsd.org/vmd.8">
273: vmd(8)</a> on amd64.
1.11 benno 274: <li>Fixed spurious abort of a VM by <a
275: href="https://man.openbsd.org/vmd.8">vmd(8)</a> when the scheduler
276: moves a VM to a different core while it is sleeping on a lock.
277: <li>Fixed broken <a href="https://man.openbsd.org/vmd.8">vmd(8)</a>
278: "boot device cdrom" feature after a fix in seabios.
279: <li>Reintroduced support for <a
280: href="https://man.openbsd.org/vmctl.8">vmctl(8)</a> <code>start -B net
281: -b bsd.rd</code>, which emulates a PXE boot and performs an
282: autoinstall.
1.16 benno 283: <li>Made <a href="https://man.openbsd.org/vmm.4">vmm(4)</a> <a
284: href="https://man.openbsd.org/dt.4">dt(4)</a> tracepoints amd64-only.
285: <li>Provided a login class for <a
286: href="https://man.openbsd.org/vmd.8">vmd(8)</a>.
287: <li>Added handling for <a
288: href="https://man.openbsd.org/vmd.8">vmd(8)</a> hitting resource
289: limits when starting a vm and added memory error messages for the
290: user.
291: <li>Added quiesce/wakeup hooks to sync vcpu state in <a
292: href="https://man.openbsd.org/vmm.4">vmm(4)</a>.
1.11 benno 293:
1.1 deraadt 294: </ul>
295:
296: <li>Various new userland features:
297: <ul>
1.7 benno 298: <li>Added <a
299: href="https://man.openbsd.org/realpath.1">realpath(1)</a>, a wrapper
300: for <a href="https://man.openbsd.org/realpath.3">realpath(3)</a> for
301: use in ports.
302: <li>Added <a href="https://man.openbsd.org/rcctl.8">rcctl(8)</a> "ls
303: rogue" to show daemons which are running but not set as "enabled" in
304: <a href="https://man.openbsd.org/rc.conf.local.8">rc.conf.local(8)</a>.
1.16 benno 305: <li>Implemented probe variables in BPFtrace (<a
306: href="https://man.openbsd.org/bt.5">bt(5)</a>).
1.7 benno 307: <li>Provided common <a
308: href="https://man.openbsd.org/btrace.8">btrace(8)</a> scripts
309: kprofile.bt (to save kernel stackframes and produce flamegraphs) and
310: runqlat.bt (to measure the latency of the scheduler runqueues).
1.16 benno 311: <li>DNSSEC support: Implemented RFC6840 (AD flag processing) in the libc resolver, if
1.11 benno 312: using trusted name servers specified with 'trust-ad' in <a
1.16 benno 313: href="https://man.openbsd.org/resolv.conf.5">resolv.conf(5)</a><!-- XXX or network section? -->
1.14 benno 314: <li>Enabled support for displaying an estimated battery recharge time
315: in <a href="https://man.openbsd.org/apm.8">apm(8)</a> and <a
316: href="https://man.openbsd.org/apmd.8">apmd(8)</a>.
317: <li>Introduced support for storing capability databases in
318: /etc/login.conf.d, allowing easy addition of custom login classes from
1.16 benno 319: packages and made <a
320: href="https://man.openbsd.org/rcctl.8">rcctl(8)</a> look for the login
321: class in both login.conf and login.conf.d/${class}.
322: <li>Added a <a href="https://man.openbsd.org/malloc.3">malloc(3)</a>
323: cache of regions between 128k and 2M to accommodate programs
324: allocating and deallocating regions of these sizes quickly.
325: ` <li>Added <a href="https://man.openbsd.org/pax.1">pax(1)</a> support
326: for mtime/atime/ctime extended headers (in not-SMALL builds).
327: <li>Added -k flag to <a
328: href="https://man.openbsd.org/gzip.1">gzip(1)</a> and <a
329: href="https://man.openbsd.org/gunzip.1">gunzip(1)</a> to retain
330: (de)compressed file.
1.22 ! benno 331: <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.
! 332: <li>Implemented <a href="https://man.openbsd.org/openrsync.1">openrsync(1)</a> --max-size and --min-size.
1.1 deraadt 333: </ul>
334:
335: <li>Various bugfixes and tweaks in userland:
336: <ul>
1.16 benno 337: <!-- pkg tools -->
338: <li>Stopped <a
339: href="https://man.openbsd.org/pkg_add.1">pkg_add(1)</a> from
340: communicating warnings starting with "XXX" which appeared to indicate
341: errors.
1.7 benno 342:
1.16 benno 343: <!-- X11 -->
344: <li>Enabled subpixel rendering in FreeType.
345: <li>Updated xorg-server to 21.1.3, leaving in place an earlier change
346: to compute the screen resolution from dimensions returned by the
347: screen, reverted by upstream.
348: <li>Allowed bare numbers for key and mouse bindings in <a
349: href="https://man.openbsd.org/cwm.1">cwm(1)</a>.
350: <li>Added a <a href="https://man.openbsd.org/cwm.1">cwm(1)</a>
351: "group-last" command that shows only the previously active group.
352: <li>Fixed glass console and <a href="https://man.openbsd.org/getty.8">getty(8)</a> interference with Xorg on arm64.
353:
354: <!-- utilities -->
355: <li>Fixed octal escape parsing in <a
356: href="https://man.openbsd.org/tr.1">tr(1)</a> backslash().
357: <li>Added <a href="https://man.openbsd.org/uniq.1">uniq(1)</a>
358: support for arbitrarily long input lines.
359: <li>Made <a href="https://man.openbsd.org/uniq.1">uniq(1)</a> ignore
360: trailing newlines when comparing lines.
361: <li>Made <a href="https://man.openbsd.org/uniq.1">uniq(1)</a> skip()
362: each input line only once, improving performance.
363: <li>Increased <a href="https://man.openbsd.org/tee.1">tee(1)</a> I/O
364: buffer size for 8KB to 64KB.
365: <li>Improved performance of <a
366: href="https://man.openbsd.org/rev.1">rev(1)</a>.
367: <li>Made <a href="https://man.openbsd.org/ed.1">ed(1)</a> flush all
368: stdio streams before running a shell command.
369: <li>Prevented a file descriptor leak in <a
370: href="https://man.openbsd.org/touch.1">touch(1)</a> after <a
371: href="https://man.openbsd.org/futimens.2">futimens(2)</a> failure.
372: <li>Added <a href="https://man.openbsd.org/seq.1">seq(1)</a>, a
373: command to print sequences of numbers.
374:
375: <!-- apm -->
1.22 ! benno 376: <li>Set cpuspeed to 0 in <a
! 377: href="https://man.openbsd.org/apm.8">apm(8)</a> when hw.cpuspeed
! 378: cannot be retrieved.
1.16 benno 379:
380: <li>Copied the <a href="https://man.openbsd.org/cos.3">cos(3)</a>
381: cosine software implementation from FreeBSD-13, and disabled assembly
382: implementations of trig functions on x86 platforms.
383: <li>Added optimization for tiny x in <a
384: href="https://man.openbsd.org/cos.3">cos(3)</a> and <a
1.21 tj 385: href="https://man.openbsd.org/sin.3">sin(3)</a> trigonometry
386: functions.
1.16 benno 387:
388: <!-- audio -->
389: <li>Switched <a href="https://man.openbsd.org/aucat.1">aucat(1)</a>
390: internal sample representation and default file encoding to 24-bit.
391: <li>Switched <a href="https://man.openbsd.org/sndiod.8">sndiod(8)</a>
392: internal sample representation to 24-bit fixed point.
393:
394: <!-- rc scripts -->
395: <li>Allowed passing a different signal than SIGTERM in the default
396: rc_stop() function in <a
397: href="https://man.openbsd.org/rc.subr.8">rc.subr(8)</a>.
398: <li>Improved and simplified timer handling in <a
399: href="https://man.openbsd.org/rc.d.8">rc.d(8)</a> "stop" and "reload".
400:
401: <!-- fdisk -->
1.19 krw 402: <li>Made <a href="https://man.openbsd.org/fdisk.8">fdisk(8)</a>
403: -b available on all architectures.
1.7 benno 404: <li>Removed the constraint that <a
1.19 krw 405: href="https://man.openbsd.org/fdisk.8">fdisk(8)</a> -b block
406: count and block offset must be greater than 63.
407: <li>Made <a href="https://man.openbsd.org/fdisk.8">fdisk(8)</a> -b
408: partitions other than EFI System partitions DOSACTIVE.
409: <li>Switched to using <a
410: href="https://man.openbsd.org/fdisk.8">fdisk(8)</a> -b to create boot
411: partitions on multiple architectures.
1.16 benno 412: <li>Removed <a href="https://man.openbsd.org/fdisk.8">fdisk(8)</a>
413: "disk" editing command.
1.19 krw 414: <li>Prevented <a href="https://man.openbsd.org/fdisk.8">fdisk(8)</a>
415: from initializing an MBR to have overlapping partitions 0 and 3.
1.16 benno 416: <li>Allowed <a href="https://man.openbsd.org/fdisk.8">fdisk(8)</a> to
417: extend the default OpenBSD partition to the end of the disk, rather
418: than truncating at the end of the last full cylinder.
1.19 krw 419: <li>Corrected GPT checksums written by <a
1.16 benno 420: href="https://man.openbsd.org/fdisk.8">fdisk(8)</a> on big-endian
421: architectures to be little-endian as per spec.
422: <li>Made <a href="https://man.openbsd.org/fdisk.8">fdisk(8)</a> -A
423: preserve BIOS boot partition.
1.19 krw 424: <li>Made <a href="https://man.openbsd.org/fdisk.8">fdisk(8)</a> -A
425: preserve the EFI System partition on GPT disks with Apple APFS partitions.
426: <li>Removed the builtin MBR from <a href="https://man.openbsd.org/fdisk.8">fdisk(8)</a>.
427: <li>Removed the "rpath" and "wpath" pledges from <a
428: href="https://man.openbsd.org/fdisk.8">fdisk(8)</a>.
429: <li>Ensured <a href="https://man.openbsd.org/fdisk.8">fdisk(8)</a>
430: creates the default OpenBSD MBR partition only when there is space for it.
431: <li>Ensured <a href="https://man.openbsd.org/fdisk.8">fdisk(8)</a>
432: does not set MBR DOSACTIVE flag on unused partitions when initializing MBR.
433: <li>Reduced the alignment space <a href="https://man.openbsd.org/fdisk.8">fdisk(8)</a>
434: inserts before the start of the default OpenBSD partition.
1.16 benno 435:
436: <!-- other -->
1.7 benno 437: <li>Merged bugfixes from upstream into <a
438: href="https://man.openbsd.org/less.1">less(1)</a> including fixes for
439: the prompt hiding feature (CTRL-P) and an integer overflow.
1.16 benno 440: <li>Fixed possible use after free with long lines in <a
441: href="https://man.openbsd.org/less.1">less(1)</a>.
1.7 benno 442: <li>Fixed file descriptor leak of /dev/tty on <a
443: href="https://man.openbsd.org/doas.1">doas(1)</a> auth failure.
444: <li>Replaced <a href="https://man.openbsd.org/lrint.3">lrint(3)</a>,
445: <a href="https://man.openbsd.org/lrintf.3">lrintf(3)</a>, <a
446: href="https://man.openbsd.org/llrint.3">llrint(3)</a> and <a
447: href="https://man.openbsd.org/llrintf.3">llrintf(3)</a>
448: implementations from NetBSD with the existing FreeBSD implementations
449: we were already using for <a
450: href="https://man.openbsd.org/lrintl.3">lrintl(3)</a> and <a
451: href="https://man.openbsd.org/llrintl.3">llrintl(3)</a>.
1.16 benno 452: <li>In various games, call <a href="https://man.openbsd.org/pledge.2">pledge(2)</a>
1.7 benno 453: later to prevent it from killing various games using ncurses when both
454: stdout and stderr are redirected to a non-tty.
1.16 benno 455: <li>Switched LLD_ARCHs (architectures using the LLVM <a
456: href="https://man.openbsd.org/ld.lld.1">ld.lld(1)</a> linker) to also
457: user the LLVM archiver <a
458: href="https://man.openbsd.org/llvm-ar.1">llvm-ar(1)</a>.
459: <li>Added openvpn ports (udp/1194 & tcp/1194) to /etc/services.
460: <li>Prevented an access to uninitialized memory in <a
461: href="https://man.openbsd.org/awk.1">awk(1)</a>.
462: <li>Fixed <a href="https://man.openbsd.org/vi.1">vi(1)</a> recovery
463: mode.
464: <li>Extended and reordered the process accounting information
465: structure <a href="https://man.openbsd.org/acct.5">acct(5)</a>. Flag
466: Day for the <a href="https://man.openbsd.org/acct.2">acct(2)</a> file
467: format.
468: <li>Fixed <a
469: href="https://man.openbsd.org/setusercontext.3">setusercontext(3)</a>
470: error when /etc/login.conf is not present.
1.1 deraadt 471: </ul>
472:
473: <li>Improved hardware support and driver bugfixes, including:
474: <ul>
1.7 benno 475: <li>Added support to <a
476: href="https://man.openbsd.org/pchgpio.4">pchgpio(4)</a> for Cannon
477: Lake H and Tiger Lake H platforms.
478: <li>Ensured use of the correct encoding in xenocara when /etc/kbdtype
479: is present with an attached <a
480: href="https://man.openbsd.org/ucc.4">ucc(4)</a> keyboard.
481: <li>Fixed an interrupt storm on <a
482: href="https://man.openbsd.org/dwge.4">dwge(4)</a> variants which
483: support Energy Efficient Ethernet when connected to a switch which
484: does so as well.
485: <li>Added support for tpm2 CRB interface to <a
486: href="https://man.openbsd.org/tpm.4">tpm(4)</a>, fixing recent S4
487: regressions on the Surface Go 2 caused by a firmware change.
488: ` <li>Ensured armv7 and arm64 efiboot allocate fresh memory for the
489: device tree with at least one page of free space to extend into. This
490: fixes booting on VMWare Fusion.
1.10 benno 491: <li>Stopped binding audio devices exposed by <a
492: href="https://man.openbsd.org/sndiod.8">sndiod(8)</a> to physical
493: devices. <!-- XXX check this -->
494: <li>Fixed handling of interrupts shared between multiple <a
495: href="https://man.openbsd.org/dwiic.4">swiic(4)</a> devices.
1.11 benno 496: <li>Introduced <a
497: href="https://man.openbsd.org/iicmux.4">iicmux(4)</a>, a driver that
498: switches between I2C busses connected to a single I2C controller by
499: using the pin muxing facilities of an SoC.
500: <li>Introduced <a
501: href="https://man.openbsd.org/pcyrtc.4">pcyrtc(4)</a>, a driver for
502: the NXP PCF85063A/TP RTC chips.
503: <li>Fixed a panic when running <a
504: href="https://man.openbsd.org/utvfu.4">utvfu(4)</a> on <a
505: href="https://man.openbsd.org/xhci.4">xhci(4)</a>.
506: <li>Added <a href="https://man.openbsd.org/acpipci.4">acpipci(4)</a>
507: support for interrupts represented by ACPI PCI Interrupt Link Devices,
508: making PCI interrupts work on QEMU's SBSA target.
1.16 benno 509: <li>Added handling of multi-port controllers to <a
510: href="https://man.openbsd.org/uslcom.4">uslcom(4)</a>.
511: <li>Make <a href="https://man.openbsd.org/com.4">com(4)</a> attach
512: over <a href="https://man.openbsd.org/acpi.4">acpi(4)</a> on amd64.
513: <li>Added address locators for the ACPI "bus" and used these to fix
514: the order of the <a href="https://man.openbsd.org/com.4">com(4)</a>
515: devices to match the traditional order on the ISA bus.
516: <li>Added Intel Jasper Lake to the <a
517: href="https://man.openbsd.org/azalia.4">azalia(4)</a> audio driver.
518: <li>Ensured <a href="https://man.openbsd.org/azalia.4">azalia(4)</a>
519: matches on Intel 300 Series audio, fixing attaching on the Dell G3
520: 3590.
521: <li>Added Synopsys Designware UART support to <a
522: href="https://man.openbsd.org/com.4">com(4)</a>.
523: <li>Fixed an issue where <a
524: href="https://man.openbsd.org/com.4">com(4)</a> would attach for a
525: disabled serial port leading to misdirection of the hardware variant
526: and a subsequent hang when /etc/rc runs <a
527: href="https://man.openbsd.org/ttyflags.8">ttyflags(8)</a> -a.
528: <li>Fixed <a href="https://man.openbsd.org/sdhc.4">sdhc(4)</a> for
529: Jasper Lake eMMC.
530: <li>Improved how quirks are handled on <a
531: href="https://man.openbsd.org/sdhc.4">sdhc(4)</a>-compatible drivers.
532: <li>Enabled <a
533: href="https://man.openbsd.org/acpibat.4">acpibat(4)</a> use with the
534: Surface Go 3.
535: <li>Fixed suspend/resume issues with <a
536: href="https://man.openbsd.org/com.4">com(4)</a> at <a
537: href="https://man.openbsd.org/acpi.4">acpi(4)</a>.
538: <li>Correlated <a
539: href="https://man.openbsd.org/uaudio.4">uaudio(4)</a> and <a
540: href="https://man.openbsd.org/ucc.4">ucc(4)</a> devices attacked over
541: USB in order to adjust the volume of the correct attached audio device
542: rather than the first one attached.
543: <li>Enabled PL011 UART FIFO support in <a
544: href="https://man.openbsd.org/pluart.4">pluart(4)</a>.
1.15 benno 545: <li>Added support for XBox One game controller on usb.
1.16 benno 546: <li>Stopped suspending the <a
547: href="https://man.openbsd.org/tpm.4">tpm(4)</a> device upon
548: hibernation, preventing some systems from hanging when hibernating a
549: second time.
550: <li>Fixed <a href="https://man.openbsd.org/hilkbd.4">hilkbd(4)</a>
551: Swedish keyboard layout on non-PS/2 style keyboards.
1.1 deraadt 552: </ul>
553:
554: <li>New or improved network hardware support:
555: <ul>
1.16 benno 556: <li>Added support to <a
557: href="https://man.openbsd.org/umb.4">umb(4)</a> for SIMCom SIM7600.
1.7 benno 558: <li>Fixed an interrupt storm on <a
559: href="https://man.openbsd.org/dwge.4">dwge(4)</a> variants which
560: support Energy Efficient Ethernet when connected to a switch which
561: does so as well.
1.16 benno 562: <li>Applied MP-safe changes from <a
563: href="https://man.openbsd.org/dwge.4">dwge(4)</a> to <a
564: href="https://man.openbsd.org/dwxe.4">dwxe(4)</a>.
1.10 benno 565: <li>Added <a href="https://man.openbsd.org/igc.4">igc(4)</a>, a
566: driver for the Intel 2.5Gb Ethernet controllers.
1.11 benno 567: <li>Implemented <a href="https://man.openbsd.org/em.4">em(4)</a>
568: support for selecting SMGII or SerDes mode depending on the plugged-in
569: SFP transceiver and for reading out transceiver information via <a
570: href="https://man.openbsd.org/ifconfig.8">ifconfig(8)</a>.
1.16 benno 571: <li>Enabled hardware vlan tagging for <a
572: href="https://man.openbsd.org/ixl.4">ixl(4)</a>.
573: <li>Re-enabled <a href="https://man.openbsd.org/ixl.4">ixl(4)</a>
574: IPv4, TCP4/6 and UDP4/6 checksum offloading. \ <li>Enabled receive
575: checksum offloading on <a
576: href="https://man.openbsd.org/ixl.4">ixl(4)</a>.
577: <li>Prevented a possible deadlock in <a
578: href="https://man.openbsd.org/cad.4">cad(4)</a>.
1.22 ! benno 579: <li>Prevented <a href="https://man.openbsd.org/aq.4">aq(4)</a> nics
! 580: from writing to mbufs taken off the ring when the interface was taken
! 581: down.
1.16 benno 582: <li>Fixed receive filter handling in <a
583: href="https://man.openbsd.org/aq.4">aq(4)</a>.
584: <li>Enable vlan promisc, header stripping and vlan RX/TX offload on
585: <a href="https://man.openbsd.org/aq.4">aq(4)</a>.
586: <li>Enabled checksum offloads on <a
587: href="https://man.openbsd.org/aq.4">aq(4)</a>.
588: <li>Enabled interrupt moderation on <a
589: href="https://man.openbsd.org/aq.4">aq(4)</a>, aiming at around 20k
590: per second.
591: <li>Fixed <a href="https://man.openbsd.org/aq.4">aq(4)</a> occasional
592: errors seen on rockpro64.
593: <li>Fixed <a href="https://man.openbsd.org/ure.4">ure(4)</a> vlan
594: transmission with hw tagging.
1.22 ! benno 595: <li>Reworked <a href="https://man.openbsd.org/ix.4">ix(4)</a>
! 596: checksum/vlan offloading and enabled it for IPv6.
! 597: <li>Enabled IP header checksum offloading in <a
! 598: href="https://man.openbsd.org/ix.4">ix(4)</a>.
1.1 deraadt 599: </ul>
600:
601: <li>Added or improved wireless network drivers:
602: <ul>
1.7 benno 603: <li>Reset the Tx timer upon validation of a BA notification sent by
604: <a href="https://man.openbsd.org/iwx.4">iwx(4)</a> and <a
605: href="https://man.openbsd.org/iwm.4">iwm(4)</a> firmware.
606: <li>Prevented <a href="https://man.openbsd.org/iwm.4">iwm(4)</a> and
607: <a href="https://man.openbsd.org/iwx.4">iwx(4)</a> attempts to
608: transition toward the same state where this would result in a
609: redundant or illegal state transition and a potential hang.
610: <li>Fixed a panic when <a
611: href="https://man.openbsd.org/iwx.4">iwx(4)</a> cannot find firmware
612: at boot time.
613: <li>Fixed <a href="https://man.openbsd.org/iwm.4">iwm(4)</a>
614: performance drop after roaming between APs in 11n mode.
615: <li>Ensured <a href="https://man.openbsd.org/iwm.4">iwm(4)</a> uses
616: only the HT (high throughput) frame format for data frames.
617: <li>Allowed AUTH->AUTH state transitions in the <a
618: href="https://man.openbsd.org/iwm.4">iwm(4)</a> and <a
619: href="https://man.openbsd.org/iwx.4">iwx(4)</a> drivers again, needed
620: if the access point uses band-steering.
621: <li>Added support for 802.11n 40MHz channels to the <a
622: href="https://man.openbsd.org/iwm.4">iwm(4)</a> driver.
623: <li>Reverted to use <a
624: href="https://man.openbsd.org/iwm.4">iwm(4)</a> firmware v17 on Intel
625: AC 7265, fixing instability issues on X1 Carbon gen3.
626: <li>Cached the old BSSID when roaming with <a
627: href="https://man.openbsd.org/iwx.4">iwx(4)</a>.
628: <li>Explicitly stopped <a
629: href="https://man.openbsd.org/iwx.4">iwx(4)</a> Rx block ack when
630: roaming between access points.
631: <li>Added initial 40MHz support to the <a
632: href="https://man.openbsd.org/iwx.4">iwx(4)</a> driver.
1.10 benno 633: <li>Fixed <a href="https://man.openbsd.org/iwn.4">iwn(4)</a> with 4965 devices.
1.11 benno 634: <li>Disabled active scanning on <a href="https://man.openbsd.org/iwm.4">iwm(4)</a> 9260 and 9560 to prevent a device lockup.
635: <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>.
636: <li>Let <a href="https://man.openbsd.org/iwx.4">iwx(4)</a> and <a
637: href="https://man.openbsd.org/iwm.4">iwm(4)</a> use per-Tx-queue
638: interface timers to ensure timeout if a particular Tx queue gets
639: stuck.
640: <li>Disabled probe requests during scans in <a
641: href="https://man.openbsd.org/iwx.4">iwx(4)</a> again, preventing
642: device timeouts for some devices.<!-- XXX stsp: whats the final state of this? ;) -->
643: <li>Switched <a href="https://man.openbsd.org/iwx.4">iwx(4)</a> to new -67 firmware images.
644: <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.
645: <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>.
646: <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.15 benno 647: <li>Improved roaming stability on <a href="https://man.openbsd.org/iwn.4">iwn(4)</a>, particularly with wpa_supplicant.
648: <li>Added 802.11ac support on <a href="https://man.openbsd.org/iwx.4">iwx(4)</a>.
649: <li>Add initial 802.11ac support to <a href="https://man.openbsd.org/iwm.4">iwm(4)</a>.
650: <li>Fixed attach of multiple <a href="https://man.openbsd.org/iwm.4">iwm(4)</a> or <a href="https://man.openbsd.org/iwx.4">iwx(4)</a> interfaces in the same machine.
651: <li>Prevent announcing VHT capabilities on <a href="https://man.openbsd.org/iwm.4">iwm(4)</a> and <a href="https://man.openbsd.org/iwx.4">iwx(4)</a> for 2GHz bands during scans.
652: <li>Fixed <a href="https://man.openbsd.org/iwm.4">iwm(4)</a> 802.11ac throughput at a distance.
1.16 benno 653:
654: <li>Added relicensed wireless firmwares from Realtek for <a
655: href="https://man.openbsd.org/rsu.4">rsu(4)</a>, <a
656: href="https://man.openbsd.org/rtwn.4">rtwn(4)</a> and <a
657: href="https://man.openbsd.org/urtwn.4">urtwn(4)</a> devices, allowing
658: these devices to work without requiring a separate firmware download.
659: <li>Added a workaround for buggy <a
660: href="https://man.openbsd.org/athn.4">athn(4)</a> devices to prevent
661: filling up the node cache when used in hostap mode.
662: <li>Applied a workaround in <a
663: href="https://man.openbsd.org/mvkpcie.4">mvkpcie(4)</a> to fix an
664: external abort under load with <a
665: href="https://man.openbsd.org/athn.4">athn(4)</a>.
666: <li>Made <a href="https://man.openbsd.org/athn.4">athn(4)</a> attach
667: to the Sony UWA-BR100.
668: <li>Fixed "(null node)" panics on <a href="https://man.openbsd.org/run.4">run(4)</a>.
669: <li>Introduced <a href="https://man.openbsd.org/mtw.4">mtw(4)</a>, a
670: driver for MediaTek MT7601U wifi devices, enabled on i386, macppc and
671: arm64.
672: <li>Disabled minimum power consumption in <a
673: href="https://man.openbsd.org/bwfm.4">bwfm(4)</a> hostap mode,
674: improving connection reliability when used as an access point.
675: <li>Added support for the BCM4387 to <a
676: href="https://man.openbsd.org/bwfm.4">bwfm(4)</a>.
677: <li>Improved TX performance on <a
678: href="https://man.openbsd.org/urtwn.4">urtwn(4)</a> RTL8192EU devices.
679: <li>Fix TX rate used by <a
680: href="https://man.openbsd.org/rtwn.4">rtwn(4)</a> and <a
681: href="https://man.openbsd.org/urtwn.4">urtwn(4)</a> for RTS frames.
682: <li>Added preliminary <a
683: href="https://man.openbsd.org/ure.4">ure(4)</a> support for RTL8156B
684: and bug fixes for RTL8153/RTL8156.
1.7 benno 685:
1.1 deraadt 686: </ul>
687:
688: <li>IEEE 802.11 wireless stack improvements and bugfixes:
689: <ul>
1.7 benno 690: <li>Added <a href="https://man.openbsd.org/iwx.4">iwx(4)</a> Tx aggregation support.
691: <li>Added an ADDBA_OFFLOAD capability for wifi devices to manage Tx block ack sessions entirely in firmware.
692: <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.
693: <li>Added support for 40MHz channels to net80211 RA.
694: <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 695: <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! -->
696: <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>.
697: <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.15 benno 698: <li>Added initial 802.11ac (VHT) support to the wifi stack.
699: <li>Made <a href="https://man.openbsd.org/tcpdump.8">tcpdump(8)</a> show 802.11ac VHT capability and operation IEs in -v mode.
700: <li>Added 802.11ac/VHT TX rate adaptation support to the wifi stack.
701: <li>When choosing networks during SSID selection, give a higher score to 11ac and 11n access points, prioritizing 11ac.
1.1 deraadt 702: </ul>
703:
704: <li>Generic network stack improvements and bugfixes:
705: <ul>
1.7 benno 706: <li>Fixed <a href="https://man.openbsd.org/pfctl.8">pfctl(8)</a> $nr incorrect macro expansion.
1.15 benno 707: <li>Fixed <a href="https://man.openbsd.org/pfctl.8">pfctl(8)</a> rdr-to rules failing on certain port ranges when explicitly specified.
708: <li>Ensured the <a href="https://man.openbsd.org/pf.4">pf(4)</a> "set prio" values are checked consistently.
1.11 benno 709: <li>Made "set skip on ..." in <a
710: href="https://man.openbsd.org/pf.conf.5">pf.conf(5)</a> dynamic, with
711: this, "set skip" can be used on interfaces that are not configured
712: yet.
1.22 ! benno 713: <li>Protected <a
! 714: href="https://man.openbsd.org/pfsync.4">pfsync(4)</a> tdb flags and
! 715: lists with a mutex to prevent crashes involving pfsync, IPsec and
! 716: parallel forwarding.
! 717:
! 718: <li>Added support for PPP IPCP extensions for DNS to <a
! 719: href="https://man.openbsd.org/sppp.4">sppp(4)</a>.
! 720: <li>Added display of DNS information from <a
! 721: href="https://man.openbsd.org/sppp.4">sppp(4)</a> to <a
! 722: href="https://man.openbsd.org/ifconfig.8">ifconfig(8)</a>.
! 723: <li>Switched to calculating <a
! 724: href="https://man.openbsd.org/pppoe.4">pppoe(4)</a> session duration
! 725: using system uptime rather than UTC.
! 726:
! 727: <li>Fixed <a href="https://man.openbsd.org/veb.4">veb(4)</a> vport
! 728: handling to prevent improper drop of packets leaving a vport
! 729: interface.
! 730: <li>Prevented tweaks to <a
! 731: href="https://man.openbsd.org/tun.4">tun(4)</a> if_flags when the
! 732: NET_LOCK isn't held.
! 733: <li>Prevented reopening of <a
! 734: href="https://man.openbsd.org/tun.4">tun(4)</a>/<a
! 735: href="https://man.openbsd.org/tap.4">tap(4)</a> interfaces which are
! 736: being destroyed.
1.15 benno 737: <li>Rewrote <a href="https://man.openbsd.org/vxlan.4">vxlan(4)</a> to
738: operate independently of <a
739: href="https://man.openbsd.org/bridge.4">bridge(4)</a>, create and bind
740: udp sockets and prevent loops.
1.22 ! benno 741: <li>Stopped hiding the mtu on "bridge" interfaces which do handle l3
! 742: traffic in <a
! 743: href="https://man.openbsd.org/ifconfig.8">ifconfig(8)</a>.
! 744: <li>Added mbuf tags to prevent output loops in <a
! 745: href="https://man.openbsd.org/etherip.4">etherip(4)</a>.
! 746: <li>Added rtable capability to <a
! 747: href="https://man.openbsd.org/login.conf.5">login.conf(5)</a>,
! 748: allowing to specify the rtable a process uses.
! 749: <li>Made <a href="https://man.openbsd.org/su.1">su(1)</a> honor the
! 750: login class routing table when doing a full login with su -l.
! 751: <li>Fix IP output routines on raw sockets so route sourceaddr can
! 752: take effect using <a
! 753: href="https://man.openbsd.org/sendto.2">sendto(2)</a> or similar.
! 754: <li>Ensured <a
! 755: href="https://man.openbsd.org/pcap_lookupdev.3">pcap_lookupdev(3)</a>
! 756: matches only on complete interface names.
1.1 deraadt 757: </ul>
758:
759: <li>Installer and upgrade improvements:
760: <ul>
1.22 ! benno 761: <li>Corrected installer to understand "inet autoconf" properly in <a
1.7 benno 762: href="https://man.openbsd.org/hostname.if.5">hostname.if(5)</a> files.
1.22 ! benno 763: <li>Stopped prompting whether to fall back to HTTP in the installer,
! 764: making the fallback automatic.
1.7 benno 765: <li>Used <a href="https://man.openbsd.org/ifconfig.8">ifconfig(8)</a>
766: "join" command by default in <a
767: href="https://man.openbsd.org/hostname.if.5">hostname.if(5)</a> files,
768: replacing the old "nwid".
1.22 ! benno 769: <li>Replace custom bootloader installation code with <a
! 770: href="https://man.openbsd.org/installboot.8">installboot(8)</a> on
! 771: riscv64 and armv7 architecture installations.
! 772: <li>New logic for <a
! 773: href="https://man.openbsd.org/pkg_add.1">pkg_add(1)</a> to avoid
! 774: excessive moving of files during updates when possible.
! 775: <li>Documented OpenBSD installation and upgrade customization using the <a
! 776: href="https://man.openbsd.org/install.site.5">install.site(5)</a> file.
1.10 benno 777: <li>Corrected "!" escape handling in the installer when accepting WEP/WPA passphrase.
1.22 ! benno 778: <li>Prevented a potential race which could make <a
! 779: href="https://man.openbsd.org/umount.8">umount(8)</a> fail spuriously
! 780: in the installer.
! 781: <li>Made <a href="https://man.openbsd.org/config.8">config(8)</a> -e
! 782: work with ramdisk kernels.
1.11 benno 783: <li>Made <a href="https://man.openbsd.org/config.8">config(8)</a> -c
784: cmdfile use lines from the command file for all input, not just
785: commands. This allows complex actions like changing device parameters.
1.22 ! benno 786: <li>Ensured that an interrupted arm64 install from the ramdisk kernel
! 787: can be restarted.
! 788:
! 789: <!-- fw_update -->
1.11 benno 790: <li>Returned to a shell-script based <a
791: href="https://man.openbsd.org/fw_update.8">fw_update(8)</a>, written
792: to be usable by the install script, allowing earlier retrieval of
793: downloaded firmwares.
794: <li>Stopped <a
795: href="https://man.openbsd.org/fw_update.8">fw_update(8)</a> from
796: downloading SHA256.sig when not needed, to allow installing local
797: files without network access.
798: <li>Modified the installer to use <a
799: href="https://man.openbsd.org/fw_update.8">fw_update(8)</a> to install
800: non-free firmware files if present on the install media.
1.22 ! benno 801: <li>Made <a
! 802: href="https://man.openbsd.org/fw_update.8">fw_update(8)</a>
! 803: re-download existing files with failed checksums.
! 804: <li>Stopped unregistering firmware with <a
! 805: href="https://man.openbsd.org/fw_update.8">fw_update(8)</a> when the
! 806: SHA256.sig cannot be fetched.<!-- what does "unregistering firmware" mean? -->
! 807: <li>Made <a
! 808: href="https://man.openbsd.org/fw_update.8">fw_update(8)</a> use the
! 809: /snapshots directory only on -current snapshot installations.
1.1 deraadt 810: </ul>
811:
812: <li>Security improvements:
813: <ul>
1.22 ! benno 814: <li>Clear the length of keys in <a href="https://man.openbsd.org/vnconfig.8">vnconfig(8)</a> alongside keys themselves.
1.7 benno 815: <li>Removed hifn(4), safe(4) and ubsec(4) crypto drivers.
816: <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.
1.10 benno 817: <li>Disabled <a href="https://man.openbsd.org/xterm.1">xterm(1)</a> mouse tracking by default.
1.22 ! benno 818: <li>On arm64 architectures, use "rng-seed" and "kaslr-seed" properties from the device tree to mix extra entropy into the random pool.
1.15 benno 819: <li>Made <a href="https://man.openbsd.org/apmd.8">apmd(8)</a> replace /etc/random.seed for hibernate-resumes.
1.11 benno 820: <li>Restricted <a
821: href="https://man.openbsd.org/usbhidctl.1">usbhidctl(1)</a> and <a
822: href="https://man.openbsd.org/usbhidaction.1">usbhidaction(1)</a> file
823: system access with <a
824: href="https://man.openbsd.org/unveil.2">unveil(2)</a>.
1.14 benno 825: <li>Added <a href="https://man.openbsd.org/ps.1">ps(1)</a> status flag "c" to indicate a process is chrooted.
1.15 benno 826: <li>In <a
827: href="https://man.openbsd.org/rpc.rusersd.8">rpc.rusersd(8)</a> <a
828: href="https://man.openbsd.org/unveil.2">unveil(2)</a> "/dev" read-only
829: instead of using <a
830: href="https://man.openbsd.org/chroot.2">chroot(2)</a>.
1.1 deraadt 831: </ul>
832:
833: <li>Routing daemons and other userland network improvements:
834: <ul>
1.11 benno 835: <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 836: <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 837: <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>.
838: <li>Allowed interface names as scope-id in IPv6 link-local addresses in <a href="https://man.openbsd.org/unbound.8">unbound(8)</a>.
1.15 benno 839: <li>Let <a href="https://man.openbsd.org/unwind.8">unwind(8)</a> probe for DNS64 presence with an absolute name, so asr doesn't add search domains and retry.
1.7 benno 840: <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.
1.11 benno 841: <li>Modified <a href="https://man.openbsd.org/syslog.conf.5">syslog.conf(5)</a> examples to use TLS rather than the plaintext protocols.
842: <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>.
843: <li>Made the <a href="https://man.openbsd.org/dhcpleased.8">dhcpleased(8)</a> host name DHCP option configurable.
844: <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.
1.15 benno 845: <li>Prevented a potential crash when <a href="https://man.openbsd.org/slaacd.8">slaacd(8)</a> receives more than 7 nameservers.
846: <li>Fixed crash in <a href="https://man.openbsd.org/slaacd.8">slaacd(8)</a> when receiving a negative length field for DNS labels.
1.11 benno 847: <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.
848: <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.
849: <li>Added a basic printer for EAPOL packets to <a href="https://man.openbsd.org/tcpdump.8">tcpdump(8)</a>.
1.15 benno 850: <li>Made <a href="https://man.openbsd.org/ping.8">ping(8)</a> print out the source address and sequence number when the signature on an icmp echo reply doesn't match.
851: <li>Rate limit <a href="https://man.openbsd.org/rad.8">rad(8)</a> router advertisements according to RFC 4861.
1.22 ! benno 852:
! 853: <!-- httpd -->
! 854: <li><a href="https://man.openbsd.org/httpd.8">httpd(8)</a> received new features and bugfixes:
! 855: <ul>
! 856: <li>Respond with 400 Bad Request when a client sends header lines without a colon.
! 857: <li>Added protocol version checking.
! 858: <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.
! 859: <li>Corrected <a
! 860: href="https://man.openbsd.org/httpd.8">httpd(8)</a> version string
! 861: checking, responding with 505 Version Not Supported rather than 400
! 862: Bad Request when the version format is incorrect.
! 863: <li>Stop sending content alongside responses to HEAD requests.
! 864: <li>Added support for custom error pages.
! 865: <li>Added a gzip-static option to <a
! 866: href="https://man.openbsd.org/httpd.conf.5">httpd.conf(5)</a>,
! 867: allowing delivery of precompressed files with content-encoding gzip.
! 868: <li>Improved handling of static compressed gzip files.
! 869: </ul>
! 870:
! 871:
! 872: <!-- IPSEC/isakmpd/iked -->
! 873: <li>IPSEC support was improved:
! 874: <ul>
! 875: <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.
! 876: <li>Fixed removal of SAs that could not be flushed with <a href="https://man.openbsd.org/ipsecctl.8">ipsecctl(8)</a> -F.
! 877: <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.
! 878: <li>Fixed broken key exchange negotiation with matching proposals in <a href="https://man.openbsd.org/iked.8">iked(8)</a>.
! 879: <li>Added <a href="https://man.openbsd.org/ikectl.8">ikectl(8)</a> "show certinfo" to show trusted CAs and certificates.
! 880: <li>Added <a href="https://man.openbsd.org/iked.8">iked(8)</a> -V to display the version.
! 881: <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.
! 882: <li>Improved message fragment retransmissions for <a href="https://man.openbsd.org/iked.8">iked(8)</a>.
! 883: <li>Make sure <a href="https://man.openbsd.org/iked.8">iked(8)</a> vroute messages are correctly aligned, fixes autoconfiguration of addresses on octeon.
! 884: </ul>
! 885: <!-- rpki-client -->
! 886: <li><a
! 887: href="https://man.openbsd.org/rpki-client.8">rpki-client(8)</a> was
! 888: made more resilient regarding untrusted input. Additionally the
! 889: following bugfixes and improvements were made:
! 890: <ul>
! 891: <li>Added support for validating BGPsec Router Public Keys.
! 892: <li>Fix issues with chunked transfer encoding in the RRDP HTTP client.
! 893: <li>Cleanup and improvement of how IO is handled.
! 894: <li>Improvements in the way X509 certificates are verified.
! 895: <li>Make rpki-client
! 896: <li>Limit the number of concurrent rsync processes.
! 897: <li>Fix CRLF in tal files.
! 898: <li>Enforce the correct namespace of rrdp files.
! 899: <li>Fail certificate verification if a certificate contains unknown
! 900: critical extensions.
! 901: <li>Improve cleanup of rrdp directory contents.
! 902: <li>Introduce a validated cache which holds all the files that have
! 903: successfully been verified by rpki-client.
! 904: <li>Add a new option '-f <file>' to validate a signed object in a file
! 905: against the RPKI cache.
! 906: <li>Add various RFC 6488 compliance checks to improve the CMS parser.
! 907: <li>Improve RRDP replication through less aggressive cache cleanup.
! 908: <li>Add a check whether a given Manifest EE certificate is listed on the
! 909: applicable CRL.
! 910: <li>For forward compatibility permit ASPA object to appear on Manifests.
! 911: <li>Various improvements to the '-f <file>' diagnostic option to
! 912: now also validate files containing Trust Anchor certs and CRLs.
! 913: <li>Do not apply timezone offsets when converting X509 times. X509
! 914: times are in UTC and comparing them to times in different timezones
! 915: would cause validity problems.
! 916: <li>Limited the number of <a
! 917: href="https://man.openbsd.org/openrsync.1">openrsync(1)</a> processes
! 918: being spawned by <a
! 919: href="https://man.openbsd.org/rpki-client.8">rpki-client(8)</a> to 16.
! 920: </ul>
! 921: <!-- bgpd -->
! 922: <li>In <a href="https://man.openbsd.org/bgpd.conf.5">bgpd(8)</a>,
! 923: <ul>
! 924: <li>macro expansion in the config file was improved. It is now possible
! 925: to expand 'set large-community $myAS:$location:$transit'.
! 926: <li>tThe RIB codebase was refactored in order to add multipath
! 927: support in an upcoming release.
! 928: <li>the <a href="https://man.openbsd.org/bgpd.8">bgpd</a> login
! 929: class datasize attribute (in <a
! 930: href="https://man.openbsd.org/login.conf.5">login.conf(5)</a>) was set
! 931: to either 16G or 1G, depending on architecture.
! 932: <li>added a "listen on" parameter in in <a
! 933: href="https://man.openbsd.org/bgpd.conf.5">bgpd.conf(5)</a> to make it
! 934: possible to bind and connect to non-default ports.
! 935: </ul>
1.1 deraadt 936: </ul>
937:
938: <li><a href="https://man.openbsd.org/tmux">tmux(1)</a> improvements and bug fixes:
939: <ul>
1.7 benno 940: <li>Fixed a crash in <a
941: href="https://man.openbsd.org/tmux.1">tmux(1)</a> when a session with
942: multiple clients is destroyed but tmux does not close completely due
943: to other sessions.
944: <li>Fixed a <a href="https://man.openbsd.org/tmux.1">tmux(1)</a>
945: redraw problem on automargin terminals.
946: <li>Fixed a problem with repeat in <a
947: href="https://man.openbsd.org/tmux.1">tmux(1)</a> copy mode.
948: <li>Added -T to set a popup title in <a
949: href="https://man.openbsd.org/tmux.1">tmux(1)</a>.
950: <li>Added -s and -S to <a
951: href="https://man.openbsd.org/tmux.1">tmux(1)</a> display-popup to set
952: popup and border style.
953: <li>Fixed application-set fg and bg in <a
954: href="https://man.openbsd.org/tmux.1">tmux(1)</a> panes.
955: <li>Added a way to force a color to RGB in <a
956: href="https://man.openbsd.org/tmux.1">tmux(1)</a> and a format to
957: display it.
1.10 benno 958: <li>Added a cursor-colour option to <a href="https://man.openbsd.org/tmux.1">tmux(1)</a>.
959: <li>Added a cursor-style option to <a href="https://man.openbsd.org/tmux.1">tmux(1)</a>.
1.11 benno 960: <li>Added a pane-border-format pane option to <a href="https://man.openbsd.org/tmux.1">tmux(1)</a>.
961: <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 962: <li>Added a <a href="https://man.openbsd.org/tmux.1">tmux(1)</a> option to show arrows for the active pane indicator.
963: <li>Added a key in <a href="https://man.openbsd.org/tmux.1">tmux(1)</a> copy mode to toggle the position indicator.
1.15 benno 964: <li>Added an option in <a href="https://man.openbsd.org/tmux.1">tmux(1)</a> to set the character for unused areas of the terminal.
965: <li>Add <a href="https://man.openbsd.org/tmux.1">tmux(1)</a> option to control if it scrolls into history on clear.
966: <li>Added OSC 7 capability to <a href="https://man.openbsd.org/tmux.1">tmux(1)</a> for setting titles.
1.1 deraadt 967: </ul>
968:
1.16 benno 969: <li>OpenSMTPD version XXX <!--- XXX --->
1.1 deraadt 970: <ul>
1.14 benno 971: <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.15 benno 972: <li>Enabled TLS verify by default for outbound "smtps://" and "smtp+tls://", restoring documented <a href="https://man.openbsd.org/smtpd.8">smtpd(8)</a> behavior.
1.1 deraadt 973: </ul>
974:
1.16 benno 975: <li>LibreSSL version XXX <!--- XXX --->
1.1 deraadt 976: <ul>
977: <li>New Features
978: <ul>
1.9 inoguchi 979: <li>The RFC 3779 API was ported from OpenSSL.<br>
980: Many bugs were fixed, regression tests were added and the code was cleaned up.
981: <li>Certificate Transparency was ported from OpenSSL.<br>
982: Many internal improvements were made, resulting in cleaner and safer code.<br>
983: Regress coverage was added. libssl does not yet make use of it.
1.1 deraadt 984: </ul>
985:
986: <li>Portable Improvements
987: <ul>
1.9 inoguchi 988: <li>Enabled ASAN CI on Linux platform.<br>
989: Thanks to Ilya Shipitsin (chipitsine <at> gmail com).
990: <li>Fixed various POSIX compliance and other portability issues<br>
991: found by the port to the Sortix operating system.
992: <li>Add libmd as platform specific libraries for Solaris.<br>
993: Issue reported from (ihsan <at> opencsw org) on libressl ML.
994: <li>Set IA-64 compiler flag only if it is HP-UX with IA-64.<br>
995: Suggested from Larkin Nickle (me <at> larbob org) by libressl ML.
996: <li>Enabled and scheduled Coverity scan.<br>
997: Contributed by Ilya Shipitsin (chipitsine <at> gmail com) on github.
1.1 deraadt 998: </ul>
999:
1.9 inoguchi 1000: <li>Compatibility Changes
1001: <ul>
1002: <li>Most structs that were previously defined in the following headers
1003: are now opaque as they are in OpenSSL 1.1:<br>
1004: bio.h, bn.h, comp.h, dh.h, dsa.h, evp.h, hmac.h, ocsp.h, rsa.h,
1005: x509.h, x509v3.h, x509_vfy.h
1006: <li>Switch TLSv1.3 cipher names from AEAD- to OpenSSL's TLS_<br>
1007: OpenSSL added the TLSv1.3 ciphersuites with "RFC names" instead
1008: of using something consistent with the previous naming.<br>
1009: Various test suites expect these names (instead of checking for the much
1010: more sensible cipher numbers).<br>
1011: The old names are still accepted as aliases.
1012: <li>Subject alternative names and name constraints are now validated
1013: when they are added to certificates.<br>
1014: Various interoperability problems with stacks that validate
1015: certificates more strictly than OpenSSL can be avoided this way.
1016: <li>Attempt to opportunistically use the host name for SNI in s_client
1017: </ul>
1018:
1019: <li>Bug fixes
1.1 deraadt 1020: <ul>
1.9 inoguchi 1021: <li>Avoid infinite loop for custom curves of order 1.<br>
1022: Found and reported with a reproducer by Hanno Boeck.
1023: Helpful comments and analysis from David Benjamin.
1024: <li>Avoid infinite loop on parsing DSA private keys.<br>
1025: Issue reported with reproducers by Hanno Boeck.
1026: Additional variants and analysis by David Benjamin.
1027: <li>A malicious certificate can cause an infinite loop.<br>
1028: Reported by and fix from Tavis Ormandy and David Benjamin, Google.
1029: <li>In some situations, the verifier would discard the error on an
1030: unvalidated certificate chain.<br>
1031: This would happen when the verification callback was in use,
1032: instructing the verifier to continue unconditionally.<br>
1033: This could lead to incorrect decisions being made in software.
1034: <li>Avoid an infinite loop in SSL_shutdown()
1035: <li>Fix another return 0 bug in SSL_shutdown()
1036: <li>Handle zero byte reads/writes that trigger handshakes in the
1037: TLSv1.3 stack
1038: <li>A long standing memleak in libtls CRL handling was fixed
1.1 deraadt 1039: </ul>
1040:
1.9 inoguchi 1041: <li>Internal Improvements
1.1 deraadt 1042: <ul>
1.9 inoguchi 1043: <li>Cache the SHA-512 hash instead of the SHA-1 hash and cache
1044: notBefore and notAfter times when X.509 certificates are parsed.
1045: <li>The X.509 lookup code has been simplified and cleaned up.
1046: <li>Fixed numerous issues flagged by coverity and the cryptofuzz project
1047: <li>Increased the number of Miller-Rabin checks in DH and DSA
1048: key/parameter generation
1049: <li>Started using the bytestring API in libcrypto for cleaner and
1050: safer code
1051: <li>Convert {i2d,d2i}_{,EC_,DSA_,RSA_}PUBKEY{,_bio,_fp}() to templated
1052: ASN1
1053: <li>Convert ASN1_OBJECT_new() to calloc()
1054: <li>Convert ASN1_STRING_type_new() to calloc()
1055: <li>Rewrite ASN1_STRING_cmp()
1056: <li>Use calloc() for X509_CRL_METHOD_new() instead of malloc()
1057: <li>Convert ASN1_PCTX_new() to calloc()
1058: <li>Replace asn1_tlc_clear and asn1_tlc_clear_nc macros with a function
1059: <li>Consolidate {d2i,i2d}_{pr,pu}.c
1060: <li>Remove handling of a NULL BUF_MEM from asn1_collect()
1061: <li>Pull the recursion depth check up to the top of asn1_collect()
1062: <li>Inline collect_data() in asn1_collect()
1063: <li>Convert asn1_d2i_ex_primitive()/asn1_collect() from BUF_MEM to CBB
1064: <li>Clean up d2i_ASN1_BOOLEAN() and i2d_ASN1_BOOLEAN()
1065: <li>Consolidate ASN.1 universal tag type data
1066: <li>Rewrite ASN.1 identifier/length parsing in CBS
1067: <li>Make OBJ_obj2nid() work correctly with NID_undef
1068: <li>tlsext_tick_lifetime_hint is now an uint32_t
1069: <li>Untangle ssl3_get_message() return values
1070: <li>Rename tls13_buffer to tls_buffer
1071: <li>Fold DTLS_STATE_INTERNAL into DTLS1_STATE
1072: <li>Provide a way to determine our maximum legacy version
1073: <li>Mop up enc_read_ctx and read_hash
1074: <li>Fold SSL_SESSION_INTERNAL into SSL_SESSION
1075: <li>Use ssl_force_want_read in the DTLS code
1076: <li>Add record processing limit to DTLS code
1077: <li>Add explicit CBS_contains_zero_byte() check in CBS_strdup()
1078: <li>Improve SNI hostname validation
1079: <li>Ensure SSL_set_tlsext_host_name() is given a valid hostname
1080: <li>Fix a strange check in the auto DH codepath
1081: <li>Factor out/rewrite DHE key exchange
1082: <li>Convert server serialisation of DHE parameters/public key to new
1083: functions
1084: <li>Check DH public key in ssl_kex_peer_public_dhe()
1085: <li>Move the minimum DHE key size check into ssl_kex_peer_params_dhe()
1086: <li>Clean up and refactor server side DHE key exchange
1087: <li>Provide CBS_get_last_u8()
1088: <li>Provide CBS_get_u64()
1089: <li>Provide CBS_add_u64()
1090: <li>Provide various CBS_peek_* functions
1091: <li>Use CBS_get_last_u8() to find the content type in TLSv1.3 records
1092: <li>unifdef TLS13_USE_LEGACY_CLIENT_AUTH
1093: <li>Correct SSL_get_peer_cert_chain() when used with the TLSv1.3 stack
1094: <li>Only allow zero length key shares when we know we're doing HRR
1095: <li>Pull key share group/length CBB code up from
1096: tls13_key_share_public()
1097: <li>Refactor ssl3_get_server_kex_ecdhe() to separate parsing and
1098: validation
1099: <li>Return 0 on failure from send/get kex functions in the legacy
1100: stack
1101: <li>Rename tls13_key_share to tls_key_share
1102: <li>Allocate and free the EVP_AEAD_CTX struct in
1103: tls13_record_protection
1104: <li>Convert legacy TLS client to tls_key_share
1105: <li>Convert legacy TLS server to tls_key_share
1106: <li>Stop attempting to duplicate the public and private key of dh_tmp
1107: <li>Rename dh_tmp to dhe_params
1108: <li>Rename CERT to SSL_CERT and CERT_PKEY to SSL_CERT_PKEY
1109: <li>Clean up pkey handling in ssl3_get_server_key_exchange()
1110: <li>Fix GOST skip certificate verify handling
1111: <li>Simplify tlsext_keyshare_server_parse()
1112: <li>Plumb decode errors through key share parsing code
1113: <li>Simplify SSL_get_peer_certificate()
1114: <li>Cleanup/simplify ssl_cert_type()
1115: <li>The S3I macro was removed
1116: <li>The openssl(1) cms, smime and ts subcommands option handling was
1117: converted and the C source was cleaned up.
1.1 deraadt 1118: </ul>
1119:
1.9 inoguchi 1120: <li>Documentation improvements
1.1 deraadt 1121: <ul>
1.9 inoguchi 1122: <li>45 new manual pages, most of which were written from scratch.<br>
1123: Documentation coverage of ASN.1 and X.509 code has been
1124: significantly improved.
1.1 deraadt 1125: </ul>
1126:
1.9 inoguchi 1127: <li>API additions and removals
1.1 deraadt 1128: <ul>
1.9 inoguchi 1129: <li>libssl
1130: <ul>
1131: <li>API additions
1132: <ul>
1133: <li>SSL_get0_verified_chain SSL_peek_ex SSL_read_ex SSL_write_ex
1134: </ul>
1135: <li>API stubs for compatibility
1136: <ul>
1137: <li>SSL_CTX_get_keylog_callback SSL_CTX_get_num_tickets<br>
1138: SSL_CTX_set_keylog_callback SSL_CTX_set_num_tickets<br>
1139: SSL_get_num_tickets SSL_set_num_tickets
1140: </ul>
1141: </ul>
1142: <li>libcrypto
1143: <ul>
1144: <li>added API (some of these were previously available as macros):
1145: <ul>
1146: <li>ASIdOrRange_free ASIdOrRange_new ASIdentifierChoice_free<br>
1147: ASIdentifierChoice_new ASIdentifiers_free ASIdentifiers_new<br>
1148: ASN1_TIME_diff ASRange_free ASRange_new BIO_get_callback_ex<br>
1149: BIO_get_init BIO_set_callback_ex BIO_set_next<br>
1150: BIO_set_retry_reason BN_GENCB_set BN_GENCB_set_old<br>
1151: BN_abs_is_word BN_get_flags BN_is_negative<br>
1152: BN_is_odd BN_is_one BN_is_word BN_is_zero BN_set_flags<br>
1153: BN_to_montgomery BN_with_flags BN_zero_ex CTLOG_STORE_free<br>
1154: CTLOG_STORE_get0_log_by_id CTLOG_STORE_load_default_file<br>
1155: CTLOG_STORE_load_file CTLOG_STORE_new CTLOG_free<br>
1156: CTLOG_get0_log_id CTLOG_get0_name CTLOG_get0_public_key<br>
1157: CTLOG_new CTLOG_new_from_base64 CT_POLICY_EVAL_CTX_free<br>
1158: CT_POLICY_EVAL_CTX_get0_cert CT_POLICY_EVAL_CTX_get0_issuer<br>
1159: CT_POLICY_EVAL_CTX_get0_log_store CT_POLICY_EVAL_CTX_get_time<br>
1160: CT_POLICY_EVAL_CTX_new CT_POLICY_EVAL_CTX_set1_cert<br>
1161: CT_POLICY_EVAL_CTX_set1_issuer<br>
1162: CT_POLICY_EVAL_CTX_set_shared_CTLOG_STORE<br>
1163: CT_POLICY_EVAL_CTX_set_time DH_get0_g DH_get0_p DH_get0_priv_key<br>
1164: DH_get0_pub_key DH_get0_q DH_get_length DSA_bits DSA_get0_g<br>
1165: DSA_get0_p DSA_get0_priv_key DSA_get0_pub_key DSA_get0_q<br>
1166: ECDSA_SIG_get0_r ECDSA_SIG_get0_s EVP_AEAD_CTX_free<br>
1167: EVP_AEAD_CTX_new EVP_CIPHER_CTX_buf_noconst<br>
1168: EVP_CIPHER_CTX_get_cipher_data EVP_CIPHER_CTX_set_cipher_data<br>
1169: EVP_MD_CTX_md_data EVP_MD_CTX_pkey_ctx EVP_MD_CTX_set_pkey_ctx<br>
1170: EVP_MD_meth_dup EVP_MD_meth_free EVP_MD_meth_new<br>
1171: EVP_MD_meth_set_app_datasize EVP_MD_meth_set_cleanup<br>
1172: EVP_MD_meth_set_copy EVP_MD_meth_set_ctrl EVP_MD_meth_set_final<br>
1173: EVP_MD_meth_set_flags EVP_MD_meth_set_init<br>
1174: EVP_MD_meth_set_input_blocksize EVP_MD_meth_set_result_size<br>
1175: EVP_MD_meth_set_update EVP_PKEY_asn1_set_check<br>
1176: EVP_PKEY_asn1_set_param_check EVP_PKEY_asn1_set_public_check<br>
1177: EVP_PKEY_check EVP_PKEY_meth_set_check<br>
1178: EVP_PKEY_meth_set_param_check EVP_PKEY_meth_set_public_check<br>
1179: EVP_PKEY_param_check EVP_PKEY_public_check FIPS_mode<br>
1180: FIPS_mode_set IPAddressChoice_free IPAddressChoice_new<br>
1181: IPAddressFamily_free IPAddressFamily_new IPAddressOrRange_free<br>
1182: IPAddressOrRange_new IPAddressRange_free IPAddressRange_new<br>
1183: OBJ_get0_data OBJ_length OCSP_resp_get0_certs OCSP_resp_get0_id<br>
1184: OCSP_resp_get0_produced_at OCSP_resp_get0_respdata<br>
1185: OCSP_resp_get0_signature OCSP_resp_get0_signer<br>
1186: OCSP_resp_get0_tbs_sigalg PEM_write_bio_PrivateKey_traditional<br>
1187: RSA_get0_d RSA_get0_dmp1 RSA_get0_dmq1 RSA_get0_e RSA_get0_iqmp<br>
1188: RSA_get0_n RSA_get0_p RSA_get0_pss_params RSA_get0_q<br>
1189: SCT_LIST_free SCT_LIST_print SCT_LIST_validate SCT_free<br>
1190: SCT_get0_extensions SCT_get0_log_id SCT_get0_signature<br>
1191: SCT_get_log_entry_type SCT_get_signature_nid SCT_get_source<br>
1192: SCT_get_timestamp SCT_get_validation_status SCT_get_version<br>
1193: SCT_new SCT_new_from_base64 SCT_print SCT_set0_extensions<br>
1194: SCT_set0_log_id SCT_set0_signature SCT_set1_extensions<br>
1195: SCT_set1_log_id SCT_set1_signature SCT_set_log_entry_type<br>
1196: SCT_set_signature_nid SCT_set_source SCT_set_timestamp<br>
1197: SCT_set_version SCT_validate SCT_validation_status_string<br>
1198: X509_OBJECT_free X509_OBJECT_new X509_REQ_get0_pubkey<br>
1199: X509_SIG_get0 X509_SIG_getm X509_STORE_CTX_get_by_subject<br>
1200: X509_STORE_CTX_get_num_untrusted<br>
1201: X509_STORE_CTX_get_obj_by_subject X509_STORE_CTX_get_verify<br>
1202: X509_STORE_CTX_get_verify_cb X509_STORE_CTX_set0_verified_chain<br>
1203: X509_STORE_CTX_set_current_cert X509_STORE_CTX_set_error_depth<br>
1204: X509_STORE_CTX_set_verify X509_STORE_get_verify<br>
1205: X509_STORE_get_verify_cb X509_STORE_set_verify<br>
1206: X509_get_X509_PUBKEY X509_get_extended_key_usage<br>
1207: X509_get_extension_flags X509_get_key_usage<br>
1208: X509v3_addr_add_inherit X509v3_addr_add_prefix<br>
1209: X509v3_addr_add_range X509v3_addr_canonize X509v3_addr_get_afi<br>
1210: X509v3_addr_get_range X509v3_addr_inherits<br>
1211: X509v3_addr_is_canonical X509v3_addr_subset<br>
1212: X509v3_addr_validate_path X509v3_addr_validate_resource_set<br>
1213: X509v3_asid_add_id_or_range X509v3_asid_add_inherit<br>
1214: X509v3_asid_canonize X509v3_asid_inherits<br>
1215: X509v3_asid_is_canonical X509v3_asid_subset<br>
1216: X509v3_asid_validate_path X509v3_asid_validate_resource_set<br>
1217: d2i_ASIdOrRange d2i_ASIdentifierChoice d2i_ASIdentifiers<br>
1218: d2i_ASRange d2i_IPAddressChoice d2i_IPAddressFamily<br>
1219: d2i_IPAddressOrRange d2i_IPAddressRange d2i_SCT_LIST<br>
1220: i2d_ASIdOrRange i2d_ASIdentifierChoice i2d_ASIdentifiers<br>
1221: i2d_ASRange i2d_IPAddressChoice i2d_IPAddressFamily<br>
1222: i2d_IPAddressOrRange i2d_IPAddressRange i2d_SCT_LIST<br>
1223: i2d_re_X509_CRL_tbs i2d_re_X509_REQ_tbs i2d_re_X509_tbs i2o_SCT<br>
1224: i2o_SCT_LIST o2i_SCT o2i_SCT_LIST
1225: </ul>
1226: <li>removed API:
1227: <ul>
1228: <li>ASN1_check_infinite_end ASN1_const_check_infinite_end EVP_dss<br>
1229: EVP_dss1 EVP_ecdsa HMAC_CTX_cleanup HMAC_CTX_init<br>
1230: NETSCAPE_ENCRYPTED_PKEY_free NETSCAPE_ENCRYPTED_PKEY_new<br>
1231: NETSCAPE_PKEY_free NETSCAPE_PKEY_new NETSCAPE_X509_free<br>
1232: NETSCAPE_X509_new OBJ_bsearch_ex_ PEM_SealFinal PEM_SealInit<br>
1233: PEM_SealUpdate PEM_read_X509_CERT_PAIR<br>
1234: PEM_read_bio_X509_CERT_PAIR PEM_write_X509_CERT_PAIR<br>
1235: PEM_write_bio_X509_CERT_PAIR X509_CERT_PAIR_free<br>
1236: X509_CERT_PAIR_new X509_OBJECT_free_contents asn1_do_adb<br>
1237: asn1_do_lock asn1_enc_free asn1_enc_init asn1_enc_restore<br>
1238: asn1_enc_save asn1_ex_c2i asn1_get_choice_selector<br>
1239: asn1_get_field_ptr asn1_set_choice_selector check_defer<br>
1240: d2i_ASN1_BOOLEAN d2i_NETSCAPE_ENCRYPTED_PKEY d2i_NETSCAPE_PKEY<br>
1241: d2i_NETSCAPE_X509 d2i_Netscape_RSA d2i_RSA_NET<br>
1242: d2i_X509_CERT_PAIR i2d_ASN1_BOOLEAN i2d_NETSCAPE_ENCRYPTED_PKEY<br>
1243: i2d_NETSCAPE_PKEY i2d_NETSCAPE_X509 i2d_Netscape_RSA i2d_RSA_NET<br>
1244: i2d_X509_CERT_PAIR name_cmp obj_cleanup_defer
1245: </ul>
1246: </ul>
1.1 deraadt 1247: </ul>
1248: </ul>
1249:
1.16 benno 1250: <li>OpenSSH version XXX <!--- XXX --->
1.1 deraadt 1251: <ul>
1252: <li>Security
1253: <ul>
1.4 benno 1254: <li>...
1.1 deraadt 1255: </ul>
1256: <li>Potentially incompatible changes
1257: <ul>
1.4 benno 1258: <li>...
1.1 deraadt 1259: </ul>
1260:
1261: <li>New features
1262: <ul>
1.4 benno 1263: <li>...
1.1 deraadt 1264: </ul>
1265:
1266: <li>Bugfixes
1267: <ul>
1.4 benno 1268: <li>...
1.1 deraadt 1269: </ul>
1270: </ul>
1271:
1.13 schwarze 1272: <li>mandoc 1.14.6 plus several bugfixes, including:
1.1 deraadt 1273: <ul>
1.13 schwarze 1274: <li>Fixed <a href="https://man.openbsd.org/man.1">man(1)</a>
1275: to always read the configuration file and respect
1276: the other directives contained in it,
1277: even when the manpath is overridden by other means.
1278: <li>Fixed a memory leak in
1279: <a href="https://man.openbsd.org/man.1">man(1)</a>
1280: that mattered when many names were given on the command line.
1281: <li>Fixed a small memory leak in the
1282: <a href="https://man.openbsd.org/roff.7">roff(7)</a> parser
1283: that occurred each time a user-defined macro was called.
1284: <li>Fixed the width of the <code>\h</code> (horizontal motion)
1285: <a href="https://man.openbsd.org/roff.7">roff(7)</a>
1286: escape sequence in the PostScript and PDF output modes.
1.15 benno 1287: <li>Avoid legacy CSS2 syntax and use CSS3 two-value syntax in <a
1288: href="https://man.openbsd.org/mandoc.1">mandoc(1)</a>.
1.1 deraadt 1289: </ul>
1290:
1291: <li>Ports and packages:
1292: <p>Many pre-built packages for each architecture:
1293: <!-- number of FTP packages minus SHA256, SHA256.sig, index.txt -->
1294: <ul style="column-count: 3">
1295: <li>aarch64: XXXX
1.17 naddy 1296: <li>amd64: 11301
1.20 deraadt 1297: <li>arm: XXXX
1298: <li>i386: 10136
1.1 deraadt 1299: <li>mips64: XXXX
1300: <li>powerpc: XXXX
1301: <li>powerpc64: XXXX
1302: <li>riscv64: XXXX
1303: <li>sparc64: XXXX
1304: </ul>
1305:
1306: <p>Some highlights:
1307: <ul style="column-count: 3">
1.12 sthen 1308: <li>Asterisk 16.25.1, 18.11.1 and 19.3.1
1.1 deraadt 1309: <li>Audacity 2.4.2
1310: <li>CMake 3.20.3
1.5 jsg 1311: <li>Chromium 100.0.4896.75
1.1 deraadt 1312: <li>Emacs 27.2
1.5 jsg 1313: <li>FFmpeg 4.4.1
1.1 deraadt 1314: <li>GCC 8.4.0 and 11.2.0
1315: <li>GHC 8.10.6
1.5 jsg 1316: <li>GNOME 41.5
1317: <li>Go 1.17.7
1318: <li>JDK 8u322, 11.0.14 and 17.0.2
1319: <li>KDE Applications 21.12.2
1320: <li>KDE Frameworks 5.91.0
1321: <li>Krita 5.0.2
1322: <li>LLVM/Clang 13.0.0
1323: <li>LibreOffice 7.3.2.2
1.1 deraadt 1324: <li>Lua 5.1.5, 5.2.4 and 5.3.6
1.5 jsg 1325: <li>MariaDB 10.6.7
1.1 deraadt 1326: <li>Mono 6.12.0.122
1.5 jsg 1327: <li>Mozilla Firefox 99.0 and ESR 91.8.0
1328: <li>Mozilla Thunderbird 91.8.0
1329: <li>Mutt 2.2.2 and NeoMutt 20211029
1330: <li>Node.js 16.14.2
1331: <li>OCaml 4.12.1
1.1 deraadt 1332: <li>OpenLDAP 2.4.59
1.5 jsg 1333: <li>PHP 7.4.28, 8.0.17 and 8.1.4
1334: <li>Postfix 3.5.14
1335: <li>PostgreSQL 14.2
1336: <li>Python 2.7.18, 3.8.13, 3.9.12 and 3.10.4
1.1 deraadt 1337: <li>Qt 5.15.2 and 6.0.4
1.5 jsg 1338: <li>R 4.1.2
1339: <li>Ruby 2.7.5, 3.0.3 and 3.1.1
1340: <li>Rust 1.59.0
1341: <li>SQLite 2.8.17 and 3.38.2
1342: <li>Shotcut 21.10.31
1343: <li>Sudo 1.9.10
1344: <li>Suricata 6.0.4
1.1 deraadt 1345: <li>Tcl/Tk 8.5.19 and 8.6.8
1.5 jsg 1346: <li>TeX Live 2021
1347: <li>Vim 8.2.4600 and Neovim 0.6.1
1.1 deraadt 1348: <li>Xfce 4.16
1349: </ul>
1350: <p>
1351:
1352: <li>As usual, steady improvements in manual pages and other documentation.
1353:
1354: <li>The system includes the following major components from outside suppliers:
1355: <ul>
1.5 jsg 1356: <li>Xenocara (based on X.Org 7.7 with xserver 1.21.1.3 + patches,
1357: freetype 2.11.0, fontconfig 2.12.94, Mesa 21.3.7, xterm 369,
1.1 deraadt 1358: xkeyboard-config 2.20, fonttosfnt 1.2.2 and more)
1.5 jsg 1359: <li>LLVM/Clang 13.0.0 (+ patches)
1.1 deraadt 1360: <li>GCC 4.2.1 (+ patches) and 3.3.6 (+ patches)
1361: <li>Perl 5.32.1 (+ patches)
1.5 jsg 1362: <li>NSD 4.4.0
1363: <li>Unbound 1.15.0
1.1 deraadt 1364: <li>Ncurses 5.7
1365: <li>Binutils 2.17 (+ patches)
1366: <li>Gdb 6.3 (+ patches)
1.10 benno 1367: <li>Awk October 12, 2021
1.5 jsg 1368: <li>Expat 2.4.7
1.1 deraadt 1369: </ul>
1370:
1371: </ul>
1372: </section>
1373:
1374: <hr>
1375:
1376: <section id=install>
1377: <h3>How to install</h3>
1378: <p>
1379: Please refer to the following files on the mirror site for
1380: extensive details on how to install OpenBSD 7.1 on your machine:
1381:
1382: <ul>
1383: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/7.1/alpha/INSTALL.alpha">
1384: .../OpenBSD/7.1/alpha/INSTALL.alpha</a>
1385: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/7.1/amd64/INSTALL.amd64">
1386: .../OpenBSD/7.1/amd64/INSTALL.amd64</a>
1387: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/7.1/arm64/INSTALL.arm64">
1388: .../OpenBSD/7.1/arm64/INSTALL.arm64</a>
1389: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/7.1/armv7/INSTALL.armv7">
1390: .../OpenBSD/7.1/armv7/INSTALL.armv7</a>
1391: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/7.1/hppa/INSTALL.hppa">
1392: .../OpenBSD/7.1/hppa/INSTALL.hppa</a>
1393: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/7.1/i386/INSTALL.i386">
1394: .../OpenBSD/7.1/i386/INSTALL.i386</a>
1395: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/7.1/landisk/INSTALL.landisk">
1396: .../OpenBSD/7.1/landisk/INSTALL.landisk</a>
1397: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/7.1/luna88k/INSTALL.luna88k">
1398: .../OpenBSD/7.1/luna88k/INSTALL.luna88k</a>
1399: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/7.1/macppc/INSTALL.macppc">
1400: .../OpenBSD/7.1/macppc/INSTALL.macppc</a>
1401: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/7.1/octeon/INSTALL.octeon">
1402: .../OpenBSD/7.1/octeon/INSTALL.octeon</a>
1403: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/7.1/powerpc64/INSTALL.powerpc64">
1404: .../OpenBSD/7.1/powerpc64/INSTALL.powerpc64</a>
1405: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/7.1/riscv64/INSTALL.riscv64">
1406: .../OpenBSD/7.1/riscv64/INSTALL.riscv64</a>
1407: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/7.1/sparc64/INSTALL.sparc64">
1408: .../OpenBSD/7.1/sparc64/INSTALL.sparc64</a>
1409: </ul>
1410: </section>
1411:
1412: <hr>
1413:
1414: <section id=quickinstall>
1415: <p>
1416: Quick installer information for people familiar with OpenBSD, and the use of
1417: the "<a href="https://man.openbsd.org/disklabel.8">disklabel</a> -E" command.
1418: If you are at all confused when installing OpenBSD, read the relevant
1419: INSTALL.* file as listed above!
1420:
1421: <h3>OpenBSD/alpha:</h3>
1422:
1423: <p>
1424: If your machine can boot from CD, you can write <i>install71.iso</i> or
1425: <i>cd71.iso</i> to a CD and boot from it.
1426: Refer to INSTALL.alpha for more details.
1427:
1428: <h3>OpenBSD/amd64:</h3>
1429:
1430: <p>
1431: If your machine can boot from CD, you can write <i>install71.iso</i> or
1432: <i>cd71.iso</i> to a CD and boot from it.
1433: You may need to adjust your BIOS options first.
1434:
1435: <p>
1436: If your machine can boot from USB, you can write <i>install71.img</i> or
1437: <i>miniroot71.img</i> to a USB stick and boot from it.
1438:
1439: <p>
1440: If you can't boot from a CD, floppy disk, or USB,
1441: you can install across the network using PXE as described in the included
1442: INSTALL.amd64 document.
1443:
1444: <p>
1445: If you are planning to dual boot OpenBSD with another OS, you will need to
1446: read INSTALL.amd64.
1447:
1448: <h3>OpenBSD/arm64:</h3>
1449:
1450: <p>
1451: Write <i>install71.img</i> or <i>miniroot71.img</i> to a disk and boot from it
1452: after connecting to the serial console. Refer to INSTALL.arm64 for more
1453: details.
1454:
1455: <h3>OpenBSD/armv7:</h3>
1456:
1457: <p>
1458: Write a system specific miniroot to an SD card and boot from it after connecting
1459: to the serial console. Refer to INSTALL.armv7 for more details.
1460:
1461: <h3>OpenBSD/hppa:</h3>
1462:
1463: <p>
1464: Boot over the network by following the instructions in INSTALL.hppa or the
1465: <a href="hppa.html#install">hppa platform page</a>.
1466:
1467: <h3>OpenBSD/i386:</h3>
1468:
1469: <p>
1470: If your machine can boot from CD, you can write <i>install71.iso</i> or
1471: <i>cd71.iso</i> to a CD and boot from it.
1472: You may need to adjust your BIOS options first.
1473:
1474: <p>
1475: If your machine can boot from USB, you can write <i>install71.img</i> or
1476: <i>miniroot71.img</i> to a USB stick and boot from it.
1477:
1478: <p>
1479: If you can't boot from a CD, floppy disk, or USB,
1480: you can install across the network using PXE as described in
1481: the included INSTALL.i386 document.
1482:
1483: <p>
1484: If you are planning on dual booting OpenBSD with another OS, you will need to
1485: read INSTALL.i386.
1486:
1487: <h3>OpenBSD/landisk:</h3>
1488:
1489: <p>
1490: Write <i>miniroot71.img</i> to the start of the CF
1491: or disk, and boot normally.
1492:
1493: <h3>OpenBSD/luna88k:</h3>
1494:
1495: <p>
1496: Copy 'boot' and 'bsd.rd' to a Mach or UniOS partition, and boot the bootloader
1497: from the PROM, and then bsd.rd from the bootloader.
1498: Refer to the instructions in INSTALL.luna88k for more details.
1499:
1500: <h3>OpenBSD/macppc:</h3>
1501:
1502: <p>
1503: Burn the image from a mirror site to a CDROM, and power on your machine
1504: while holding down the <i>C</i> key until the display turns on and
1505: shows <i>OpenBSD/macppc boot</i>.
1506:
1507: <p>
1508: Alternatively, at the Open Firmware prompt, enter <i>boot cd:,ofwboot
1509: /7.1/macppc/bsd.rd</i>
1510:
1511: <h3>OpenBSD/octeon:</h3>
1512:
1513: <p>
1514: After connecting a serial port, boot bsd.rd over the network via DHCP/tftp.
1515: Refer to the instructions in INSTALL.octeon for more details.
1516:
1517: <h3>OpenBSD/powerpc64:</h3>
1518:
1519: <p>
1520: To install, write <i>install71.img</i> or <i>miniroot71.img</i> to a
1521: USB stick, plug it into the machine and choose the <i>OpenBSD
1522: install</i> menu item in Petitboot.
1523: Refer to the instructions in INSTALL.powerpc64 for more details.
1524:
1525: <h3>OpenBSD/riscv64:</h3>
1526:
1527: <p>
1528: To install, write <i>install71.img</i> or <i>miniroot71.img</i> to a
1529: USB stick, and boot with that drive plugged in.
1530: Make sure you also have the microSD card plugged in that shipped with the
1531: HiFive Unmatched board.
1532: Refer to the instructions in INSTALL.riscv64 for more details.
1533:
1534: <h3>OpenBSD/sparc64:</h3>
1535:
1536: <p>
1537: Burn the image from a mirror site to a CDROM, boot from it, and type
1538: <i>boot cdrom</i>.
1539:
1540: <p>
1541: If this doesn't work, or if you don't have a CDROM drive, you can write
1542: <i>floppy71.img</i> or <i>floppyB71.img</i>
1543: (depending on your machine) to a floppy and boot it with <i>boot
1544: floppy</i>. Refer to INSTALL.sparc64 for details.
1545:
1546: <p>
1547: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install
1548: will most likely fail.
1549:
1550: <p>
1551: You can also write <i>miniroot71.img</i> to the swap partition on
1552: the disk and boot with <i>boot disk:b</i>.
1553:
1554: <p>
1555: If nothing works, you can boot over the network as described in INSTALL.sparc64.
1556: </section>
1557:
1558: <hr>
1559:
1560: <section id=upgrade>
1561: <h3>How to upgrade</h3>
1562: <p>
1.6 tj 1563: If you already have an OpenBSD 7.0 system, and do not want to reinstall,
1.1 deraadt 1564: upgrade instructions and advice can be found in the
1565: <a href="faq/upgrade71.html">Upgrade Guide</a>.
1566: </section>
1567:
1568: <hr>
1569:
1570: <section id=sourcecode>
1571: <h3>Notes about the source code</h3>
1572: <p>
1573: <code>src.tar.gz</code> contains a source archive starting at <code>/usr/src</code>.
1574: This file contains everything you need except for the kernel sources,
1575: which are in a separate archive.
1576: To extract:
1577: <blockquote><pre>
1578: # <kbd>mkdir -p /usr/src</kbd>
1579: # <kbd>cd /usr/src</kbd>
1580: # <kbd>tar xvfz /tmp/src.tar.gz</kbd>
1581: </pre></blockquote>
1582: <p>
1583: <code>sys.tar.gz</code> contains a source archive starting at <code>/usr/src/sys</code>.
1584: This file contains all the kernel sources you need to rebuild kernels.
1585: To extract:
1586: <blockquote><pre>
1587: # <kbd>mkdir -p /usr/src/sys</kbd>
1588: # <kbd>cd /usr/src</kbd>
1589: # <kbd>tar xvfz /tmp/sys.tar.gz</kbd>
1590: </pre></blockquote>
1591: <p>
1592: Both of these trees are a regular CVS checkout. Using these trees it
1593: is possible to get a head-start on using the anoncvs servers as
1594: described <a href="anoncvs.html">here</a>.
1595: Using these files
1596: results in a much faster initial CVS update than you could expect from
1597: a fresh checkout of the full OpenBSD source tree.
1598: </section>
1599:
1600: <hr>
1601:
1602: <section id=ports>
1603: <h3>Ports Tree</h3>
1604: <p>
1605: A ports tree archive is also provided. To extract:
1606: <blockquote><pre>
1607: # <kbd>cd /usr</kbd>
1608: # <kbd>tar xvfz /tmp/ports.tar.gz</kbd>
1609: </pre></blockquote>
1610: <p>
1611: Go read the <a href="faq/ports/index.html">ports</a> page
1612: if you know nothing about ports
1613: at this point. This text is not a manual of how to use ports.
1614: Rather, it is a set of notes meant to kickstart the user on the
1615: OpenBSD ports system.
1616: <p>
1617: The <i>ports/</i> directory represents a CVS checkout of our ports.
1618: As with our complete source tree, our ports tree is available via
1619: <a href="anoncvs.html">AnonCVS</a>.
1620: So, in order to keep up to date with the -stable branch, you must make
1621: the <i>ports/</i> tree available on a read-write medium and update the tree
1622: with a command like:
1623: <blockquote><pre>
1624: # <kbd>cd /usr/ports</kbd>
1625: # <kbd>cvs -d anoncvs@server.openbsd.org:/cvs update -Pd -rOPENBSD_7_1</kbd>
1626: </pre></blockquote>
1627: <p>
1628: [Of course, you must replace the server name here with a nearby anoncvs
1629: server.]
1630: <p>
1631: Note that most ports are available as packages on our mirrors. Updated
1632: ports for the 7.1 release will be made available if problems arise.
1633: <p>
1634: If you're interested in seeing a port added, would like to help out, or just
1635: would like to know more, the mailing list
1636: <a href="mail.html">ports@openbsd.org</a> is a good place to know.
1637: </section>