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

Annotation of www/62.html, Revision 1.93

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