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

Annotation of www/74.html, Revision 1.57

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.
1.26      kn         91:   <li>On arm64, show BTI and SBSS features in
1.21      schwarze   92:       <a href="https://man.openbsd.org/dmesg.8">dmesg(8)</a>.
1.47      schwarze   93:   <li>New <a href="https://man.openbsd.org/kqueue1">kqueue1(2)</a>
                     94:       system call supporting the <code>O_CLOEXEC</code> flag.
1.21      schwarze   95:   <li>Map device tree read/write to unbreak root on
                     96:       <a href="https://man.openbsd.org/softraid.4">softraid(4)</a>.
1.34      krw        97:   <li>Correctly recognize <a href="https://man.openbsd.org/umass.4">umass(4)</a>.
                     98:       floppy disk devices as floppy disks.
1.44      schwarze   99:   <li>In <a href="https://man.openbsd.org/wscons.4">wscons(4)</a>,
                    100:        catch up with box drawing characters which have
1.35      benno     101:        been standardized in unicode after the original wscons code was
                    102:        written and chose placeholder values.
1.51      benno     103:   <li>Take more functions in the network and routing code out
1.50      benno     104:        of kernel lock.
1.51      benno     105:   <li>Implement dt(4) utrace support on amd64 and i386.
1.56      benno     106:   <li>Implement battery management sysctl(8) hw.battery.chargemode, hw.battery.chargestop and
1.1       deraadt   107:   </ul>
                    108:
                    109: <li>SMP Improvements
                    110:   <ul>
1.15      benno     111:   <li>Protect struct clockintr(9)_queue with a mutex so that arbitrary CPUs
                    112:        can manipulate clock interrupts established on arbitrary CPU queues.
1.28      benno     113:   <li>Pushed kernel lock into nd6_resolve().
                    114:   <li>Removed kernel locks from the ARP input path.
                    115:   <li>Pulled MP-safe arprequest() out of kernel lock.
1.44      schwarze  116:   <li>Unlock more parts of
                    117:        <a href="https://man.openbsd.org/ioctl.2">ioctl(2)</a>
                    118:        code in the network stack.
1.51      benno     119:   <li>Remove the kernel lock from IPv6 neighbor discovery.
1.1       deraadt   120:   </ul>
                    121:
                    122: <li>Direct Rendering Manager and graphics drivers
                    123:   <ul>
1.18      jsg       124:   <li>Updated <a href="https://man.openbsd.org/drm.4">drm(4)</a>
                    125:       to Linux 6.1.55
                    126:   <li>Don't change end marker in sg_set_page().  Caused bad memory accesses
                    127:       when using page flipping on Alder Lake and Raptor Lake.
1.1       deraadt   128:   </ul>
                    129:
                    130: <li>VMM/VMD improvements
                    131:   <ul>
1.38      dv        132:   <li>Allowed <a href="https://man.openbsd.org/vmm.4">vmm(4)</a> guests to
                    133:        enable and use supervisor IBT.
1.39      jsg       134:   <li>Suppressed AMD hardware p-state visibility to
1.38      dv        135:        <a href="https://man.openbsd.org/vmm.4">vmm(4)</a> guests.
1.21      schwarze  136:   <li>Avoid use of uninitialised memory in
                    137:       <a href="https://man.openbsd.org/vmd.8">vmd(8)</a>.
1.15      benno     138:   <li>Migrate vmd_vm.vm_ttyname to char array allowing a vmd_vm
1.30      dv        139:         object to be transmitted over an ipc channel.
                    140:   <li>Cleaned up file descriptor closing in
                    141:         <a href="https://man.openbsd.org/vmd.8">vmd(8)</a> vmm process.
                    142:   <li>Fixed vm send/receive, restoring device virtqueue addresses on
                    143:        receive.
                    144:   <li>Introduced <a href="https://man.openbsd.org/execvp.3">execvp(3)</a>
                    145:        after fork for child vm processes.
1.32      schwarze  146:   <li>No longer generate an error in
                    147:       <a href="https://man.openbsd.org/vmd.8">vmd(8)</a> if
                    148:       <a href="https://man.openbsd.org/vm.conf.5">vm.conf(5)</a> is absent.
1.30      dv        149:   <li>Split <a href="https://man.openbsd.org/vmm.4">vmm(4)</a> into MI/MD
                    150:        parts.
                    151:   <li>Introduced multi-process model for
                    152:        <a href="https://man.openbsd.org/vmd.8">vmd(8)</a> virtio block and
                    153:        network devices.
                    154:   <li>Allowed vm owners to override boot kernel when using
                    155:        <a href="https://man.openbsd.org/vmctl.8">vmctl(8)</a> to start a
                    156:        vm.
                    157:   <li>Changed staggered start of vms to number of online CPUs.
                    158:   <li>Fixed a segfault on vm creation.
                    159:   <li>Switched to anonymous shared memory mappings for
                    160:        <a href="https://man.openbsd.org/vmd.8">vmd(8)</a> vm processes,
                    161:        introducing a new <a href="https://man.openbsd.org/vmm.4">vmm(4)</a>
                    162:        <a href="https://man.openbsd.org/ioctl.2">ioctl(2)</a>.
                    163:   <li>Relaxed absolute path requirements for
                    164:        <a href="https://man.openbsd.org/vmd.8">vmd(8)</a> configtest mode (-n).
                    165:   <li>Adjusted shutdown logic by vm id to function similarly as by name.
                    166:   <li>Moved validation of local network prefixes for the internal
                    167:        <a href="https://man.openbsd.org/vmd.8">vmd(8)</a> DHCP service into
                    168:        the config parser.
                    169:   <li>Fixed QCOW2 base images when used with the
                    170:        <a href="https://man.openbsd.org/vmd.8">vmd(8)</a> multi-process device
                    171:        model.
                    172:   <li>Fixed setting verbose logging in child processes.
                    173:   <li>Fixed a race condition related to the emulated i8259 interrupt controller
                    174:        by ignoring interrupt masks on assert.
                    175:   <li>Inlined pending interrupts in the
                    176:        <a href="https://man.openbsd.org/vmm.4">vmm(4)</a>
                    177:        <a href="https://man.openbsd.org/ioctl.2">ioctl(2)</a> for running the
                    178:        vcpu, reducing vm latency.
                    179:   <li>Added zero-copy, vectored io to the
                    180:        <a href="https://man.openbsd.org/vmd.8">vmd(8)</a> virtio block device.
                    181:   <li>Changed to logging <a href="https://man.openbsd.org/vmd.8">vmd(8)</a>
                    182:        vm ids in the vcpu run loop on error and not the ids used by
                    183:        <a href="https://man.openbsd.org/vmm.4">vmm(4)</a>.
                    184:   <li>Fixed a vm pause deadlock.
                    185:   <li>Changed <a href="https://man.openbsd.org/vmd.8">vmd(8)</a> logging format
                    186:        to disambiguate vm and device process by names and indices.
                    187:   <li>Fixed dynamically toggling verbose logging mode with
                    188:        <a href="https://man.openbsd.org/vmctl.8">vmctl(8)</a>.
1.1       deraadt   189:   </ul>
                    190:
                    191: <li>Various new userland features:
                    192:   <ul>
1.20      schwarze  193:   <li>New ISO C11 header <code>&lt;uchar.h&gt;</code> declaring the
                    194:       types <code>char32_t</code> and <code>char16_t</code> and the
                    195:       functions <a href="https://man.openbsd.org/c32rtomb.3">c32rtomb(3)</a>,
                    196:       <a href="https://man.openbsd.org/mbrtoc32.3">mbrtoc32(3)</a>,
                    197:       <a href="https://man.openbsd.org/c16rtomb.3">c16rtomb(3)</a>, and
                    198:       <a href="https://man.openbsd.org/mbrtoc16.3">mbrtoc16(3)</a>.
1.24      otto      199:   <li><a href="https://man.openbsd.org/malloc.3">malloc(3)</a> gains built-in leak detection.
1.47      schwarze  200:   <li>Add many new functions to the
                    201:       <a href="https://man.openbsd.org/imsg_init.3">imsg_init(3)</a> API.
1.46      schwarze  202:   <li>Support <code>${.VARIABLES}</code> in
                    203:       <a href="https://man.openbsd.org/make.1">make(1)</a>,
                    204:       listing the names of all global variables that have been set.
                    205:   <li>New <a href="https://man.openbsd.org/kdump.1">kdump(1)</a>
                    206:       <code>-u</code> option to select
                    207:       <a href="https://man.openbsd.org/utrace.2">utrace(2)</a>
                    208:       tracepoints by label.
                    209:   <li>In <a href="https://man.openbsd.org/openrsync.1">openrsync(1)</a>,
                    210:       support the options <code>--size-only</code> and
                    211:       <code>--ignore-times</code>
1.11      benno     212:   <li>Update zoneinfo to tzdata2023c.
1.34      krw       213:   <li>Accept the <a href="https://man.openbsd.org/ucom.4">ucom(4)</a> fixed
                    214:       name format as a valid format for the
                    215:       <a href="https://man.openbsd.org/cu.1">cu(1)</a> -l option.
1.51      benno     216:   <li>In cron(8) and crontab(5), add support for random offsets when
                    217:        using ranges with a step value in cron.  This extends the random range
                    218:        syntax to support step values.  Instead of choosing a random number
                    219:        between the high and low values, the field is treated as a range with
                    220:        a random offset less than the step value.  This can be used to avoid
                    221:        thundering herd problems where multiple machines contact a server all
                    222:        at the same time via cron jobs.
1.1       deraadt   223:   </ul>
                    224:
                    225: <li>Various bugfixes and tweaks in userland:
                    226:   <ul>
1.33      schwarze  227:   <li>In <a href="https://man.openbsd.org/pax.1">pax(1)</a> and
                    228:       <a href="https://man.openbsd.org/tar.1">tar(1)</a>,
                    229:       speed up archive creation when many files are skipped.
1.46      schwarze  230:   <li>Better diagnostics from
                    231:       <a href="https://man.openbsd.org/make.1">make(1)</a>
                    232:       when a makefile exists but cannot be opened.
                    233:   <li>Prevent a buffer underflow in
                    234:       <a href="https://man.openbsd.org/patch.1">patch(1)</a>
                    235:       that could occur with lines longer than 32kB.
                    236:   <li>Prevent a segmentation fault in
                    237:       <a href="https://man.openbsd.org/patch.1">patch(1)</a>
                    238:       that occurred when a patch specified a file name so long that
                    239:       <a href="https://man.openbsd.org/basename.3">basename(3)</a> failed.
                    240:   <li>Prevent a read buffer overrun in
                    241:       <a href="https://man.openbsd.org/patch.1">patch(1)</a>
                    242:       that could occur when a patch specified a file name ending in a slash.
                    243:   <li>Let <a href="https://man.openbsd.org/stat.1">stat(1)</a>
                    244:       correctly print mtimes after 2038.
