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

Annotation of www/62.html, Revision 1.87

1.1       deraadt     1: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
                      2: <html>
                      3: <head>
                      4: <title>OpenBSD 6.2</title>
                      5: <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
                      6: <meta name="description" content="OpenBSD 6.2">
                      7: <meta name="copyright" content="This document copyright 2017 by OpenBSD.">
                      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/62.html">
                     11: </head>
                     12:
                     13: <body bgcolor="#ffffff" text="#000000" link="#24248E">
                     14:
                     15: <h2>
                     16: <a href="index.html">
                     17: <i><font color="#0000ff">Open</font></i><font color="#000084">BSD</font></a>
                     18: <font color="#e00000">6.2</font>
                     19: </h2>
                     20:
1.75      deraadt    21: <a href="images/MoBSD-l.gif">
                     22: <img align="left" width="227" height="343" hspace="24" src="images/MoBSD.gif"></a>
                     23: Released October 9, 2017<br>
1.1       deraadt    24: Copyright 1997-2017, Theo de Raadt.<br>
                     25: <br>
                     26: <br>
                     27:
                     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 <font color="#e00000">pub/OpenBSD/6.2/</font> directory on
                     33:     one of the mirror sites.
                     34: <li>Have a look at <a href="errata62.html">the 6.2 errata page</a> for a list
                     35:     of bugs and workarounds.
                     36: <li>See a <a href="plus62.html">detailed log of changes</a> between the
                     37:     6.1 and 6.2 releases.
                     38: <p>
                     39: <li><a href="https://man.openbsd.org/signify.1">signify(1)</a>
                     40:     pubkeys for this release:<br>
                     41: <pre>
                     42: base: RWRVWzAMgtyg7g27STK1h1xA6RIwtjex6Vr5Y9q5SC5q5+b0GN4lLhfu
                     43: fw:   RWSbA8C2TPUQLi48EqHtg7Rx7KGDt6E/2d8OeJinGZPbpoqGRxA0N2oW
                     44: pkg:  RWRvEq+UPCq0VGI9ar7VMy+HYKDrOb4WS5JLhdUBiX3qvJgPQjyZSTxI
                     45: </pre>
                     46: <p>
                     47: All applicable copyrights and credits are in the src.tar.gz,
                     48: sys.tar.gz, xenocara.tar.gz, ports.tar.gz files, or in the
                     49: files fetched via ports.tar.gz.
                     50: </ul>
                     51: <br clear=all>
                     52:
                     53: <hr>
                     54:
                     55: <h3 id="new"><font color="#0000e0">What's New</font></h3>
                     56:
                     57: This is a partial list of new features and systems included in OpenBSD 6.2.
                     58: For a comprehensive list, see the <a href="plus62.html">changelog</a> leading
                     59: to 6.2.
                     60:
                     61: <ul>
                     62:
                     63: <li>Improved hardware support, including:
                     64:     <ul>
1.61      jsing      65:     <li>arm: New <a href="https://man.openbsd.org/rkgrf.4">rkgrf(4)</a> driver
                     66:         for the Rockchip RK3399/RK3288 register file.
                     67:     <li>arm: New <a href="https://man.openbsd.org/rkclock.4">rkclock(4)</a>
                     68:         driver for Rockchip RK3399/RK3288 clocks.
                     69:     <li>arm: New <a href="https://man.openbsd.org/rkpinctrl.4">rkpinctrl(4)</a>
                     70:         driver for controlling Rockchip RK3399/RK3288 pins.
                     71:     <li>arm: New <a href="https://man.openbsd.org/rkgpio.4">rkgpio(4)</a> driver
                     72:         for GPIO on Rockchip SoCs.
                     73:     <li>arm: New <a href="https://man.openbsd.org/rktemp.4">rktemp(4)</a> driver
                     74:         for Rockchip RK3399 temperature sensors.
                     75:     <li>arm: New <a href="https://man.openbsd.org/rkiic.4">rkiic(4)</a> driver
                     76:         for Rockchip RK3399 I2C controllers.
                     77:     <li>arm: New <a href="https://man.openbsd.org/rkpmic.4">rkpmic(4)</a> driver
                     78:         for the RK808 Power Management IC.
                     79:     <li>arm: New <a href="https://man.openbsd.org/dwmmc.4">dwmmc(4)</a> driver
                     80:         for Synopsis DesignWare SD/MMC controllers.
                     81:     <li>arm: New <a href="https://man.openbsd.org/dwdog.4">dwdog(4)</a> driver
                     82:         for the Synopsys DesignWare watchdog timer.
                     83:     <li>arm: New <a href="https://man.openbsd.org/dwxe.4">dwxe(4)</a> driver
                     84:         for the Synopsys DesignWare Ethernet controller.
                     85:     <li>arm: New <a href="https://man.openbsd.org/sxitwi.4">sxitwi(4)</a> driver
                     86:         for the two-wire bus on Allwinner SoCs.
                     87:     <li>arm: New <a href="https://man.openbsd.org/axppmic.4">axppmic(4)</a>
                     88:         driver for the AXP209 I2C PMIC.
                     89:     <li>arm: New <a href="https://man.openbsd.org/bcmaux.4">bcmaux(4)</a> driver
                     90:         for clocks and interrupts on the auxilliary UART on BCM2835 devices.
                     91:     <li>arm: New <a href="https://man.openbsd.org/armv7/mvmpic.4">mvmpic(4)</a>
                     92:         driver for an interrupt controller on Marvell ARMADA 38x.
                     93:     <li>arm: New <a href="https://man.openbsd.org/armv7/mvpxa.4">mvpxa(4)</a>
                     94:         driver for the SD Host Controller on Marvell ARMADA 38x.
                     95:     <li>arm: New <a href="https://man.openbsd.org/mvpinctrl.4">mvpinctrl(4)</a>
                     96:         driver to configure pins on Marvell ARMADA 38x.
                     97:     <li>arm: New <a href="https://man.openbsd.org/mvneta.4">mvneta(4)</a> driver
                     98:         the Ethernet controller on Marvell ARMADA 38x.
                     99:     <li>arm: New <a
                    100:         href="https://man.openbsd.org/armv7/amdisplay.4">amdisplay(4)</a> &amp;
                    101:         <a href="https://man.openbsd.org/armv7/nxphdmi.4">nxphdmi(4)</a> drivers
                    102:         for the Texas Instruments AM335x LCD controller.
                    103:     <li>octeon: New <a
                    104:         href="https://man.openbsd.org/octeon/octcib.4">octcib(4)</a> driver for
                    105:         the interrupt bus widget on CN70xx/CN71xx.
                    106:     <li>octeon: New <a
                    107:         href="https://man.openbsd.org/octeon/octcit.4">octcit(4)</a> driver for
                    108:         the central interrupt unit version 3 on CN72xx/CN73xx/CN77xx/CN78xx.
                    109:     <li>octeon: New <a
                    110:         href="https://man.openbsd.org/octeon/octsctl.4">octsctl(4)</a> driver
                    111:         for the OCTEON SATA controller bridge.
                    112:     <li>octeon: New <a
                    113:         href="https://man.openbsd.org/octeon/octxctl.4">octxctl(4)</a> driver
                    114:         for the OCTEON USB3 controller bridge.
                    115:     <li>octeon: Rhino Labs Inc. SDNA Shasta, and Ubiquiti Networks EdgeRouter 4
                    116:         and 6 are now supported.
                    117:     <li>New <a href="https://man.openbsd.org/hvs.4">hvs(4)</a> driver for
                    118:         Hyper-V storage.
                    119:     <li>New <a href="https://man.openbsd.org/pcxrtc.4">pcxrtc(4)</a> driver for
                    120:         the NXP PCF8563 Real Time Clock.
                    121:     <li>New <a href="https://man.openbsd.org/urng.4">urng(4)</a> driver for USB
                    122:         random number generator devices.
                    123:     <li>Intel 8265 and 3168 support was added to the
                    124:         <a href="https://man.openbsd.org/iwm.4">iwm(4)</a> driver.
                    125:     <li>RTL8192CE support was added to the
                    126:         <a href="https://man.openbsd.org/rtwn.4">rtwn(4)</a> driver.
                    127:     <li>RT5360 support was added to the
                    128:         <a href="https://man.openbsd.org/ral.4">ral(4)</a> driver.
                    129:     <li>RTS525A support was added to the
                    130:         <a href="https://man.openbsd.org/rtsx.4">rtsx(4)</a> driver.
                    131:     <li>The <a href="https://man.openbsd.org/acpibat.4">acpibat(4)</a> driver
                    132:         now supports _BIX entries from ACPI 4.0.
                    133:     <li>ACPI hibernate support was added to the
                    134:         <a href="https://man.openbsd.org/nvme.4">nvme(4)</a> driver.
                    135:     <li>Substantially improved ACPI hibernate performance in the
                    136:         <a href="https://man.openbsd.org/ahci.4">ahci(4)</a> driver.
                    137:     <li>The <a href="https://man.openbsd.org/inteldrm.4">inteldrm(4)</a> driver
                    138:         was updated to code based on Linux 4.4.70 - it now supports Skylake,
                    139:         Kaby Lake, and Cherryview devices and has better support for Broadwell
                    140:         and Valleyview devices.
                    141:     <li>The <a href="https://man.openbsd.org/puc.4">puc(4)</a> driver now
                    142:         supports ASIX AX99100 devices.
                    143:     <li>Xen platform support and the
                    144:         <a href="https://man.openbsd.org/xbf.4">xbf(4)</a> driver in particular
                    145:         have been substantially improved.
                    146:     <li>The <a href="https://man.openbsd.org/nvme.4">nvme(4)</a> driver now reports
                    147:         correct last sector address to SCSI, allowing a valid GPT to be created.
                    148:     <li>Repair <a href="https://man.openbsd.org/ioapic.4">ioapic(4)</a> misconfigurations.
