Annotation of www/71.html, Revision 1.10
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.
! 86:
1.1 deraadt 87: </ul>
1.10 ! benno 88: <li>Introduced <a
! 89: href="https://man.openbsd.org/gpiocharger.4">gpiocharger(4)</a>, a
! 90: driver providing support for battery chargers connected to GPIO pins,
! 91: such as those found on the Pinebook Pro.
! 92: <li>Introduced <a
! 93: href="https://man.openbsd.org/gpioleds.4">gpioleds(4)</a> for arm64, a
! 94: driver providing support for LEDs connected to GPIO pins, such as
! 95: those found on the Pinebook Pro.
! 96: <li>Added <a href="https://man.openbsd.org/gpiokeys.4">gpiokeys(4)</a>
! 97: for arm64, a driver which handles events triggered by GPIO keys such
! 98: as lid status and power button.
1.1 deraadt 99: </ul>
100: <li>Changes on other architectures:
101: <ul>
1.7 benno 102: <li>Enabled enforcing of RLIMIT_MEMLOCK on powerpc64.
1.1 deraadt 103: </ul>
104: </ul>
105:
106: <li>Various kernel improvements:
107: <ul>
1.7 benno 108: <li>Fixed memory leak in <a
109: href="https://man.openbsd.org/fuse.4">fuse(4)</a> when calling <a
110: href="https://man.openbsd.org/namei.9">namei(9)</a>.
111: <li>Made redistributable firmwares available across all architectures.
112: <li>Fixed establishing legacy INTx interrupts on machines without a (usable) MSI interrupt controller.
113: <li>Cleaned up irrelevant uses of 3rd mode_t parameter for <a
114: href="https://man.openbsd.org/open.2">open(2)</a>/<a
115: href="https://man.openbsd.org/openat.2">openat(2)</a>, unused when not
116: creating files.
1.10 ! benno 117: <li>Changed the power management <a href="https://man.openbsd.org/sysctl.8">sysctl(8)</a>
! 118: hw.perfpolicy to "auto" at startup, defaulting to 100%
! 119: performance with AC power connected and using the auto algorithm when
! 120: on battery.
1.1 deraadt 121: </ul>
122:
123: <li>SMP Improvements
124: <ul>
1.7 benno 125: <li>Made pipe event filters MP-safe.
126: <li>Set klist lock for sockets to make socket event filters MP-safe.
127: <li>Implemented <a href="https://man.openbsd.org/poll.2">poll(2)</a>,
128: <a href="https://man.openbsd.org/select.2">select(2)</a>, <a
129: href="https://man.openbsd.org/ppoll.2">ppoll(2)</a> and <a
130: href="https://man.openbsd.org/pselect.2">pselect(2)</a> on top of
131: kqueue.
132: <li>Unlocked top part of UVM fault hander on mips64. <!--- XXX move? --->
1.10 ! benno 133: <li>Unlocked the <a href="https://man.openbsd.org/kevent.2">kevent(2)</a> system call.
! 134: <li>Made the kqread event filter MP-safe.
! 135:
! 136: <li>Reduced the time overhead of <a
! 137: href="https://man.openbsd.org/kqueue.2">kqueue(2)</a>-based <a
! 138: href="https://man.openbsd.org/poll.2">poll(2)</a> and <a
! 139: href="https://man.openbsd.org/select.2">select(2)</a> systems calls by
! 140: keeping knotes between the system calls.
1.7 benno 141:
1.1 deraadt 142: </ul>
143:
144: <li>Direct Rendering Manager
145: <ul>
1.5 jsg 146: <li>Updated <a href="https://man.openbsd.org/drm.4">drm(4)</a>
147: to Linux 5.15.26
148: <li><a href="https://man.openbsd.org/inteldrm.4">inteldrm(4)</a>:
149: support for Elkhart Lake, Jasper Lake, Rocket Lake
150: <li><a href="https://man.openbsd.org/drm.4">amdgpu(4)</a>:
151: support for Van Gogh APU, Rembrandt "Yellow Carp" Ryzen 6000 APU,
152: Navi 22 "Navy Flounder", Navi 23 "Dimgrey Cavefish",
153: Navi 24 "Beige Goby"
1.1 deraadt 154: </ul>
155:
156: <li>VMM/VMD improvements
157: <ul>
1.10 ! benno 158: <li>Enabled <a href="https://man.openbsd.org/vmx.4">vmx(4)</a> on arm64.
1.8 dv 159: <li>Retired <a href="https://man.openbsd.org/OpenBSD-7.0/switch.4">
160: switch(4)</a> support in <a href="https://man.openbsd.org/vmd.8">
161: vmd(8)</a>.
162: <li>Fixed a bug where <a href="https://man.openbsd.org/vmd.8">vmd(8)</a>
163: would exit when requesting a new VM and hitting memory resource
164: limits.
165: <li>Fixed <a href="https://man.openbsd.org/vmm.4">vmm(4)</a> state
166: corruption on Intel hosts.
167: <li>Fixed <a href="https://man.openbsd.org/vmm.4">vmm(4)</a> cpuid leaf
168: clamping when the host has an invariant TSC.
169: <li>Added quiesce/wakeup hooks to <a href="https://man.openbsd.org/vmm.4">
170: vmm(4)</a> allowing Intel hosts to suspend and hibernate safely with
171: running guests.
172: <li>Added a new login class for <a href="https://man.openbsd.org/vmd.8">
173: vmd(8)</a> on amd64.
1.1 deraadt 174: </ul>
175:
176: <li>Various new userland features:
177: <ul>
178:
1.7 benno 179: <li>Added <a
180: href="https://man.openbsd.org/realpath.1">realpath(1)</a>, a wrapper
181: for <a href="https://man.openbsd.org/realpath.3">realpath(3)</a> for
182: use in ports.
183: <li>Removed an unused decoding of c/h/s from the MBR read from disk
184: by <a href="https://man.openbsd.org/fdisk.8">fdisk(8)</a>.
185: <li>Removed <a href="https://man.openbsd.org/fdisk.8">fdisk(8)</a>
186: "disk" editing command.
187: <li>Added <a href="https://man.openbsd.org/rcctl.8">rcctl(8)</a> "ls
188: rogue" to show daemons which are running but not set as "enabled" in
189: <a href="https://man.openbsd.org/rc.conf.local.8">rc.conf.local(8)</a>.
1.10 ! benno 190: <li>Allowed passing a different signal than SIGTERM in the default
! 191: rc_stop() function in <a
! 192: href="https://man.openbsd.org/rc.subr.8">rc.subr(8)</a>.
1.7 benno 193: <li>Provided common <a
194: href="https://man.openbsd.org/btrace.8">btrace(8)</a> scripts
195: kprofile.bt (to save kernel stackframes and produce flamegraphs) and
196: runqlat.bt (to measure the latency of the scheduler runqueues).
197:
1.1 deraadt 198: </ul>
199:
200: <li>Various bugfixes and tweaks in userland:
201: <ul>
1.7 benno 202:
203: <li>Removed the constraint that <a
204: href="https://man.openbsd.org/fdisk.8">fdisk(8)</a> -b specified block
205: count or block size must be greater than 63.
206: <li>Stopped <a
207: href="https://man.openbsd.org/pkg_add.1">pkg_add(1)</a> from
208: communicating warnings starting with "XXX" which appeared to indicate
209: errors.
210: <li>Merged bugfixes from upstream into <a
211: href="https://man.openbsd.org/less.1">less(1)</a> including fixes for
212: the prompt hiding feature (CTRL-P) and an integer overflow.
213: <li>Fixed file descriptor leak of /dev/tty on <a
214: href="https://man.openbsd.org/doas.1">doas(1)</a> auth failure.
215: <li>Replaced <a href="https://man.openbsd.org/lrint.3">lrint(3)</a>,
216: <a href="https://man.openbsd.org/lrintf.3">lrintf(3)</a>, <a
217: href="https://man.openbsd.org/llrint.3">llrint(3)</a> and <a
218: href="https://man.openbsd.org/llrintf.3">llrintf(3)</a>
219: implementations from NetBSD with the existing FreeBSD implementations
220: we were already using for <a
221: href="https://man.openbsd.org/lrintl.3">lrintl(3)</a> and <a
222: href="https://man.openbsd.org/llrintl.3">llrintl(3)</a>.
223: <li>Renamed Pacific/Enderbury timezone to Pacific/Kanton.
224: <li>Called <a href="https://man.openbsd.org/pledge.2">pledge(2)</a>
225: later to prevent it from killing various games using ncurses when both
226: stdout and stderr are redirected to a non-tty.
1.10 ! benno 227: <li>Fixed octal escape parsing in <a href="https://man.openbsd.org/tr.1">tr(1)</a> backslash().
! 228: <li>Added <a href="https://man.openbsd.org/uniq.1">uniq(1)</a> support for arbitrarily long input lines.
! 229: <li>Prevented an access to uninitialized memory in <a href="https://man.openbsd.org/awk.1">awk(1)</a>.
! 230: <li>Updated <a href="https://man.openbsd.org/awk.1">awk(1)</a> to the October 12, 2021 version.
! 231:
1.7 benno 232:
1.1 deraadt 233: </ul>
234:
235: <li>Improved hardware support and driver bugfixes, including:
236: <ul>
1.7 benno 237: <li>Added support to <a
238: href="https://man.openbsd.org/pchgpio.4">pchgpio(4)</a> for Cannon
239: Lake H and Tiger Lake H platforms.
240: <li>Ensured use of the correct encoding in xenocara when /etc/kbdtype
241: is present with an attached <a
242: href="https://man.openbsd.org/ucc.4">ucc(4)</a> keyboard.
243: <li>Fixed an interrupt storm on <a
244: href="https://man.openbsd.org/dwge.4">dwge(4)</a> variants which
245: support Energy Efficient Ethernet when connected to a switch which
246: does so as well.
247: <li>Added support for tpm2 CRB interface to <a
248: href="https://man.openbsd.org/tpm.4">tpm(4)</a>, fixing recent S4
249: regressions on the Surface Go 2 caused by a firmware change.
250: ` <li>Ensured armv7 and arm64 efiboot allocate fresh memory for the
251: device tree with at least one page of free space to extend into. This
252: fixes booting on VMWare Fusion.
1.10 ! benno 253: <li>Stopped binding audio devices exposed by <a
! 254: href="https://man.openbsd.org/sndiod.8">sndiod(8)</a> to physical
! 255: devices. <!-- XXX check this -->
! 256: <li>Fixed handling of interrupts shared between multiple <a
! 257: href="https://man.openbsd.org/dwiic.4">swiic(4)</a> devices.
1.7 benno 258:
1.1 deraadt 259: </ul>
260:
261: <li>New or improved network hardware support:
262: <ul>
1.7 benno 263: <li>Added support to <a href="https://man.openbsd.org/umb.4">umb(4)</a> for SIMCom SIM7600.
264: <li>Fixed an interrupt storm on <a
265: href="https://man.openbsd.org/dwge.4">dwge(4)</a> variants which
266: support Energy Efficient Ethernet when connected to a switch which
267: does so as well.
1.10 ! benno 268: <li>Added <a href="https://man.openbsd.org/igc.4">igc(4)</a>, a
! 269: driver for the Intel 2.5Gb Ethernet controllers.
1.7 benno 270:
1.1 deraadt 271: </ul>
272:
273: <li>Added or improved wireless network drivers:
274: <ul>
1.7 benno 275: <li>Reset the Tx timer upon validation of a BA notification sent by
276: <a href="https://man.openbsd.org/iwx.4">iwx(4)</a> and <a
277: href="https://man.openbsd.org/iwm.4">iwm(4)</a> firmware.
278: <li>Prevented <a href="https://man.openbsd.org/iwm.4">iwm(4)</a> and
279: <a href="https://man.openbsd.org/iwx.4">iwx(4)</a> attempts to
280: transition toward the same state where this would result in a
281: redundant or illegal state transition and a potential hang.
282: <li>Fixed a panic when <a
283: href="https://man.openbsd.org/iwx.4">iwx(4)</a> cannot find firmware
284: at boot time.
285: <li>Added relicensed wireless firmwares from Realtek for <a
286: href="https://man.openbsd.org/rsu.4">rsu(4)</a>, <a
287: href="https://man.openbsd.org/rtwn.4">rtwn(4)</a> and <a
288: href="https://man.openbsd.org/urtwn.4">urtwn(4)</a> devices, allowing
289: these devices to work without requiring a separate firmware download.
290: <li>Added a workaround for buggy <a
291: href="https://man.openbsd.org/athn.4">athn(4)</a> devices to prevent
292: filling up the node cache when used in hostap mode.
293: <li>Applied a workaround in <a
294: href="https://man.openbsd.org/mvkpcie.4">mvkpcie(4)</a> to fix an
295: external abort under load with <a
296: href="https://man.openbsd.org/athn.4">athn(4)</a>.
297: <li>Fixed <a href="https://man.openbsd.org/iwm.4">iwm(4)</a>
298: performance drop after roaming between APs in 11n mode.
299: <li>Ensured <a href="https://man.openbsd.org/iwm.4">iwm(4)</a> uses
300: only the HT (high throughput) frame format for data frames.
301: <li>Allowed AUTH->AUTH state transitions in the <a
302: href="https://man.openbsd.org/iwm.4">iwm(4)</a> and <a
303: href="https://man.openbsd.org/iwx.4">iwx(4)</a> drivers again, needed
304: if the access point uses band-steering.
305: <li>Added support for 802.11n 40MHz channels to the <a
306: href="https://man.openbsd.org/iwm.4">iwm(4)</a> driver.
307: <li>Reverted to use <a
308: href="https://man.openbsd.org/iwm.4">iwm(4)</a> firmware v17 on Intel
309: AC 7265, fixing instability issues on X1 Carbon gen3.
310: <li>Cached the old BSSID when roaming with <a
311: href="https://man.openbsd.org/iwx.4">iwx(4)</a>.
312: <li>Explicitly stopped <a
313: href="https://man.openbsd.org/iwx.4">iwx(4)</a> Rx block ack when
314: roaming between access points.
315: <li>Added initial 40MHz support to the <a
316: href="https://man.openbsd.org/iwx.4">iwx(4)</a> driver.
1.10 ! benno 317: <li>Made <a href="https://man.openbsd.org/athn.4">athn(4)</a> attach to the Sony UWA-BR100.
! 318: <li>Fixed "null node" panics in <a href="https://man.openbsd.org/run.4">run(4)</a>.
! 319: <li>Fixed "(null node)" panics on <a href="https://man.openbsd.org/run.4">run(4)</a>.
! 320: <li>Fixed <a href="https://man.openbsd.org/iwn.4">iwn(4)</a> with 4965 devices.
! 321:
1.7 benno 322:
1.1 deraadt 323: </ul>
324:
325: <li>IEEE 802.11 wireless stack improvements and bugfixes:
326: <ul>
1.7 benno 327: <li>Added <a href="https://man.openbsd.org/iwx.4">iwx(4)</a> Tx aggregation support.
328: <li>Added an ADDBA_OFFLOAD capability for wifi devices to manage Tx block ack sessions entirely in firmware.
329: <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.
330: <li>Added support for 40MHz channels to net80211 RA.
331: <li>Added monitoring of 20/40MHz channel width changes in beacons sent by our access point, notifying drivers when the channel width has changed.
332:
333:
1.1 deraadt 334: </ul>
335:
336: <li>Generic network stack improvements and bugfixes:
337: <ul>
1.7 benno 338: <li>Fixed <a href="https://man.openbsd.org/pfctl.8">pfctl(8)</a> $nr incorrect macro expansion.
1.10 ! benno 339: <li>Added support for PPP IPCP extensions for DNS to <a href="https://man.openbsd.org/sppp.4">sppp(4)</a>.
1.1 deraadt 340: </ul>
341:
342: <li>Installer and upgrade improvements:
343: <ul>
1.7 benno 344: <li>Corrected installer to use "inet autoconf" properly for <a
345: href="https://man.openbsd.org/hostname.if.5">hostname.if(5)</a> files.
346: <li>Stopped prompting whether to fall back to HTTP in the installer, making the fallback automatic.
347: <li>Used <a href="https://man.openbsd.org/ifconfig.8">ifconfig(8)</a>
348: "join" command by default in <a
349: href="https://man.openbsd.org/hostname.if.5">hostname.if(5)</a> files,
350: replacing the old "nwid".
1.10 ! benno 351: <li>Documented <a
! 352: href="https://man.openbsd.org/install.site.5">install.site(5)</a>,
! 353: OpenBSD installation and upgrade customization.
! 354: <li>Corrected "!" escape handling in the installer when accepting WEP/WPA passphrase.
! 355: <li>Made <a href="https://man.openbsd.org/config.8">config(8)</a> -e work with ramdisk kernels.
1.7 benno 356:
1.1 deraadt 357: </ul>
358:
359: <li>Security improvements:
360: <ul>
1.7 benno 361: <li>Cleared length of keys in <a href="https://man.openbsd.org/vnconfig.8">vnconfig(8)</a> alongside keys themselves.
362: <li>Removed hifn(4), safe(4) and ubsec(4) crypto drivers.
363: <li>Fixed double free after allocation failure in <a href="https://man.openbsd.org/bpf.4">bpf(4)</a>.
364: <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.
365: <li>Fixed a panic by prohibiting renames of tmpfs mount-points.
366: <li>Fixed <a href="https://man.openbsd.org/vi.1">vi(1)</a> use after free with unsaved buffer. <!-- XXX move? -->
1.10 ! benno 367: <li>Disabled <a href="https://man.openbsd.org/xterm.1">xterm(1)</a> mouse tracking by default.
1.7 benno 368:
1.1 deraadt 369: </ul>
370:
371: <li>Routing daemons and other userland network improvements:
372: <ul>
1.7 benno 373: <li>Modified <a href="https://man.openbsd.org/syslog.conf.5">syslog.conf(5)</a> examples to use TLS rather than the plaintext protocols.
374: <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>.
375: <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.
376: <li>Added protocol version checking to <a href="https://man.openbsd.org/httpd.8">httpd(8)</a>.
1.10 ! benno 377: <li>Fixed crashes in <a href="https://man.openbsd.org/httpd.8">httpd(8)</a>.
! 378: <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.
! 379: <li>Implemented <a href="https://man.openbsd.org/openrsync.1">openrsync(1)</a> --max-size and --min-size.
! 380: <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.7 benno 381: <li>Ensured enabled resolvers are honored by <a href="https://man.openbsd.org/unwind.8">unwind(8)</a> to keep unused forwarders disabled properly.
382: <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 383: <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 384: <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.
385: <li>In <a href="https://man.openbsd.org/httpd.8">httpd(8)</a>, stopped sending content alongside responses to HEAD requests.
386: <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.
387: <li>Added <a href="https://man.openbsd.org/httpd.8">httpd(8)</a> custom error page facility.
1.10 ! benno 388: <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.
! 389: <li>Fixed broken key exchange negotiation with matching proposals in <a href="https://man.openbsd.org/iked.8">iked(8)</a>.
! 390: <li>Limited <a href="https://man.openbsd.org/rpki-client.8">rpki-client(8)</a> HTTP requests to 2GB of data.
! 391: <li>Published <a href="https://man.openbsd.org/rpki-client.8">rpki-client</a> 7.5.
! 392: <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>.
! 393:
1.7 benno 394:
395:
1.1 deraadt 396: </ul>
397:
398: <li><a href="https://man.openbsd.org/tmux">tmux(1)</a> improvements and bug fixes:
399: <ul>
1.7 benno 400: <li>Fixed a crash in <a
401: href="https://man.openbsd.org/tmux.1">tmux(1)</a> when a session with
402: multiple clients is destroyed but tmux does not close completely due
403: to other sessions.
404: <li>Fixed a <a href="https://man.openbsd.org/tmux.1">tmux(1)</a>
405: redraw problem on automargin terminals.
406: <li>Fixed a problem with repeat in <a
407: href="https://man.openbsd.org/tmux.1">tmux(1)</a> copy mode.
408: <li>Added -T to set a popup title in <a
409: href="https://man.openbsd.org/tmux.1">tmux(1)</a>.
410: <li>Added -s and -S to <a
411: href="https://man.openbsd.org/tmux.1">tmux(1)</a> display-popup to set
412: popup and border style.
413: <li>Fixed application-set fg and bg in <a
414: href="https://man.openbsd.org/tmux.1">tmux(1)</a> panes.
415: <li>Added a way to force a color to RGB in <a
416: href="https://man.openbsd.org/tmux.1">tmux(1)</a> and a format to
417: display it.
1.10 ! benno 418: <li>Added a cursor-colour option to <a href="https://man.openbsd.org/tmux.1">tmux(1)</a>.
! 419: <li>Added a cursor-style option to <a href="https://man.openbsd.org/tmux.1">tmux(1)</a>.
1.7 benno 420:
1.1 deraadt 421: </ul>
422:
1.4 benno 423: <li>OpenSMTPD version <!--- XXX --->
1.1 deraadt 424: <ul>
425: </ul>
426:
1.4 benno 427: <li>LibreSSL version <!--- XXX --->
1.1 deraadt 428: <ul>
429: <li>New Features
430: <ul>
1.9 inoguchi 431: <li>The RFC 3779 API was ported from OpenSSL.<br>
432: Many bugs were fixed, regression tests were added and the code was cleaned up.
433: <li>Certificate Transparency was ported from OpenSSL.<br>
434: Many internal improvements were made, resulting in cleaner and safer code.<br>
435: Regress coverage was added. libssl does not yet make use of it.
1.1 deraadt 436: </ul>
437:
438: <li>Portable Improvements
439: <ul>
1.9 inoguchi 440: <li>Enabled ASAN CI on Linux platform.<br>
441: Thanks to Ilya Shipitsin (chipitsine <at> gmail com).
442: <li>Fixed various POSIX compliance and other portability issues<br>
443: found by the port to the Sortix operating system.
444: <li>Add libmd as platform specific libraries for Solaris.<br>
445: Issue reported from (ihsan <at> opencsw org) on libressl ML.
446: <li>Set IA-64 compiler flag only if it is HP-UX with IA-64.<br>
447: Suggested from Larkin Nickle (me <at> larbob org) by libressl ML.
448: <li>Enabled and scheduled Coverity scan.<br>
449: Contributed by Ilya Shipitsin (chipitsine <at> gmail com) on github.
1.1 deraadt 450: </ul>
451:
1.9 inoguchi 452: <li>Compatibility Changes
453: <ul>
454: <li>Most structs that were previously defined in the following headers
455: are now opaque as they are in OpenSSL 1.1:<br>
456: bio.h, bn.h, comp.h, dh.h, dsa.h, evp.h, hmac.h, ocsp.h, rsa.h,
457: x509.h, x509v3.h, x509_vfy.h
458: <li>Switch TLSv1.3 cipher names from AEAD- to OpenSSL's TLS_<br>
459: OpenSSL added the TLSv1.3 ciphersuites with "RFC names" instead
460: of using something consistent with the previous naming.<br>
461: Various test suites expect these names (instead of checking for the much
462: more sensible cipher numbers).<br>
463: The old names are still accepted as aliases.
464: <li>Subject alternative names and name constraints are now validated
465: when they are added to certificates.<br>
466: Various interoperability problems with stacks that validate
467: certificates more strictly than OpenSSL can be avoided this way.
468: <li>Attempt to opportunistically use the host name for SNI in s_client
469: </ul>
470:
471: <li>Bug fixes
1.1 deraadt 472: <ul>
1.9 inoguchi 473: <li>Avoid infinite loop for custom curves of order 1.<br>
474: Found and reported with a reproducer by Hanno Boeck.
475: Helpful comments and analysis from David Benjamin.
476: <li>Avoid infinite loop on parsing DSA private keys.<br>
477: Issue reported with reproducers by Hanno Boeck.
478: Additional variants and analysis by David Benjamin.
479: <li>A malicious certificate can cause an infinite loop.<br>
480: Reported by and fix from Tavis Ormandy and David Benjamin, Google.
481: <li>In some situations, the verifier would discard the error on an
482: unvalidated certificate chain.<br>
483: This would happen when the verification callback was in use,
484: instructing the verifier to continue unconditionally.<br>
485: This could lead to incorrect decisions being made in software.
486: <li>Avoid an infinite loop in SSL_shutdown()
487: <li>Fix another return 0 bug in SSL_shutdown()
488: <li>Handle zero byte reads/writes that trigger handshakes in the
489: TLSv1.3 stack
490: <li>A long standing memleak in libtls CRL handling was fixed
1.1 deraadt 491: </ul>
492:
1.9 inoguchi 493: <li>Internal Improvements
1.1 deraadt 494: <ul>
1.9 inoguchi 495: <li>Cache the SHA-512 hash instead of the SHA-1 hash and cache
496: notBefore and notAfter times when X.509 certificates are parsed.
497: <li>The X.509 lookup code has been simplified and cleaned up.
498: <li>Fixed numerous issues flagged by coverity and the cryptofuzz project
499: <li>Increased the number of Miller-Rabin checks in DH and DSA
500: key/parameter generation
501: <li>Started using the bytestring API in libcrypto for cleaner and
502: safer code
503: <li>Convert {i2d,d2i}_{,EC_,DSA_,RSA_}PUBKEY{,_bio,_fp}() to templated
504: ASN1
505: <li>Convert ASN1_OBJECT_new() to calloc()
506: <li>Convert ASN1_STRING_type_new() to calloc()
507: <li>Rewrite ASN1_STRING_cmp()
508: <li>Use calloc() for X509_CRL_METHOD_new() instead of malloc()
509: <li>Convert ASN1_PCTX_new() to calloc()
510: <li>Replace asn1_tlc_clear and asn1_tlc_clear_nc macros with a function
511: <li>Consolidate {d2i,i2d}_{pr,pu}.c
512: <li>Remove handling of a NULL BUF_MEM from asn1_collect()
513: <li>Pull the recursion depth check up to the top of asn1_collect()
514: <li>Inline collect_data() in asn1_collect()
515: <li>Convert asn1_d2i_ex_primitive()/asn1_collect() from BUF_MEM to CBB
516: <li>Clean up d2i_ASN1_BOOLEAN() and i2d_ASN1_BOOLEAN()
517: <li>Consolidate ASN.1 universal tag type data
518: <li>Rewrite ASN.1 identifier/length parsing in CBS
519: <li>Make OBJ_obj2nid() work correctly with NID_undef
520: <li>tlsext_tick_lifetime_hint is now an uint32_t
521: <li>Untangle ssl3_get_message() return values
522: <li>Rename tls13_buffer to tls_buffer
523: <li>Fold DTLS_STATE_INTERNAL into DTLS1_STATE
524: <li>Provide a way to determine our maximum legacy version
525: <li>Mop up enc_read_ctx and read_hash
526: <li>Fold SSL_SESSION_INTERNAL into SSL_SESSION
527: <li>Use ssl_force_want_read in the DTLS code
528: <li>Add record processing limit to DTLS code
529: <li>Add explicit CBS_contains_zero_byte() check in CBS_strdup()
530: <li>Improve SNI hostname validation
531: <li>Ensure SSL_set_tlsext_host_name() is given a valid hostname
532: <li>Fix a strange check in the auto DH codepath
533: <li>Factor out/rewrite DHE key exchange
534: <li>Convert server serialisation of DHE parameters/public key to new
535: functions
536: <li>Check DH public key in ssl_kex_peer_public_dhe()
537: <li>Move the minimum DHE key size check into ssl_kex_peer_params_dhe()
538: <li>Clean up and refactor server side DHE key exchange
539: <li>Provide CBS_get_last_u8()
540: <li>Provide CBS_get_u64()
541: <li>Provide CBS_add_u64()
542: <li>Provide various CBS_peek_* functions
543: <li>Use CBS_get_last_u8() to find the content type in TLSv1.3 records
544: <li>unifdef TLS13_USE_LEGACY_CLIENT_AUTH
545: <li>Correct SSL_get_peer_cert_chain() when used with the TLSv1.3 stack
546: <li>Only allow zero length key shares when we know we're doing HRR
547: <li>Pull key share group/length CBB code up from
548: tls13_key_share_public()
549: <li>Refactor ssl3_get_server_kex_ecdhe() to separate parsing and
550: validation
551: <li>Return 0 on failure from send/get kex functions in the legacy
552: stack
553: <li>Rename tls13_key_share to tls_key_share
554: <li>Allocate and free the EVP_AEAD_CTX struct in
555: tls13_record_protection
556: <li>Convert legacy TLS client to tls_key_share
557: <li>Convert legacy TLS server to tls_key_share
558: <li>Stop attempting to duplicate the public and private key of dh_tmp
559: <li>Rename dh_tmp to dhe_params
560: <li>Rename CERT to SSL_CERT and CERT_PKEY to SSL_CERT_PKEY
561: <li>Clean up pkey handling in ssl3_get_server_key_exchange()
562: <li>Fix GOST skip certificate verify handling
563: <li>Simplify tlsext_keyshare_server_parse()
564: <li>Plumb decode errors through key share parsing code
565: <li>Simplify SSL_get_peer_certificate()
566: <li>Cleanup/simplify ssl_cert_type()
567: <li>The S3I macro was removed
568: <li>The openssl(1) cms, smime and ts subcommands option handling was
569: converted and the C source was cleaned up.
1.1 deraadt 570: </ul>
571:
1.9 inoguchi 572: <li>Documentation improvements
1.1 deraadt 573: <ul>
1.9 inoguchi 574: <li>45 new manual pages, most of which were written from scratch.<br>
575: Documentation coverage of ASN.1 and X.509 code has been
576: significantly improved.
1.1 deraadt 577: </ul>
578:
1.9 inoguchi 579: <li>API additions and removals
1.1 deraadt 580: <ul>
1.9 inoguchi 581: <li>libssl
582: <ul>
583: <li>API additions
584: <ul>
585: <li>SSL_get0_verified_chain SSL_peek_ex SSL_read_ex SSL_write_ex
586: </ul>
587: <li>API stubs for compatibility
588: <ul>
589: <li>SSL_CTX_get_keylog_callback SSL_CTX_get_num_tickets<br>
590: SSL_CTX_set_keylog_callback SSL_CTX_set_num_tickets<br>
591: SSL_get_num_tickets SSL_set_num_tickets
592: </ul>
593: </ul>
594: <li>libcrypto
595: <ul>
596: <li>added API (some of these were previously available as macros):
597: <ul>
598: <li>ASIdOrRange_free ASIdOrRange_new ASIdentifierChoice_free<br>
599: ASIdentifierChoice_new ASIdentifiers_free ASIdentifiers_new<br>
600: ASN1_TIME_diff ASRange_free ASRange_new BIO_get_callback_ex<br>
601: BIO_get_init BIO_set_callback_ex BIO_set_next<br>
602: BIO_set_retry_reason BN_GENCB_set BN_GENCB_set_old<br>
603: BN_abs_is_word BN_get_flags BN_is_negative<br>
604: BN_is_odd BN_is_one BN_is_word BN_is_zero BN_set_flags<br>
605: BN_to_montgomery BN_with_flags BN_zero_ex CTLOG_STORE_free<br>
606: CTLOG_STORE_get0_log_by_id CTLOG_STORE_load_default_file<br>
607: CTLOG_STORE_load_file CTLOG_STORE_new CTLOG_free<br>
608: CTLOG_get0_log_id CTLOG_get0_name CTLOG_get0_public_key<br>
609: CTLOG_new CTLOG_new_from_base64 CT_POLICY_EVAL_CTX_free<br>
610: CT_POLICY_EVAL_CTX_get0_cert CT_POLICY_EVAL_CTX_get0_issuer<br>
611: CT_POLICY_EVAL_CTX_get0_log_store CT_POLICY_EVAL_CTX_get_time<br>
612: CT_POLICY_EVAL_CTX_new CT_POLICY_EVAL_CTX_set1_cert<br>
613: CT_POLICY_EVAL_CTX_set1_issuer<br>
614: CT_POLICY_EVAL_CTX_set_shared_CTLOG_STORE<br>
615: CT_POLICY_EVAL_CTX_set_time DH_get0_g DH_get0_p DH_get0_priv_key<br>
616: DH_get0_pub_key DH_get0_q DH_get_length DSA_bits DSA_get0_g<br>
617: DSA_get0_p DSA_get0_priv_key DSA_get0_pub_key DSA_get0_q<br>
618: ECDSA_SIG_get0_r ECDSA_SIG_get0_s EVP_AEAD_CTX_free<br>
619: EVP_AEAD_CTX_new EVP_CIPHER_CTX_buf_noconst<br>
620: EVP_CIPHER_CTX_get_cipher_data EVP_CIPHER_CTX_set_cipher_data<br>
621: EVP_MD_CTX_md_data EVP_MD_CTX_pkey_ctx EVP_MD_CTX_set_pkey_ctx<br>
622: EVP_MD_meth_dup EVP_MD_meth_free EVP_MD_meth_new<br>
623: EVP_MD_meth_set_app_datasize EVP_MD_meth_set_cleanup<br>
624: EVP_MD_meth_set_copy EVP_MD_meth_set_ctrl EVP_MD_meth_set_final<br>
625: EVP_MD_meth_set_flags EVP_MD_meth_set_init<br>
626: EVP_MD_meth_set_input_blocksize EVP_MD_meth_set_result_size<br>
627: EVP_MD_meth_set_update EVP_PKEY_asn1_set_check<br>
628: EVP_PKEY_asn1_set_param_check EVP_PKEY_asn1_set_public_check<br>
629: EVP_PKEY_check EVP_PKEY_meth_set_check<br>
630: EVP_PKEY_meth_set_param_check EVP_PKEY_meth_set_public_check<br>
631: EVP_PKEY_param_check EVP_PKEY_public_check FIPS_mode<br>
632: FIPS_mode_set IPAddressChoice_free IPAddressChoice_new<br>
633: IPAddressFamily_free IPAddressFamily_new IPAddressOrRange_free<br>
634: IPAddressOrRange_new IPAddressRange_free IPAddressRange_new<br>
635: OBJ_get0_data OBJ_length OCSP_resp_get0_certs OCSP_resp_get0_id<br>
636: OCSP_resp_get0_produced_at OCSP_resp_get0_respdata<br>
637: OCSP_resp_get0_signature OCSP_resp_get0_signer<br>
638: OCSP_resp_get0_tbs_sigalg PEM_write_bio_PrivateKey_traditional<br>
639: RSA_get0_d RSA_get0_dmp1 RSA_get0_dmq1 RSA_get0_e RSA_get0_iqmp<br>
640: RSA_get0_n RSA_get0_p RSA_get0_pss_params RSA_get0_q<br>
641: SCT_LIST_free SCT_LIST_print SCT_LIST_validate SCT_free<br>
642: SCT_get0_extensions SCT_get0_log_id SCT_get0_signature<br>
643: SCT_get_log_entry_type SCT_get_signature_nid SCT_get_source<br>
644: SCT_get_timestamp SCT_get_validation_status SCT_get_version<br>
645: SCT_new SCT_new_from_base64 SCT_print SCT_set0_extensions<br>
646: SCT_set0_log_id SCT_set0_signature SCT_set1_extensions<br>
647: SCT_set1_log_id SCT_set1_signature SCT_set_log_entry_type<br>
648: SCT_set_signature_nid SCT_set_source SCT_set_timestamp<br>
649: SCT_set_version SCT_validate SCT_validation_status_string<br>
650: X509_OBJECT_free X509_OBJECT_new X509_REQ_get0_pubkey<br>
651: X509_SIG_get0 X509_SIG_getm X509_STORE_CTX_get_by_subject<br>
652: X509_STORE_CTX_get_num_untrusted<br>
653: X509_STORE_CTX_get_obj_by_subject X509_STORE_CTX_get_verify<br>
654: X509_STORE_CTX_get_verify_cb X509_STORE_CTX_set0_verified_chain<br>
655: X509_STORE_CTX_set_current_cert X509_STORE_CTX_set_error_depth<br>
656: X509_STORE_CTX_set_verify X509_STORE_get_verify<br>
657: X509_STORE_get_verify_cb X509_STORE_set_verify<br>
658: X509_get_X509_PUBKEY X509_get_extended_key_usage<br>
659: X509_get_extension_flags X509_get_key_usage<br>
660: X509v3_addr_add_inherit X509v3_addr_add_prefix<br>
661: X509v3_addr_add_range X509v3_addr_canonize X509v3_addr_get_afi<br>
662: X509v3_addr_get_range X509v3_addr_inherits<br>
663: X509v3_addr_is_canonical X509v3_addr_subset<br>
664: X509v3_addr_validate_path X509v3_addr_validate_resource_set<br>
665: X509v3_asid_add_id_or_range X509v3_asid_add_inherit<br>
666: X509v3_asid_canonize X509v3_asid_inherits<br>
667: X509v3_asid_is_canonical X509v3_asid_subset<br>
668: X509v3_asid_validate_path X509v3_asid_validate_resource_set<br>
669: d2i_ASIdOrRange d2i_ASIdentifierChoice d2i_ASIdentifiers<br>
670: d2i_ASRange d2i_IPAddressChoice d2i_IPAddressFamily<br>
671: d2i_IPAddressOrRange d2i_IPAddressRange d2i_SCT_LIST<br>
672: i2d_ASIdOrRange i2d_ASIdentifierChoice i2d_ASIdentifiers<br>
673: i2d_ASRange i2d_IPAddressChoice i2d_IPAddressFamily<br>
674: i2d_IPAddressOrRange i2d_IPAddressRange i2d_SCT_LIST<br>
675: i2d_re_X509_CRL_tbs i2d_re_X509_REQ_tbs i2d_re_X509_tbs i2o_SCT<br>
676: i2o_SCT_LIST o2i_SCT o2i_SCT_LIST
677: </ul>
678: <li>removed API:
679: <ul>
680: <li>ASN1_check_infinite_end ASN1_const_check_infinite_end EVP_dss<br>
681: EVP_dss1 EVP_ecdsa HMAC_CTX_cleanup HMAC_CTX_init<br>
682: NETSCAPE_ENCRYPTED_PKEY_free NETSCAPE_ENCRYPTED_PKEY_new<br>
683: NETSCAPE_PKEY_free NETSCAPE_PKEY_new NETSCAPE_X509_free<br>
684: NETSCAPE_X509_new OBJ_bsearch_ex_ PEM_SealFinal PEM_SealInit<br>
685: PEM_SealUpdate PEM_read_X509_CERT_PAIR<br>
686: PEM_read_bio_X509_CERT_PAIR PEM_write_X509_CERT_PAIR<br>
687: PEM_write_bio_X509_CERT_PAIR X509_CERT_PAIR_free<br>
688: X509_CERT_PAIR_new X509_OBJECT_free_contents asn1_do_adb<br>
689: asn1_do_lock asn1_enc_free asn1_enc_init asn1_enc_restore<br>
690: asn1_enc_save asn1_ex_c2i asn1_get_choice_selector<br>
691: asn1_get_field_ptr asn1_set_choice_selector check_defer<br>
692: d2i_ASN1_BOOLEAN d2i_NETSCAPE_ENCRYPTED_PKEY d2i_NETSCAPE_PKEY<br>
693: d2i_NETSCAPE_X509 d2i_Netscape_RSA d2i_RSA_NET<br>
694: d2i_X509_CERT_PAIR i2d_ASN1_BOOLEAN i2d_NETSCAPE_ENCRYPTED_PKEY<br>
695: i2d_NETSCAPE_PKEY i2d_NETSCAPE_X509 i2d_Netscape_RSA i2d_RSA_NET<br>
696: i2d_X509_CERT_PAIR name_cmp obj_cleanup_defer
697: </ul>
698: </ul>
1.1 deraadt 699: </ul>
700: </ul>
701:
1.4 benno 702: <li>OpenSSH version <!--- XXX --->
1.1 deraadt 703: <ul>
704: <li>Security
705: <ul>
1.4 benno 706: <li>...
1.1 deraadt 707: </ul>
708: <li>Potentially incompatible changes
709: <ul>
1.4 benno 710: <li>...
1.1 deraadt 711: </ul>
712:
713: <li>New features
714: <ul>
1.4 benno 715: <li>...
1.1 deraadt 716: </ul>
717:
718: <li>Bugfixes
719: <ul>
1.4 benno 720: <li>...
1.1 deraadt 721: </ul>
722: </ul>
723:
1.4 benno 724: <li>mandoc version <!--- XXX --->
1.1 deraadt 725: <ul>
1.4 benno 726: <li>...
1.1 deraadt 727: </ul>
728:
729: <li>Ports and packages:
730: <p>Many pre-built packages for each architecture:
731: <!-- number of FTP packages minus SHA256, SHA256.sig, index.txt -->
732: <ul style="column-count: 3">
733: <li>aarch64: XXXX
734: <li>amd64: XXXX
735: <li>arm: XXXX
736: <li>i386: XXXX
737: <li>mips64: XXXX
738: <li>powerpc: XXXX
739: <li>powerpc64: XXXX
740: <li>riscv64: XXXX
741: <li>sparc64: XXXX
742: </ul>
743:
744: <p>Some highlights:
745: <ul style="column-count: 3">
1.5 jsg 746: <li>Asterisk 19.3.1
1.1 deraadt 747: <li>Audacity 2.4.2
748: <li>CMake 3.20.3
1.5 jsg 749: <li>Chromium 100.0.4896.75
1.1 deraadt 750: <li>Emacs 27.2
1.5 jsg 751: <li>FFmpeg 4.4.1
1.1 deraadt 752: <li>GCC 8.4.0 and 11.2.0
753: <li>GHC 8.10.6
1.5 jsg 754: <li>GNOME 41.5
755: <li>Go 1.17.7
756: <li>JDK 8u322, 11.0.14 and 17.0.2
757: <li>KDE Applications 21.12.2
758: <li>KDE Frameworks 5.91.0
759: <li>Krita 5.0.2
760: <li>LLVM/Clang 13.0.0
761: <li>LibreOffice 7.3.2.2
1.1 deraadt 762: <li>Lua 5.1.5, 5.2.4 and 5.3.6
1.5 jsg 763: <li>MariaDB 10.6.7
1.1 deraadt 764: <li>Mono 6.12.0.122
1.5 jsg 765: <li>Mozilla Firefox 99.0 and ESR 91.8.0
766: <li>Mozilla Thunderbird 91.8.0
767: <li>Mutt 2.2.2 and NeoMutt 20211029
768: <li>Node.js 16.14.2
769: <li>OCaml 4.12.1
1.1 deraadt 770: <li>OpenLDAP 2.4.59
1.5 jsg 771: <li>PHP 7.4.28, 8.0.17 and 8.1.4
772: <li>Postfix 3.5.14
773: <li>PostgreSQL 14.2
774: <li>Python 2.7.18, 3.8.13, 3.9.12 and 3.10.4
1.1 deraadt 775: <li>Qt 5.15.2 and 6.0.4
1.5 jsg 776: <li>R 4.1.2
777: <li>Ruby 2.7.5, 3.0.3 and 3.1.1
778: <li>Rust 1.59.0
779: <li>SQLite 2.8.17 and 3.38.2
780: <li>Shotcut 21.10.31
781: <li>Sudo 1.9.10
782: <li>Suricata 6.0.4
1.1 deraadt 783: <li>Tcl/Tk 8.5.19 and 8.6.8
1.5 jsg 784: <li>TeX Live 2021
785: <li>Vim 8.2.4600 and Neovim 0.6.1
1.1 deraadt 786: <li>Xfce 4.16
787: </ul>
788: <p>
789:
790: <li>As usual, steady improvements in manual pages and other documentation.
791:
792: <li>The system includes the following major components from outside suppliers:
793: <ul>
1.5 jsg 794: <li>Xenocara (based on X.Org 7.7 with xserver 1.21.1.3 + patches,
795: freetype 2.11.0, fontconfig 2.12.94, Mesa 21.3.7, xterm 369,
1.1 deraadt 796: xkeyboard-config 2.20, fonttosfnt 1.2.2 and more)
1.5 jsg 797: <li>LLVM/Clang 13.0.0 (+ patches)
1.1 deraadt 798: <li>GCC 4.2.1 (+ patches) and 3.3.6 (+ patches)
799: <li>Perl 5.32.1 (+ patches)
1.5 jsg 800: <li>NSD 4.4.0
801: <li>Unbound 1.15.0
1.1 deraadt 802: <li>Ncurses 5.7
803: <li>Binutils 2.17 (+ patches)
804: <li>Gdb 6.3 (+ patches)
1.10 ! benno 805: <li>Awk October 12, 2021
1.5 jsg 806: <li>Expat 2.4.7
1.1 deraadt 807: </ul>
808:
809: </ul>
810: </section>
811:
812: <hr>
813:
814: <section id=install>
815: <h3>How to install</h3>
816: <p>
817: Please refer to the following files on the mirror site for
818: extensive details on how to install OpenBSD 7.1 on your machine:
819:
820: <ul>
821: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/7.1/alpha/INSTALL.alpha">
822: .../OpenBSD/7.1/alpha/INSTALL.alpha</a>
823: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/7.1/amd64/INSTALL.amd64">
824: .../OpenBSD/7.1/amd64/INSTALL.amd64</a>
825: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/7.1/arm64/INSTALL.arm64">
826: .../OpenBSD/7.1/arm64/INSTALL.arm64</a>
827: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/7.1/armv7/INSTALL.armv7">
828: .../OpenBSD/7.1/armv7/INSTALL.armv7</a>
829: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/7.1/hppa/INSTALL.hppa">
830: .../OpenBSD/7.1/hppa/INSTALL.hppa</a>
831: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/7.1/i386/INSTALL.i386">
832: .../OpenBSD/7.1/i386/INSTALL.i386</a>
833: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/7.1/landisk/INSTALL.landisk">
834: .../OpenBSD/7.1/landisk/INSTALL.landisk</a>
835: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/7.1/luna88k/INSTALL.luna88k">
836: .../OpenBSD/7.1/luna88k/INSTALL.luna88k</a>
837: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/7.1/macppc/INSTALL.macppc">
838: .../OpenBSD/7.1/macppc/INSTALL.macppc</a>
839: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/7.1/octeon/INSTALL.octeon">
840: .../OpenBSD/7.1/octeon/INSTALL.octeon</a>
841: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/7.1/powerpc64/INSTALL.powerpc64">
842: .../OpenBSD/7.1/powerpc64/INSTALL.powerpc64</a>
843: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/7.1/riscv64/INSTALL.riscv64">
844: .../OpenBSD/7.1/riscv64/INSTALL.riscv64</a>
845: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/7.1/sparc64/INSTALL.sparc64">
846: .../OpenBSD/7.1/sparc64/INSTALL.sparc64</a>
847: </ul>
848: </section>
849:
850: <hr>
851:
852: <section id=quickinstall>
853: <p>
854: Quick installer information for people familiar with OpenBSD, and the use of
855: the "<a href="https://man.openbsd.org/disklabel.8">disklabel</a> -E" command.
856: If you are at all confused when installing OpenBSD, read the relevant
857: INSTALL.* file as listed above!
858:
859: <h3>OpenBSD/alpha:</h3>
860:
861: <p>
862: If your machine can boot from CD, you can write <i>install71.iso</i> or
863: <i>cd71.iso</i> to a CD and boot from it.
864: Refer to INSTALL.alpha for more details.
865:
866: <h3>OpenBSD/amd64:</h3>
867:
868: <p>
869: If your machine can boot from CD, you can write <i>install71.iso</i> or
870: <i>cd71.iso</i> to a CD and boot from it.
871: You may need to adjust your BIOS options first.
872:
873: <p>
874: If your machine can boot from USB, you can write <i>install71.img</i> or
875: <i>miniroot71.img</i> to a USB stick and boot from it.
876:
877: <p>
878: If you can't boot from a CD, floppy disk, or USB,
879: you can install across the network using PXE as described in the included
880: INSTALL.amd64 document.
881:
882: <p>
883: If you are planning to dual boot OpenBSD with another OS, you will need to
884: read INSTALL.amd64.
885:
886: <h3>OpenBSD/arm64:</h3>
887:
888: <p>
889: Write <i>install71.img</i> or <i>miniroot71.img</i> to a disk and boot from it
890: after connecting to the serial console. Refer to INSTALL.arm64 for more
891: details.
892:
893: <h3>OpenBSD/armv7:</h3>
894:
895: <p>
896: Write a system specific miniroot to an SD card and boot from it after connecting
897: to the serial console. Refer to INSTALL.armv7 for more details.
898:
899: <h3>OpenBSD/hppa:</h3>
900:
901: <p>
902: Boot over the network by following the instructions in INSTALL.hppa or the
903: <a href="hppa.html#install">hppa platform page</a>.
904:
905: <h3>OpenBSD/i386:</h3>
906:
907: <p>
908: If your machine can boot from CD, you can write <i>install71.iso</i> or
909: <i>cd71.iso</i> to a CD and boot from it.
910: You may need to adjust your BIOS options first.
911:
912: <p>
913: If your machine can boot from USB, you can write <i>install71.img</i> or
914: <i>miniroot71.img</i> to a USB stick and boot from it.
915:
916: <p>
917: If you can't boot from a CD, floppy disk, or USB,
918: you can install across the network using PXE as described in
919: the included INSTALL.i386 document.
920:
921: <p>
922: If you are planning on dual booting OpenBSD with another OS, you will need to
923: read INSTALL.i386.
924:
925: <h3>OpenBSD/landisk:</h3>
926:
927: <p>
928: Write <i>miniroot71.img</i> to the start of the CF
929: or disk, and boot normally.
930:
931: <h3>OpenBSD/luna88k:</h3>
932:
933: <p>
934: Copy 'boot' and 'bsd.rd' to a Mach or UniOS partition, and boot the bootloader
935: from the PROM, and then bsd.rd from the bootloader.
936: Refer to the instructions in INSTALL.luna88k for more details.
937:
938: <h3>OpenBSD/macppc:</h3>
939:
940: <p>
941: Burn the image from a mirror site to a CDROM, and power on your machine
942: while holding down the <i>C</i> key until the display turns on and
943: shows <i>OpenBSD/macppc boot</i>.
944:
945: <p>
946: Alternatively, at the Open Firmware prompt, enter <i>boot cd:,ofwboot
947: /7.1/macppc/bsd.rd</i>
948:
949: <h3>OpenBSD/octeon:</h3>
950:
951: <p>
952: After connecting a serial port, boot bsd.rd over the network via DHCP/tftp.
953: Refer to the instructions in INSTALL.octeon for more details.
954:
955: <h3>OpenBSD/powerpc64:</h3>
956:
957: <p>
958: To install, write <i>install71.img</i> or <i>miniroot71.img</i> to a
959: USB stick, plug it into the machine and choose the <i>OpenBSD
960: install</i> menu item in Petitboot.
961: Refer to the instructions in INSTALL.powerpc64 for more details.
962:
963: <h3>OpenBSD/riscv64:</h3>
964:
965: <p>
966: To install, write <i>install71.img</i> or <i>miniroot71.img</i> to a
967: USB stick, and boot with that drive plugged in.
968: Make sure you also have the microSD card plugged in that shipped with the
969: HiFive Unmatched board.
970: Refer to the instructions in INSTALL.riscv64 for more details.
971:
972: <h3>OpenBSD/sparc64:</h3>
973:
974: <p>
975: Burn the image from a mirror site to a CDROM, boot from it, and type
976: <i>boot cdrom</i>.
977:
978: <p>
979: If this doesn't work, or if you don't have a CDROM drive, you can write
980: <i>floppy71.img</i> or <i>floppyB71.img</i>
981: (depending on your machine) to a floppy and boot it with <i>boot
982: floppy</i>. Refer to INSTALL.sparc64 for details.
983:
984: <p>
985: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install
986: will most likely fail.
987:
988: <p>
989: You can also write <i>miniroot71.img</i> to the swap partition on
990: the disk and boot with <i>boot disk:b</i>.
991:
992: <p>
993: If nothing works, you can boot over the network as described in INSTALL.sparc64.
994: </section>
995:
996: <hr>
997:
998: <section id=upgrade>
999: <h3>How to upgrade</h3>
1000: <p>
1.6 tj 1001: If you already have an OpenBSD 7.0 system, and do not want to reinstall,
1.1 deraadt 1002: upgrade instructions and advice can be found in the
1003: <a href="faq/upgrade71.html">Upgrade Guide</a>.
1004: </section>
1005:
1006: <hr>
1007:
1008: <section id=sourcecode>
1009: <h3>Notes about the source code</h3>
1010: <p>
1011: <code>src.tar.gz</code> contains a source archive starting at <code>/usr/src</code>.
1012: This file contains everything you need except for the kernel sources,
1013: which are in a separate archive.
1014: To extract:
1015: <blockquote><pre>
1016: # <kbd>mkdir -p /usr/src</kbd>
1017: # <kbd>cd /usr/src</kbd>
1018: # <kbd>tar xvfz /tmp/src.tar.gz</kbd>
1019: </pre></blockquote>
1020: <p>
1021: <code>sys.tar.gz</code> contains a source archive starting at <code>/usr/src/sys</code>.
1022: This file contains all the kernel sources you need to rebuild kernels.
1023: To extract:
1024: <blockquote><pre>
1025: # <kbd>mkdir -p /usr/src/sys</kbd>
1026: # <kbd>cd /usr/src</kbd>
1027: # <kbd>tar xvfz /tmp/sys.tar.gz</kbd>
1028: </pre></blockquote>
1029: <p>
1030: Both of these trees are a regular CVS checkout. Using these trees it
1031: is possible to get a head-start on using the anoncvs servers as
1032: described <a href="anoncvs.html">here</a>.
1033: Using these files
1034: results in a much faster initial CVS update than you could expect from
1035: a fresh checkout of the full OpenBSD source tree.
1036: </section>
1037:
1038: <hr>
1039:
1040: <section id=ports>
1041: <h3>Ports Tree</h3>
1042: <p>
1043: A ports tree archive is also provided. To extract:
1044: <blockquote><pre>
1045: # <kbd>cd /usr</kbd>
1046: # <kbd>tar xvfz /tmp/ports.tar.gz</kbd>
1047: </pre></blockquote>
1048: <p>
1049: Go read the <a href="faq/ports/index.html">ports</a> page
1050: if you know nothing about ports
1051: at this point. This text is not a manual of how to use ports.
1052: Rather, it is a set of notes meant to kickstart the user on the
1053: OpenBSD ports system.
1054: <p>
1055: The <i>ports/</i> directory represents a CVS checkout of our ports.
1056: As with our complete source tree, our ports tree is available via
1057: <a href="anoncvs.html">AnonCVS</a>.
1058: So, in order to keep up to date with the -stable branch, you must make
1059: the <i>ports/</i> tree available on a read-write medium and update the tree
1060: with a command like:
1061: <blockquote><pre>
1062: # <kbd>cd /usr/ports</kbd>
1063: # <kbd>cvs -d anoncvs@server.openbsd.org:/cvs update -Pd -rOPENBSD_7_1</kbd>
1064: </pre></blockquote>
1065: <p>
1066: [Of course, you must replace the server name here with a nearby anoncvs
1067: server.]
1068: <p>
1069: Note that most ports are available as packages on our mirrors. Updated
1070: ports for the 7.1 release will be made available if problems arise.
1071: <p>
1072: If you're interested in seeing a port added, would like to help out, or just
1073: would like to know more, the mailing list
1074: <a href="mail.html">ports@openbsd.org</a> is a good place to know.
1075: </section>