1.21      schwarze  245:   <li>Refactoring and documenting of
                    246:       <a href="https://man.openbsd.org/fdisk.8">fdisk(8)</a> code,
                    247:       to make it easier to maintain.
1.34      krw       248:   <li><a href="https://man.openbsd.org/fdisk.8">fdisk(8)</a>
                    249:        no longer adds extra blanks at the end of lines, eliminating
                    250:        spurious line wrapping.
1.21      schwarze  251:   <li>In <a href="https://man.openbsd.org/clang.1">clang(1)</a>,
                    252:       allow out-of-class defaulting of comparison operators,
1.11      benno     253:        by ways of backporting an upstream commit.
1.21      schwarze  254:   <li>Improve the code of
                    255:       <a href="https://man.openbsd.org/aucat.1">aucat(1)</a>
                    256:       and fix spelling mistakes.
1.11      benno     257:   <li>Improve the code quality of find(1).
1.21      schwarze  258:   <li>Many changes in <a href="https://man.openbsd.org/mg.1">mg(1)</a>:
1.11      benno     259:     <ul>
1.46      schwarze  260:     <li>New command
                    261:         <a href="https://man.openbsd.org/mg.1#set-tab-width">set-tab-width</a>
                    262:         to change the tabulator width on a per-buffer basis.
                    263:     <li>Let the <code>space-to-tabstop</code> command move to the right
                    264:         position even if the line contains tabs, control characters,
                    265:         or non-ASCII bytes.
1.21      schwarze  266:     <li>Improve the readability of the code.
1.46      schwarze  267:     <li>Fall back to <code>/bin/sh</code> if <code>$SHELL</code> is undefined.
1.21      schwarze  268:     <li>Fix parsing of tag files with duplicate entries.
1.11      benno     269:        Instead of erroring out ignore duplicates. Fixes using
1.46      schwarze  270:        <code>/var/db/libc.tags</code> again.
                    271:     <li>Change the <a href="https://man.openbsd.org/mg.1#visit-tags-table"
                    272:         >visit-tags-table</a> command to immediately
1.11      benno     273:        load the tag file, and drop the lazy mechanics.
1.46      schwarze  274:     <li>Do not leak memory in
                    275:         <a href="https://man.openbsd.org/mg.1#pop-tag-mark">pop-tag-mark</a>
                    276:         if it fails to switch buffers.
                    277:     <li>Fix a read buffer overrun caused by <code>-u</code> arguments
                    278:         longer than 1023 bytes.
                    279:     <li>Fix a write buffer overrun on the stack caused by
                    280:         <a href="https://man.openbsd.org/mg.1#blink-and-insert"
                    281:         >blink-and-insert</a> matching a very long line
                    282:         that is not currently visible in the window.
1.11      benno     283:     <li>Skip checking permissions of conffile with access(2).
1.50      benno     284:     <li>Resurrect no-tab-mode.
1.35      benno     285:     <li>Added a missing void.
1.11      benno     286:     </ul>
1.16      jsg       287:   <li>On aarch64 architectures improve how BTI control flow integrity
1.11      benno     288:        enforcement is implemented in the executable entry point and enable
1.16      jsg       289:        support for BTI control flow integrity checks in libc assembly
1.11      benno     290:        functions.
1.28      benno     291:   <li>In <a href="https://man.openbsd.org/ld.so.1">ld.so(1)</a> treat
                    292:        symlinks in $ORIGIN determination the same way as other OS linkers do.
1.34      krw       293:   <li>Fix a segfault when the
                    294:       <a href="https://man.openbsd.org/disklabel.8">disklabel(8)</a>
                    295:            simple editor encounters an incomplete partition line.
                    296:   <li>Fix <a href="https://man.openbsd.org/disklabel.8">disklabel(8)</a>
                    297:       handling of templates with partitions after a "N-* 100" entry.
                    298:   <li>Enable <a href="https://man.openbsd.org/disklabel.8">disklabel(8)</a>
                    299:       regress tests to work on sparc64.
                    300:   <li>Fix <a href="https://man.openbsd.org/fdisk.8">fdisk(8)</a>
                    301:       initialization of CHS/LBA fields in an MBR, allowing machines with
                    302:       a BIOS that uses CHS to boot from disks >8G.
                    303:   <li>Retire <a href="https://man.openbsd.org/disklabel.8">disklabel(8)</a>
                    304:       -E expert mode.
                    305:   <li>When displaying GPT partition attributes
                    306:       <a href="https://man.openbsd.org/fdisk.8">fdisk(8)</a> prefixes
                    307:       Microsoft partition attribute names with 'MS'.
                    308:   <li>In the absence of the 'disktype' command line parameter
                    309:       <a href="https://man.openbsd.org/disklabel.8">disklabel(8)</a>
                    310:       always uses the current media type provided by the kernel.
                    311:   <li>Ensure <a href="https://man.openbsd.org/fdisk.8">fdisk(8)</a> handles
                    312:       the case where a GPT partition name is not a valid C string.
1.44      schwarze  313:   <li>In <a href="https://man.openbsd.org/ld.so.1">ld.so(1)</a>,
                    314:        avoid an overflow in the ELF SYSV ABI hash function.
1.47      schwarze  315:   <li>Make sure <a href="https://man.openbsd.org/modf.3">modf(3)</a> and
                    316:        <a href="https://man.openbsd.org/modff.3">modff(3)</a>
                    317:        return correct values for infinities.
                    318:   <li>Do not fail in
                    319:        <a href="https://man.openbsd.org/ober_scanf_elements.3"
                    320:        >ober_scanf_elements(3)</a> when encountering empty sequences.
1.56      benno     321:   <li>In clang(1), turn on pointer-authentication on arm64 by default.
1.57    ! sthen     322:   <li>The caching mechanism used by
        !           323:        <a href="https://man.openbsd.org/pkg_add.1">pkg_add(8)</a>
        !           324:        to speed up <tt>pkg_add -u</tt> now also works if -stable packages
        !           325:        are available.
1.1       deraadt   326:   </ul>
                    327:
                    328: <li>Improved hardware support and driver bugfixes, including:
                    329:   <ul>
1.20      schwarze  330:   <li>New <a href="https://man.openbsd.org/sysctl.2">sysctl(2)</a>
                    331:       nodes for battery management, <code>hw.battery.charge*</code>.
                    332:   <li>Define fixed names for
                    333:       <a href="https://man.openbsd.org/ucom.4">ucom(4)</a> USB serial
1.34      krw       334:       ports, display them in attach messages and via the new
                    335:       <code>hw.ucomnames</code>
                    336:       <a href="https://man.openbsd.org/sysctl.2#HW_UCOMNAMES~2">sysctl(2)</a>.
1.28      benno     337:   <li>Add support for the RK3568 32k RTC and other clocks in
1.21      schwarze  338:       <a href="https://man.openbsd.org/rkclock.4">rkclock(4)</a>.
                    339:   <li>In <a href="https://man.openbsd.org/dwpcie.4">dwpcie(4)</a>,
                    340:       attach Baikal-M PCIe.
1.11      benno     341:   <li>In openfirmware, implement regulator notifiers which get called
                    342:        when the voltage/current for a regulator is changed or when the
                    343:        regulator gets initialized when it attaches for the first time. The
                    344:        latter makes it possible to register a notifier for a regulator that
                    345:        hasn't attached yet.
1.21      schwarze  346:   <li>Add <a href="https://man.openbsd.org/rkiovd.4">rkiovd(4)</a>,
                    347:       a driver for the I/O voltage domains on Rockchip SoCs.
                    348:   <li>Add support for TEMPerGold 3.4 temperature sensor to
                    349:       <a href="https://man.openbsd.org/ugold.4">ugold(4)</a>.
1.15      benno     350:   <li>Ignore duplicate ACPI lid transitions as they can happen on Dell
                    351:        Precision 5510 systems.
                    352:   <li>Make RK3568 PCIe controllers run at the maximum possible speed
                    353:        by using dwpcie_link_config() when initializing.
                    354:   <li>In the Universal Flash Storage Host Controller Interface
1.21      schwarze  355:       (<a href="https://man.openbsd.org/ufshci.4">ufshci(4)</a>),
                    356:       enable Force Unit Access (FUA) for write commands.
1.28      benno     357:   <li>Make SATA (<a href="https://man.openbsd.org/ahci.4">ahci(4)</a>)
                    358:        work on a Banana Pi BPI-R2 Pro.
                    359:   <li>In <a href="https://man.openbsd.org/umcs.4">umcs(4)</a>, set
                    360:        parity bits correctly.
1.35      benno     361:   <li>Enabled the caps lock LED on modern Apple laptop keyboards.
1.44      schwarze  362:   <li>Add support for Rockchip "cryptov2-rng" random number generator in
                    363:        <a href="https://man.openbsd.org/rkrng.4">rkrng(4)</a>.
1.51      benno     364:   <li>Add qcrng(4), a driver for the Qualcomm rng device found on the Thinkpad X13s
1.35      benno     365:   <li>Fixed cpuperf on the Apple M2 Pro/Max.
1.36      jsg       366:   <li>Add support for the PCIe controller found on Apple M2 Pro/Max SoCs.
1.40      jsg       367:   <li>Add support for enabling both the USB2 and USB3 PHYs in
                    368:       <a href="https://man.openbsd.org/xhci.4">xhci(4)</a> with device tree.
1.43      jsg       369:   <li>Add <a href="https://man.openbsd.org/rkusbphy.4">rkusbphy(4)</a>,
                    370:       a driver for the usb2phy on Rockchip SoCs.
1.50      benno     371:   <li>Support AP806/CP110 SoCs in mvtemp(4).
                    372:   <li>Add dwmshc(4) to support Designware Mobile Storage Host Controllers
                    373:        found on rk356x and rk3588 SoCs.
                    374:   <li>Add iosf(4), a driver for the Intel OnChip System Fabric.
1.51      benno     375:   <li>In the SCSI tape driver st(4) add support for I/O statistics so
                    376:        that tape speeds can be observed with iostat(8).
                    377:   <li>Add support for the RTL8153D chipset in ure(4).
