Annotation of www/74.html, Revision 1.19
1.1 deraadt 1: <!doctype html>
2: <html lang=en id=release>
3: <head>
4: <meta charset=utf-8>
5:
6: <title>OpenBSD 7.4</title>
7: <meta name="description" content="OpenBSD 7.4">
8: <meta name="viewport" content="width=device-width, initial-scale=1">
9: <link rel="stylesheet" type="text/css" href="openbsd.css">
10: <link rel="canonical" href="https://www.openbsd.org/74.html">
11: </head><body>
12: <h2 id=OpenBSD>
13: <a href="index.html">
14: <i>Open</i><b>BSD</b></a>
15: 7.4
16: </h2>
17:
18: <table>
19: <tr>
20: <td>
21: <a href="images/XXX.png">
22: <img width="227" height="303" src="images/XXX-s.gif" alt="XXX"></a>
23: <td>
24: Released Oct XXX, 2023. (55th OpenBSD release)<br>
25: Copyright 1997-2023, Theo de Raadt.<br>
26: <br>
1.4 job 27: Artwork by Jessica Scott.
1.1 deraadt 28: <br>
29: <ul>
30: <li>See the information on <a href="ftp.html">the FTP page</a> for
31: a list of mirror machines.
32: <li>Go to the <code class=reldir>pub/OpenBSD/7.4/</code> directory on
33: one of the mirror sites.
34: <li>Have a look at <a href="errata74.html">the 7.4 errata page</a> for a list
35: of bugs and workarounds.
36: <li>See a <a href="plus74.html">detailed log of changes</a> between the
37: 7.3 and 7.4 releases.
38: <p>
39: <li><a href="https://man.openbsd.org/signify.1">signify(1)</a>
40: pubkeys for this release:<p>
41:
42: <table class=signify>
43: <tr><td>
44: openbsd-74-base.pub:
45: <td>
46: <a href="https://ftp.openbsd.org/pub/OpenBSD/7.4/openbsd-74-base.pub">
47: RWRoyQmAD08ajTqgzK3UcWaVlwaJMckH9/CshU8Md5pN1GoIrcBdTF+c</a>
48: <tr><td>
49: openbsd-74-fw.pub:
50: <td>
51: RWTRA9KXRuZKunpXYK0ed5OxbE0K7rYWpDnTu+M8wZdqzRroFqed0U6I
52: <tr><td>
53: openbsd-74-pkg.pub:
54: <td>
55: RWR/h7gubZ9M/O46RNy3PzLTPevOCK24LGCPca41IHMwSH4YuVA+jnWO
56: <tr><td>
57: openbsd-74-syspatch.pub:
58: <td>
59: RWQqty2voy8V8afR9/v2RzuNr7r4y9cKwljABN7Tytd7JcPdBjnXg0Ue
60: </table>
61: </ul>
62: <p>
63: All applicable copyrights and credits are in the src.tar.gz,
64: sys.tar.gz, xenocara.tar.gz, ports.tar.gz files, or in the
65: files fetched via <code>ports.tar.gz</code>.
66: </table>
67:
68: <hr>
69:
70: <section id=new>
71: <h3>What's New</h3>
72: <p>
73: This is a partial list of new features and systems included in OpenBSD 7.4.
74: For a comprehensive list, see the <a href="plus74.html">changelog</a> leading
75: to 7.4.
76:
77: <ul>
78:
79: <li>New/extended platforms:
80: <ul>
1.11 benno 81: <li>On arm64, implement branch target protection using the branch
82: target identification feature introduced in Armv8.5. This provides
83: "head-CFI" to complement the "tail-CFI" provided by retguard, and is
84: supported on Apple M2.
1.1 deraadt 85: </ul>
86:
87: <li>Various kernel improvements:
88: <ul>
1.11 benno 89: <li>On amd64, identify IBT capability in cpu(4) dmesg lines.
90: <li>On arm64, show BT and SBSS features in dmesg(8).
91: <li>Map device tree read/write to unbreak root on softraid(4).
1.1 deraadt 92: </ul>
93:
94: <li>SMP Improvements
95: <ul>
1.15 benno 96: <li>Protect struct clockintr(9)_queue with a mutex so that arbitrary CPUs
97: can manipulate clock interrupts established on arbitrary CPU queues.
98: <li>
99:
1.1 deraadt 100: </ul>
101:
102: <li>Direct Rendering Manager and graphics drivers
103: <ul>
1.18 jsg 104: <li>Updated <a href="https://man.openbsd.org/drm.4">drm(4)</a>
105: to Linux 6.1.55
106: <li>Don't change end marker in sg_set_page(). Caused bad memory accesses
107: when using page flipping on Alder Lake and Raptor Lake.
1.1 deraadt 108: </ul>
109:
110: <li>VMM/VMD improvements
111: <ul>
1.11 benno 112: <li>Avoid use of uninitialised memory in vmd(8).
1.15 benno 113: <li>Migrate vmd_vm.vm_ttyname to char array allowing a vmd_vm
114: object to be transmitted over an ipc channel.
1.1 deraadt 115: </ul>
116:
117: <li>Various new userland features:
118: <ul>
1.11 benno 119: <li>Update zoneinfo to tzdata2023c.
1.1 deraadt 120: </ul>
121:
122: <li>Various bugfixes and tweaks in userland:
123: <ul>
1.11 benno 124: <li>Refactoring and documenting of fdisk(8) code, to make the code
125: easier to maintain.
126: <li>In clang, allow out-of-class defaulting of comparison operators,
127: by ways of backporting an upstream commit.
128: <li>Improve the code of aucat(1) and fix spelling mistakes.
129: <li>Improve the code quality of find(1).
130: <li>Many changes in mg(1):
131: <ul>
132: <li>Improve the readability of the code of mg(1).
133: <li>In mg(1), fall back to /bin/sh if $SHELL is undefined.
134: <li>Fix parsing of tag files with duplicate entries in mg (1).
135: Instead of erroring out ignore duplicates. Fixes using
136: /var/db/libc.tags again.
137: <li>In mg(1), change tagvisit (aka visit-tag-table) to immediately
138: load the tag file, and drop the lazy mechanics.
139: <li>Remove useless global variable in mg(1).
140: <li>Plug memory leak in mg(1).
141: <li>Replace strncpy() with strlcpy() in mg(1).
142: <li>Skip checking permissions of conffile with access(2).
143: </ul>
1.16 jsg 144: <li>On aarch64 architectures improve how BTI control flow integrity
1.11 benno 145: enforcement is implemented in the executable entry point and enable
1.16 jsg 146: support for BTI control flow integrity checks in libc assembly
1.11 benno 147: functions.
148:
1.1 deraadt 149: </ul>
150:
151: <li>Improved hardware support and driver bugfixes, including:
152: <ul>
1.11 benno 153: <li>Add support for the RK3568 32k RTC clock in rkclock(4)
154: <li>In dwpcie(4) attach Baikal-M PCIe.
155: <li>In openfirmware, implement regulator notifiers which get called
156: when the voltage/current for a regulator is changed or when the
157: regulator gets initialized when it attaches for the first time. The
158: latter makes it possible to register a notifier for a regulator that
159: hasn't attached yet.
160: <li>Add rkiovd(4), a driver for the IO voltage domains on Rockchip SoCs.
1.15 benno 161: <li>Add support for TEMPerGold 3.4 temperature sensor to ugold(4).
162: <li>Ignore duplicate ACPI lid transitions as they can happen on Dell
163: Precision 5510 systems.
164: <li>Make RK3568 PCIe controllers run at the maximum possible speed
165: by using dwpcie_link_config() when initializing.
166: <li>In the Universal Flash Storage Host Controller Interface
167: (ufshci(4)) enable Force Unit Access (FUA) for write commands.
1.11 benno 168:
1.1 deraadt 169: </ul>
170:
171: <li>New or improved network hardware support:
172: <ul>
1.11 benno 173: <li>Fix dwqe(4) on several boards that use rgephy(4) by configuring
174: the RGMII interface before taking the PHY out of reset.
175: <li>Document that Intel i226 adapters are supported by igc(4).
176: <li>Add ngbe(4), a driver for WangXun WX1860 PCI Express 10/100/1Gb Ethernet devices.
1.15 benno 177: <li>Add rkusbphy(4), a driver for the usb2phy on Rockchip SoCs.
178: <li>Add support for the RTL8211F-VD PHY in rgephy(4).
179: <li>Enable rkusbphy(4) on arm64.
180: <li>In openfirmware, add glue for network interfaces to be found by
181: fdt/ofw node or phandle in order to support "switch chips" like the
182: marvell link street.
183: <li>Add support for enabling both the usb2 and usb3 phys in xhci and ehci.
1.1 deraadt 184: </ul>
185:
186: <li>Added or improved wireless network drivers:
187: <ul>
1.11 benno 188: <li>Improve how Quectel LTE&5G devices attach to umb(4).
1.1 deraadt 189: </ul>
190:
191: <li>IEEE 802.11 wireless stack improvements and bugfixes:
192: <ul>
193: <li>...
194: </ul>
195:
196: <li>Installer, upgrade and bootloader improvements:
197: <ul>
1.11 benno 198: <li>In the arm64 ramdisk, simplify apple firmware copying to make it
199: easier to add new firmware.
200: <li>On armv7 and arm64, silence informational messages from dd(1)
201: when zeroing a disk's first 1MB. Use character not block devices with
202: dd(1) like on other architectures.
203: <li>Refactor the code of md_installboot() on armv7 and arm64 to be
204: more in line with other architectures.
205: <li>Improve the dialogue of the installer without affecting
206: autoinstall(8) files.
1.15 benno 207: <li>Enable ufshci(4) on arm64 install media.
208: <li>Enable ngbe(4) on amd64 install media.
209: <li>On arm64 pine64 boards, stop writing pine64 firmware to disk.
210: <li>Make root on softraid(4) installations boot out of the box on
211: Raspberry Pis (arm64).
212: <li>Support installations with root on softraid on arm64, tested on
213: Pinebook Pro, Raspberry Pi 4b, and SolidRun CEX7.
1.11 benno 214:
1.1 deraadt 215: </ul>
216:
217: <li>Security improvements:
218: <ul>
1.16 jsg 219: <li>Change malloc(3) chunk sizes to be fine grained. [needs better explanation]
1.11 benno 220: <li>In malloc(3), check all chunks in the delayed free list for write-after-free.
1.1 deraadt 221: </ul>
222:
223: <li>Changes in the network stack:
224: <ul>
1.15 benno 225: <li>In pf(4), when redirecting locally generated IP packets to
226: userland with divert-packet rules, the packets may have no checksum
1.17 jsg 227: due to hardware offloading. Calculate the checksum in that case.
1.15 benno 228: <li>Sync the use of getuptime(9) in the Neighbour Discovery (ND) code with ARP.
229: <li>In the IPv6 forwarding code, call getuptime(9) once for
230: consistency with IPv4.
231:
1.1 deraadt 232: </ul>
233:
234: <li>Routing daemons and other userland network improvements:
235: <ul>
236: <li>IPsec support was improved:
237: <ul>
1.11 benno 238: <li>In isakmpd(8), avoid a double free in ec_init() when using the OpenSSL API.
239: <li>In iked(8), do not treat the return value of i2d_ECDSA_SIG() as
1.16 jsg 240: length as it can be negative.
1.11 benno 241: <li>Prepare isakmpd(8) for a libcrypto library that is lacking binary field
242: support.
1.16 jsg 243: <li>In isakmpd(8), avoid a potential crash by adding a missing NULL check.
1.11 benno 244:
1.1 deraadt 245: </ul>
246: <li>In <a href="https://man.openbsd.org/bgpd.8">bgpd(8)</a>,
247: <ul>
248: <li>...
249: </ul>
250: <li><a href="https://man.openbsd.org/rpki-client.8">rpki-client(8)</a> saw some changes:
251: <ul>
252: <li>...
253: </ul>
254:
255: <li>In <a href="https://man.openbsd.org/snmpd.8">snmpd(8)</a>,
256: <ul>
257: <li>...
258: </ul>
259:
1.11 benno 260: <li>Make dig(1) use less deprecated LibreSSL API.
261: <li>In ypldap(8), reduce memory usage when updating larger directories.
1.15 benno 262: <li>Remove stylistic differences between arp(8) and ndp(8) delete()
263: function. This makes it easier to spot real changes in behavior.
1.19 ! fcambus 264: <li>Make ndp(8) not remove cloning routes when no neighbor entry is
1.15 benno 265: found with <code>ndp -d</code>.
1.1 deraadt 266: </ul>
267:
268: <li><a href="https://man.openbsd.org/tmux.1">tmux(1)</a> improvements and bug fixes:
269: <ul>
1.11 benno 270: <li>For passthrough, don't write to clients attached to different sessions.
271: <li>Add a format to show if there are unseen changes while in a mode.
1.1 deraadt 272: </ul>
273:
1.7 tb 274: <li>LibreSSL version 3.8.2
1.1 deraadt 275: <ul>
1.7 tb 276: <li>Security fixes
277: <ul>
278: <li>Disabled TLSv1.0 and TLSv1.1 in libssl so that they may no longer
279: be selected for use.
280: <li>BN_is_prime{,_fasttest}_ex() refuse to check numbers larger than
281: 32 kbits for primality. This mitigates various DoS vectors.
282: <li>Restricted the RFC 3779 code to IPv4 and IPv6. It was not written
283: to be able to deal with anything else.
284: </ul>
285: <li>Portable changes
286: <ul>
287: <li>Extended the endian.h compat header with hto* and *toh macros.
288: <li>Adapted more tests to the portable framework.
289: <li>Internal tools are now statically linked.
290: <li>Applications bundled as part of the LibreSSL package internally,
291: nc(1) and openssl(1), now are linked statically if static libraries
292: are built.
293: <li>Internal compatibility function symbols are no longer exported from
294: libcrypto. Instead, the libcompat library is linked to libcrypto,
295: libssl, and libtls separately. This increases size a little, but
296: ensures that the libraries are not exporting symbols to programs
297: unintentionally.
298: <li>Selective removal of CET implementation on platforms where it is
299: not supported (macOS).
300: <li>Integrated four more tests.
301: <li>Added Windows ARM64 architecture to tested platforms.
302: <li>Removed Solaris 10 support, fixed Solaris 11.
303: <li>libtls no longer links statically to libcrypto / libssl unless
304: <code>--enable-libtls-only</code> is specified at configure time.
305: <li>Improved Windows compatibility library, namely handling of files vs
306: sockets, correcting an exception when operating on a closed socket.
307: <li>CMake builds no longer hardcode <code>-O2</code> into the compiler flags,
308: instead using flags from the CMake build type instead.
309: <li>Set the CMake default build type to <code>Release</code>. This can be overridden
310: during configuration.
311: <li>Fixed broken ASM support with MinGW builds.
312: </ul>
1.1 deraadt 313: <li>New features
314: <ul>
1.7 tb 315: <li>Added support for truncated SHA-2 and for SHA-3.
316: <li>The BPSW primality test performs additional Miller-Rabin rounds
317: with random bases to reduce the likelihood of composites passing.
318: <li>Allow testing of ciphers and digests using badly aligned buffers
319: in openssl speed using -unalign.
320: <li>Ed25519 certificates are now supported in openssl(1) ca and req.
321: Prepared Ed25519 support in libssl.
322: <li>Add branch target information (BTI) support to amd64 and arm64
323: assembly.
1.1 deraadt 324: </ul>
325: <li>Compatibility changes
326: <ul>
1.7 tb 327: <li>Added a workaround for a poorly thought-out change in OpenSSL 3 that
328: broke privilege separation support in libtls.
329: <li>Moved libtls from ECDSA_METHOD to EC_KEY_METHOD.
330: <li>Removed GF2m support: BIGNUM no longer supports binary extension
331: field arithmetic and all binary elliptic builtin curves were removed.
332: <li>Removed dangerous, "fast" NIST prime and elliptic curve implementations.
333: In particular, EC_GFp_nist_method() is no longer available.
334: <li>Removed most public symbols that were deprecated in OpenSSL 0.9.8.
335: <li>Removed the public X9.31 API (RSA_X931_PADDING is still available).
336: <li>Removed Cipher Text Stealing mode.
337: <li>Removed ENGINE support, including ECDH_METHOD and ECDSA_METHOD.
338: <li>Removed COMP, DSO, dynamic loading of conf modules and support for
339: custom ex_data and error stacks.
340: <li>Removed proxy certificate (RFC 3820) support.
341: <li>Removed SXNET and NETSCAPE_CERT_SEQUENCE support including the
1.8 tb 342: openssl(1) nseq command.
1.7 tb 343: <li>ENGINE support was removed and OPENSSL_NO_ENGINE is set. In spite
344: of this, some stub functions are provided to avoid patching some
345: applications that do not honor OPENSSL_NO_ENGINE.
346: <li>The POLICY_TREE and its related structures and API were removed.
347: <li>In X509_VERIFY_PARAM_inherit() copy hostflags independently of the
348: host list.
349: <li>Made CRYPTO_get_ex_new_index() not return 0 to allow applications
350: to use *_{get,set}_app_data() and *_{get,set}_ex_data() alongside
351: each other.
352: <li>X509_NAME_get_text_by_{NID,OBJ}() now only succeed if they contain
353: valid UTF-8 without embedded NUL.
354: <li>The explicitText user notice uses UTF8String instead of VisibleString
355: to reduce the risk of emitting certificates with invalid DER-encoding.
356: <li>Initial fixes for RSA-PSS support to make the TLSv1.3 stack more
357: compliant with RFC 8446.
358: <li>Fixed EVP_CIPHER_CTX_iv_length() to return what was set with
359: EVP_CTRL_AEAD_SET_IVLEN or one of its aliases.
1.1 deraadt 360: </ul>
1.7 tb 361: <li>Internal improvements
1.1 deraadt 362: <ul>
1.7 tb 363: <li>Improved sieve of Eratosthenes script used for generating a table
364: of small primes.
365: <li>Removed incomplete and dangerous BN_RECURSION code.
366: <li>Imported RFC 5280 policy checking code from BoringSSL and used it
367: to replace the old exponential time code.
368: <li>Converted more of libcrypto to use CBB/CBS.
369: <li>Started cleaning up and rewriting SHA internals.
370: <li>Reduced the dependency of hash implementations on many layers of
371: macros. This results in significant speedups since modern compilers
372: are now less confused.
373: <li>Improved BIGNUM internals and performance.
374: <li>Significantly simplified the BN_BLINDING internals used in RSA.
375: <li>Made BN_num_bits() independent of bn->top.
376: <li>Rewrote and simplified bn_sqr().
377: <li>Significantly improved Montgomery multiplication performance.
378: <li>Rewrote and improved BN_exp() and BN_copy().
379: <li>Changed ASN1_item_sign_ctx() and ASN1_item_verify() to work with
380: Ed25519 and fixed a few bugs in there.
381: <li>Lots of cleanup for DH, DSA, EC, RSA internals. Plugged numerous
382: memory leaks, fixed logic errors and inconsistencies.
383: <li>Cleaned up and simplified various ECDH and ECDSA internals.
384: <li>Removed EC_GROUP precomp machinery.
385: <li>Fixed various issues with EVP_PKEY_CTX_{new,dup}().
386: <li>Rewrote OBJ_find_sigid_algs() and OBJ_find_sigid_by_algs().
387: <li>Improved X.509 certificate version checks.
388: <li>Ensure no X.509v3 extensions appear more than once in certificates.
389: <li>Replaced ASN1_bn_print with a cleaner internal implementation.
390: <li>Fix OPENSSL_cpuid_setup() invocations on arm/aarch64.
391: <li>Improved checks for commonName in libtls.
392: <li>Fixed error check for X509_get_ext_d2i() failure in libtls.
393: <li>Removed code guarded by #ifdef ZLIB.
394: <li>Plug a potential memory leak in ASN1_TIME_normalize().
395: <li>Fixed a use of uninitialized in i2r_IPAddrBlocks().
396: <li>Rewrote CMS_SignerInfo_{sign,verify}().
1.1 deraadt 397: </ul>
1.7 tb 398: <li>Bug fixes
1.1 deraadt 399: <ul>
1.7 tb 400: <li>Correctly handle negative input to various BIGNUM functions.
401: <li>Ensure ERR_load_ERR_strings() does not set errno unexpectedly.
402: <li>Fix error checking of i2d_ECDSA_SIG() in ossl_ecdsa_sign().
1.8 tb 403: <li>Fixed aliasing issue in BN_mod_inverse(). Disallowed aliasing of result
404: and modulus in various BN_mod_* functions.
1.7 tb 405: <li>Fixed detection of extended operations (XOP) on AMD hardware.
406: <li>Ensure Montgomery exponentiation is used for the initial RSA blinding.
407: <li>Policy is always checked in X509 validation. Critical policy extensions
408: are no longer silently ignored.
409: <li>Fixed error handling in tls_check_common_name().
410: <li>Add missing pointer invalidation in SSL_free().
411: <li>Fixed X509err() and X509V3err() and their internal versions.
412: <li>Ensure that OBJ_obj2txt() always returns a C string again.
413: <li>Made EVP_PKEY_set1_hkdf_key() fail on a NULL key.
414: <li>On socket errors in the poll loop, netcat could issue system calls
415: on invalidated file descriptors.
416: <li>Allow IP addresses to be specified in a URI.
417: <li>Fixed a copy-paste error in ASN1_TIME_compare() that could lead
418: to two UTCTimes or two GeneralizedTimes incorrectly being compared
419: as equal.
420: </ul>
421: <li>Documentation improvements
422: <ul>
423: <li>Improved documentation of BIO_ctrl(3), BIO_set_info_callback(3),
424: BIO_get_info_callback(3), BIO_method_type(3), and BIO_method_name(3).
425: <li>Marked BIO_CB_return(), BIO_cb_pre(), and BIO_cb_post() as intentionally
426: undocumented.
427: <li>Made it very explicit that the verify callback should not be used.
428: <li>Called out that the CRL lastUpdate is standardized as thisUpdate.
429: <li>Documented the RFC 3779 API and its shortcomings.
430: </ul>
431: <li>Testing and Proactive Security
432: <ul>
433: <li>Significantly improved test coverage of BN_mod_sqrt() and GCD.
434: <li>As always, new test coverage is added as bugs are fixed and subsystems
435: are cleaned up.
1.1 deraadt 436: </ul>
437: </ul>
438:
1.13 dtucker 439: <li>OpenSSH 9.5 and OpenSSH 9.4
1.1 deraadt 440: <ul>
1.12 dtucker 441: <li>Potentially incompatible changes
1.1 deraadt 442: <ul>
1.12 dtucker 443: <li><a href="https://man.openbsd.org/ssh-keygen.1">ssh-keygen(1)</a>:
444: generate Ed25519 keys by default. Ed25519 public keys
445: are very convenient due to their small size. Ed25519 keys are
446: specified in RFC 8709 and OpenSSH has supported them since version 6.5
447: (January 2014).
448: <li><a href="https://man.openbsd.org/sshd.8">sshd(8)</a>:
449: the Subsystem directive now accurately preserves quoting of
450: subsystem commands and arguments. This may change behaviour for exotic
451: configurations, but the most common subsystem configuration
452: (sftp-server) is unlikely to be affected.
1.13 dtucker 453: <li><a href="https://man.openbsd.org/ssh-agent.1">ssh-agent(1)</a>:
454: PKCS#11 modules must now be specified by their full
455: paths. Previously dlopen(3) could search for them in system
456: library directories.
1.1 deraadt 457: </ul>
1.12 dtucker 458: <li>New features
1.1 deraadt 459: <ul>
1.12 dtucker 460: <li><a href="https://man.openbsd.org/ssh.1">ssh(1)</a>:
461: add keystroke timing obfuscation to the client. This attempts
462: to hide inter-keystroke timings by sending interactive traffic at
463: fixed intervals (default: every 20ms) when there is only a small
464: amount of data being sent. It also sends fake "chaff" keystrokes for
465: a random interval after the last real keystroke. These are
466: controlled by a new ssh_config ObscureKeystrokeTiming keyword.
467: <li><a href="https://man.openbsd.org/ssh.1">ssh(1)</a>,
468: <a href="https://man.openbsd.org/sshd.8">sshd(8)</a>:
469: Introduce a transport-level ping facility. This adds
470: a pair of SSH transport protocol messages SSH2_MSG_PING/PONG to
471: implement a ping capability. These messages use numbers in the "local
472: extensions" number space and are advertised using a "ping@openssh.com"
473: ext-info message with a string version number of "0".
1.13 dtucker 474: <li><a href="https://man.openbsd.org/sshd.8">sshd(8)</a>:
475: allow override of Subsystem directives in sshd Match blocks.
476: <li><a href="https://man.openbsd.org/ssh.1">ssh(1)</a>:
477: allow forwarding Unix Domain sockets via ssh -W.
478: <li><a href="https://man.openbsd.org/ssh.1">ssh(1)</a>:
479: add support for configuration tags to ssh(1).
480: This adds a ssh_config(5) "Tag" directive and corresponding
481: "Match tag" predicate that may be used to select blocks of
482: configuration similar to the pf.conf(5) keywords of the same
483: name.
484: <li><a href="https://man.openbsd.org/ssh.1">ssh(1)</a>:
485: add a "match localnetwork" predicate. This allows matching
486: on the addresses of available network interfaces and may be used to
487: vary the effective client configuration based on network location.
488: <li><a href="https://man.openbsd.org/ssh.1">ssh(1)</a>,
489: <a href="https://man.openbsd.org/sshd.8">sshd(8)</a>,
490: <a href="https://man.openbsd.org/ssh-keygen.1">ssh-keygen(1)</a>:
491: infrastructure support for KRL
492: extensions. This defines wire formats for optional KRL extensions
493: and implements parsing of the new submessages. No actual extensions
494: are supported at this point.
495: <li><a href="https://man.openbsd.org/sshd.8">sshd(8)</a>:
496: AuthorizedPrincipalsCommand and AuthorizedKeysCommand now
497: accept two additional %-expansion sequences: %D which expands to
498: the routing domain of the connected session and %C which expands
499: to the addresses and port numbers for the source and destination
500: of the connection.
501: <li><a href="https://man.openbsd.org/ssh-keygen.1">ssh-keygen(1)</a>:
502: increase the default work factor (rounds) for the
503: bcrypt KDF used to derive symmetric encryption keys for passphrase
504: protected key files by 50%.
1.1 deraadt 505: </ul>
506: <li>Bugfixes
507: <ul>
1.12 dtucker 508: <li><a href="https://man.openbsd.org/scp.1">scp(1)</a>:
509: fix scp in SFTP mode recursive upload and download of
510: directories that contain symlinks to other directories. In scp mode,
511: the links would be followed, but in SFTP mode they were not.
512: <li><a href="https://man.openbsd.org/ssh-keygen.1">ssh-keygen(1)</a>:
513: handle cr+lf (instead of just cr) line endings in
514: sshsig signature files.
515: <li><a href="https://man.openbsd.org/ssh.1">ssh(1)</a>:
516: interactive mode for ControlPersist sessions if they
517: originally requested a tty.
518: <li><a href="https://man.openbsd.org/sshd.8">sshd(8)</a>:
519: make PerSourceMaxStartups first-match-wins
520: <li><a href="https://man.openbsd.org/sshd.8">sshd(8)</a>:
521: limit artificial login delay to a reasonable maximum (5s)
522: and don't delay at all for the "none" authentication mechanism.
1.13 dtucker 523: <li><a href="https://man.openbsd.org/sshd.8">sshd(8)</a>:
524: Log errors in kex_exchange_identification() with level
1.12 dtucker 525: verbose instead of error to reduce preauth log spam. All of those
526: get logged with a more generic error message by sshpkt_fatal().
527: <li><a href="https://man.openbsd.org/sshd.8">sshd(8)</a>:
528: correct math for ClientAliveInterval that caused the probes
529: to be sent less frequently than configured.
1.13 dtucker 530: <li><a href="https://man.openbsd.org/ssh-agent.1">ssh-agent(1)</a>:
531: improve isolation between loaded PKCS#11 modules
532: by running separate ssh-pkcs11-helpers for each loaded provider.
533: <li><a href="https://man.openbsd.org/ssh.1">ssh(1)</a>:
534: make -f (fork after authentication) work correctly with
535: multiplexed connections, including ControlPersist.
536: <li><a href="https://man.openbsd.org/ssh.1">ssh(1)</a>:
537: make ConnectTimeout apply to multiplexing sockets and not
538: just to network connections.
539: <li><a href="https://man.openbsd.org/ssh-agent.1">ssh-agent(1)</a>,
540: <a href="https://man.openbsd.org/ssh.1">ssh(1)</a>:
541: improve defences against invalid PKCS#11
542: modules being loaded by checking that the requested module
543: contains the required symbol before loading it.
544: <li><a href="https://man.openbsd.org/sshd.8">sshd(8)</a>:
545: fix AuthorizedPrincipalsCommand when AuthorizedKeysCommand
546: appears before it in sshd_config. Since OpenSSH 8.7 the
547: AuthorizedPrincipalsCommand directive was incorrectly ignored in
548: this situation.
549: <li><a href="https://man.openbsd.org/sshd.8">sshd(8)</a>,
550: <a href="https://man.openbsd.org/ssh.1">ssh(1)</a>,
551: <a href="https://man.openbsd.org/ssh-keygen.1">ssh-keygen(1)</a>:
1.16 jsg 552: remove vestigial support for KRL
1.13 dtucker 553: signatures When the KRL format was originally defined, it included
554: support for signing of KRL objects. However, the code to sign KRLs
1.16 jsg 555: and verify KRL signatures was never completed in OpenSSH. This
1.13 dtucker 556: release removes the partially-implemented code to verify KRLs.
557: All OpenSSH tools now ignore KRL_SECTION_SIGNATURE sections in
558: KRL files.
559: <li>All: fix a number of memory leaks and unreachable/harmless integer
560: overflows.
561: <li><a href="https://man.openbsd.org/ssh-agent.1">ssh-agent(1)</a>,
562: <a href="https://man.openbsd.org/ssh.1">ssh(1)</a>:
563: don't truncate strings logged from PKCS#11 modules
564: <li><a href="https://man.openbsd.org/sshd.8">sshd(8)</a>,
565: <a href="https://man.openbsd.org/ssh.1">ssh(1)</a>:
566: better validate CASignatureAlgorithms in
567: ssh_config and sshd_config. Previously this directive would accept
568: certificate algorithm names, but these were unusable in practice as
569: OpenSSH does not support CA chains.
570: <li><a href="https://man.openbsd.org/ssh.1">ssh(1)</a>:
571: make <code>ssh -Q CASignatureAlgorithms</code> only list signature
572: algorithms that are valid for CA signing. Previous behaviour was
573: to list all signing algorithms, including certificate algorithms.
574: <li><a href="https://man.openbsd.org/ssh-keyscan.1">ssh-keyscan(1)</a>:
575: gracefully handle systems where rlimits or the
576: maximum number of open files is larger than INT_MAX
577: <li><a href="https://man.openbsd.org/ssh-keygen.1">ssh-keygen(1)</a>:
578: fix "no comment" not showing on when running
579: <code>ssh-keygen -l</code> on multiple keys where one has a comment
580: and other following keys do not.
581: <li><a href="https://man.openbsd.org/scp.1">scp(1)</a>,
1.14 dtucker 582: <a href="https://man.openbsd.org/sftp.1">sftp(1)</a>:
1.13 dtucker 583: adjust ftruncate() logic to handle servers that
584: reorder requests. Previously, if the server reordered requests then
585: the resultant file would be erroneously truncated.
586: <li><a href="https://man.openbsd.org/ssh.1">ssh(1)</a>:
587: don't incorrectly disable hostname canonicalization when
1.16 jsg 588: CanonicalizeHostname=yes and ProxyJump was explicitly set to
1.13 dtucker 589: "none".
590: <li><a href="https://man.openbsd.org/scp.1">scp(1)</a>:
591: when copying local to remote, check that the source file
592: exists before opening an SFTP connection to the server.
1.1 deraadt 593: </ul>
594: </ul>
595:
596: <li>mandoc XXX plus some new features and many bugfixes, including:
597: <ul>
598: <li>...
599: </ul>
600:
601: <li>Ports and packages:
602: <p>Many pre-built packages for each architecture:
603: <!-- number of FTP packages minus SHA256, SHA256.sig, index.txt -->
604: <ul style="column-count: 3">
605: <li>aarch64:
606: <li>amd64:
607: <li>arm:
608: <li>i386:
609: <li>mips64:
610: <li>powerpc:
611: <li>powerpc64:
612: <li>riscv64:
613: <li>sparc64:
614: </ul>
615:
616: <p>Some highlights:
1.7 tb 617: <ul style="column-count: 3"><!-- XXX all need to be checked/updated 2023-03-04 -->
1.6 matthieu 618: <li>Asterisk 16.30.1, 18.19.0 and 20.4.0
1.5 matthieu 619: <li>Audacity 3.3.3
620: <li>CMake 3.27.5
1.10 matthieu 621: <li>Chromium 117.0.5838.149
1.5 matthieu 622: <li>Emacs 29.1
623: <li>FFmpeg 4.4.4
1.1 deraadt 624: <li>GCC 8.4.0 and 11.2.0
1.5 matthieu 625: <li>GHC 9.2.7
626: <li>GNOME 44
627: <li>Go 1.21.1
628: <li>JDK 8u382, 11.0.20 and 17.0.8
629: <li>KDE Applications 23.08.0
1.1 deraadt 630: <li>KDE Frameworks 5.98.0
1.5 matthieu 631: <li>Krita 5.1.5
632: <li>LLVM/Clang 13.0.0 and 16.0.6
633: <li>LibreOffice 7.6.2.1
634: <li>Lua 5.1.5, 5.2.4, 5.3.6 and 5.4.6
635: <li>MariaDB 10.9.6
636: <li>Mono 6.12.0.199
637: <li>Mozilla Firefox 118.0.1 and ESR 115.3.1
638: <li>Mozilla Thunderbird 115.3.1
639: <li>Mutt 2.2.12 and NeoMutt 20230517
640: <li>Node.js 18.18.0
1.1 deraadt 641: <li>OCaml 4.12.1
1.5 matthieu 642: <li>OpenLDAP 2.6.6
643: <li>PHP 7.4.33, 8.0.30, 8.1.24 and 8.2.11
644: <li>Postfix 3.7.3
645: <li>PostgreSQL 15.4
646: <li>Python 2.7.18, 3.9.18, 3.10.13 and 3.11.5
647: <li>Qt 5.15.10 and 6.5.2
648: <li>R 4.2.3
649: <li>Ruby 3.0.6, 3.1.4 and 3.2.2
650: <li>Rust 1.72.1
1.9 lteo 651: <li>SQLite 3.42.0
1.5 matthieu 652: <li>Shotcut 23.07.29
653: <li>Sudo 1.9.14.2
654: <li>Suricata 6.0.12
655: <li>Tcl/Tk 8.5.19 and 8.6.13
656: <li>TeX Live 2022
657: <li>Vim 9.0.1897 and Neovim 0.9.1
658: <li>Xfce 4.18
1.1 deraadt 659: </ul>
660: <p>
661:
662: <li>As usual, steady improvements in manual pages and other documentation.
663:
664: <li>The system includes the following major components from outside suppliers:
1.7 tb 665: <ul><!-- XXX all need to be checked/updated 2023-03-04 -->
1.5 matthieu 666: <li>Xenocara (based on X.Org 7.7 with xserver 21.1.8 + patches,
667: freetype 2.13.0, fontconfig 2.14.2, Mesa 22.3.7, xterm 378,
1.1 deraadt 668: xkeyboard-config 2.20, fonttosfnt 1.2.2 and more)
669: <li>LLVM/Clang 13.0.0 (+ patches)
670: <li>GCC 4.2.1 (+ patches) and 3.3.6 (+ patches)
1.5 matthieu 671: <li>Perl 5.36.1 (+ patches)
672: <li>NSD 4.7.0
673: <li>Unbound 1.18.0
1.1 deraadt 674: <li>Ncurses 5.7
675: <li>Binutils 2.17 (+ patches)
676: <li>Gdb 6.3 (+ patches)
1.5 matthieu 677: <li>Awk September 12, 2023
678: <li>Expat 2.5.0
1.1 deraadt 679: </ul>
680:
681: </ul>
682: </section>
683:
684: <hr>
685:
686: <section id=install>
687: <h3>How to install</h3>
688: <p>
689: Please refer to the following files on the mirror site for
690: extensive details on how to install OpenBSD 7.4 on your machine:
691:
692: <ul>
693: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/7.4/alpha/INSTALL.alpha">
1.2 jsg 694: .../OpenBSD/7.4/alpha/INSTALL.alpha</a>
1.1 deraadt 695: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/7.4/amd64/INSTALL.amd64">
1.2 jsg 696: .../OpenBSD/7.4/amd64/INSTALL.amd64</a>
1.1 deraadt 697: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/7.4/arm64/INSTALL.arm64">
1.2 jsg 698: .../OpenBSD/7.4/arm64/INSTALL.arm64</a>
1.1 deraadt 699: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/7.4/armv7/INSTALL.armv7">
1.2 jsg 700: .../OpenBSD/7.4/armv7/INSTALL.armv7</a>
1.1 deraadt 701: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/7.4/hppa/INSTALL.hppa">
1.2 jsg 702: .../OpenBSD/7.4/hppa/INSTALL.hppa</a>
1.1 deraadt 703: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/7.4/i386/INSTALL.i386">
1.2 jsg 704: .../OpenBSD/7.4/i386/INSTALL.i386</a>
1.1 deraadt 705: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/7.4/landisk/INSTALL.landisk">
1.2 jsg 706: .../OpenBSD/7.4/landisk/INSTALL.landisk</a>
1.1 deraadt 707: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/7.4/loongson/INSTALL.loongson">
1.2 jsg 708: .../OpenBSD/7.4/loongson/INSTALL.loongson</a>
1.1 deraadt 709: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/7.4/luna88k/INSTALL.luna88k">
1.2 jsg 710: .../OpenBSD/7.4/luna88k/INSTALL.luna88k</a>
1.1 deraadt 711: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/7.4/macppc/INSTALL.macppc">
1.2 jsg 712: .../OpenBSD/7.4/macppc/INSTALL.macppc</a>
1.1 deraadt 713: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/7.4/octeon/INSTALL.octeon">
1.2 jsg 714: .../OpenBSD/7.4/octeon/INSTALL.octeon</a>
1.1 deraadt 715: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/7.4/powerpc64/INSTALL.powerpc64">
1.2 jsg 716: .../OpenBSD/7.4/powerpc64/INSTALL.powerpc64</a>
1.1 deraadt 717: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/7.4/riscv64/INSTALL.riscv64">
1.2 jsg 718: .../OpenBSD/7.4/riscv64/INSTALL.riscv64</a>
1.1 deraadt 719: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/7.4/sparc64/INSTALL.sparc64">
1.2 jsg 720: .../OpenBSD/7.4/sparc64/INSTALL.sparc64</a>
1.1 deraadt 721: </ul>
722: </section>
723:
724: <hr>
725:
726: <section id=quickinstall>
727: <p>
728: Quick installer information for people familiar with OpenBSD, and the use of
729: the "<a href="https://man.openbsd.org/disklabel.8">disklabel</a> -E" command.
730: If you are at all confused when installing OpenBSD, read the relevant
731: INSTALL.* file as listed above!
732:
733: <h3>OpenBSD/alpha:</h3>
734:
735: <p>
736: If your machine can boot from CD, you can write <i>install74.iso</i> or
737: <i>cd74.iso</i> to a CD and boot from it.
738: Refer to INSTALL.alpha for more details.
739:
740: <h3>OpenBSD/amd64:</h3>
741:
742: <p>
743: If your machine can boot from CD, you can write <i>install74.iso</i> or
744: <i>cd74.iso</i> to a CD and boot from it.
745: You may need to adjust your BIOS options first.
746:
747: <p>
748: If your machine can boot from USB, you can write <i>install74.img</i> or
749: <i>miniroot74.img</i> to a USB stick and boot from it.
750:
751: <p>
752: If you can't boot from a CD, floppy disk, or USB,
753: you can install across the network using PXE as described in the included
754: INSTALL.amd64 document.
755:
756: <p>
757: If you are planning to dual boot OpenBSD with another OS, you will need to
758: read INSTALL.amd64.
759:
760: <h3>OpenBSD/arm64:</h3>
761:
762: <p>
763: Write <i>install74.img</i> or <i>miniroot74.img</i> to a disk and boot from it
764: after connecting to the serial console. Refer to INSTALL.arm64 for more
765: details.
766:
767: <h3>OpenBSD/armv7:</h3>
768:
769: <p>
770: Write a system specific miniroot to an SD card and boot from it after connecting
771: to the serial console. Refer to INSTALL.armv7 for more details.
772:
773: <h3>OpenBSD/hppa:</h3>
774:
775: <p>
776: Boot over the network by following the instructions in INSTALL.hppa or the
777: <a href="hppa.html#install">hppa platform page</a>.
778:
779: <h3>OpenBSD/i386:</h3>
780:
781: <p>
782: If your machine can boot from CD, you can write <i>install74.iso</i> or
783: <i>cd74.iso</i> to a CD and boot from it.
784: You may need to adjust your BIOS options first.
785:
786: <p>
787: If your machine can boot from USB, you can write <i>install74.img</i> or
788: <i>miniroot74.img</i> to a USB stick and boot from it.
789:
790: <p>
791: If you can't boot from a CD, floppy disk, or USB,
792: you can install across the network using PXE as described in
793: the included INSTALL.i386 document.
794:
795: <p>
796: If you are planning on dual booting OpenBSD with another OS, you will need to
797: read INSTALL.i386.
798:
799: <h3>OpenBSD/landisk:</h3>
800:
801: <p>
802: Write <i>miniroot74.img</i> to the start of the CF
803: or disk, and boot normally.
804:
805: <h3>OpenBSD/loongson:</h3>
806:
807: <p>
808: Write <i>miniroot74.img</i> to a USB stick and boot bsd.rd from it
809: or boot bsd.rd via tftp.
810: Refer to the instructions in INSTALL.loongson for more details.
811:
812: <h3>OpenBSD/luna88k:</h3>
813:
814: <p>
815: Copy 'boot' and 'bsd.rd' to a Mach or UniOS partition, and boot the bootloader
816: from the PROM, and then bsd.rd from the bootloader.
817: Refer to the instructions in INSTALL.luna88k for more details.
818:
819: <h3>OpenBSD/macppc:</h3>
820:
821: <p>
822: Burn the image from a mirror site to a CDROM, and power on your machine
823: while holding down the <i>C</i> key until the display turns on and
824: shows <i>OpenBSD/macppc boot</i>.
825:
826: <p>
827: Alternatively, at the Open Firmware prompt, enter <i>boot cd:,ofwboot
1.2 jsg 828: /7.4/macppc/bsd.rd</i>
1.1 deraadt 829:
830: <h3>OpenBSD/octeon:</h3>
831:
832: <p>
833: After connecting a serial port, boot bsd.rd over the network via DHCP/tftp.
834: Refer to the instructions in INSTALL.octeon for more details.
835:
836: <h3>OpenBSD/powerpc64:</h3>
837:
838: <p>
839: To install, write <i>install74.img</i> or <i>miniroot74.img</i> to a
840: USB stick, plug it into the machine and choose the <i>OpenBSD
841: install</i> menu item in Petitboot.
842: Refer to the instructions in INSTALL.powerpc64 for more details.
843:
844: <h3>OpenBSD/riscv64:</h3>
845:
846: <p>
847: To install, write <i>install74.img</i> or <i>miniroot74.img</i> to a
848: USB stick, and boot with that drive plugged in.
849: Make sure you also have the microSD card plugged in that shipped with the
850: HiFive Unmatched board.
851: Refer to the instructions in INSTALL.riscv64 for more details.
852:
853: <h3>OpenBSD/sparc64:</h3>
854:
855: <p>
856: Burn the image from a mirror site to a CDROM, boot from it, and type
857: <i>boot cdrom</i>.
858:
859: <p>
860: If this doesn't work, or if you don't have a CDROM drive, you can write
861: <i>floppy74.img</i> or <i>floppyB74.img</i>
862: (depending on your machine) to a floppy and boot it with <i>boot
863: floppy</i>. Refer to INSTALL.sparc64 for details.
864:
865: <p>
866: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install
867: will most likely fail.
868:
869: <p>
870: You can also write <i>miniroot74.img</i> to the swap partition on
871: the disk and boot with <i>boot disk:b</i>.
872:
873: <p>
874: If nothing works, you can boot over the network as described in INSTALL.sparc64.
875: </section>
876:
877: <hr>
878:
879: <section id=upgrade>
880: <h3>How to upgrade</h3>
881: <p>
1.3 jsg 882: If you already have an OpenBSD 7.3 system, and do not want to reinstall,
1.1 deraadt 883: upgrade instructions and advice can be found in the
884: <a href="faq/upgrade74.html">Upgrade Guide</a>.
885: </section>
886:
887: <hr>
888:
889: <section id=sourcecode>
890: <h3>Notes about the source code</h3>
891: <p>
892: <code>src.tar.gz</code> contains a source archive starting at <code>/usr/src</code>.
893: This file contains everything you need except for the kernel sources,
894: which are in a separate archive.
895: To extract:
896: <blockquote><pre>
897: # <kbd>mkdir -p /usr/src</kbd>
898: # <kbd>cd /usr/src</kbd>
899: # <kbd>tar xvfz /tmp/src.tar.gz</kbd>
900: </pre></blockquote>
901: <p>
902: <code>sys.tar.gz</code> contains a source archive starting at <code>/usr/src/sys</code>.
903: This file contains all the kernel sources you need to rebuild kernels.
904: To extract:
905: <blockquote><pre>
906: # <kbd>mkdir -p /usr/src/sys</kbd>
907: # <kbd>cd /usr/src</kbd>
908: # <kbd>tar xvfz /tmp/sys.tar.gz</kbd>
909: </pre></blockquote>
910: <p>
911: Both of these trees are a regular CVS checkout. Using these trees it
912: is possible to get a head-start on using the anoncvs servers as
913: described <a href="anoncvs.html">here</a>.
914: Using these files
915: results in a much faster initial CVS update than you could expect from
916: a fresh checkout of the full OpenBSD source tree.
917: </section>
918:
919: <hr>
920:
921: <section id=ports>
922: <h3>Ports Tree</h3>
923: <p>
924: A ports tree archive is also provided. To extract:
925: <blockquote><pre>
926: # <kbd>cd /usr</kbd>
927: # <kbd>tar xvfz /tmp/ports.tar.gz</kbd>
928: </pre></blockquote>
929: <p>
930: Go read the <a href="faq/ports/index.html">ports</a> page
931: if you know nothing about ports
932: at this point. This text is not a manual of how to use ports.
933: Rather, it is a set of notes meant to kickstart the user on the
934: OpenBSD ports system.
935: <p>
936: The <i>ports/</i> directory represents a CVS checkout of our ports.
937: As with our complete source tree, our ports tree is available via
938: <a href="anoncvs.html">AnonCVS</a>.
939: So, in order to keep up to date with the -stable branch, you must make
940: the <i>ports/</i> tree available on a read-write medium and update the tree
941: with a command like:
942: <blockquote><pre>
943: # <kbd>cd /usr/ports</kbd>
1.2 jsg 944: # <kbd>cvs -d anoncvs@server.openbsd.org:/cvs update -Pd -rOPENBSD_7_4</kbd>
1.1 deraadt 945: </pre></blockquote>
946: <p>
947: [Of course, you must replace the server name here with a nearby anoncvs
948: server.]
949: <p>
950: Note that most ports are available as packages on our mirrors. Updated
951: ports for the 7.4 release will be made available if problems arise.
952: <p>
953: If you're interested in seeing a port added, would like to help out, or just
954: would like to know more, the mailing list
955: <a href="mail.html">ports@openbsd.org</a> is a good place to know.
956: </section>
957: </body>
958: </html>