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

Annotation of www/62.html, Revision 1.95

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