1.1       deraadt   149:     </ul>
                    150:
                    151: <p>
1.36      pd        152: <li><a href="https://man.openbsd.org/amd64/vmm.4">vmm(4)</a>/
                    153:     <a href="https://man.openbsd.org/amd64/vmd.8">vmd(8)</a> improvements:
1.1       deraadt   154:     <ul>
1.63      jsing     155:     <li><a href="https://man.openbsd.org/amd64/vmctl.8">vmctl(8)</a> supports
                    156:         paused VM migration and memory snapshotting using send and receive commands.
                    157:     <li>VPID/ASID reuse/rollover in <a
                    158:         href="https://man.openbsd.org/amd64/vmm.4">vmm(4)</a>.
                    159:     <li>SGABIOS imported as an option ROM payload in SeaBIOS (for VGA to serial
1.66      rob       160:         console redirection).
1.63      jsing     161:     <li><a href="https://man.openbsd.org/amd64/vmd.8">vmd(8)</a> resets the
                    162:         guest VM RTC (real time clock) on host resume from suspend/hibernate
1.66      rob       163:         (OpenBSD guests only).
1.63      jsing     164:     <li>Allow guest VMs access to AVX/AVX2 host CPU features.
                    165:     <li>Support for AMD SVM/RVI hosts.
                    166:     <li>Allow larger guest VM memory sizes (up to MAXDSIZ sized guests - e.g.
1.66      rob       167:         32GB on amd64 hosts).
1.63      jsing     168:     <li>Better handling of guest VM MONITOR/MWAIT and HLT instructions.
                    169:     <li>Various device emulation improvements in <a
                    170:         href="https://man.openbsd.org/amd64/vmd.8">vmd(8)</a>.
                    171:     <li>Increase the <a href="https://man.openbsd.org/virtio.4">virtio(4)</a>
                    172:         queue size provided by <a
                    173:         href="https://man.openbsd.org/amd64/vmd.8">vmd(8)</a> from 64 to 128 entries, to increase performance.
                    174:     <li>Many fixes to <a href="https://man.openbsd.org/amd64/vmctl.8">vmctl(8)</a>
                    175:         and <a href="https://man.openbsd.org/amd64/vmd.8">vmd(8)</a> error handling.
1.1       deraadt   176:     </ul>
                    177: <p>
                    178:
                    179: <li>IEEE 802.11 wireless stack improvements:
                    180:     <ul>
1.63      jsing     181:     <li>MiRA 802.11n TX rate scaling now supports devices with unequal numbers
                    182:         of Tx and Rx streams. Fixes 11n mode for some
1.87    ! schwarze  183:         <a href="https://man.openbsd.org/athn.4">athn(4)</a> devices.
        !           184:     <li>The <a href="https://man.openbsd.org/iwn.4">iwn(4)</a> and
        !           185:         <a href="https://man.openbsd.org/iwm.4">iwm(4)</a> drivers will now start
1.63      jsing     186:         scanning for a new access point if they no longer receive beacons from
                    187:         the current AP.
1.8       stsp      188:     <li>Prefer the 5GHz band over the 2GHz band during access point selection.
1.63      jsing     189:     <li>Improved debug output in
                    190:         <a href="https://man.openbsd.org/dmesg.8">dmesg(8)</a> when a wireless
                    191:         interface is put into debug mode with
                    192:         <a href="https://man.openbsd.org/ifconfig.8">ifconfig(8)</a>.
1.1       deraadt   193:     </ul>
                    194: <p>
                    195:
                    196: <li>Generic network stack improvements:
                    197:     <ul>
1.63      jsing     198:     <li>Incoming and forwarded IP packets are now processed without
                    199:         KERNEL_LOCK, resulting in better performances and reduced latency.
                    200:     <li>The kernel no longer handles IPv6 Stateless Address
                    201:         Autoconfiguration (RFC 4862), allowing cleanup and simplification
                    202:         of the IPv6 network stack.
                    203:     <li>The kernel sends IPv6 router solicitations for link local addresses
                    204:         with a link local source address.
                    205:     <li>FQ-CoDel algorithm has been implemented for use with <a
                    206:         href="https://man.openbsd.org/pf.conf#QUEUEING">pf(4) queueing</a>.
                    207:     <li>Improved IPv6 checks for IPsec policies and made them consistent
1.31      bluhm     208:        with IPv4.
1.63      jsing     209:     <li>Refactored local IP delivery to process IPsec packets in a flow and
                    210:         avoid enqueueing a second time.
1.31      bluhm     211:     <li><a href="https://man.openbsd.org/pf.4">pf(4)</a>
1.63      jsing     212:        now inspects AH packets and matches on the inner protocol.
1.31      bluhm     213:        This makes IPv4 authentication headers work like IPv6.
                    214:     <li>The length of extension header chains in pf(4) is limited.
1.63      jsing     215:        This prevents spending excessive CPU time on crafted packets.
                    216:     <li>Block IPv6 packets in
                    217:         <a href="https://man.openbsd.org/pf.4">pf(4)</a>
                    218:         that have a hop-by-hop options header or a destination options header.
                    219:        Such packets can be passed by adding "allow-opts" to the rule.
                    220:         This makes IPv6 option handling consistent with IPv4.
1.38      jca       221:     <li>If the IPv4 ID gets reused too fast, pf(4) fragment reassembly
1.31      bluhm     222:        uses a smarter strategy to drop packets.
1.63      jsing     223:     <li>Enabled the use of per-CPU caches in the network packet allocators.
1.1       deraadt   224:     </ul>
                    225: <p>
                    226:
                    227: <li>Installer improvements:
                    228:     <ul>
1.63      jsing     229:     <li>The installer now uses the Allotment Routing Table (ART).
                    230:     <li>A unique kernel is now created by the installer to boot from after
                    231:         install/upgrade.
                    232:     <li>On release installs of architectures supported by syspatch,
                    233:         "syspatch -c" is now added to rc.firsttime.
                    234:     <li>Backwards compatibility code to support the 'rtsol' keyword in
                    235:         <a href="https://man.openbsd.org/hostname.if.5">hostname.if(5)</a>
                    236:         has been removed.
                    237:     <li>The <tt>install.site</tt> and <tt>upgrade.site</tt> scripts are now
                    238:         executed at the end of the install/upgrade process.
                    239:     <li>More detailed information is shown to identify disks.
                    240:     <li>The IPv6 default router selection has been fixed.
                    241:     <li>On the amd64 platform, AES-NI is used if present.
1.1       deraadt   242:     </ul>
                    243: <p>
                    244:
                    245: <li>Routing daemons and other userland network improvements:
                    246:     <ul>
1.63      jsing     247:     <li>A new daemon, <a
                    248:         href="https://man.openbsd.org/slaacd.8">slaacd(8)</a> handles IPv6
                    249:         Stateless Address Autoconfiguration (RFC 4862).
                    250:     <li><a href="https://man.openbsd.org/rtadvd.8">rtadvd(8)</a> now supports
                    251:         "Reducing Energy Consumption of Router Advertisements" (RFC 7772).
1.37      jca       252:     <li><a href="https://man.openbsd.org/rtadvd.8">rtadvd(8)</a> has
1.66      rob       253:         been fixed to quickly handle IPv6 prefix changes on the system.
1.31      bluhm     254:     <li><a href="https://man.openbsd.org/ipsecctl.8">ipsecctl(8)</a>
1.63      jsing     255:        can now show SA bundles and the "bundle" keyword allows them to be
                    256:         explicitly created. This avoids confusion as they were previously
                    257:         used implicitly.
1.31      bluhm     258:     <li><a href="https://man.openbsd.org/nc.1">nc(1)</a>
1.63      jsing     259:         now has a <tt>-W recvlimit</tt> option to terminate netcat after
                    260:         receiving the specified number of packets. This allows for a UDP
                    261:         request to be sent, a reply to be received and the result checked on
                    262:         the command line.
1.58      jsing     263:     <li><a href="https://man.openbsd.org/nc.1">nc(1)</a>
1.63      jsing     264:         now has a <tt>-Z</tt> option, allowing the peer certificate and chain to be
1.58      jsing     265:         saved to a file in PEM format.
1.63      jsing     266:     <li>A new <tt>-T tlscompat</tt> option was added to
1.58      jsing     267:         <a href="https://man.openbsd.org/nc.1">nc(1)</a>, which enables the use
                    268:         of all TLS protocols and libtls "compat" ciphers.