1.56      benno     378:   <li>Add support for the Peripheral Authentication Service SMC
                    379:        interface in qcscm(4).
                    380:   <li>Add qcmtx(4), a driver for the hardware spinlock on Qualcomm
                    381:        SoCs that is used to synchronize access to the shared memory table.
                    382:   <li>Add qcsmptp(4), a driver to share 32-bit values between (co-)processors.
                    383:   <li>Implement battery charge control in acpithinkpad(4).
                    384:   <li>Add qcaoss(4), a driver for the Always On Subsystem found on Qualcomm SoCs.
                    385:   <li>Implement battery charge control for the Apple System Management Controller aplsmc(4).
1.1       deraadt   386:   </ul>
                    387:
                    388: <li>New or improved network hardware support:
                    389:   <ul>
1.21      schwarze  390:   <li>Fix <a href="https://man.openbsd.org/dwqe.4">dwqe(4)</a>
                    391:       on several boards that use
                    392:       <a href="https://man.openbsd.org/rgephy.4">rgephy(4)</a> by configuring
1.11      benno     393:        the RGMII interface before taking the PHY out of reset.
1.28      benno     394:   <li>Improve <a href="https://man.openbsd.org/dwqe.4">dwqe(4)</a> and
                    395:        determine PHY mode and pass the appropriate flags down to the PHY when
                    396:        we attach it.
1.31      schwarze  397:   <li>Report in <a href="https://man.openbsd.org/dmesg.8">dmesg(8)</a> on
                    398:       which gmac the <a href="https://man.openbsd.org/dwqe.4">dwqe(4)</a>
                    399:       driver is attaching to.
1.21      schwarze  400:   <li>Document that Intel i226 adapters are supported by
                    401:       <a href="https://man.openbsd.org/igc.4">igc(4)</a>.
                    402:   <li>Add <a href="https://man.openbsd.org/ngbe.4">ngbe(4)</a>,
                    403:       a driver for WangXun WX1860 PCI Express 10/100/1Gb Ethernet devices.
                    404:       Also support it on amd64 install media.
                    405:   <li>Add support for the RTL8211F-VD PHY in
                    406:       <a href="https://man.openbsd.org/rgephy.4">rgephy(4)</a>.
1.15      benno     407:   <li>In openfirmware, add glue for network interfaces to be found by
                    408:        fdt/ofw node or phandle in order to support "switch chips" like the
                    409:        marvell link street.
1.37      kevlo     410:   <li>Add support for RTL8153D devices to
                    411:       <a href="https://man.openbsd.org/ure.4">ure(4)</a>.
1.1       deraadt   412:   </ul>
                    413:
                    414: <li>Added or improved wireless network drivers:
                    415:   <ul>
1.21      schwarze  416:   <li>Improve how Quectel LTE&5G devices attach to
                    417:       <a href="https://man.openbsd.org/umb.4">umb(4)</a>.
1.50      benno     418:   <li>Add initial support for Atlantic 2 hardware in aq(4).
1.56      benno     419:   <li>Use TSO offloading in ix(4). Enable forwarding of ix(4) LRO Pakets via TSO.
1.1       deraadt   420:   </ul>
                    421:
                    422: <li>IEEE 802.11 wireless stack improvements and bugfixes:
                    423:   <ul>
1.27      stsp      424:   <li> Add support for RTL8188FTV devices to the
                    425:       <a href="https://man.openbsd.org/urtwn.4">urtwn(4)</a> driver.
                    426:   <li>Attach Intel wireless devices with PCI product ID 0x51f1 to
                    427:       <a href="https://man.openbsd.org/iwx.4">iwx(4)</a>.
                    428:   <li>Fix a bug where <a href="https://man.openbsd.org/iwm.4">iwm(4)</a> and
                    429:       <a href="https://man.openbsd.org/iwx.4">iwx(4)</a> background
                    430:       scan tasks were added to the wrong task queue.
                    431:   <li>Fix a firmware error that occurred when an
                    432:       <a href="https://man.openbsd.org/iwx.4">iwx(4)</a> interface
                    433:       was brought down.
                    434:   <li>Fix <a href="https://man.openbsd.org/iwx.4">iwx(4)</a> firmware errors
                    435:       triggered during background scans.
                    436:   <li>Fix a crash in the <a href="https://man.openbsd.org/iwm.4">iwm(4)</a>
                    437:       driver when userland attempts to inject frames via bpf in monitor mode.
1.1       deraadt   438:   </ul>
                    439:
                    440: <li>Installer, upgrade and bootloader improvements:
                    441:   <ul>
1.11      benno     442:   <li>In the arm64 ramdisk, simplify apple firmware copying to make it
                    443:        easier to add new firmware.
1.21      schwarze  444:   <li>On armv7 and arm64, silence informational messages from
                    445:       <a href="https://man.openbsd.org/dd.1">dd(1)</a>
1.11      benno     446:        when zeroing a disk's first 1MB. Use character not block devices with
                    447:        dd(1) like on other architectures.
                    448:   <li>Refactor the code of md_installboot() on armv7 and arm64 to be
                    449:        more in line with other architectures.
                    450:   <li>Improve the dialogue of the installer without affecting
1.21      schwarze  451:       <a href="https://man.openbsd.org/autoinstall.8">autoinstall(8)</a>
                    452:        files.
                    453:   <li>Enable <a href="https://man.openbsd.org/ufshci.4">ufshci(4)</a>
                    454:       on arm64 install media.
1.15      benno     455:   <li>On arm64 pine64 boards, stop writing pine64 firmware to disk.
1.21      schwarze  456:   <li>Make root on
                    457:       <a href="https://man.openbsd.org/softraid.4">softraid(4)</a>
                    458:       installations boot out of the box on Raspberry Pis (arm64).
1.28      benno     459:   <li>Support installations with root on
                    460:       <a href="https://man.openbsd.org/softraid.4">softraid(4)</a>
                    461:       on arm64, tested on Pinebook Pro, Raspberry Pi 4b, and SolidRun CEX7.
1.50      benno     462:   <li>On riscv64, enable softraid(4) in the ramdisk kernel and support
                    463:        installations with root on
                    464:       <a href="https://man.openbsd.org/softraid.4">softraid(4)</a>
1.28      benno     465:   <li>When installing on encrypted
                    466:        <a href="https://man.openbsd.org/softraid.4">softraid(4)</a>, determine
                    467:        the disk for placing the root device automatically and make it default
                    468:        as it is the only legit choice.
1.26      kn        469:   <li>Add arm64 to the list of architectures with support for guided disk
                    470:       encryption.
                    471:   <li>Retain existing EFI System partitions on systems with APFSISC
                    472:       partitions (arm64 Apple M1/M2) during installation with root on
                    473:       <a href="https://man.openbsd.org/softraid.4">softraid(4)</a>.
1.34      krw       474:   <li>When media has neither a GPT nor an MBR
1.45      fcambus   475:       <a href="https://man.openbsd.org/installboot.8">installboot(8)</a>,
                    476:       assume OpenBSD occupies the entire disk starting at sector 0.
1.35      benno     477:   <li>Attempt to not overflow the ramdisk when extracting firmware on
                    478:        Apple arm64 systems.
1.50      benno     479:   <li>Add support for loading files from the EFI System Partition.
1.1       deraadt   480:   </ul>
                    481:
                    482: <li>Security improvements:
                    483:   <ul>
1.21      schwarze  484:   <li>Change <a href="https://man.openbsd.org/malloc.3">malloc(3)</a>
1.24      otto      485:       chunk sizes to be fine grained: chunk sizes are closer to the
                    486:       requested allocation size.
1.21      schwarze  487:   <li>In <a href="https://man.openbsd.org/malloc.3">malloc(3)</a>,
                    488:       check all chunks in the delayed free list for write-after-free.
1.46      schwarze  489:   <li>Restrict <a href="https://man.openbsd.org/patch.1">patch(1)</a>
                    490:       to the current directory including subdirectories, TMPDIR,
                    491:       and file names given on the command line using
                    492:       <a href="https://man.openbsd.org/unveil.2">unveil(2)</a>.
1.33      schwarze  493:   <li>In <a href="https://man.openbsd.org/ksh.1">ksh(1)</a>, escape
                    494:       control characters when displaying file name completions,
                    495:       even when there are multiple matches.
                    496:   <li>In <a href="https://man.openbsd.org/pax.1">pax(1)</a>,
                    497:       <a href="https://man.openbsd.org/tar.1">tar(1)</a>, and
                    498:       <a href="https://man.openbsd.org/cpio.1">cpio(1)</a> terminal
                    499:       output, escape non-printable characters in messages that may
                    500:       include file names.
1.50      benno     501:   <li>On amd64, enable Indirect Branch Tracking (IBT) for the kernel.
                    502:   <li>Enable branch target control flow enforcement on arm64.
1.51      benno     503:   <li>In clang on amd64, emit IBT endbr64 instructions by default (meaning,
                    504:        -fcf-protection=branch is the default).
1.1       deraadt   505:   </ul>
                    506:
                    507: <li>Changes in the network stack:
                    508:   <ul>
1.21      schwarze  509:   <li>In <a href="https://man.openbsd.org/pf.4">pf(4)</a>,
                    510:       when redirecting locally generated IP packets to
1.15      benno     511:        userland with divert-packet rules, the packets may have no checksum
1.17      jsg       512:        due to hardware offloading.  Calculate the checksum in that case.
1.21      schwarze  513:  <li>Sync the use of
                    514:      <a href="https://man.openbsd.org/getuptime.9">getuptime(9)</a>
                    515:      in the Neighbour Discovery (ND) code with ARP.
                    516:  <li>In the IPv6 forwarding code, call
                    517:      <a href="https://man.openbsd.org/getuptime.9">getuptime(9)</a>
                    518:      once for consistency with IPv4.
1.28      benno     519:  <li>ARP has a queue of packets that should be sent after name
                    520:        resolution. Neighbor discovery (ND6) did only hold a single packet.
                    521:        Unified the code, added a queue to ND6 and made the code MP safe.
1.31      schwarze  522:  <li>Implement a new <a href="https://man.openbsd.org/sysctl.2">sysctl(2)</a>
                    523:      <code>net.inet6.icmp6.nd6_queued</code> to show the number of packets
                    524:      waiting for an ND6 response, analogous to ARP.
1.50      benno     525:  <li>When configuring a new IPv6 address on an interface, an upstream router
                    526:        doesn't know where to send traffic.  Send an unsolicited
                    527:        neighbor advertisement, as described in RFC9131, to the all-routers
                    528:        multicast address so all routers on the same link will learn the path
                    529:        back to the address.
