[BACK]Return to 74.html CVS log [TXT][DIR] Up to [local] / www

Annotation of www/74.html, Revision 1.21

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