1.63      jsing     269:     <li>Various races have been fixed in
                    270:        <a href="https://man.openbsd.org/relayd.8">relayd(8)</a>,
1.31      bluhm     271:        expecially in HTTP chunked mode.
1.63      jsing     272:     <li><a href="https://man.openbsd.org/ndp.8">ndp(8)</a> now shows the
                    273:         relevant NDP information when run in a non-default routing
                    274:         domain.
1.40      jca       275:     <li><a href="https://man.openbsd.org/ifstated.8">ifstated(8)</a> now
1.63      jsing     276:         copes with interface departures/arrivals.
1.51      benno     277:     <li><a href="https://man.openbsd.org/bgpd.8">bgpd(8)</a> can now
1.63      jsing     278:         be started multiple times in different
                    279:         <a href="https://man.openbsd.org/rdomain.4">routing domains</a>,
                    280:         this provides virtual router functionality.
1.1       deraadt   281:     </ul>
                    282: <p>
                    283:
                    284: <li>Security improvements:
                    285:     <ul>
1.9       otto      286:     <li>A new function
                    287:        <a href="https://man.openbsd.org/freezero.3">freezero(3)</a>
                    288:        to easily clear and free memory holding sensitive data has been added.
                    289:     <li>Double free detection has been improved when the F
                    290:        <a href="https://man.openbsd.org/malloc.3">malloc(3)</a> option is used.
                    291:        The existing S option now includes F.
1.24      anton     292:     <li>The <a href="https://man.openbsd.org/tty.4#TIOCSTI">TIOCSTI</a>
1.19      deraadt   293:        tty ioctl has been removed.  The I/O-loops in the last two consumers
1.24      anton     294:        <a href="https://man.openbsd.org/csh.1">csh(1)</a> and
                    295:        <a href="https://man.openbsd.org/mail.1">mail(1)</a>
1.19      deraadt   296:        were rewritten to cope with the removal.
1.29      brynet    297:     <li>Trapsleds, a new mitigation that significantly reduces the amount of
1.53      deraadt   298:         nops in the instruction stream, replacing them with trap instructions
                    299:         or jump-over-trap sequences, thereby requiring greater accuracy for
                    300:         targetting potential gadgets.
1.29      brynet    301:     <li>Kernel Address Randomized Link (KARL), a new "link-kit" allows the .o
                    302:         files of the kernel to be relinked in a random order, creating a unique
1.53      deraadt   303:         kernel for each boot.  /bsd is now non-readable to users, to try to
                    304:         keep the secret.
1.29      brynet    305:     <li>Like with libc previously,
                    306:         <a href="https://man.openbsd.org/rc.8">rc(8)</a> re-links libcrypto on
                    307:         startup, placing the objects in a random order.
                    308:     <li>In addition to libcrypto, to deter code reuse exploits,
                    309:         <a href="https://man.openbsd.org/rc.8">rc(8)</a> re-links
                    310:         <a href="https://man.openbsd.org/ld.so.1">ld.so</a> on
                    311:         startup, placing the objects in a random order.
1.31      bluhm     312:     <li>If process accounting is activated with
                    313:        <a href="https://man.openbsd.org/accton.8">accton(8)</a>,
                    314:        the daily mail shows pledge violations and program crashes.
1.70      rob       315:        <a href="https://man.openbsd.org/lastcomm.1">lastcomm(1)</a>
1.31      bluhm     316:        uses the flags P and T for such processes.
1.34      brynet    317:     <li><a href="https://man.openbsd.org/pflogd.8">pflogd(8)</a> uses the
                    318:        fork+exec model.
                    319:     <li><a href="https://man.openbsd.org/tcpdump.8">tcpdump(8)</a> uses the
                    320:        fork+exec model.
1.39      jca       321:     <li><a href="https://man.openbsd.org/ifstated.8">ifstated(8)</a>
                    322:       uses <a href="https://man.openbsd.org/pledge.2">pledge(2)</a>.
                    323:     <li><a href="https://man.openbsd.org/snmpd.8">snmpd(8)</a> and
1.71      rob       324:       <a href="https://man.openbsd.org/snmpctl.8">snmpctl(8)</a> now use
1.39      jca       325:       <a href="https://man.openbsd.org/pledge.2">pledge(2)</a>.
1.45      tb        326:     <li>Tighter pledge for <a href="https://man.openbsd.org/at.1">at(1)</a>.
                    327:     <li>Fixed and simplified pledge logic for
                    328:       <a href="https://man.openbsd.org/nc.1">nc(1)</a>.
1.77      espie     329:     <li>More application of
                    330:        <a href="https://man.openbsd.org/recallocarray.3">recallocarray(3)</a>
                    331:        in userland, and tracked sizes to
                    332:        <a href="https://man.openbsd.org/free.9">free(9)</a> in the kernel.
1.53      deraadt   333:     <li>Achieve higher levels of paranoia regarding structure packing, and
                    334:         clear many kernel objects before passing to userland.
1.77      espie     335:     <li>Disable some optimizations in
                    336:        <a href="https://man.openbsd.org/clang.1">clang(1)</a>
                    337:        due to incompatibility with security.
                    338:     <li>For instance, cope with
                    339:        <a href="https://man.openbsd.org/clang.1">clang(1)</a>'s assumption
                    340:        that static or const
1.53      deraadt   341:         objects placed in unknown sections (such as .openbsd.randomdata)
                    342:         are surely always 0, and therefore such memory accesses can be
1.66      rob       343:         optimized away.
1.53      deraadt   344:     <li>In kernel, randomly bias down the top-of-stack per kthread.
1.1       deraadt   345:     </ul>
                    346: <p>
                    347:
1.32      krw       348: <li><a href="https://man.openbsd.org/dhcpd.8">dhcpd(8)</a>/
1.1       deraadt   349:     <a href="https://man.openbsd.org/dhcrelay.8">dhcrelay(8)</a> improvements:
                    350:     <ul>
1.32      krw       351:     <li>Add support for echo-client-id statement to
1.78      krw       352:       <a href="https://man.openbsd.org/dhcpd.conf.5">dhcpd.conf(5)</a>.
1.35      krw       353:     <li>Take greater care to process all data read, and only data read, from the
                    354:       <a href="https://man.openbsd.org/bpf.4">bpf(4)</a>
                    355:       socket.
                    356:     <li>Use /dev/bpf instead of /dev/bpf0.
                    357:     <li>Handle DHCPINFORM messages from clients behind a DHCP relay.
                    358:     <li>Fix handling of
                    359:       <a href="https://man.openbsd.org/carp.4">carp(4)</a>
                    360:       interfaces in
                    361:        <a href="https://man.openbsd.org/dhcrelay.8">dhcrelay(8)</a>.
                    362:     <li>Don't stop
                    363:       <a href="https://man.openbsd.org/dhcrelay.8">dhcrelay(8)</a>
                    364:       logging to stderr when it is started with the -d option.
1.32      krw       365:     </ul>
                    366: <p>
                    367:
                    368: <li><a href="https://man.openbsd.org/dhclient.8">dhclient(8)</a> improvements:
                    369:     <ul>
                    370:     <li>Log messages reworked and clarified, in particular by prefixing
                    371:        the name of the relevant network interface.
                    372:     <li>Treat SSID as 0 to 32 bytes of binary data, not a string.
                    373:     <li>Use RTM_PROPOSAL to take control of an interface rather than flipping
                    374:       interface down and up in the hope that other
                    375:       <a href="https://man.openbsd.org/dhclient.8">dhclient(8)</a>
                    376:       instances notice.
                    377:     <li>Reduce file operations needed by -L option by opening file at
                    378:       startup and using it throughout process lifetime.
                    379:     <li>Improve <a href="https://man.openbsd.org/resolv.conf.5">resolv.conf(5)</a>
                    380:       handling by reducing writes and more reliably determining which interface
                    381:       has the current default route.
                    382:     <li>Take greater care to process all data read, and only data read, from the
                    383:       <a href="https://man.openbsd.org/bpf.4">bpf(4)</a>
                    384:       socket.
                    385:     <li>Improve the determination of the link state of an interface.
                    386:     <li>Decline inappropriate lease offers as soon as they are deemed
                    387:       inappropriate.
                    388:     <li>Drop support for the timestamp formats used in lease files created
                    389:       more than four years ago.
                    390:     <li>Accept an offer from the server that sent the first copy of
                    391:       the offer, not the server that sent the last copy.
                    392:     <li>Don't delete addresses and routes when exiting.
                    393:     <li>Ensure IPv6 packets are not read from sockets.
                    394:     <li>Don't silently ignore obsolete keywords in