1.51      benno     530:  <li>In pf(4), relax the implementation of the "pass all" rule so all
                    531:        forms of neighbor advertisements are allowed in either direction.
                    532:  <li>Inbound portion of RFC9131.  Routers can create new neighbor cache entries
                    533:        when receiving a valid Neighbor Advertisement.
                    534:  <li>Implement RFC9131 and create new neighbor cache entries
                    535:        when receiving a valid Neighbor Advertisement.
1.56      benno     536:  <li>Implement TCP send offloading in software. Implement the TCP/IP
                    537:        layer for hardware TCP segmentation offload.  If the driver of a
                    538:        network interface claims to support TSO, do not chop the packet in
                    539:        software, but pass it down to the interface layer. Add sysctl(8) net.inet.tcp.tso.
                    540:  <li>Do not calculate IP, TCP, UDP checksums on loopback (lo(4)) interfaces.
                    541:  <li>Fix a bug in pf(4), where nat-to clould fail to insert a state
                    542:        due to conflict on chosen source port number.
1.51      benno     543:  <li>Implement TCP send offloading, for now in software only.  This is
                    544:        meant as a fallback if network hardware does not support TSO.
1.1       deraadt   545:  </ul>
                    546:
                    547: <li>Routing daemons and other userland network improvements:
                    548:   <ul>
                    549:   <li>IPsec support was improved:
                    550:   <ul>
1.21      schwarze  551:        <li>In <a href="https://man.openbsd.org/isakmpd.8">isakmpd(8)</a>,
                    552:            avoid a double free in ec_init() when using the OpenSSL API.
                    553:        <li>In <a href="https://man.openbsd.org/iked.8">iked(8)</a>,
                    554:            do not treat the return value of
                    555:            <a href="https://man.openbsd.org/i2d_ECDSA_SIG.3"
                    556:            >i2d_ECDSA_SIG(3)</a> as a length as it can be negative.
                    557:        <li>Prepare <a href="https://man.openbsd.org/isakmpd.8">isakmpd(8)</a>
                    558:            for a libcrypto library that is lacking binary field support.
                    559:        <li>In <a href="https://man.openbsd.org/isakmpd.8">isakmpd(8)</a>,
                    560:            avoid a potential crash by adding a missing NULL check.
1.11      benno     561:
1.1       deraadt   562:   </ul>
                    563:   <li>In <a href="https://man.openbsd.org/bgpd.8">bgpd(8)</a>,
                    564:   <ul>
1.22      claudio   565:        <li>Add first version of flowspec support. Right now only announcement
                    566:            of flowspec rules is possible.
                    567:        <li>Update ASPA support to follow draft-ietf-sidrops-aspa-verification-16
                    568:            and draft-ietf-sidrops-aspa-profile-16 by making the ASPA lookup
                    569:            tables AFI-agnostic.
                    570:        <li>Rework UPDATE message generation to use the new ibuf API instead
                    571:            of the hand-rolled solution before.
                    572:        <li>Fix <code>ext-community * *</code> matching which also affects
1.29      jsg       573:            filters removing all ext-communities.
1.22      claudio   574:        <li>Improve and extend the bgpctl parser to handle commands like
                    575:            <code>bgpctl show rib 192.0.2.0/24 detail</code>.
                    576:            Also add various flowspec specific commands.
                    577:        <li>Introduce a semaphore to protect intermittent RTR session data
                    578:            from being published to the RDE.
                    579:        <li>Limit the socket buffer size to 64k for all sessions.
                    580:            Limiting the buffer size to a reasonable size ensures that not
                    581:            too many updates end up queued in the TCP stack.
                    582:        <li>Adjusted example <code>GRACEFUL_SHUTDOWN</code> filter rule in
                    583:            the example config to only match on ebgp sessions.
1.1       deraadt   584:   </ul>
                    585:   <li><a href="https://man.openbsd.org/rpki-client.8">rpki-client(8)</a> saw some changes:
                    586:   <ul>
1.23      claudio   587:        <li>A 30%-50% performance improvement was achieved through libcrypto's
                    588:            partial chains certificate validation feature. Already validated
                    589:            non-inheriting CA certificates are now marked as trusted roots. This
                    590:            way it can be ensured that a leaf's delegated resources are properly
                    591:            covered, and at the same time most validation paths are
                    592:            significantly shortened.
                    593:        <li>Support for gzip and deflate HTTP Content-Encoding compression was
                    594:            added. This allows web servers to send RRDP XML in compressed form,
                    595:            saving around 50% of bandwidth.
                    596:        <li>ASPA support was updated to draft-ietf-sidrops-aspa-profile-16.
                    597:            As part of supporting AFI-agnostic ASPAs, the JSON syntax for
                    598:            Validated ASPA Payloads changed in both filemode and normal output.
                    599:        <li>In filemode (-f option) the applicable manifests are now shown as
                    600:            part of the signature path.
                    601:        <li>A new -P option was added to manually specify a moment in time
                    602:            to use when parsing the validity window of certificates. Useful
                    603:            for regression testing. Default is invocation time of rpki-client.
                    604:        <li>The -A option will now also exclude ASPA data from the JSON output.
                    605:        <li>The synchronisation protocol used to sync the repository is now
                    606:            included in the OpenMetrics output.
                    607:        <li>Improved accounting by tracking objects both by repo and tal.
                    608:        <li>Check whether products listed on a manifest were issued by the same
                    609:            authority as the manifest itself.
                    610:        <li>File modification timestamps of objects retrieved via RRDP are now
                    611:            deterministically set to prepare the on-disk cache for seamless
                    612:            failovers from RRDP to RSYNC.
                    613:        <li>Improved detection of RRDP session desynchronization: a check was
                    614:            added to compare whether the delta hashes associated to previously
                    615:            seen serials are different in newly fetched notification files.
                    616:        <li>Improved handling of RRDP deltas in which objects are published,
                    617:            withdrawn, and published again.
                    618:        <li>Disallow X.509 v2 issuer and subject unique identifiers in certs.
                    619:            RPKI CAs will never issue certificates with V2 unique identifiers.
                    620:        <li>A check to disallow duplicate X.509 certificate extensions was
                    621:            added.
                    622:        <li>A check to disallow empty sets of IP Addresses or AS numbers in RFC
                    623:            3779 extensions was added.
                    624:        <li>A warning is printed when the CMS signing-time attribute in a Signed
                    625:            Object is missing.
                    626:        <li>Warnings about unrecoverable message digest mismatches now include
                    627:            the manifestNumber to aid debugging the cause.
                    628:        <li>A check was added to disallow multiple RRDP publish elements for the
                    629:            same file in RRDP snapshots. If this error condition is encountered,
                    630:            the RRDP transfer is failed and the RP falls back to rsync.
                    631:        <li>A compliance check for the proper X.509 Certificate version and CRL
                    632:            version was added.
                    633:        <li>A compliance check was added to ensure CMS Signed Objects contain
                    634:            SignedData, in accordance to RFC 6488 section 3 checklist item 1a.
                    635:        <li>Compliance checks were added for the version, KeyUsage, and
                    636:            ExtendedKeyUsage of EE certificates in Manifest, TAK, and GBR Signed
                    637:            Objects.
                    638:        <li>A CMS signing-time value being after the X.509 notAfter timestamp
                    639:            was downgraded from an error to a warning.
                    640:        <li>A bug was fixed in the handling of CA certificates which inherit IP
                    641:            resources.
                    642:        <li>A compliance check was added to ensure the X.509 Subject only
                    643:            contains commonName and optionally serialNumber.
                    644:        <li>A compliance check was added to ensure the CMS SignedData and
                    645:            SignerInfo versions to be 3.
                    646:        <li>Fisher-Yates shuffle the order in which Manifest entries are
                    647:            processed. Previously, work items were enqueued in the order the CA
                    648:            intended them to appear on a Manifest. However, there is no obvious
                    649:            benefit to third parties deciding the order in which things are
                    650:            processed.
1.1       deraadt   651:   </ul>
                    652:
1.41      op        653:   <li>In <a href="https://man.openbsd.org/smtpd.8">smtpd(8)</a>,
                    654:   <ul>
                    655:        <li>Swapped link-auth filter arguments to avoid ambiguities with user
                    656:            names containing a "|" character.
                    657:        <li>Bumped <a href="https://man.openbsd.org/smtpd-filters.7">smtpd-filters(7)</a>
                    658:            protocol version.
                    659:        <li>Fixed potential truncation of filtered data lines.
                    660:        <li>Allowed arguments on NOOP.
                    661:   </ul>
                    662:
1.47      schwarze  663:   <li>Let <a href="https://man.openbsd.org/pcap_fopen_offline.3"
                    664:       >pcap_fopen_offline(3)</a> correctly interpret some
                    665:       <code>LINKTYPE_*</code> values in pcap headers written
                    666:       on foreign operating systems.
1.21      schwarze  667:   <li>Make <a href="https://man.openbsd.org/dig.1">dig(1)</a>
                    668:       use less deprecated LibreSSL API.
                    669:   <li>In <a href="https://man.openbsd.org/ypldap.8">ypldap(8)</a>,
                    670:       reduce memory usage when updating larger directories.
                    671:   <li>Remove stylistic differences between
                    672:       <a href="https://man.openbsd.org/arp.8">arp(8)</a> and
                    673:       <a href="https://man.openbsd.org/ndp.8">ndp(8)</a> delete()
1.15      benno     674:        function.  This makes it easier to spot real changes in behavior.
1.21      schwarze  675:   <li>Make <a href="https://man.openbsd.org/ndp.8">ndp(8)</a>
                    676:       not remove cloning routes when no neighbor entry is
1.15      benno     677:        found with <code>ndp -d</code>.
1.50      benno     678:   <li>Improved error handling in the <a
                    679:        href="https://man.openbsd.org/asr_run.3">asr</a> resolver.
                    680:   <li>In unwind(8), handle SERVFAIL results on name resolution better.
1.51      benno     681:   <li>In the router advertisement daemon rad(8), update the default
                    682:        timers for prefix preferred and valid lifetimes to use the values from
                    683:        RFC 9096.
                    684:   <li>In pfctl(8), speed up how pf(4) rules are retrieved from the kernel.