1.69      rob       395:       <a href="https://man.openbsd.org/dhclient.conf.5">dhclient.conf(5)</a>.
1.32      krw       396:     <li>Reduce memory footprint by shrinking oversized static buffers.
                    397:     <li>Eliminate repeated socket opens by opening the required sockets during
                    398:       startup.
                    399:     <li>Fix construction of unicast UDP packets, broken in 5.6.
                    400:     <li>Improve determination of when a renewed lease requires interface
                    401:       configuration changes.
                    402:     <li>Don't exit when addresses are manually added or deleted from an
                    403:       interface.
                    404:     <li>Don't support option 33, classfull IP addresses.
                    405:     <li>Fix configuration of default routes supplied by classless route options.
                    406:     <li>Consider
                    407:       <a href="https://man.openbsd.org/dhclient.conf.5">dhclient.conf(5)</a>
                    408:       contents when determining what MTU value to configure.
                    409:     <li>Consider
                    410:       <a href="https://man.openbsd.org/dhclient.conf.5">dhclient.conf(5)</a>
                    411:       contents when creating the content of
                    412:       <a href="https://man.openbsd.org/resolv.conf.5">resolv.conf(5)</a>.
                    413:     <li>Delete direct routes when routes are flushed.
                    414:     <li>Don't label routes with "DHCLIENT nnnn".
                    415:     <li>Don't delete addresses or routes that will be immediately added back.
                    416:     <li>Delete addresses and routes only when a renewal request is NAK'ed.
                    417:     <li>Don't wait forever for requested information on the default route.
                    418:     <li>Don't exit when an attempt to send a packet fails.
                    419:     <li>Don't log a packet send when the send fails.
                    420:     <li>Remove the -u option, broken since 2013 without complaints.
1.35      krw       421:     <li>Use /dev/bpf instead of /dev/bpf0.
1.1       deraadt   422:     </ul>
                    423: <p>
                    424:
                    425: <li>Assorted improvements:
                    426:     <ul>
1.53      deraadt   427:     <li>The <a href="https://www.openbsd.org/i386.html">i386</a> and
                    428:         <a href="https://www.openbsd.org/amd64.html">amd64</a>
                    429:         platforms have switched to using
                    430:         <a href="https://man.openbsd.org/clang-local.1">clang(1)</a>
                    431:         as the base system compiler.
1.14      anton     432:     <li>Improved UTF-8 line editing support for
1.24      anton     433:        <a href="https://man.openbsd.org/ksh.1">ksh(1)</a>
1.14      anton     434:        Emacs and Vi input mode.
1.22      tb        435:     <li>The HISTFILE of <a href="https://man.openbsd.org/ksh.1">ksh(1)</a> now uses
                    436:         a plain text format. Support for the
                    437:         <a href="https://man.openbsd.org/ksh#HISTCONTROL">HISTCONTROL</a>
                    438:         environment variable was added.
1.37      jca       439:     <li>The performance of the memory deallocator used by
                    440:       <a href="https://man.openbsd.org/ksh.1">ksh(1)</a> has been fixed.
                    441:     <li>The <tt>emacs-usemeta</tt> <a href="https://man.openbsd.org/ksh.1">ksh(1)</a>
                    442:       flag is no longer needed and is now deprecated.
1.41      schwarze  443:     <li>New <a href="https://man.openbsd.org/futex">futex(2)</a> syscall.
                    444:     <li>New pthread
                    445:         <a href="https://man.openbsd.org/pthread_mutex_init">mutex</a> and
                    446:         <a href="https://man.openbsd.org/pthread_cond_init">condition
                    447:         variable</a> implementations improving latency
                    448:         of threaded applications.
                    449:     <li>New POSIX <a href="https://man.openbsd.org/newlocale.3">xlocale</a>
                    450:         implementation written from scratch, complete in the sense that
                    451:         all POSIX *locale(3) and *_l(3) functions are included, but in
                    452:         OpenBSD, we of course only really care about <code>LC_CTYPE</code>
                    453:         and we only support ASCII and UTF-8.
1.62      tedu      454:     <li>Automatic hibernation and suspend by
                    455:         <a href="https://man.openbsd.org/apmd">apmd</a>
                    456:         when battery is low.
1.44      mpi       457:     <li>New <a href="https://man.openbsd.org/ctfdump">ctfdump(1)</a> and
                    458:         <a href="https://man.openbsd.org/ctfconv">ctfconv(1)</a>
1.41      schwarze  459:         tools to manipulate CTF (Compact C Type Format).
1.31      bluhm     460:     <li>The error handling in
                    461:        <a href="https://man.openbsd.org/syslogd.8">syslogd(8)</a>
                    462:        has been improved.
1.38      jca       463:        Even if internal errors occur, the daemon tries to keep
1.31      bluhm     464:        unaffected subsystems active.
                    465:        So as many messages as possible are logged.
                    466:        They can be filtered by severity and facility "syslog".
                    467:     <li>syslogd(8) can now suppress "last message repeated" which is
                    468:        useful for remote logging.
                    469:     <li>syslogd(8) can listen on multiple TLS sockets.
                    470:     <li>syslogd(8) closes the *.514 UDP sockets when they are not
                    471:        needed.
1.54      bluhm     472:     <li>Truncate log messages at 8192 bytes everywhere.
1.37      jca       473:     <li><a href="https://man.openbsd.org/newsyslog.8">newsyslog(8)</a>
                    474:       now skips and logs invalid config lines.
1.31      bluhm     475:     <li>Nested mount points are umounted in correct order.
1.33      krw       476:     <li>Fix creation of
                    477:       <a href="https://man.openbsd.org/softraid.4">softraid(4)</a>
                    478:       CONCAT volumes.
                    479:     <li>Include
                    480:       <a href="https://man.openbsd.org/softraid.4">softraid(4)</a>
                    481:       volume and backing disk information in i/o error messages.
                    482:     <li>Make
                    483:       <a href="https://man.openbsd.org/vioscsi.4">vioscsi(4)</a>
                    484:       a normal
                    485:       <a href="https://man.openbsd.org/scsi.4">scsi(4)</a>
                    486:       device by eliminating its use of the obsolete XS_NO_CCB mechanism.
1.38      jca       487:     <li>Remove last vestiges of now unused XS_NO_CCB mechanism.
1.43      visa      488:     <li>Userspace can now get the address of the thread control block
                    489:         without a system call on OCTEON II and later.
                    490:     <li>FPU is enabled on OCTEON III.
1.66      rob       491:     <li>GENERIC kernels now include a .SUNW_ctf section containing CTF data.
1.44      mpi       492:     <li>New <a href="https://man.openbsd.org/ddb.4">ddb(4)</a> <tt>kill</tt>
                    493:     command, send an uncatchable SIGABRT to a process.
                    494:     <li>New <a href="https://man.openbsd.org/ddb.4">ddb(4)</a> <tt>pprint</tt>
                    495:     command, using CTF information to "pretty print" global symbols.
                    496:     <li>New <a href="https://man.openbsd.org/ddb.4">ddb(4)</a>
                    497:     <tt>show struct</tt> command, using CTF information to display the content
                    498:     of in memory C structures.
                    499:     <li>x86: <a href="https://man.openbsd.org/ddb.4">ddb(4)</a> uses CTF data
1.66      rob       500:     to display the correct number of function arguments in backtraces.
1.45      tb        501:     <li>Power off all codecs in
                    502:       <a href="https://man.openbsd.org/azalia.4">azalia(4)</a> to avoid static
                    503:       noise in speakers and headphones on reboot.
1.46      mlarkin   504:     <li>Fix i386 boot regression seen on very old 486DX CPUs.
1.49      visa      505:     <li>New <a href="https://man.openbsd.org/witness.4">witness(4)</a> tool
                    506:         for debugging lock order issues in the kernel.
                    507:         The tool is not built in by default, and only amd64, hppa and i386
                    508:         are supported.
1.53      deraadt   509:     <li>Modernize some bizzare tty behaviours of getty(8).
                    510:     <li>Some subtle changes to pledge(2) to satisfy requirements observed
                    511:         in real life.
                    512:     <li>Prefer use of waitpid(2) rather than wait(3) where possible, to
                    513:         avoid problems with pre-existing children.
                    514:     <li>Rewrite swaths of machine-dependent system call stub code in ld.so(1)
                    515:         in a more portable fashion.
1.52      dlg       516:     <li><a href="https://man.openbsd.org/pool_cache_init.9">Per-CPU
1.66      rob       517:         caches</a> implemented in pools.
1.72      guenther  518:     <li><a href="https://man.openbsd.org/pthread_mutex_lock.3">Mutex</a>,
                    519:        <a href="https://man.openbsd.org/pthread_cond_wait.3">condition-variable</a>,
                    520:        <a href="https://man.openbsd.org/pthread_getspecific.3">thread-specific data</a>,
                    521:        <a href="https://man.openbsd.org/pthread_once.3">pthread_once(3)</a>,
                    522:        and <a href="https://man.openbsd.org/pthread_exit.3">pthread_exit(3)</a>
                    523:        routines moved to libc from libpthread for ease of library
                    524:        use and compatibility with other OSes.
                    525:     <li>Added <a href="https://man.openbsd.org/openpty.3">getptmfd(3)</a>,
                    526:         <a href="https://man.openbsd.org/openpty.3">fdopenpty(3)</a>, and
                    527:         <a href="https://man.openbsd.org/openpty.3">fdforkpty(3)</a>
                    528:        to simplify privilege separation and use of pledge(2).
                    529:     <li>Improved computational complexity in various cases of
                    530:        <a href="https://man.openbsd.org/strstr.3">strstr(3)</a>,
                    531:        <a href="https://man.openbsd.org/qsort.3">qsort(3)</a>,
                    532:        and <a href="https://man.openbsd.org/glob.3">glob(3)</a>.
                    533:     <li>Added support for <tt>EV_RECEIPT</tt> and <tt>EV_DISPATCH</tt> to
                    534:        <a href="https://man.openbsd.org/kqueue.2">kqueue(2)</a>.
1.73      guenther  535:     <li>Added <a href="https://man.openbsd.org/ktrace.2">fktrace(2)</a>.
1.46      mlarkin   536:     </ul>
1.1       deraadt   537: <p>
                    538:
1.64      eric      539: <li>OpenSMTPD 6.0.0
1.1       deraadt   540:     <ul>
1.66      rob       541:     <li>Fix an off-by-one in the config parser that made 65535 an invalid port.
                    542:     <li>Fix a fd leak in the session congestion mechanism.
                    543:     <li>Fix a possible crash when relaying with smtps.
                    544:     <li>Remove support for the "listen secure" syntax (expicitely define two listeners for tls and smtps instead).
                    545:     <li>Remove experimental support for filters.
                    546:     <li>Assorted code and documentation cleanups and improvements.
1.1       deraadt   547:     </ul>
                    548: <p>
                    549:
1.57      deraadt   550: <li>OpenSSH 7.6
1.1       deraadt   551:     <ul>
                    552:     <li>Security:
                    553:       <ul>
1.56      djm       554:       <li>sftp-server(8): in read-only mode, sftp-server was incorrectly
                    555:           permitting creation of zero-length files.
1.1       deraadt   556:       </ul>
                    557:     <li>New/changed features:
                    558:       <ul>
1.31      bluhm     559:       <li>Add RemoteCommand option to specify a command in the
                    560:        <a href="https://man.openbsd.org/ssh.1">ssh(1)</a>
                    561:        config file instead of giving it on the client's command
                    562:        line.
                    563:        The feature allows to automate tasks using ssh config.
1.56      djm       564:       <li>sshd(8): add ExposeAuthInfo option that enables writing details of
                    565:           the authentication methods used (including public keys where
                    566:           applicable) to a file that is exposed via a $SSH_USER_AUTH
                    567:           environment variable in the subsequent session.
                    568:       <li>ssh(1): add support for reverse dynamic forwarding. In this mode,
                    569:           ssh will act as a SOCKS4/5 proxy and forward connections
                    570:           to destinations requested by the remote SOCKS client. This mode
                    571:           is requested using extended syntax for the -R and RemoteForward
                    572:           options and, because it is implemented solely at the client,
                    573:           does not require the server be updated to be supported.
                    574:       <li>sshd(8): allow LogLevel directive in sshd_config Match blocks.
                    575:       <li>ssh-keygen(1): allow inclusion of arbitrary string or flag
1.67      rob       576:           certificate extensions and critical options.
1.56      djm       577:       <li>ssh-keygen(1): allow ssh-keygen to use a key held in ssh-agent as
                    578:           a CA when signing certificates.
                    579:       <li>ssh(1)/sshd(8): allow IPQoS=none in ssh/sshd to not set an explicit
                    580:           ToS/DSCP value and just use the operating system default.
                    581:       <li>ssh-add(1): added -q option to make ssh-add quiet on success.
                    582:       <li>ssh(1): expand the StrictHostKeyChecking option with two new
                    583:           settings. The first "accept-new" will automatically accept
                    584:           hitherto-unseen keys but will refuse connections for changed or
                    585:           invalid hostkeys. This is a safer subset of the current behaviour
                    586:           of StrictHostKeyChecking=no. The second setting "off", is a synonym
                    587:           for the current behaviour of StrictHostKeyChecking=no: accept new
                    588:           host keys, and continue connection for hosts with incorrect
                    589:           hostkeys. A future release will change the meaning of
                    590:           StrictHostKeyChecking=no to the behaviour of "accept-new".
                    591:       <li>ssh(1): add SyslogFacility option to ssh(1) matching the equivalent
                    592:           option in sshd(8).
1.1       deraadt   593:       </ul>
                    594:     <li>The following significant bugs have been fixed in this release:
                    595:       <ul>