1.56      benno     685:   <li>In slaacd(8), remove artifical limit of 2 hours on a PIO lifetime.
                    686:   <li>In ypldap(8), make ypldap more resilient when some servers are
                    687:        misbehaving: keep trying LDAP servers until we get full results from
                    688:        one, rather than just until one accepts the TCP connection.
                    689:   <li>Add support for wireguard (wg(4)) peer descriptions, which can
                    690:        now be added with ifconfig(8).
                    691:   <li>Make the tlsv1.0 and tlsv1.1 options in relayd(8) do nothing, as
                    692:        one should use tlsv1.2 instead.
1.1       deraadt   693:   </ul>
                    694:
                    695: <li><a href="https://man.openbsd.org/tmux.1">tmux(1)</a> improvements and bug fixes:
                    696:   <ul>
1.11      benno     697:   <li>For passthrough, don't write to clients attached to different sessions.
                    698:   <li>Add a format to show if there are unseen changes while in a mode.
1.50      benno     699:   <li>Discard mouse sequences that have the right form but actually
                    700:        are invalid.
                    701:   <li>Invalidate cached tty state after changing features since they may
                    702:        change what the terminal can do and need mouse sequences or similar to
                    703:        be sent again.
1.51      benno     704:   <li>Add options to change the confirm key and default behaviour of
                    705:        confirm-before.
1.1       deraadt   706:   </ul>
                    707:
1.7       tb        708: <li>LibreSSL version 3.8.2
1.1       deraadt   709:   <ul>
1.7       tb        710:   <li>Security fixes
                    711:     <ul>
                    712:     <li>Disabled TLSv1.0 and TLSv1.1 in libssl so that they may no longer
                    713:       be selected for use.
                    714:     <li>BN_is_prime{,_fasttest}_ex() refuse to check numbers larger than
                    715:       32 kbits for primality. This mitigates various DoS vectors.
                    716:     <li>Restricted the RFC 3779 code to IPv4 and IPv6. It was not written
                    717:       to be able to deal with anything else.
                    718:     </ul>
                    719:   <li>Portable changes
                    720:     <ul>
                    721:     <li>Extended the endian.h compat header with hto* and *toh macros.
                    722:     <li>Adapted more tests to the portable framework.
                    723:     <li>Internal tools are now statically linked.
                    724:     <li>Applications bundled as part of the LibreSSL package internally,
                    725:       nc(1) and openssl(1), now are linked statically if static libraries
                    726:       are built.
                    727:     <li>Internal compatibility function symbols are no longer exported from
                    728:       libcrypto. Instead, the libcompat library is linked to libcrypto,
                    729:       libssl, and libtls separately. This increases size a little, but
                    730:       ensures that the libraries are not exporting symbols to programs
                    731:       unintentionally.
                    732:     <li>Selective removal of CET implementation on platforms where it is
                    733:       not supported (macOS).
                    734:     <li>Integrated four more tests.
                    735:     <li>Added Windows ARM64 architecture to tested platforms.
                    736:     <li>Removed Solaris 10 support, fixed Solaris 11.
                    737:     <li>libtls no longer links statically to libcrypto / libssl unless
                    738:            <code>--enable-libtls-only</code> is specified at configure time.
                    739:     <li>Improved Windows compatibility library, namely handling of files vs
                    740:       sockets, correcting an exception when operating on a closed socket.
                    741:     <li>CMake builds no longer hardcode <code>-O2</code> into the compiler flags,
                    742:       instead using flags from the CMake build type instead.
                    743:     <li>Set the CMake default build type to <code>Release</code>. This can be overridden
                    744:       during configuration.
                    745:     <li>Fixed broken ASM support with MinGW builds.
                    746:     </ul>
1.1       deraadt   747:   <li>New features
                    748:     <ul>
1.7       tb        749:     <li>Added support for truncated SHA-2 and for SHA-3.
                    750:     <li>The BPSW primality test performs additional Miller-Rabin rounds
                    751:       with random bases to reduce the likelihood of composites passing.
                    752:     <li>Allow testing of ciphers and digests using badly aligned buffers
                    753:       in openssl speed using -unalign.
                    754:     <li>Ed25519 certificates are now supported in openssl(1) ca and req.
                    755:       Prepared Ed25519 support in libssl.
                    756:     <li>Add branch target information (BTI) support to amd64 and arm64
                    757:       assembly.
1.1       deraadt   758:     </ul>
                    759:   <li>Compatibility changes
                    760:     <ul>
1.7       tb        761:     <li>Added a workaround for a poorly thought-out change in OpenSSL 3 that
                    762:       broke privilege separation support in libtls.
                    763:     <li>Moved libtls from ECDSA_METHOD to EC_KEY_METHOD.
                    764:     <li>Removed GF2m support: BIGNUM no longer supports binary extension
                    765:       field arithmetic and all binary elliptic builtin curves were removed.
                    766:     <li>Removed dangerous, "fast" NIST prime and elliptic curve implementations.
                    767:       In particular, EC_GFp_nist_method() is no longer available.
                    768:     <li>Removed most public symbols that were deprecated in OpenSSL 0.9.8.
                    769:     <li>Removed the public X9.31 API (RSA_X931_PADDING is still available).
                    770:     <li>Removed Cipher Text Stealing mode.
                    771:     <li>Removed ENGINE support, including ECDH_METHOD and ECDSA_METHOD.
                    772:     <li>Removed COMP, DSO, dynamic loading of conf modules and support for
                    773:       custom ex_data and error stacks.
                    774:     <li>Removed proxy certificate (RFC 3820) support.
                    775:     <li>Removed SXNET and NETSCAPE_CERT_SEQUENCE support including the
1.8       tb        776:       openssl(1) nseq command.
1.7       tb        777:     <li>ENGINE support was removed and OPENSSL_NO_ENGINE is set. In spite
                    778:       of this, some stub functions are provided to avoid patching some
                    779:       applications that do not honor OPENSSL_NO_ENGINE.
                    780:     <li>The POLICY_TREE and its related structures and API were removed.
                    781:     <li>In X509_VERIFY_PARAM_inherit() copy hostflags independently of the
                    782:       host list.
                    783:     <li>Made CRYPTO_get_ex_new_index() not return 0 to allow applications
                    784:       to use *_{get,set}_app_data() and *_{get,set}_ex_data() alongside
                    785:       each other.
                    786:     <li>X509_NAME_get_text_by_{NID,OBJ}() now only succeed if they contain
                    787:       valid UTF-8 without embedded NUL.
                    788:     <li>The explicitText user notice uses UTF8String instead of VisibleString
                    789:       to reduce the risk of emitting certificates with invalid DER-encoding.
                    790:     <li>Initial fixes for RSA-PSS support to make the TLSv1.3 stack more
                    791:       compliant with RFC 8446.
                    792:     <li>Fixed EVP_CIPHER_CTX_iv_length() to return what was set with
                    793:       EVP_CTRL_AEAD_SET_IVLEN or one of its aliases.
1.1       deraadt   794:     </ul>
1.7       tb        795:   <li>Internal improvements
1.1       deraadt   796:     <ul>
1.7       tb        797:     <li>Improved sieve of Eratosthenes script used for generating a table
                    798:       of small primes.
                    799:     <li>Removed incomplete and dangerous BN_RECURSION code.
                    800:     <li>Imported RFC 5280 policy checking code from BoringSSL and used it
                    801:       to replace the old exponential time code.
                    802:     <li>Converted more of libcrypto to use CBB/CBS.
                    803:     <li>Started cleaning up and rewriting SHA internals.
                    804:     <li>Reduced the dependency of hash implementations on many layers of
                    805:       macros. This results in significant speedups since modern compilers
                    806:       are now less confused.
                    807:     <li>Improved BIGNUM internals and performance.
                    808:     <li>Significantly simplified the BN_BLINDING internals used in RSA.
                    809:     <li>Made BN_num_bits() independent of bn->top.
                    810:     <li>Rewrote and simplified bn_sqr().
                    811:     <li>Significantly improved Montgomery multiplication performance.
                    812:     <li>Rewrote and improved BN_exp() and BN_copy().
                    813:     <li>Changed ASN1_item_sign_ctx() and ASN1_item_verify() to work with
                    814:       Ed25519 and fixed a few bugs in there.
                    815:     <li>Lots of cleanup for DH, DSA, EC, RSA internals.  Plugged numerous
                    816:       memory leaks, fixed logic errors and inconsistencies.
                    817:     <li>Cleaned up and simplified various ECDH and ECDSA internals.
                    818:     <li>Removed EC_GROUP precomp machinery.
                    819:     <li>Fixed various issues with EVP_PKEY_CTX_{new,dup}().
                    820:     <li>Rewrote OBJ_find_sigid_algs() and OBJ_find_sigid_by_algs().
                    821:     <li>Improved X.509 certificate version checks.
                    822:     <li>Ensure no X.509v3 extensions appear more than once in certificates.
                    823:     <li>Replaced ASN1_bn_print with a cleaner internal implementation.
                    824:     <li>Fix OPENSSL_cpuid_setup() invocations on arm/aarch64.
                    825:     <li>Improved checks for commonName in libtls.
                    826:     <li>Fixed error check for X509_get_ext_d2i() failure in libtls.
                    827:     <li>Removed code guarded by #ifdef ZLIB.
                    828:     <li>Plug a potential memory leak in ASN1_TIME_normalize().
                    829:     <li>Fixed a use of uninitialized in i2r_IPAddrBlocks().
                    830:     <li>Rewrote CMS_SignerInfo_{sign,verify}().
1.1       deraadt   831:     </ul>
1.7       tb        832:   <li>Bug fixes
1.1       deraadt   833:     <ul>
1.7       tb        834:     <li>Correctly handle negative input to various BIGNUM functions.
                    835:     <li>Ensure ERR_load_ERR_strings() does not set errno unexpectedly.
                    836:     <li>Fix error checking of i2d_ECDSA_SIG() in ossl_ecdsa_sign().
1.8       tb        837:     <li>Fixed aliasing issue in BN_mod_inverse(). Disallowed aliasing of result
                    838:       and modulus in various BN_mod_* functions.