1.56      djm       596:       <li>ssh(1): use HostKeyAlias if specified instead of hostname for
1.69      rob       597:           matching host certificate principal names.
1.56      djm       598:       <li>sftp(1): implement sorting for globbed ls.
                    599:       <li>ssh(1): add a user@host prefix to client's "Permission denied"
                    600:           messages, useful in particular when using "stacked" connections
                    601:           (e.g. ssh -J) where it's not clear which host is denying.
                    602:       <li>ssh(1): accept unknown EXT_INFO extension values that contain \0
                    603:           characters. These are legal, but would previously cause fatal
                    604:           connection errors if received.
                    605:       <li>ssh(1)/sshd(8): repair compression statistics printed at
                    606:           connection exit.
                    607:       <li>sftp(1): print '?' instead of incorrect link count (that the
                    608:           protocol doesn't provide) for remote listings.
                    609:       <li>ssh(1): return failure rather than fatal() for more cases during
                    610:           session multiplexing negotiations. Causes the session to fall back
                    611:           to a non-mux connection if they occur.
                    612:       <li>ssh(1): mention that the server may send debug messages to explain
                    613:           public key authentication problems under some circumstances.
                    614:       <li>Translate OpenSSL error codes to better report incorrect passphrase
                    615:           errors when loading private keys.
                    616:       <li>sshd(8): adjust compatibility patterns for WinSCP to correctly
                    617:           identify versions that implement only the legacy DH group exchange
                    618:           scheme.
                    619:       <li>ssh(1): print the "Killed by signal 1" message only at LogLevel
                    620:           verbose so that it is not shown at the default level; prevents it
                    621:           from appearing during ssh -J and equivalent ProxyCommand configs.
                    622:       <li>ssh-keygen(1): when generating all hostkeys (ssh-keygen -A), clobber
                    623:           existing keys if they exist but are zero length. zero-length keys
                    624:           could previously be made if ssh-keygen failed or was interrupted part
                    625:           way through generating them.
                    626:       <li>ssh(1): fix pledge(2) violation in the escape sequence "~&" used to
                    627:           place the current session in the background.
                    628:       <li>ssh-keyscan(1): avoid double-close() on file descriptors.
                    629:       <li>sshd(8): avoid reliance on shared use of pointers shared between
                    630:           monitor and child sshd processes.
                    631:       <li>sshd_config(8): document available AuthenticationMethods.
                    632:       <li>ssh(1): avoid truncation in some login prompts.
                    633:       <li>ssh(1): make "--" before the hostname terminate argument processing
                    634:           after the hostname too.
                    635:       <li>ssh-keygen(1): switch from aes256-cbc to aes256-ctr for encrypting
                    636:           new-style private keys. Fixes problems related to private key
                    637:           handling for no-OpenSSL builds.
                    638:       <li>ssh(1): warn and do not attempt to use keys when the public and
                    639:           private halves do not match.
                    640:       <li>sftp(1): don't print verbose error message when ssh disconnects
                    641:           from under sftp.
                    642:       <li>sshd(8): fix keepalive scheduling problem: activity on a forwarded
                    643:           port from preventing the keepalive from being sent.
                    644:       <li>sshd(8): when started without root privileges, don't require the
                    645:           privilege separation user or path to exist. Makes running the
                    646:           regression tests easier without touching the filesystem.
                    647:       <li>Make integrity.sh regression tests more robust against timeouts.
                    648:       <li>ssh(1)/sshd(8): correctness fix for channels implementation: accept
                    649:           channel IDs greater than 0x7FFFFFFF.
1.1       deraadt   650:       </ul>
                    651:     </ul>
                    652: <p>
                    653:
1.58      jsing     654: <li>LibreSSL 2.6.3
1.1       deraadt   655:     <ul>
1.60      jsing     656:     <li>Added support for providing CRLs to libtls - once a CRL is provided via
                    657:        <a href="https://man.openbsd.org/tls_config_set_crl_file.3">tls_config_set_crl_file(3)</a>
                    658:         or
                    659:        <a href="https://man.openbsd.org/tls_config_set_crl_mem.3">tls_config_set_crl_mem(3)</a>,
                    660:         CRL checking is enabled and required for the full certificate chain.
1.58      jsing     661:     <li>Reworked TLS certificate name verification code to more strictly
                    662:         follow RFC 6125.
                    663:     <li>Cleaned up and simplified server key exchange EC point handling.
                    664:     <li>Removed inconsistent IPv6 handling from BIO_get_accept_socket(),
                    665:         simplified BIO_get_host_ip() and BIO_accept().
                    666:     <li>Added definitions for three OIDs used in EV certificates.
                    667:     <li>Relaxed SNI validation to allow non-RFC-compliant clients using literal
                    668:         IP addresses with SNI to connect to a libtls-based TLS server.
                    669:     <li>Added tls_peer_cert_chain_pem() to libtls, useful in private certificate
                    670:         validation callbacks such as those in relayd.
                    671:     <li>Converted explicit clear/free sequences to use
                    672:        <a href="https://man.openbsd.org/freezero.3">freezero(3)</a>.
                    673:     <li>Fixed the
                    674:         <a href="https://man.openbsd.org/openssl.1">openssl(1)</a>
1.68      rob       675:         ca command so that it generates certificates with RFC 5280-conformant time.
1.58      jsing     676:     <li>Added
                    677:         <a href="https://man.openbsd.org/ASN1_TIME_set_tm.3">ASN1_TIME_set_tm(3)</a>
                    678:         to set an ASN.1 time from a struct tm *.
                    679:     <li>Added
                    680:         <a href="https://man.openbsd.org/SSL_CTX_set_min_proto_version.3">SSL{,_CTX}_set_{min,max}_proto_version(3)</a>
                    681:         functions.
                    682:     <li>Imported HKDF (HMAC Key Derivation Function) from BoringSSL.
                    683:     <li>Provided a
                    684:        <a href="https://man.openbsd.org/tls_unload_file.3">tls_unload_file(3)</a>
                    685:         function that frees the memory returned from a
                    686:        <a href="https://man.openbsd.org/tls_load_file.3">tls_load_file(3)</a>
1.68      rob       687:         call, ensuring that the contents become inaccessible.
1.58      jsing     688:     <li>Implemented reference counting for libtls tls_config, allowing
                    689:        <a href="https://man.openbsd.org/tls_config_free.3">tls_config_free(3)</a>
                    690:         to be called as soon as it has been passed to the final
                    691:        <a href="https://man.openbsd.org/tls_configure.3">tls_configure(3)</a>
                    692:         call, simplifying lifetime tracking for the application.
                    693:     <li>Dropped cipher suites using DSS authentication.
                    694:     <li>Removed support for DSS/DSA from libssl.
                    695:     <li>Distinguish between self-issued certificates and self-signed
                    696:         certificates. The certificate verification code has special cases
                    697:         for self-signed certificates and without this change, self-issued
                    698:         certificates (which it seems are common place with
                    699:         openvpn/easyrsa) were also being included in this category.
                    700:     <li>Added a new TLS extension handling framework and converted all
                    701:         TLS extensions to use it.
                    702:     <li>Improved and added many new manpages. Updated
                    703:        <a href="https://man.openbsd.org/SSL_CTX_check_private_key.3">SSL_{CTX_,}check_private_key(3)</a>
                    704:         manpages with additional cautions regarding their use.
                    705:     <li>Cleaned up and simplified EC key/curve configuration handling.
                    706:     <li>Added
                    707:        <a href="https://man.openbsd.org/tls_config_set_ecdhecurves.3">tls_config_set_ecdhecurves(3)</a>
                    708:         to libtls, which allows the names of the elliptical curves that may
                    709:         be used during client and server key exchange to be specified.
                    710:     <li>Converted more code paths to use CBB/CBS.
                    711:     <li>Removed NPN support - NPN was never standardised and the last draft
                    712:         expired in October 2012.
                    713:     <li>Removed SSL_OP_CRYPTOPRO_TLSEXT_BUG workaround for old/broken
                    714:         CryptoPro clients.
                    715:     <li>Removed support for the TLS padding extension, which was added as a
1.60      jsing     716:         workaround for an old bug in F5's TLS termination.
1.65      rob       717:     <li>Added ability to clamp notafter values in certificates for systems
1.58      jsing     718:         with 32-bit time_t. This is necessary to conform to RFC 5280 4.1.2.5.
                    719:     <li>Removed the original (pre-IETF) chacha20-poly1305 cipher suites.
                    720:     <li>Reclassified ECDHE-RSA-DES-CBC3-SHA from HIGH to MEDIUM.
                    721:     <li>Provide a useful error with libtls if there are no OCSP URLs in a
                    722:         peer certificate.
                    723:     <li>Keep track of which keypair is in use by a TLS context, fixing a bug
                    724:         where a TLS server with SNI would only return the OCSP staple for the
                    725:         default keypair.
                    726:     <li>If
                    727:        <a href="https://man.openbsd.org/tls_config_parse_protocols.3">tls_config_parse_protocols(3)</a>
                    728:         is called with a NULL pointer it now
                    729:         returns the default protocols.
1.1       deraadt   730:     </ul>
                    731: <p>
                    732:
1.41      schwarze  733: <li>mandoc 1.14.3
1.1       deraadt   734:     <ul>
1.41      schwarze  735:     <li>Full <a href="https://man.openbsd.org/mandocdb.5">mandoc.db(5)</a>
                    736:       databases are now enabled by default, allowing semantic searching
                    737:       with <a href="https://man.openbsd.org/apropos.1">apropos(1)</a>
                    738:       without any local configuration changes.
                    739:     <li>Full integration of the former
                    740:       <a href="https://cvsweb.openbsd.org/cgi-bin/cvsweb/src/regress/usr.bin/mdoclint/">mdoclint(1)</a>
                    741:       utility into <a href="https://man.openbsd.org/mandoc.1">mandoc(1)</a>
                    742:       <code>-Wall</code>, new <code>-Wstyle</code> and
                    743:       <code>-Wopenbsd</code> message levels, and many new messages,
                    744:       for example about typos in <code>.Sh</code> lines,
                    745:       unknown <code>.Xr</code> targets, and links to self.
                    746:     <li>Additional steps unifying the
                    747:       <a href="https://man.openbsd.org/mdoc.7">mdoc(7)</a>,
                    748:       <a href="https://man.openbsd.org/man.7">man(7)</a>, and
                    749:       <a href="https://man.openbsd.org/roff.7">roff(7)</a> parsers:
                    750:       use one common data type and
                    751:       <a href="https://man.openbsd.org/ohash_init.3">ohash_init(3)</a>
                    752:       for all requests and macros and support creation of syntax tree
                    753:       nodes in the roff(7) parser, allowing support for many new
                    754:       low-level roff(7) features.
                    755:       Only about 25 ports still need <code>USE_GROFF</code> now.
                    756:     <li>Many improvements to
                    757:       <a href="https://man.openbsd.org/tbl.7">tbl(7)</a>
                    758:       parsing and formatting,
                    759:       including automatic line wrapping inside table columns.
                    760:     <li>Many improvements to
                    761:       <a href="https://man.openbsd.org/eqn.7">eqn(7)</a>
                    762:       parsing and formatting, including better font selection,
                    763:       recognition of well-known mathematical function names, and writing
                    764:       of <code>&lt;mn&gt;</code> and <code>&lt;mo&gt;</code> HTML tags.
                    765:     <li>Intelligible rendering of mathematical symbols in
                    766:       <code>-Tascii</code> output.
                    767:     <li>Several parsing and rendering improvements for the
                    768:       <a href="https://man.openbsd.org/mdoc.7">mdoc(7)</a>
                    769:       <code>.Lk</code> macro.
                    770:     <li>Some CSS improvements in HTML output, in particular for the
                    771:       <a href="https://man.openbsd.org/mdoc.7">mdoc(7)</a>
                    772:       <code>.Bl</code> macro.
1.1       deraadt   773:     </ul>
                    774: <p>
                    775:
                    776: <li>Ports and packages:
                    777:     <dl>
1.10      espie     778:     <dt>A massive amount of clang-related fixes happened between 6.1 and 6.2.
1.1       deraadt   779:     <dt>Many pre-built packages for each architecture:
                    780:     </dl>
                    781:     <!-- number of FTP packages minus SHA256, SHA256.sig, index.txt -->
                    782:     <table border=0 cellspacing=0 cellpadding=2 width="95%">
                    783:     <tr>
                    784:     <td valign="top" width="25%">
                    785:     <ul>
1.76      phessler  786:       <li>aarch64:    7942
1.82      phessler  787:       <li>alpha:      7426
1.53      deraadt   788:       <li>amd64:      9728
1.76      phessler  789:     </ul></td><td valign=top width="25%"><ul>
1.79      phessler  790:       <li>arm:        7939
1.80      pirofti   791:       <li>hppa:       6260
1.74      sobrado   792:       <li>i386:       9685
1.76      phessler  793:     </ul></td><td valign=top width="25%"><ul>
1.81      visa      794:       <li>mips64:     7972
1.84      naddy     795:       <li>mips64el:   7984
1.83      landry    796:       <li>powerpc:    8133
1.76      phessler  797:     </ul></td><td valign=top width="25%"><ul>
1.83      landry    798:       <li>sparc64:    8281
1.1       deraadt   799:     </ul></td></tr></table>
                    800:     <p>
                    801:
                    802:     <dl>
                    803:     <dt>Some highlights:
                    804:     </dl>
                    805:     <table border=0 cellspacing=0 cellpadding=2 width="95%">
                    806:     <tr>
                    807:     <td valign="top" width="50%"><ul>
1.3       jasper    808:        <li>AFL 2.51b
1.47      dcoppa    809:        <li>CMake 3.9.3
1.3       jasper    810:        <li>Chromium 61.0.3163.100
                    811:        <li>Emacs 21.4 and 25.3
1.1       deraadt   812:        <li>GCC 4.9.4
                    813:        <li>GHC 7.10.3
1.3       jasper    814:        <li>Gimp 2.8.22
                    815:        <li>GNOME 3.24.2
                    816:        <li>Go 1.9
1.1       deraadt   817:        <li>Groff 1.22.3
1.3       jasper    818:        <li>JDK 8u144
1.18      lteo      819:        <li>KDE 3.5.10 and 4.14.3 (plus KDE4 core updates)
1.3       jasper    820:        <li>LLVM/Clang 5.0.0
                    821:        <li>LibreOffice 5.2.7.2
1.1       deraadt   822:        <li>Lua 5.1.5, 5.2.4, and 5.3.4
1.3       jasper    823:        <li>MariaDB 10.0.32
                    824:        <li>Mozilla Firefox 52.4.0esr and 56.0.0
                    825:        <li>Mozilla Thunderbird 52.2.1
1.1       deraadt   826:     </ul></td><td valign=top width="50%"><ul>
1.3       jasper    827:        <li>Mutt 1.9.1 and NeoMutt 20170912
                    828:        <li>Node.js 6.11.2
1.1       deraadt   829:        <li>Ocaml 4.03.0
1.3       jasper    830:        <li>OpenLDAP 2.3.43 and 2.4.45
1.18      lteo      831:        <li>PHP 5.6.31 and 7.0.23
1.3       jasper    832:        <li>Postfix 3.2.2 and 3.3-20170910
                    833:        <li>PostgreSQL 9.6.5
                    834:        <li>Python 2.7.14 and 3.6.2
                    835:        <li>R 3.4.1
                    836:        <li>Ruby 1.8.7.374, 2.1.9, 2.2.8, 2.3.5 and 2.4.2
                    837:        <li>Rust 1.20.0
                    838:        <li>Sendmail 8.16.0.21
                    839:        <li>SQLite3 3.20.1
                    840:        <li>Sudo 1.8.21.2
                    841:        <li>Tcl/Tk 8.5.19 and 8.6.6
                    842:        <li>TeX Live 2016
                    843:        <li>Vim 8.0.0987
1.1       deraadt   844:        <li>Xfce 4.12
                    845:     </ul></td></tr></table>
                    846: <p>
                    847:
                    848: <li>As usual, steady improvements in manual pages and other documentation.
                    849: <p>
                    850:
                    851: <li>The system includes the following major components from outside suppliers:
                    852:     <ul>
1.13      matthieu  853:     <li>Xenocara (based on X.Org 7.7 with xserver 1.18.4 + patches,
                    854:       freetype 2.8.0, fontconfig 2.12.4, Mesa 13.0.6, xterm 330,
1.1       deraadt   855:       xkeyboard-config 2.20 and more)
                    856:     <li>LLVM/Clang 4.0.0 (+ patches)
                    857:     <li>GCC 4.2.1 (+ patches) and 3.3.6 (+ patches)
1.18      lteo      858:     <li>Perl 5.24.2 (+ patches)
1.2       florian   859:     <li>NSD 4.1.17
                    860:     <li>Unbound 1.6.6
1.1       deraadt   861:     <li>Ncurses 5.7
                    862:     <li>Binutils 2.17 (+ patches)
                    863:     <li>Gdb 6.3 (+ patches)
                    864:     <li>Awk Aug 10, 2011 version
1.31      bluhm     865:     <li>Expat 2.2.4
1.1       deraadt   866:     </ul>
                    867: </ul>
                    868:
                    869: <hr>
                    870:
                    871: <h3 id="install"><font color="#0000e0">How to install</font></h3>
                    872:
                    873: Please refer to the following files on the mirror site for
                    874: extensive details on how to install OpenBSD 6.2 on your machine:
                    875:
                    876: <ul>
                    877: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/6.2/alpha/INSTALL.alpha">
                    878:        .../OpenBSD/6.2/alpha/INSTALL.alpha</a>
                    879: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/6.2/amd64/INSTALL.amd64">
                    880:        .../OpenBSD/6.2/amd64/INSTALL.amd64</a>
                    881: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/6.2/arm64/INSTALL.arm64">
                    882:        .../OpenBSD/6.2/arm64/INSTALL.arm64</a>
                    883: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/6.2/armv7/INSTALL.armv7">
                    884:        .../OpenBSD/6.2/armv7/INSTALL.armv7</a>
                    885: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/6.2/hppa/INSTALL.hppa">
                    886:        .../OpenBSD/6.2/hppa/INSTALL.hppa</a>
                    887: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/6.2/i386/INSTALL.i386">
                    888:        .../OpenBSD/6.2/i386/INSTALL.i386</a>
                    889: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/6.2/landisk/INSTALL.landisk">
                    890:        .../OpenBSD/6.2/landisk/INSTALL.landisk</a>
                    891: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/6.2/loongson/INSTALL.loongson">
                    892:        .../OpenBSD/6.2/loongson/INSTALL.loongson</a>
                    893: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/6.2/luna88k/INSTALL.luna88k">
                    894:        .../OpenBSD/6.2/luna88k/INSTALL.luna88k</a>
                    895: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/6.2/macppc/INSTALL.macppc">
                    896:        .../OpenBSD/6.2/macppc/INSTALL.macppc</a>
                    897: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/6.2/octeon/INSTALL.octeon">
                    898:        .../OpenBSD/6.2/octeon/INSTALL.octeon</a>
                    899: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/6.2/sgi/INSTALL.sgi">
                    900:        .../OpenBSD/6.2/sgi/INSTALL.sgi</a>
                    901: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/6.2/sparc64/INSTALL.sparc64">
                    902:        .../OpenBSD/6.2/sparc64/INSTALL.sparc64</a>
                    903: </ul>
                    904:
                    905: <hr>
                    906:
                    907: <p>
                    908: Quick installer information for people familiar with OpenBSD, and the use of
                    909: the "<a href="https://man.openbsd.org/disklabel.8">disklabel</a> -E" command.
                    910: If you are at all confused when installing OpenBSD, read the relevant
                    911: INSTALL.* file as listed above!
                    912:
                    913: <h3><font color="#e00000">OpenBSD/alpha:</font></h3>
                    914:
                    915: <ul style="list-style-type: none">
                    916: <li>
                    917: Write <i>floppy62.fs</i> or <i>floppyB62.fs</i> (depending on your machine)
                    918: to a diskette and enter <i>boot dva0</i>.
                    919: Refer to INSTALL.alpha for more details.
                    920: <p>
                    921: <li>
                    922: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install
                    923: will most likely fail.
                    924: </ul>
                    925:
                    926: <h3><font color="#e00000">OpenBSD/amd64:</font></h3>
                    927:
                    928: <ul style="list-style-type: none">
                    929: <li>
                    930: If your machine can boot from CD, you can write <i>install62.iso</i> or
                    931: <i>cd62.iso</i> to a CD and boot from it.
                    932: You may need to adjust your BIOS options first.
                    933: <p>
                    934: <li>
                    935: If your machine can boot from USB, you can write <i>install62.fs</i> or
                    936: <i>miniroot62.fs</i> to a USB stick and boot from it.
                    937: <p>
                    938: <li>
                    939: If you can't boot from a CD, floppy disk, or USB,
                    940: you can install across the network using PXE as described in the included
                    941: INSTALL.amd64 document.
                    942: <p>
                    943: <li>
                    944: If you are planning to dual boot OpenBSD with another OS, you will need to
                    945: read INSTALL.amd64.
                    946: </ul>
                    947:
                    948: <h3><font color="#e00000">OpenBSD/arm64:</font></h3>
                    949:
                    950: <ul style="list-style-type: none">
                    951: <li>
                    952: Write <i>miniroot62.fs</i> to a disk and boot from it after connecting
                    953: to the serial console.  Refer to INSTALL.arm64 for more details.
                    954: <p>
                    955: </ul>
                    956:
                    957: <h3><font color="#e00000">OpenBSD/armv7:</font></h3>
                    958:
                    959: <ul style="list-style-type: none">
                    960: <li>
                    961: Write a system specific miniroot to an SD card and boot from it after connecting
                    962: to the serial console.  Refer to INSTALL.armv7 for more details.
                    963: <p>
                    964: </ul>
                    965:
                    966: <h3><font color="#e00000">OpenBSD/hppa:</font></h3>
                    967:
                    968: <ul style="list-style-type: none">
                    969: <li>
                    970: Boot over the network by following the instructions in INSTALL.hppa or the
                    971: <a href="hppa.html#install">hppa platform page</a>.
                    972: </ul>
                    973:
                    974: <h3><font color="#e00000">OpenBSD/i386:</font></h3>
                    975:
                    976: <ul style="list-style-type: none">
                    977: <li>
                    978: If your machine can boot from CD, you can write <i>install62.iso</i> or
                    979: <i>cd62.iso</i> to a CD and boot from it.
                    980: You may need to adjust your BIOS options first.
                    981: <p>
                    982: <li>
                    983: If your machine can boot from USB, you can write <i>install62.fs</i> or
                    984: <i>miniroot62.fs</i> to a USB stick and boot from it.
                    985: <p>
                    986: <li>
                    987: If you can't boot from a CD, floppy disk, or USB,
                    988: you can install across the network using PXE as described in
                    989: the included INSTALL.i386 document.
                    990: <p>
                    991: <li>
                    992: If you are planning on dual booting OpenBSD with another OS, you will need to
                    993: read INSTALL.i386.
                    994: </ul>
                    995:
                    996: <h3><font color="#e00000">OpenBSD/landisk:</font></h3>
                    997:
                    998: <ul style="list-style-type: none">
                    999: <li>
                   1000: Write <i>miniroot62.fs</i> to the start of the CF
                   1001: or disk, and boot normally.
                   1002: </ul>
                   1003:
                   1004: <h3><font color="#e00000">OpenBSD/loongson:</font></h3>
                   1005:
                   1006: <ul style="list-style-type: none">
                   1007: <li>
                   1008: Write <i>miniroot62.fs</i> to a USB stick and boot bsd.rd from it
                   1009: or boot bsd.rd via tftp.
                   1010: Refer to the instructions in INSTALL.loongson for more details.
                   1011: </ul>
                   1012:
                   1013: <h3><font color="#e00000">OpenBSD/luna88k:</font></h3>
                   1014:
                   1015: <ul style="list-style-type: none">
                   1016: <li>
                   1017: Copy `boot' and `bsd.rd' to a Mach or UniOS partition, and boot the bootloader
                   1018: from the PROM, and then bsd.rd from the bootloader.
                   1019: Refer to the instructions in INSTALL.luna88k for more details.
                   1020: </ul>
                   1021:
                   1022: <h3><font color="#e00000">OpenBSD/macppc:</font></h3>
                   1023:
                   1024: <ul style="list-style-type: none">
                   1025: <li>
                   1026: Burn the image from a mirror site to a CDROM, and power on your machine
                   1027: while holding down the <i>C</i> key until the display turns on and
                   1028: shows <i>OpenBSD/macppc boot</i>.
                   1029: <p>
                   1030: <li>
                   1031: Alternatively, at the Open Firmware prompt, enter <i>boot cd:,ofwboot
                   1032: /6.2/macppc/bsd.rd</i>
                   1033: </ul>
                   1034:
                   1035: <h3><font color="#e00000">OpenBSD/octeon:</font></h3>
                   1036:
                   1037: <ul style="list-style-type: none">
                   1038: <li>
                   1039: After connecting a serial port, boot bsd.rd over the network via DHCP/tftp.
                   1040: Refer to the instructions in INSTALL.octeon for more details.
                   1041: </ul>
                   1042:
                   1043: <h3><font color="#e00000">OpenBSD/sgi:</font></h3>
                   1044:
                   1045: <ul style="list-style-type: none">
                   1046: <li>
                   1047: To install, burn cd62.iso on a CD-R, put it in the CD drive of your
                   1048: machine and select <i>Install System Software</i> from the System Maintenance
                   1049: menu. Indigo/Indy/Indigo2 (R4000) systems will not boot automatically from
                   1050: CD-ROM, and need a proper invocation from the PROM prompt.
                   1051: Refer to the instructions in INSTALL.sgi for more details.
                   1052:
                   1053: <p>
                   1054: <li>
                   1055: If your machine doesn't have a CD drive, you can setup a DHCP/tftp network
                   1056: server, and boot using "bootp()/bsd.rd.IP##" using the kernel matching your
                   1057: system type. Refer to the instructions in INSTALL.sgi for more details.
                   1058: </ul>
                   1059:
                   1060: <h3><font color="#e00000">OpenBSD/sparc64:</font></h3>
                   1061:
                   1062: <ul style="list-style-type: none">
                   1063: <li>
                   1064: Burn the image from a mirror site to a CDROM, boot from it, and type
                   1065: <i>boot cdrom</i>.
                   1066: <p>
                   1067: <li>
                   1068: If this doesn't work, or if you don't have a CDROM drive, you can write
                   1069: <i>floppy62.fs</i> or <i>floppyB62.fs</i>
                   1070: (depending on your machine) to a floppy and boot it with <i>boot
                   1071: floppy</i>. Refer to INSTALL.sparc64 for details.
                   1072: <p>
                   1073: <li>
                   1074: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install
                   1075: will most likely fail.
                   1076: <p>
                   1077: <li>
                   1078: You can also write <i>miniroot62.fs</i> to the swap partition on
                   1079: the disk and boot with <i>boot disk:b</i>.
                   1080: <p>
                   1081: <li>
                   1082: If nothing works, you can boot over the network as described in INSTALL.sparc64.
                   1083: </ul>
                   1084:
                   1085: <hr>
                   1086:
                   1087: <h3 id="upgrade"><font color="#0000e0">How to upgrade</font></h3>
                   1088:
                   1089: If you already have an OpenBSD 6.1 system, and do not want to reinstall,
                   1090: upgrade instructions and advice can be found in the
                   1091: <a href="faq/upgrade62.html">Upgrade Guide</a>.
                   1092: <p>
                   1093:
                   1094: <hr>
                   1095:
                   1096: <h3 id="sourcecode"><font color="#0000e0">Notes about the source code</font></h3>
                   1097:
                   1098: <tt>src.tar.gz</tt> contains a source archive starting at <tt>/usr/src</tt>.
                   1099: This file contains everything you need except for the kernel sources,
                   1100: which are in a separate archive.
                   1101: To extract:
                   1102:
                   1103: <blockquote><pre>
                   1104: # <b>mkdir -p /usr/src</b>
                   1105: # <b>cd /usr/src</b>
                   1106: # <b>tar xvfz /tmp/src.tar.gz</b>
                   1107: </pre></blockquote>
                   1108:
                   1109: <tt>sys.tar.gz</tt> contains a source archive starting at <tt>/usr/src/sys</tt>.
                   1110: This file contains all the kernel sources you need to rebuild kernels.
                   1111: To extract:
                   1112:
                   1113: <blockquote><pre>
                   1114: # <b>mkdir -p /usr/src/sys</b>
                   1115: # <b>cd /usr/src</b>
                   1116: # <b>tar xvfz /tmp/sys.tar.gz</b>
                   1117: </pre></blockquote>
                   1118:
                   1119: Both of these trees are a regular CVS checkout.  Using these trees it
                   1120: is possible to get a head-start on using the anoncvs servers as
                   1121: described <a href="anoncvs.html">here</a>.
                   1122: Using these files
                   1123: results in a much faster initial CVS update than you could expect from
                   1124: a fresh checkout of the full OpenBSD source tree.
                   1125: <p>
                   1126:
                   1127: <hr>
                   1128:
                   1129: <h3 id="ports"><font color="#0000e0">Ports Tree</font></h3>
                   1130:
                   1131: A ports tree archive is also provided.  To extract:
                   1132:
                   1133: <blockquote><pre>
                   1134: # <b>cd /usr</b>
                   1135: # <b>tar xvfz /tmp/ports.tar.gz</b>
                   1136: </pre></blockquote>
                   1137:
                   1138: Go read the <a href="faq/ports/index.html">ports</a> page
                   1139: if you know nothing about ports
                   1140: at this point.  This text is not a manual of how to use ports.
                   1141: Rather, it is a set of notes meant to kickstart the user on the
                   1142: OpenBSD ports system.
                   1143: <p>
                   1144: The <i>ports/</i> directory represents a CVS checkout of our ports.
                   1145: As with our complete source tree, our ports tree is available via
                   1146: <a href="anoncvs.html">AnonCVS</a>.
1.85      tj       1147: So, in order to keep up to date with the -stable branch, you must make
1.1       deraadt  1148: the <i>ports/</i> tree available on a read-write medium and update the tree
                   1149: with a command like:
                   1150:
                   1151: <blockquote><pre>
                   1152: # <b>cd /usr/ports</b>
1.15      phessler 1153: # <b>cvs -d anoncvs@server.openbsd.org:/cvs update -Pd -rOPENBSD_6_2</b>
1.1       deraadt  1154: </pre></blockquote>
                   1155:
                   1156: [Of course, you must replace the server name here with a nearby anoncvs
                   1157: server.]
                   1158: <p>
                   1159: Note that most ports are available as packages on our mirrors. Updated
                   1160: ports for the 6.2 release will be made available if problems arise.
                   1161: <p>
                   1162: If you're interested in seeing a port added, would like to help out, or just
                   1163: would like to know more, the mailing list
                   1164: <a href="mail.html">ports@openbsd.org</a> is a good place to know.
                   1165: <p>
                   1166: </body>
                   1167: </html>