1.7       tb        839:     <li>Fixed detection of extended operations (XOP) on AMD hardware.
                    840:     <li>Ensure Montgomery exponentiation is used for the initial RSA blinding.
                    841:     <li>Policy is always checked in X509 validation. Critical policy extensions
                    842:       are no longer silently ignored.
                    843:     <li>Fixed error handling in tls_check_common_name().
                    844:     <li>Add missing pointer invalidation in SSL_free().
                    845:     <li>Fixed X509err() and X509V3err() and their internal versions.
                    846:     <li>Ensure that OBJ_obj2txt() always returns a C string again.
                    847:     <li>Made EVP_PKEY_set1_hkdf_key() fail on a NULL key.
                    848:     <li>On socket errors in the poll loop, netcat could issue system calls
                    849:       on invalidated file descriptors.
                    850:     <li>Allow IP addresses to be specified in a URI.
                    851:     <li>Fixed a copy-paste error in ASN1_TIME_compare() that could lead
                    852:       to two UTCTimes or two GeneralizedTimes incorrectly being compared
                    853:       as equal.
                    854:     </ul>
                    855:   <li>Documentation improvements
                    856:     <ul>
                    857:     <li>Improved documentation of BIO_ctrl(3), BIO_set_info_callback(3),
                    858:       BIO_get_info_callback(3), BIO_method_type(3), and BIO_method_name(3).
                    859:     <li>Marked BIO_CB_return(), BIO_cb_pre(), and BIO_cb_post() as intentionally
                    860:       undocumented.
                    861:     <li>Made it very explicit that the verify callback should not be used.
                    862:     <li>Called out that the CRL lastUpdate is standardized as thisUpdate.
                    863:     <li>Documented the RFC 3779 API and its shortcomings.
                    864:     </ul>
                    865:   <li>Testing and Proactive Security
                    866:     <ul>
                    867:     <li>Significantly improved test coverage of BN_mod_sqrt() and GCD.
                    868:     <li>As always, new test coverage is added as bugs are fixed and subsystems
                    869:       are cleaned up.
1.1       deraadt   870:     </ul>
                    871:   </ul>
                    872:
1.13      dtucker   873: <li>OpenSSH 9.5 and OpenSSH 9.4
1.1       deraadt   874:   <ul>
1.12      dtucker   875:   <li>Potentially incompatible changes
1.1       deraadt   876:     <ul>
1.12      dtucker   877:     <li><a href="https://man.openbsd.org/ssh-keygen.1">ssh-keygen(1)</a>:
                    878:         generate Ed25519 keys by default. Ed25519 public keys
                    879:         are very convenient due to their small size. Ed25519 keys are
                    880:         specified in RFC 8709 and OpenSSH has supported them since version 6.5
                    881:         (January 2014).
                    882:     <li><a href="https://man.openbsd.org/sshd.8">sshd(8)</a>:
                    883:         the Subsystem directive now accurately preserves quoting of
                    884:         subsystem commands and arguments. This may change behaviour for exotic
                    885:         configurations, but the most common subsystem configuration
                    886:         (sftp-server) is unlikely to be affected.
1.13      dtucker   887:     <li><a href="https://man.openbsd.org/ssh-agent.1">ssh-agent(1)</a>:
                    888:         PKCS#11 modules must now be specified by their full
                    889:         paths. Previously dlopen(3) could search for them in system
                    890:         library directories.
1.1       deraadt   891:     </ul>
1.12      dtucker   892:   <li>New features
1.1       deraadt   893:     <ul>
1.12      dtucker   894:     <li><a href="https://man.openbsd.org/ssh.1">ssh(1)</a>:
                    895:         add keystroke timing obfuscation to the client. This attempts
                    896:         to hide inter-keystroke timings by sending interactive traffic at
                    897:         fixed intervals (default: every 20ms) when there is only a small
                    898:         amount of data being sent. It also sends fake "chaff" keystrokes for
                    899:         a random interval after the last real keystroke. These are
                    900:         controlled by a new ssh_config ObscureKeystrokeTiming keyword.
                    901:     <li><a href="https://man.openbsd.org/ssh.1">ssh(1)</a>,
                    902:         <a href="https://man.openbsd.org/sshd.8">sshd(8)</a>:
                    903:         Introduce a transport-level ping facility. This adds
                    904:         a pair of SSH transport protocol messages SSH2_MSG_PING/PONG to
                    905:         implement a ping capability. These messages use numbers in the "local
                    906:         extensions" number space and are advertised using a "ping@openssh.com"
                    907:         ext-info message with a string version number of "0".
1.13      dtucker   908:     <li><a href="https://man.openbsd.org/sshd.8">sshd(8)</a>:
                    909:         allow override of Subsystem directives in sshd Match blocks.
                    910:     <li><a href="https://man.openbsd.org/ssh.1">ssh(1)</a>:
                    911:         allow forwarding Unix Domain sockets via ssh -W.
                    912:     <li><a href="https://man.openbsd.org/ssh.1">ssh(1)</a>:
                    913:         add support for configuration tags to ssh(1).
                    914:         This adds a ssh_config(5) "Tag" directive and corresponding
                    915:         "Match tag" predicate that may be used to select blocks of
                    916:         configuration similar to the pf.conf(5) keywords of the same
                    917:         name.
                    918:     <li><a href="https://man.openbsd.org/ssh.1">ssh(1)</a>:
                    919:          add a "match localnetwork" predicate. This allows matching
                    920:          on the addresses of available network interfaces and may be used to
                    921:          vary the effective client configuration based on network location.
                    922:     <li><a href="https://man.openbsd.org/ssh.1">ssh(1)</a>,
                    923:         <a href="https://man.openbsd.org/sshd.8">sshd(8)</a>,
                    924:         <a href="https://man.openbsd.org/ssh-keygen.1">ssh-keygen(1)</a>:
                    925:         infrastructure support for KRL
                    926:         extensions.  This defines wire formats for optional KRL extensions
                    927:         and implements parsing of the new submessages. No actual extensions
                    928:         are supported at this point.
                    929:     <li><a href="https://man.openbsd.org/sshd.8">sshd(8)</a>:
                    930:         AuthorizedPrincipalsCommand and AuthorizedKeysCommand now
                    931:         accept two additional %-expansion sequences: %D which expands to
                    932:         the routing domain of the connected session and %C which expands
                    933:         to the addresses and port numbers for the source and destination
                    934:         of the connection.
                    935:     <li><a href="https://man.openbsd.org/ssh-keygen.1">ssh-keygen(1)</a>:
                    936:         increase the default work factor (rounds) for the
                    937:         bcrypt KDF used to derive symmetric encryption keys for passphrase
                    938:         protected key files by 50%.
1.1       deraadt   939:     </ul>
                    940:   <li>Bugfixes
                    941:     <ul>
1.12      dtucker   942:     <li><a href="https://man.openbsd.org/scp.1">scp(1)</a>:
                    943:         fix scp in SFTP mode recursive upload and download of
                    944:         directories that contain symlinks to other directories. In scp mode,
                    945:         the links would be followed, but in SFTP mode they were not.
                    946:     <li><a href="https://man.openbsd.org/ssh-keygen.1">ssh-keygen(1)</a>:
                    947:         handle cr+lf (instead of just cr) line endings in
                    948:         sshsig signature files.
                    949:     <li><a href="https://man.openbsd.org/ssh.1">ssh(1)</a>:
                    950:         interactive mode for ControlPersist sessions if they
                    951:         originally requested a tty.
                    952:     <li><a href="https://man.openbsd.org/sshd.8">sshd(8)</a>:
                    953:         make PerSourceMaxStartups first-match-wins
                    954:     <li><a href="https://man.openbsd.org/sshd.8">sshd(8)</a>:
                    955:         limit artificial login delay to a reasonable maximum (5s)
                    956:         and don't delay at all for the "none" authentication mechanism.
1.13      dtucker   957:     <li><a href="https://man.openbsd.org/sshd.8">sshd(8)</a>:
                    958:         Log errors in kex_exchange_identification() with level
1.12      dtucker   959:         verbose instead of error to reduce preauth log spam. All of those
                    960:         get logged with a more generic error message by sshpkt_fatal().
                    961:     <li><a href="https://man.openbsd.org/sshd.8">sshd(8)</a>:
                    962:         correct math for ClientAliveInterval that caused the probes
                    963:         to be sent less frequently than configured.
1.13      dtucker   964:     <li><a href="https://man.openbsd.org/ssh-agent.1">ssh-agent(1)</a>:
                    965:         improve isolation between loaded PKCS#11 modules
                    966:         by running separate ssh-pkcs11-helpers for each loaded provider.
                    967:     <li><a href="https://man.openbsd.org/ssh.1">ssh(1)</a>:
                    968:         make -f (fork after authentication) work correctly with
                    969:         multiplexed connections, including ControlPersist.
                    970:     <li><a href="https://man.openbsd.org/ssh.1">ssh(1)</a>:
                    971:         make ConnectTimeout apply to multiplexing sockets and not
                    972:         just to network connections.
                    973:     <li><a href="https://man.openbsd.org/ssh-agent.1">ssh-agent(1)</a>,
                    974:         <a href="https://man.openbsd.org/ssh.1">ssh(1)</a>:
                    975:         improve defences against invalid PKCS#11
                    976:         modules being loaded by checking that the requested module
                    977:         contains the required symbol before loading it.
                    978:     <li><a href="https://man.openbsd.org/sshd.8">sshd(8)</a>:
                    979:         fix AuthorizedPrincipalsCommand when AuthorizedKeysCommand
                    980:         appears before it in sshd_config. Since OpenSSH 8.7 the
                    981:         AuthorizedPrincipalsCommand directive was incorrectly ignored in
                    982:         this situation.
                    983:     <li><a href="https://man.openbsd.org/sshd.8">sshd(8)</a>,
                    984:         <a href="https://man.openbsd.org/ssh.1">ssh(1)</a>,
                    985:         <a href="https://man.openbsd.org/ssh-keygen.1">ssh-keygen(1)</a>:
1.16      jsg       986:         remove vestigial support for KRL
1.13      dtucker   987:         signatures When the KRL format was originally defined, it included
                    988:         support for signing of KRL objects. However, the code to sign KRLs
1.16      jsg       989:         and verify KRL signatures was never completed in OpenSSH. This
1.13      dtucker   990:         release removes the partially-implemented code to verify KRLs.
                    991:         All OpenSSH tools now ignore KRL_SECTION_SIGNATURE sections in
                    992:         KRL files.
                    993:      <li>All: fix a number of memory leaks and unreachable/harmless integer
                    994:         overflows.
                    995:     <li><a href="https://man.openbsd.org/ssh-agent.1">ssh-agent(1)</a>,
                    996:         <a href="https://man.openbsd.org/ssh.1">ssh(1)</a>:
                    997:         don't truncate strings logged from PKCS#11 modules
                    998:     <li><a href="https://man.openbsd.org/sshd.8">sshd(8)</a>,
                    999:         <a href="https://man.openbsd.org/ssh.1">ssh(1)</a>:
                   1000:         better validate CASignatureAlgorithms in
                   1001:         ssh_config and sshd_config. Previously this directive would accept
                   1002:         certificate algorithm names, but these were unusable in practice as
                   1003:         OpenSSH does not support CA chains.
                   1004:     <li><a href="https://man.openbsd.org/ssh.1">ssh(1)</a>:
                   1005:         make <code>ssh -Q CASignatureAlgorithms</code> only list signature
                   1006:         algorithms that are valid for CA signing. Previous behaviour was
                   1007:         to list all signing algorithms, including certificate algorithms.
                   1008:     <li><a href="https://man.openbsd.org/ssh-keyscan.1">ssh-keyscan(1)</a>:
                   1009:         gracefully handle systems where rlimits or the
                   1010:         maximum number of open files is larger than INT_MAX
                   1011:     <li><a href="https://man.openbsd.org/ssh-keygen.1">ssh-keygen(1)</a>:
                   1012:         fix "no comment" not showing on when running
                   1013:         <code>ssh-keygen -l</code> on multiple keys where one has a comment
                   1014:         and other following keys do not.
                   1015:     <li><a href="https://man.openbsd.org/scp.1">scp(1)</a>,
1.14      dtucker  1016:         <a href="https://man.openbsd.org/sftp.1">sftp(1)</a>:
1.13      dtucker  1017:         adjust ftruncate() logic to handle servers that
                   1018:         reorder requests. Previously, if the server reordered requests then
                   1019:         the resultant file would be erroneously truncated.
                   1020:     <li><a href="https://man.openbsd.org/ssh.1">ssh(1)</a>:
                   1021:         don't incorrectly disable hostname canonicalization when
1.16      jsg      1022:         CanonicalizeHostname=yes and ProxyJump was explicitly set to
1.13      dtucker  1023:         "none".
                   1024:     <li><a href="https://man.openbsd.org/scp.1">scp(1)</a>:
                   1025:         when copying local to remote, check that the source file
                   1026:         exists before opening an SFTP connection to the server.
1.1       deraadt  1027:     </ul>
                   1028:   </ul>
                   1029:
                   1030: <li>Ports and packages:
                   1031:   <p>Many pre-built packages for each architecture:
                   1032:   <!-- number of FTP packages minus SHA256, SHA256.sig, index.txt -->
                   1033:   <ul style="column-count: 3">
1.25      naddy    1034:     <li>aarch64:    11508
                   1035:     <li>amd64:      11845
1.1       deraadt  1036:     <li>arm:
1.25      naddy    1037:     <li>i386:       10603
1.1       deraadt  1038:     <li>mips64:
                   1039:     <li>powerpc:
                   1040:     <li>powerpc64:
                   1041:     <li>riscv64:
1.55      naddy    1042:     <li>sparc64:    8469
1.1       deraadt  1043:   </ul>
                   1044:
                   1045:   <p>Some highlights:
1.7       tb       1046:   <ul style="column-count: 3"><!-- XXX all need to be checked/updated 2023-03-04 -->
1.6       matthieu 1047:     <li>Asterisk 16.30.1, 18.19.0 and 20.4.0
1.5       matthieu 1048:     <li>Audacity 3.3.3
                   1049:     <li>CMake 3.27.5
1.10      matthieu 1050:     <li>Chromium 117.0.5838.149
1.5       matthieu 1051:     <li>Emacs 29.1
                   1052:     <li>FFmpeg 4.4.4
1.1       deraadt  1053:     <li>GCC 8.4.0 and 11.2.0
1.5       matthieu 1054:     <li>GHC 9.2.7
                   1055:     <li>GNOME 44
                   1056:     <li>Go 1.21.1
                   1057:     <li>JDK 8u382, 11.0.20 and 17.0.8
                   1058:     <li>KDE Applications 23.08.0
1.1       deraadt  1059:     <li>KDE Frameworks 5.98.0
1.5       matthieu 1060:     <li>Krita 5.1.5
                   1061:     <li>LLVM/Clang 13.0.0 and 16.0.6
                   1062:     <li>LibreOffice 7.6.2.1
                   1063:     <li>Lua 5.1.5, 5.2.4, 5.3.6 and 5.4.6
                   1064:     <li>MariaDB 10.9.6
                   1065:     <li>Mono 6.12.0.199
                   1066:     <li>Mozilla Firefox 118.0.1 and ESR 115.3.1
                   1067:     <li>Mozilla Thunderbird 115.3.1
                   1068:     <li>Mutt 2.2.12 and NeoMutt 20230517
                   1069:     <li>Node.js 18.18.0
1.1       deraadt  1070:     <li>OCaml 4.12.1
1.5       matthieu 1071:     <li>OpenLDAP 2.6.6
                   1072:     <li>PHP 7.4.33, 8.0.30, 8.1.24 and 8.2.11
                   1073:     <li>Postfix 3.7.3
                   1074:     <li>PostgreSQL 15.4
                   1075:     <li>Python 2.7.18, 3.9.18, 3.10.13 and 3.11.5
                   1076:     <li>Qt 5.15.10 and 6.5.2
                   1077:     <li>R 4.2.3
                   1078:     <li>Ruby 3.0.6, 3.1.4 and 3.2.2
                   1079:     <li>Rust 1.72.1
1.9       lteo     1080:     <li>SQLite 3.42.0
1.5       matthieu 1081:     <li>Shotcut 23.07.29
                   1082:     <li>Sudo 1.9.14.2
                   1083:     <li>Suricata 6.0.12
                   1084:     <li>Tcl/Tk 8.5.19 and 8.6.13
                   1085:     <li>TeX Live 2022
                   1086:     <li>Vim 9.0.1897 and Neovim 0.9.1
                   1087:     <li>Xfce 4.18
1.1       deraadt  1088:   </ul>
                   1089:   <p>
                   1090:
                   1091: <li>As usual, steady improvements in manual pages and other documentation.
                   1092:
                   1093: <li>The system includes the following major components from outside suppliers:
1.7       tb       1094:   <ul><!-- XXX all need to be checked/updated 2023-03-04 -->
1.5       matthieu 1095:     <li>Xenocara (based on X.Org 7.7 with xserver 21.1.8 + patches,
                   1096:         freetype 2.13.0, fontconfig 2.14.2, Mesa 22.3.7, xterm 378,
1.1       deraadt  1097:         xkeyboard-config 2.20, fonttosfnt 1.2.2 and more)
                   1098:     <li>LLVM/Clang 13.0.0 (+ patches)
                   1099:     <li>GCC 4.2.1 (+ patches) and 3.3.6 (+ patches)
1.5       matthieu 1100:     <li>Perl 5.36.1 (+ patches)
                   1101:     <li>NSD 4.7.0
                   1102:     <li>Unbound 1.18.0
1.1       deraadt  1103:     <li>Ncurses 5.7
                   1104:     <li>Binutils 2.17 (+ patches)
                   1105:     <li>Gdb 6.3 (+ patches)
1.5       matthieu 1106:     <li>Awk September 12, 2023
                   1107:     <li>Expat 2.5.0
1.49      schwarze 1108:     <li>zlib 1.3 (+ patches)
1.1       deraadt  1109:   </ul>
                   1110:
                   1111: </ul>
                   1112: </section>
                   1113:
                   1114: <hr>
                   1115:
                   1116: <section id=install>
                   1117: <h3>How to install</h3>
                   1118: <p>
                   1119: Please refer to the following files on the mirror site for
                   1120: extensive details on how to install OpenBSD 7.4 on your machine:
                   1121:
                   1122: <ul>
                   1123: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/7.4/alpha/INSTALL.alpha">
1.2       jsg      1124:        .../OpenBSD/7.4/alpha/INSTALL.alpha</a>
1.1       deraadt  1125: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/7.4/amd64/INSTALL.amd64">
1.2       jsg      1126:        .../OpenBSD/7.4/amd64/INSTALL.amd64</a>
1.1       deraadt  1127: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/7.4/arm64/INSTALL.arm64">
1.2       jsg      1128:        .../OpenBSD/7.4/arm64/INSTALL.arm64</a>
1.1       deraadt  1129: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/7.4/armv7/INSTALL.armv7">
1.2       jsg      1130:        .../OpenBSD/7.4/armv7/INSTALL.armv7</a>
1.1       deraadt  1131: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/7.4/hppa/INSTALL.hppa">
1.2       jsg      1132:        .../OpenBSD/7.4/hppa/INSTALL.hppa</a>
1.1       deraadt  1133: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/7.4/i386/INSTALL.i386">
1.2       jsg      1134:        .../OpenBSD/7.4/i386/INSTALL.i386</a>
1.1       deraadt  1135: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/7.4/landisk/INSTALL.landisk">
1.2       jsg      1136:        .../OpenBSD/7.4/landisk/INSTALL.landisk</a>
1.1       deraadt  1137: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/7.4/loongson/INSTALL.loongson">
1.2       jsg      1138:        .../OpenBSD/7.4/loongson/INSTALL.loongson</a>
1.1       deraadt  1139: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/7.4/luna88k/INSTALL.luna88k">
1.2       jsg      1140:        .../OpenBSD/7.4/luna88k/INSTALL.luna88k</a>
1.1       deraadt  1141: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/7.4/macppc/INSTALL.macppc">
1.2       jsg      1142:        .../OpenBSD/7.4/macppc/INSTALL.macppc</a>
1.1       deraadt  1143: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/7.4/octeon/INSTALL.octeon">
1.2       jsg      1144:        .../OpenBSD/7.4/octeon/INSTALL.octeon</a>
1.1       deraadt  1145: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/7.4/powerpc64/INSTALL.powerpc64">
1.2       jsg      1146:        .../OpenBSD/7.4/powerpc64/INSTALL.powerpc64</a>
1.1       deraadt  1147: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/7.4/riscv64/INSTALL.riscv64">
1.2       jsg      1148:        .../OpenBSD/7.4/riscv64/INSTALL.riscv64</a>
1.1       deraadt  1149: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/7.4/sparc64/INSTALL.sparc64">
1.2       jsg      1150:        .../OpenBSD/7.4/sparc64/INSTALL.sparc64</a>
1.1       deraadt  1151: </ul>
                   1152: </section>
                   1153:
                   1154: <hr>
                   1155:
                   1156: <section id=quickinstall>
                   1157: <p>
                   1158: Quick installer information for people familiar with OpenBSD, and the use of
                   1159: the "<a href="https://man.openbsd.org/disklabel.8">disklabel</a> -E" command.
                   1160: If you are at all confused when installing OpenBSD, read the relevant
                   1161: INSTALL.* file as listed above!
                   1162:
                   1163: <h3>OpenBSD/alpha:</h3>
                   1164:
                   1165: <p>
                   1166: If your machine can boot from CD, you can write <i>install74.iso</i> or
                   1167: <i>cd74.iso</i> to a CD and boot from it.
                   1168: Refer to INSTALL.alpha for more details.
                   1169:
                   1170: <h3>OpenBSD/amd64:</h3>
                   1171:
                   1172: <p>
                   1173: If your machine can boot from CD, you can write <i>install74.iso</i> or
                   1174: <i>cd74.iso</i> to a CD and boot from it.
                   1175: You may need to adjust your BIOS options first.
                   1176:
                   1177: <p>
                   1178: If your machine can boot from USB, you can write <i>install74.img</i> or
                   1179: <i>miniroot74.img</i> to a USB stick and boot from it.
                   1180:
                   1181: <p>
                   1182: If you can't boot from a CD, floppy disk, or USB,
                   1183: you can install across the network using PXE as described in the included
                   1184: INSTALL.amd64 document.
                   1185:
                   1186: <p>
                   1187: If you are planning to dual boot OpenBSD with another OS, you will need to
                   1188: read INSTALL.amd64.
                   1189:
                   1190: <h3>OpenBSD/arm64:</h3>
                   1191:
                   1192: <p>
                   1193: Write <i>install74.img</i> or <i>miniroot74.img</i> to a disk and boot from it
                   1194: after connecting to the serial console.  Refer to INSTALL.arm64 for more
                   1195: details.
                   1196:
                   1197: <h3>OpenBSD/armv7:</h3>
                   1198:
                   1199: <p>
                   1200: Write a system specific miniroot to an SD card and boot from it after connecting
                   1201: to the serial console.  Refer to INSTALL.armv7 for more details.
                   1202:
                   1203: <h3>OpenBSD/hppa:</h3>
                   1204:
                   1205: <p>
                   1206: Boot over the network by following the instructions in INSTALL.hppa or the
                   1207: <a href="hppa.html#install">hppa platform page</a>.
                   1208:
                   1209: <h3>OpenBSD/i386:</h3>
                   1210:
                   1211: <p>
                   1212: If your machine can boot from CD, you can write <i>install74.iso</i> or
                   1213: <i>cd74.iso</i> to a CD and boot from it.
                   1214: You may need to adjust your BIOS options first.
                   1215:
                   1216: <p>
                   1217: If your machine can boot from USB, you can write <i>install74.img</i> or
                   1218: <i>miniroot74.img</i> to a USB stick and boot from it.
                   1219:
                   1220: <p>
                   1221: If you can't boot from a CD, floppy disk, or USB,
                   1222: you can install across the network using PXE as described in
                   1223: the included INSTALL.i386 document.
                   1224:
                   1225: <p>
                   1226: If you are planning on dual booting OpenBSD with another OS, you will need to
                   1227: read INSTALL.i386.
                   1228:
                   1229: <h3>OpenBSD/landisk:</h3>
                   1230:
                   1231: <p>
                   1232: Write <i>miniroot74.img</i> to the start of the CF
                   1233: or disk, and boot normally.
                   1234:
                   1235: <h3>OpenBSD/loongson:</h3>
                   1236:
                   1237: <p>
                   1238: Write <i>miniroot74.img</i> to a USB stick and boot bsd.rd from it
                   1239: or boot bsd.rd via tftp.
                   1240: Refer to the instructions in INSTALL.loongson for more details.
                   1241:
                   1242: <h3>OpenBSD/luna88k:</h3>
                   1243:
                   1244: <p>
                   1245: Copy 'boot' and 'bsd.rd' to a Mach or UniOS partition, and boot the bootloader
                   1246: from the PROM, and then bsd.rd from the bootloader.
                   1247: Refer to the instructions in INSTALL.luna88k for more details.
                   1248:
                   1249: <h3>OpenBSD/macppc:</h3>
                   1250:
                   1251: <p>
                   1252: Burn the image from a mirror site to a CDROM, and power on your machine
                   1253: while holding down the <i>C</i> key until the display turns on and
                   1254: shows <i>OpenBSD/macppc boot</i>.
                   1255:
                   1256: <p>
                   1257: Alternatively, at the Open Firmware prompt, enter <i>boot cd:,ofwboot
1.2       jsg      1258: /7.4/macppc/bsd.rd</i>
1.1       deraadt  1259:
                   1260: <h3>OpenBSD/octeon:</h3>
                   1261:
                   1262: <p>
                   1263: After connecting a serial port, boot bsd.rd over the network via DHCP/tftp.
                   1264: Refer to the instructions in INSTALL.octeon for more details.
                   1265:
                   1266: <h3>OpenBSD/powerpc64:</h3>
                   1267:
                   1268: <p>
                   1269: To install, write <i>install74.img</i> or <i>miniroot74.img</i> to a
                   1270: USB stick, plug it into the machine and choose the <i>OpenBSD
                   1271: install</i> menu item in Petitboot.
                   1272: Refer to the instructions in INSTALL.powerpc64 for more details.
                   1273:
                   1274: <h3>OpenBSD/riscv64:</h3>
                   1275:
                   1276: <p>
                   1277: To install, write <i>install74.img</i> or <i>miniroot74.img</i> to a
                   1278: USB stick, and boot with that drive plugged in.
                   1279: Make sure you also have the microSD card plugged in that shipped with the
                   1280: HiFive Unmatched board.
                   1281: Refer to the instructions in INSTALL.riscv64 for more details.
                   1282:
                   1283: <h3>OpenBSD/sparc64:</h3>
                   1284:
                   1285: <p>
                   1286: Burn the image from a mirror site to a CDROM, boot from it, and type
                   1287: <i>boot cdrom</i>.
                   1288:
                   1289: <p>
                   1290: If this doesn't work, or if you don't have a CDROM drive, you can write
                   1291: <i>floppy74.img</i> or <i>floppyB74.img</i>
                   1292: (depending on your machine) to a floppy and boot it with <i>boot
                   1293: floppy</i>. Refer to INSTALL.sparc64 for details.
                   1294:
                   1295: <p>
                   1296: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install
                   1297: will most likely fail.
                   1298:
                   1299: <p>
                   1300: You can also write <i>miniroot74.img</i> to the swap partition on
                   1301: the disk and boot with <i>boot disk:b</i>.
                   1302:
                   1303: <p>
                   1304: If nothing works, you can boot over the network as described in INSTALL.sparc64.
                   1305: </section>
                   1306:
                   1307: <hr>
                   1308:
                   1309: <section id=upgrade>
                   1310: <h3>How to upgrade</h3>
                   1311: <p>
1.3       jsg      1312: If you already have an OpenBSD 7.3 system, and do not want to reinstall,
1.1       deraadt  1313: upgrade instructions and advice can be found in the
                   1314: <a href="faq/upgrade74.html">Upgrade Guide</a>.
                   1315: </section>
                   1316:
                   1317: <hr>
                   1318:
                   1319: <section id=sourcecode>
                   1320: <h3>Notes about the source code</h3>
                   1321: <p>
                   1322: <code>src.tar.gz</code> contains a source archive starting at <code>/usr/src</code>.
                   1323: This file contains everything you need except for the kernel sources,
                   1324: which are in a separate archive.
                   1325: To extract:
                   1326: <blockquote><pre>
                   1327: # <kbd>mkdir -p /usr/src</kbd>
                   1328: # <kbd>cd /usr/src</kbd>
                   1329: # <kbd>tar xvfz /tmp/src.tar.gz</kbd>
                   1330: </pre></blockquote>
                   1331: <p>
                   1332: <code>sys.tar.gz</code> contains a source archive starting at <code>/usr/src/sys</code>.
                   1333: This file contains all the kernel sources you need to rebuild kernels.
                   1334: To extract:
                   1335: <blockquote><pre>
                   1336: # <kbd>mkdir -p /usr/src/sys</kbd>
                   1337: # <kbd>cd /usr/src</kbd>
                   1338: # <kbd>tar xvfz /tmp/sys.tar.gz</kbd>
                   1339: </pre></blockquote>
                   1340: <p>
                   1341: Both of these trees are a regular CVS checkout.  Using these trees it
                   1342: is possible to get a head-start on using the anoncvs servers as
                   1343: described <a href="anoncvs.html">here</a>.
                   1344: Using these files
                   1345: results in a much faster initial CVS update than you could expect from
                   1346: a fresh checkout of the full OpenBSD source tree.
                   1347: </section>
                   1348:
                   1349: <hr>
                   1350:
                   1351: <section id=ports>
                   1352: <h3>Ports Tree</h3>
                   1353: <p>
                   1354: A ports tree archive is also provided.  To extract:
                   1355: <blockquote><pre>
                   1356: # <kbd>cd /usr</kbd>
                   1357: # <kbd>tar xvfz /tmp/ports.tar.gz</kbd>
                   1358: </pre></blockquote>
                   1359: <p>
                   1360: Go read the <a href="faq/ports/index.html">ports</a> page
                   1361: if you know nothing about ports
                   1362: at this point.  This text is not a manual of how to use ports.
                   1363: Rather, it is a set of notes meant to kickstart the user on the
                   1364: OpenBSD ports system.
                   1365: <p>
                   1366: The <i>ports/</i> directory represents a CVS checkout of our ports.
                   1367: As with our complete source tree, our ports tree is available via
                   1368: <a href="anoncvs.html">AnonCVS</a>.
                   1369: So, in order to keep up to date with the -stable branch, you must make
                   1370: the <i>ports/</i> tree available on a read-write medium and update the tree
                   1371: with a command like:
                   1372: <blockquote><pre>
                   1373: # <kbd>cd /usr/ports</kbd>
1.2       jsg      1374: # <kbd>cvs -d anoncvs@server.openbsd.org:/cvs update -Pd -rOPENBSD_7_4</kbd>
1.1       deraadt  1375: </pre></blockquote>
                   1376: <p>
                   1377: [Of course, you must replace the server name here with a nearby anoncvs
                   1378: server.]
                   1379: <p>
                   1380: Note that most ports are available as packages on our mirrors. Updated
                   1381: ports for the 7.4 release will be made available if problems arise.
                   1382: <p>
                   1383: If you're interested in seeing a port added, would like to help out, or just
                   1384: would like to know more, the mailing list
                   1385: <a href="mail.html">ports@openbsd.org</a> is a good place to know.
                   1386: </section>
                   1387: </body>
                   1388: </html>