Annotation of www/59.html, Revision 1.99
1.94 bentley 1: <!doctype html>
2: <html lang=en id=release>
3: <meta charset=utf-8>
4:
1.1 deraadt 5: <title>OpenBSD 5.9</title>
6: <meta name="description" content="OpenBSD 5.9">
1.83 deraadt 7: <meta name="viewport" content="width=device-width, initial-scale=1">
8: <link rel="stylesheet" type="text/css" href="openbsd.css">
1.84 tb 9: <link rel="canonical" href="https://www.openbsd.org/59.html">
1.1 deraadt 10:
1.94 bentley 11: <h2 id=OpenBSD>
1.1 deraadt 12: <a href="index.html">
1.94 bentley 13: <i>Open</i><b>BSD</b></a>
14: 5.9
1.83 deraadt 15: </h2>
1.1 deraadt 16:
1.94 bentley 17: <table>
18: <tr>
19: <td>
1.53 deraadt 20: <a href="images/drwxorx.jpg">
1.94 bentley 21: <img alt="Dr W^X" width="227" height="343" src="images/drwxorx.jpg"></a>
22: <td>
1.83 deraadt 23: Released March 29, 2016<br>
1.1 deraadt 24: Copyright 1997-2016, Theo de Raadt.<br>
1.94 bentley 25: <cite class=isbn>ISBN 978-0-9881561-7-3</cite>
1.1 deraadt 26: <br>
1.62 deraadt 27: 5.9 Songs: <a href="lyrics.html#59a">"Doctor W^X"</a>,
28: <a href="lyrics.html#59b">"Systemagic (Anniversary Edition)"</a>
1.93 deraadt 29: <br>
30: <br>
1.1 deraadt 31: <ul>
32: <li>See the information on <a href="ftp.html">the FTP page</a> for
33: a list of mirror machines.
1.94 bentley 34: <li>Go to the <code class=reldir>pub/OpenBSD/5.9/</code> directory on
1.1 deraadt 35: one of the mirror sites.
36: <li>Have a look at <a href="errata59.html">the 5.9 errata page</a> for a list
37: of bugs and workarounds.
38: <li>See a <a href="plus59.html">detailed log of changes</a> between the
39: 5.8 and 5.9 releases.
40: <p>
1.96 deraadt 41: <li><a href="https://man.openbsd.org/signify.1">signify(1)</a>
1.94 bentley 42: pubkeys for this release:
1.92 deraadt 43:
1.94 bentley 44: <p>
45: <table class=signify>
46: <tr><td>
47: openbsd-59-base.pub:
1.92 deraadt 48: <td>
49: RWQJVNompF3pwfIqbg+5sxfpxmZMa3tTBaW4qbUhWje/H/M7glrA6oVn
1.94 bentley 50: <tr><td>
1.92 deraadt 51: openbsd-59-fw.pub:
1.94 bentley 52: <td>
1.92 deraadt 53: RWSdmaNkytzh6BApmPSNSDLNg26ZaXlY8g/879UvLdo3rjbsby76Eda1
1.94 bentley 54: <tr><td>
1.92 deraadt 55: openbsd-59-pkg.pub:
1.94 bentley 56: <td>
1.92 deraadt 57: RWSLRYDCTJeWLIScncqwGuXK6JVXDcIyRT0q+0m30MXXG4W2xWS4NZBP
58: </table>
1.96 deraadt 59: </ul>
1.83 deraadt 60: <p>
61: All applicable copyrights and credits are in the src.tar.gz,
62: sys.tar.gz, xenocara.tar.gz, ports.tar.gz files, or in the
1.98 deraadt 63: files fetched via <code>ports.tar.gz</code>.
1.94 bentley 64: </table>
1.1 deraadt 65:
66: <hr>
1.67 tb 67:
1.94 bentley 68: <section id=new>
69: <h3>What's New</h3>
70: <p>
1.1 deraadt 71: This is a partial list of new features and systems included in OpenBSD 5.9.
72: For a comprehensive list, see the <a href="plus59.html">changelog</a> leading
73: to 5.9.
74:
75: <ul>
1.51 deraadt 76: <li>Processor support, including:
77: <ul>
78: <li>W^X policy enforced in the i386 kernel address space.
79: </ul>
1.1 deraadt 80: <li>Improved hardware support, including:
81: <ul>
1.94 bentley 82: <li>New <a href="https://man.openbsd.org/asmc">asmc(4)</a>
1.64 mpi 83: driver for the Apple System Management Controller.
1.94 bentley 84: <li>New <a href="https://man.openbsd.org/pchtemp">pchtemp(4)</a>
1.64 mpi 85: driver for the thermal sensor found on Intel X99, C610 series, 9 series
86: and 100 series PCH.
1.94 bentley 87: <li>New <a href="https://man.openbsd.org/uonerng">uonerng(4)</a>
1.64 mpi 88: driver for the Moonbase Otago OneRNG.
1.94 bentley 89: <li>New <a href="https://man.openbsd.org/dwiic">dwiic(4)</a>
1.64 mpi 90: driver for the Synopsys DesignWare I2C controller.
1.94 bentley 91: <li>New <a href="https://man.openbsd.org/ikbd">ikbd(4)</a>,
92: <a href="https://man.openbsd.org/ims">ims(4)</a>, and
93: <a href="https://man.openbsd.org/imt">imt(4)</a>
1.64 mpi 94: drivers for HID-over-i2c keyboards, mice and multitouch touchpads.
1.94 bentley 95: <li>New <a href="https://man.openbsd.org/efifb">efifb(4)</a>
1.64 mpi 96: driver for EFI frame buffer.
1.94 bentley 97: <li>New <a href="https://man.openbsd.org/viocon">viocon(4)</a>
1.64 mpi 98: driver for the
1.94 bentley 99: <a href="https://man.openbsd.org/virtio">virtio(4)</a>
1.64 mpi 100: console interface provided by KVM, QEMU, and others.
1.94 bentley 101: <li>New <a href="https://man.openbsd.org/xen">xen(4)</a>
1.69 mikeb 102: driver implementing Xen domU initialization and PVHVM device attachment.
1.94 bentley 103: <li>New <a href="https://man.openbsd.org/xspd">xspd(4)</a>
1.95 deraadt 104: driver for the XenSource Platform Device providing guests with
1.81 tb 105: additional capabilities.
1.94 bentley 106: <li>New <a href="https://man.openbsd.org/xnf">xnf(4)</a>
1.69 mikeb 107: driver for Xen paravirtualized networking interface.
1.33 jsg 108: <li>amd64 can now boot from 32 bit and 64 bit EFI.
109: <li>Initial support for hardware reduced ACPI added to
1.94 bentley 110: <a href="https://man.openbsd.org/acpi">acpi(4)</a>.
1.33 jsg 111: <li>Support for ACPI configured SD host controllers has been added to
1.94 bentley 112: <a href="https://man.openbsd.org/sdhc">sdhc(4)</a>.
113: <li>The <a href="https://man.openbsd.org/puc">puc(4)</a>
1.81 tb 114: driver now supports Moxa CP-168U, Perle Speed8 LE and QEMU PCI serial
115: devices.
116: <li>Intel 100 Series PCH Ethernet MAC with i219 PHY support has been added
117: to the
1.94 bentley 118: <a href="https://man.openbsd.org/em">em(4)</a> driver.
1.33 jsg 119: <li>RTL8168H/RTL8111H support has been added to
1.94 bentley 120: <a href="https://man.openbsd.org/re&sec=4">re(4)</a>.
121: <li><a href="https://man.openbsd.org/inteldrm">inteldrm(4)</a>
1.81 tb 122: has been updated to Linux 3.14.52, adding initial support for Bay Trail
1.57 tb 123: and Broadwell graphics.
124: <li>Support for audio in Thinkpad docks has been added to the
1.94 bentley 125: <a href="https://man.openbsd.org/azalia">azalia(4)</a>
1.57 tb 126: driver.
127: <li>Support for Synaptic touchpads without W mode has been added to the
1.94 bentley 128: <a href="https://man.openbsd.org/pms">pms(4)</a>
1.57 tb 129: driver.
130: <li>Support for tap-and-drag detection with ALPS touchpads in the
1.94 bentley 131: <a href="https://man.openbsd.org/pms">pms(4)</a>
1.57 tb 132: driver has been improved.
1.94 bentley 133: <li>The <a href="https://man.openbsd.org/sdmmc">sdmmc(4)</a>
1.57 tb 134: driver now supports sector mode for eMMC devices, such as those found on
135: some BeagleBone Black boards.
1.94 bentley 136: <li>The <a href="https://man.openbsd.org/cnmac">cnmac(4)</a>
1.73 deraadt 137: driver now supports checksum offloading.
1.94 bentley 138: <li>The <a href="https://man.openbsd.org/ipmi">ipmi(4)</a>
1.57 tb 139: driver now supports OpenIPMI compatible character device.
1.81 tb 140: <li>Support for ST-506 disks has been removed.
1.1 deraadt 141: </ul>
142:
1.94 bentley 143: <li><a href="https://man.openbsd.org/pledge">pledge(2)</a>
1.57 tb 144: support integrated:
1.34 deraadt 145: <ul>
1.59 tb 146: <li>The tame(2) system call was renamed to pledge(2).
147: Behavior and semantics were extended and refined.
148: <li>453 out of 707 base system binaries were adapted to use pledge.
149: <li>14 ports now use pledge(2): some decompression tools, mutt,
150: some pdf tools, chromium/iridium, and the i3 window manager.
151: <li>Various bugs exposed by pledge(2) were corrected.
1.91 bentley 152: For example in <a href="https://cvsweb.openbsd.org/src/usr.sbin/bgpd/bgpd.c?rev=1.181&content-type=text/x-cvsweb-markup">
153: bgpd(8)</a>, <a href="https://cvsweb.openbsd.org/src/sbin/iked/config.c?rev=1.40&content-type=text/x-cvsweb-markup">
154: iked(8)</a>, <a href="https://cvsweb.openbsd.org/src/usr.sbin/ldapd/control.c?rev=1.13&content-type=text/x-cvsweb-markup">
155: ldapd(8)</a>, <a href="https://cvsweb.openbsd.org/src/usr.sbin/ntpd/constraint.c?rev=1.25&content-type=text/x-cvsweb-markup">
156: ntpd(8)</a>, and <a href="https://cvsweb.openbsd.org/src/usr.sbin/syslogd/syslogd.c?rev=1.200&content-type=text/x-cvsweb-markup">
1.67 tb 157: syslogd(8)</a>.
1.59 tb 158: <li>Several misfeatures were removed, such as:
159: <ul>
1.91 bentley 160: <li><a href="https://cvsweb.openbsd.org/src/lib/libc/asr/asr.c?rev=1.50&content-type=text/x-cvsweb-markup">
1.67 tb 161: support for HOSTALIASES</a> in the
1.94 bentley 162: <a href="https://man.openbsd.org/asr_run">
1.67 tb 163: resolver</a>.
1.91 bentley 164: <li><a href="https://cvsweb.openbsd.org/src/lib/libc/asr/asr.c?rev=1.49&content-type=text/x-cvsweb-markup">
1.94 bentley 165: support for <code>lookup yp</code></a>
1.67 tb 166: in
1.94 bentley 167: <a href="https://man.openbsd.org/resolv.conf">
1.67 tb 168: resolv.conf(5)</a>.
1.91 bentley 169: <li><a href="https://cvsweb.openbsd.org/src/gnu/usr.bin/binutils-2.17/binutils/rename.c?rev=1.2&content-type=text/x-cvsweb-markup">
1.67 tb 170: setuid-preserving code</a>
171: in tools from binutils.
172: <li>handling of
1.91 bentley 173: <a href="https://cvsweb.openbsd.org/src/usr.bin/patch/ed.c?rev=1.1&content-type=text/x-cvsweb-markup">
1.67 tb 174: ed-style diffs</a> via proc/exec in
1.94 bentley 175: <a href="https://man.openbsd.org/patch">
1.67 tb 176: patch(1)</a>.
1.59 tb 177: </ul>
178: <li>Userland programs were audited so that they could be properly annotated
179: with pledge(2).
1.73 deraadt 180: This resulted in design changes such as:
1.60 tb 181: <ul>
1.67 tb 182: <li>
183: addition of
1.91 bentley 184: <a href="https://cvsweb.openbsd.org/src/usr.sbin/rdate/rdate.c?rev=1.33&content-type=text/x-cvsweb-markup">
1.67 tb 185: privilege separation</a> to
1.94 bentley 186: <a href="https://man.openbsd.org/rdate">
1.81 tb 187: rdate(8)</a>
1.67 tb 188: <li>
189: addition of
1.91 bentley 190: <a href="https://cvsweb.openbsd.org/src/usr.bin/sndiod/sndiod.c?rev=1.18&content-type=text/x-cvsweb-markup">
1.67 tb 191: privilege separation</a> to
1.94 bentley 192: <a href="https://man.openbsd.org/sndiod">
1.81 tb 193: sndiod(8)</a>
1.94 bentley 194: <li>the introduction of the <code>SOCK_DNS</code>
195: <a href="https://man.openbsd.org/socket">
196: socket(2)</a> flag that makes an <code>SS_DNS</code> tagged socket
1.67 tb 197: conceptually different from a plain socket.
1.60 tb 198: </ul>
1.59 tb 199: <li>pledge(2) is also used to constrain programs that handle untrusted data
200: to a very limited subset of POSIX.
201: For example,
1.94 bentley 202: <a href="https://man.openbsd.org/strings">
1.67 tb 203: strings(1)</a> or
1.94 bentley 204: <a href="https://man.openbsd.org/objdump">
1.91 bentley 205: objdump(1)</a> from <a href="https://cvsweb.openbsd.org/src/gnu/usr.bin/binutils-2.17/binutils/objdump.c?rev=1.2&content-type=text/x-cvsweb-markup">
206: binutils</a> or the <a href="https://cvsweb.openbsd.org/src/usr.sbin/smtpd/ca.c?rev=1.15&content-type=text/x-cvsweb-markup">
1.67 tb 207: RSA-privsep process</a> in
1.94 bentley 208: <a href="https://man.openbsd.org/smtpd">
1.67 tb 209: smtpd(8)</a>.
1.34 deraadt 210: </ul>
211:
1.64 mpi 212: <li>SMP network stack improvements:
213: <ul>
1.73 deraadt 214: <li>The task processing incoming packets can now run mostly in parallel
1.81 tb 215: of the rest of the kernel. This includes:
1.71 mpi 216: <ul>
1.94 bentley 217: <li><a href="https://man.openbsd.org/carp">carp(4)</a>,
218: <a href="https://man.openbsd.org/trunk">trunk(4)</a>,
219: <a href="https://man.openbsd.org/vlan">vlan(4)</a>
1.81 tb 220: and other pseudo-drivers, with the exception of
1.94 bentley 221: <a href="https://man.openbsd.org/bridge">bridge(4)</a>.
1.73 deraadt 222: <li>Ethernet decapsulation, ARP processing and MPLS forwarding path.
1.94 bentley 223: <li><a href="https://man.openbsd.org/bpf">bpf(4)</a>
1.73 deraadt 224: filter matching.
1.71 mpi 225: </ul>
226: <li>The Rx and Tx rings of the
1.94 bentley 227: <a href="https://man.openbsd.org/ix">ix(4)</a>,
228: <a href="https://man.openbsd.org/myx">myx(4)</a>,
229: <a href="https://man.openbsd.org/em">em(4)</a>,
230: <a href="https://man.openbsd.org/bge">bge(4)</a>,
231: <a href="https://man.openbsd.org/bnx">bnx(4)</a>,
232: <a href="https://man.openbsd.org/vmx">vmx(4)</a>,
233: <a href="https://man.openbsd.org/gem">gem(4)</a>,
234: <a href="https://man.openbsd.org/re">re(4)</a> and
235: <a href="https://man.openbsd.org/cas">cas(4)</a>
1.73 deraadt 236: drivers can now be processed in parallel of the rest of the kernel.
1.71 mpi 237: <li>The Rx ring of the
1.94 bentley 238: <a href="https://man.openbsd.org/cnmac">cnmac(4)</a>
1.73 deraadt 239: driver can now be processed in parallel of the rest of the kernel.
1.66 stsp 240: </ul>
241:
242: <li>Initial IEEE 802.11n wireless support:
243: <ul>
1.94 bentley 244: <li>The <a href="https://man.openbsd.org/ieee80211">ieee80211(9)</a>
1.66 stsp 245: subsystem now supports HT data rates up to 65 Mbit/s (802.11n MCS 0-7).
246: <li>The input path of
1.94 bentley 247: <a href="https://man.openbsd.org/ieee80211">ieee80211(9)</a>
1.66 stsp 248: now supports receiving A-MPDU and A-MSDU aggregated frames.
1.94 bentley 249: <li>The <a href="https://man.openbsd.org/iwm">iwm(4)</a>
250: and <a href="https://man.openbsd.org/iwn">iwn(4)</a>
1.66 stsp 251: drivers make use of the above features.
252: <li>802.11n mode is used by default if supported by the OpenBSD wireless
253: driver and the access point.
254: Operation in 802.11a, 802.11b, and 802.11g modes can be forced with
1.94 bentley 255: the new <a href="https://man.openbsd.org/ifconfig">ifconfig(8)</a>
256: <code>mode</code> subcommand.
1.64 mpi 257: </ul>
258:
1.1 deraadt 259: <li>Generic network stack improvements:
260: <ul>
1.94 bentley 261: <li>New <a href="https://man.openbsd.org/etherip">etherip(4)</a>
1.81 tb 262: pseudo-device for tunneling Ethernet frames across IP[46] networks
1.57 tb 263: using RFC 3378 EtherIP encapsulation.
1.94 bentley 264: <li>New <a href="https://man.openbsd.org/pair">pair(4)</a>
1.57 tb 265: pseudo-device for creating paired virtual Ethernet interfaces.
1.94 bentley 266: <li>New <a href="https://man.openbsd.org/tap">tap(4)</a>
1.81 tb 267: pseudo-device, split up from
1.94 bentley 268: <a href="https://man.openbsd.org/tun">tun(4)</a>,
1.81 tb 269: providing a layer 3 interface with userland tools.
270: <li>Support for obsolete IPv6 socket options has been removed.
1.94 bentley 271: <li>The <a href="https://man.openbsd.org/iwn">iwn(4)</a>
1.57 tb 272: driver now passes IEEE 802.11 control frames in monitor mode, allowing
273: full capture of traffic on a particular wireless channel.
1.94 bentley 274: <li><a href="https://man.openbsd.org/pflow">pflow(4)</a>
1.57 tb 275: now supports IPv6 for transport.
1.1 deraadt 276: </ul>
277:
278: <li>Installer improvements:
279: <ul>
1.24 krw 280: <li>Inappropriate user choices from a list of options are more reliably rejected.
281: <li>Installing to a disk partitioned with a GPT is now supported (amd64 only).
1.81 tb 282: <li>When initializing a GPT, the required EFI System partition is automatically created.
283: <li>When installing to a GPT disk,
1.94 bentley 284: <a href="https://man.openbsd.org/installboot">
1.67 tb 285: installboot(8)</a>
1.57 tb 286: now formats the EFI System partition, creates the appropriate directory
287: structure and copies the required UEFI boot files into place.
1.1 deraadt 288: </ul>
289:
290: <li>Routing daemons and other userland network improvements:
291: <ul>
1.94 bentley 292: <li>New <a href="https://man.openbsd.org/eigrpd">eigrpd(8)</a>
1.57 tb 293: routing daemon for the Enhanced Interior Gateway Routing Protocol.
1.94 bentley 294: <li><a href="https://man.openbsd.org/dhclient">dhclient(8)</a>
1.57 tb 295: now supports multiple domain names provided via DHCP option 15 (Domain Name).
1.94 bentley 296: <li><a href="https://man.openbsd.org/dhclient">dhclient(8)</a>
1.57 tb 297: now supports search domains provided via DHCP option 119 (Domain Search).
1.94 bentley 298: <li><a href="https://man.openbsd.org/dhclient">dhclient(8)</a>
1.57 tb 299: no longer continually checks for a change to the routing domain of the
300: interface it controls. It now relies on the appropriate routing socket
301: messages.
1.94 bentley 302: <li><a href="https://man.openbsd.org/dhclient">dhclient(8)</a>
1.57 tb 303: now issues DHCP DECLINE responses to lease offers found to be inadequate,
304: and restarts the DISCOVER/RENEW process rather than waiting indefinitely
305: for a better lease to appear.
1.94 bentley 306: <li><a href="https://man.openbsd.org/dhclient">dhclient(8)</a>
1.57 tb 307: no longer exits if a desired route cannot be added. It now just reports
308: the fact.
1.94 bentley 309: <li><a href="https://man.openbsd.org/dhclient">dhclient(8)</a>
1.57 tb 310: now takes a much more careful approach to received packets to ensure
311: only received data is used to process the packet.
312: Packets with incorrect length information or lacking appropriate header
313: information are now dropped.
1.94 bentley 314: <li><a href="https://man.openbsd.org/dhclient">dhclient(8)</a>
1.57 tb 315: again disables pending timeouts if the interface link is lost,
316: preventing endless retries at obtaining a lease.
1.94 bentley 317: <li><a href="https://man.openbsd.org/dhcpd">dhcpd(8)</a>
318: again properly utilizes <code>default-lease-time</code>,
319: <code>max-lease-time</code> and <code>bootp-lease-time</code> options.
320: <li><a href="https://man.openbsd.org/tcpdump">tcpdump(8)</a>
1.57 tb 321: now displays more information about IEEE 802.11 frames when run with
1.94 bentley 322: the <code>-y IEEE802_11_RADIO</code> and <code>-v</code> options.
1.64 mpi 323: <li>Several interoperability issues in
1.94 bentley 324: <a href="https://man.openbsd.org/iked">iked(8)</a>
1.64 mpi 325: have been fixed, including EAP auth with OS X El Capitan.
1.1 deraadt 326: </ul>
327:
328: <li>Security improvements:
329: <ul>
1.69 mikeb 330: <li>Chacha20-Poly1305 authenticated encryption mode has been implemented in the
331: IPsec stack for the ESP protocol.
1.10 tedu 332: <li>Support for looking up hosts via YP has been removed from libc.
1.57 tb 333: The 'yp' lookup method in
1.94 bentley 334: <a href="https://man.openbsd.org/resolv.conf">
1.67 tb 335: resolv.conf</a>
1.57 tb 336: is no longer available.
1.10 tedu 337: <li>Support for the HOSTALIASES environment variable has been removed from libc.
1.1 deraadt 338: </ul>
339:
340: <li>Assorted improvements:
341: <ul>
1.94 bentley 342: <li><a href="https://man.openbsd.org/doas">doas(1)</a>
1.57 tb 343: is a little friendlier to use.
1.28 sobrado 344: <li>Updated
1.94 bentley 345: <a href="https://man.openbsd.org/flex">flex(1)</a>.
346: <li>Forked <a href="https://man.openbsd.org/less">less(1)</a>
1.57 tb 347: from upstream, then proceeded to clean it up substantially.
1.94 bentley 348: <li><a href="https://man.openbsd.org/pdisk">pdisk(8)</a>
1.57 tb 349: was largely rewritten and pledged.
1.24 krw 350: <li>Renaming files in the root directory of a MSDOS filesystem was fixed.
1.57 tb 351: <li>Many obsolete
1.94 bentley 352: <a href="https://man.openbsd.org/disktab">disktab(5)</a>
1.57 tb 353: attributes and entries were removed.
1.94 bentley 354: <li><a href="https://man.openbsd.org/softraid">softraid(4)</a>
1.57 tb 355: volumes now correctly look for the disklabel in the first OpenBSD disk
356: partition, not the last.
1.94 bentley 357: <li><a href="https://man.openbsd.org/softraid">softraid(4)</a>
1.57 tb 358: volumes can now be partitioned with a GPT.
1.94 bentley 359: <li><a href="https://man.openbsd.org/fdisk">fdisk(8)</a>
1.81 tb 360: now creates a default GPT as well as the protective MBR when the
1.94 bentley 361: <code>-g</code> flag is used.
362: <li><a href="https://man.openbsd.org/fdisk">fdisk(8)</a>
363: now has a <code>-b</code> flag that specifies the size of the EFI System
1.81 tb 364: partition to create.
1.94 bentley 365: <li><a href="https://man.openbsd.org/fdisk">fdisk(8)</a>
366: now has a <code>-v</code> flag that causes a verbose display of both MBR
1.81 tb 367: and GPT information.
1.94 bentley 368: <li><a href="https://man.openbsd.org/fdisk">fdisk(8)</a>
1.57 tb 369: now provides full interactive GPT editing.
1.94 bentley 370: <li><a href="https://man.openbsd.org/fdisk">fdisk(8)</a>
1.57 tb 371: was pledged.
372: <li>Disks with sector sizes other than 512 bytes can now be partitioned with
373: a GPT.
374: <li>The GPT kernel option was removed and GPT support is part of all GENERIC
375: and GENERIC derived kernels.
376: <li>Many improvements were made to the GPT kernel support to ensure safe and
377: reliable operation of GPT and MBR processing.
1.94 bentley 378: <li><a href="https://man.openbsd.org/disklabel">disklabel(8)</a>
379: no longer supports boot code installation, with the <code>-B</code> and
380: <code>-b</code> flags being removed.
1.57 tb 381: The associated fields in the disklabel were also removed.
382: These functions are now all performed by
1.94 bentley 383: <a href="https://man.openbsd.org/installboot">
1.67 tb 384: installboot(8)</a>.
1.43 guenther 385: <li>PowerPC converted to secure-PLT ABI variant.
1.57 tb 386: <li>Perform lazy binding updates in
1.94 bentley 387: <a href="https://man.openbsd.org/ld.so">ld.so(1)</a>
1.57 tb 388: using
1.94 bentley 389: <a href="https://man.openbsd.org/kbind">kbind(2)</a>
1.57 tb 390: to improve security and reduce overhead in threaded processes.
391: <li>Over 100 internal or obsolete interfaces have been deleted or are no
392: longer exported by libc, reducing symbol conflicts and process size.
393: <li>libc now uses local references for most of its own functions to avoid
394: symbol overriding, improve standards compliance, increase speed,
395: and reduce dynamic linking overhead.
396: <li>Handle intra-thread kills via new
1.94 bentley 397: <a href="https://man.openbsd.org/thrkill">thrkill(2)</a>
1.73 deraadt 398: system call to tighten
1.94 bentley 399: <a href="https://man.openbsd.org/pledge">pledge(2)</a>
1.73 deraadt 400: restrictions and improve
1.94 bentley 401: <a href="https://man.openbsd.org/pthread_kill">pthread_kill(3)</a>
1.73 deraadt 402: and
1.94 bentley 403: <a href="https://man.openbsd.org/pthread_cancel">pthread_cancel(3)</a>
1.73 deraadt 404: compliance.
1.94 bentley 405: <li>Added <a href="https://man.openbsd.org/getpwnam_shadow">
1.67 tb 406: getpwnam_shadow(3)</a>
1.94 bentley 407: and <a href="https://man.openbsd.org/getpwuid_shadow">
1.67 tb 408: getpwuid_shadow(3)</a>
1.73 deraadt 409: to permit tighter
1.94 bentley 410: <a href="https://man.openbsd.org/pledge">pledge(2)</a>
1.73 deraadt 411: restrictions.
1.57 tb 412: <li>Added support to
1.94 bentley 413: <a href="https://man.openbsd.org/ktrace">ktrace(1)</a>
1.57 tb 414: the arguments to
1.94 bentley 415: <a href="https://man.openbsd.org/execve">execve(2)</a>
1.57 tb 416: and
1.94 bentley 417: <a href="https://man.openbsd.org/pledge">pledge(2)</a>.
1.57 tb 418: Removed support for tracing context switch points.
1.94 bentley 419: <code>kevent</code> structures are now dumped.
1.46 stsp 420: <li>Disabled support for loading locales other than UTF-8.
421: <li>UTF-8 character locale data has been updated to Unicode 7.0.0.
1.57 tb 422: <li>Added UTF-8 support to several utilities, including
1.94 bentley 423: <a href="https://man.openbsd.org/calendar">calendar(1)</a>,
424: <a href="https://man.openbsd.org/colrm">colrm(1)</a>,
425: <a href="https://man.openbsd.org/cut">cut(1)</a>,
426: <a href="https://man.openbsd.org/fmt">fmt(1)</a>,
427: <a href="https://man.openbsd.org/ls">ls(1)</a>,
428: <a href="https://man.openbsd.org/ps">ps(1)</a>,
429: <a href="https://man.openbsd.org/rs">rs(1)</a>,
430: <a href="https://man.openbsd.org/ul">ul(1)</a>,
431: <a href="https://man.openbsd.org/uniq">uniq(1)</a>
432: and <a href="https://man.openbsd.org/wc">wc(1)</a>.
1.70 schwarze 433: <li>Partial support for inserting and deleting UTF-8 characters in
1.94 bentley 434: <a href="https://man.openbsd.org/ksh">ksh(1)</a>
1.70 schwarze 435: emacs command line editing mode.
1.46 stsp 436: <li>Native language support (NLS) has been removed from libc.
1.94 bentley 437: <li><a href="https://man.openbsd.org/ddb">ddb(4)</a>
1.57 tb 438: now automatically shows a stack trace upon panic.
1.1 deraadt 439: </ul>
440:
1.38 gilles 441: <li>OpenSMTPD 5.9.1
442: <ul>
443: <li>Security:
444: <ul>
445: <li>Both
1.94 bentley 446: <a href="https://man.openbsd.org/smtpd">smtpd(8)</a>
1.38 gilles 447: and
1.94 bentley 448: <a href="https://man.openbsd.org/smtpctl">smtpctl(8)</a>
1.38 gilles 449: have been pledged.
1.57 tb 450: <li>The offline enqueue mode of
1.94 bentley 451: <a href="https://man.openbsd.org/smtpctl">smtpctl(8)</a>
1.57 tb 452: has been redesigned to remove the need for a publicly writable directory
453: which was a vector of multiple attacks in the Qualys Security audit.
1.38 gilles 454: </ul>
455: <li>The following improvements were brought in this release:
456: <ul>
1.57 tb 457: <li>Experimental support for filters API is now available with several
458: filters available in ports.
1.38 gilles 459: <li>Add Message-Id header if necessary.
460: <li>Removed the kick mechanism which was misbehaving.
1.39 tj 461: <li>Increased the length of acceptable headers lines.
1.38 gilles 462: <li>Assume messages are 8-bit bytes by default.
463: </ul>
1.1 deraadt 464: </ul>
465:
1.41 jsg 466: <li>OpenSSH 7.2
1.1 deraadt 467: <ul>
468: <li>Security:
469: <ul>
1.16 sobrado 470: <li>Qualys Security identified vulnerabilities in the
1.94 bentley 471: <a href="https://man.openbsd.org/ssh">ssh(1)</a>
1.18 sobrado 472: client experimental support for resuming SSH-connections (roaming).
1.16 sobrado 473: In the default configuration, this could potentially leak client keys
474: to a hostile server. The authentication of the server host key
475: prevents exploitation by a man-in-the-middle, so this information leak
476: is restricted to connections to malicious or compromised servers.
477: This feature has been disabled in the
1.94 bentley 478: <a href="https://man.openbsd.org/ssh">ssh(1)</a>
1.16 sobrado 479: client, and it has been removed from the source tree. The matching
480: server code has never been shipped.
1.94 bentley 481: <li><a href="https://man.openbsd.org/sshd">sshd(8)</a>:
1.16 sobrado 482: OpenSSH 7.0 contained a logic error in
1.94 bentley 483: <code>PermitRootLogin=prohibit-password/without-password</code> that could,
1.16 sobrado 484: depending on compile-time configuration, permit password authentication
485: to root while preventing other forms of authentication.
486: <li>Fix an out of-bound read access in the packet handling code.
1.18 sobrado 487: <li>Further use of
1.94 bentley 488: <a href="https://man.openbsd.org/bzero">explicit_bzero(3)</a>
1.18 sobrado 489: has been added in various buffer handling code paths to guard against
490: compilers aggressively doing dead-store removal.
1.94 bentley 491: <li><a href="https://man.openbsd.org/ssh">ssh(1)</a>,
492: <a href="https://man.openbsd.org/sshd">sshd(8)</a>:
1.45 sobrado 493: remove unfinished and unused roaming code.
1.94 bentley 494: <li><a href="https://man.openbsd.org/ssh">ssh(1)</a>:
1.45 sobrado 495: eliminate fallback from untrusted X11 forwarding to trusted forwarding
1.94 bentley 496: when the X server disables the <code>SECURITY</code> extension.
497: <li><a href="https://man.openbsd.org/ssh">ssh(1)</a>,
498: <a href="https://man.openbsd.org/sshd">sshd(8)</a>:
1.45 sobrado 499: increase the minimum modulus size supported for
1.94 bentley 500: <code>diffie-hellman-group-exchange</code> to 2048 bits.
1.45 sobrado 501: </ul>
502: <li>Potentially-incompatible changes:
503: <ul>
504: <li>This release disables a number of legacy cryptographic algorithms
505: by default in
1.94 bentley 506: <a href="https://man.openbsd.org/ssh">ssh(1)</a>:
1.45 sobrado 507: <ul>
1.94 bentley 508: <li>Several ciphers: <code>blowfish-cbc</code>, <code>cast128-cbc</code>,
509: all <code>arcfour</code> variants and the <code>rijndael-cbc</code> aliases
1.45 sobrado 510: for AES.
511: <li>MD5-based and truncated HMAC algorithms.
512: </ul>
513: </ul>
514: <li>New/changed features:
515: <ul>
516: <li>all: add support for RSA signatures using SHA-256/512 hash algorithms
1.94 bentley 517: based on <code>draft-rsa-dsa-sha2-256-03.txt</code> and
518: <code>draft-ssh-ext-info-04.txt</code>.
519: <li><a href="https://man.openbsd.org/ssh">ssh(1)</a>:
520: add an <code>AddKeysToAgent</code> client option which can be set to
521: <code>yes</code>, <code>no</code>, <code>ask</code>, or <code>confirm</code>, and
522: defaults to <code>no</code>. When enabled, a private key that is used
1.45 sobrado 523: during authentication will be added to
1.94 bentley 524: <a href="https://man.openbsd.org/ssh-agent">ssh-agent(1)</a>
525: if it is running (with confirmation enabled if set to <code>confirm</code>).
526: <li><a href="https://man.openbsd.org/sshd">sshd(8)</a>:
527: add a new <code>authorized_keys</code> option <code>restrict</code> that
1.45 sobrado 528: includes all current and future key restrictions
1.94 bentley 529: (<code>no-*-forwarding</code>, etc.).
1.45 sobrado 530: Also add permissive versions of the existing restrictions, e.g.
1.94 bentley 531: <code>no-pty</code> -> <code>pty</code>. This simplifies the task of setting up
1.45 sobrado 532: restricted keys and ensures they are maximally-restricted,
533: regardless of any permissions we might implement in the future.
1.94 bentley 534: <li><a href="https://man.openbsd.org/ssh">ssh(1)</a>:
1.45 sobrado 535: add
1.94 bentley 536: <a href="https://man.openbsd.org/ssh_config">ssh_config(5)</a>
1.45 sobrado 537: CertificateFile option to explicitly list certificates. (bz#2436)
1.94 bentley 538: <li><a href="https://man.openbsd.org/ssh-keygen">ssh-keygen(1)</a>:
1.45 sobrado 539: allow
1.94 bentley 540: <a href="https://man.openbsd.org/ssh-keygen">ssh-keygen(1)</a>
1.45 sobrado 541: to change the key comment for all supported formats.
1.94 bentley 542: <li><a href="https://man.openbsd.org/ssh-keygen">ssh-keygen(1)</a>:
1.45 sobrado 543: allow fingerprinting from standard input, e.g. "ssh-keygen -lf -".
1.94 bentley 544: <li><a href="https://man.openbsd.org/ssh-keygen">ssh-keygen(1)</a>:
1.45 sobrado 545: allow fingerprinting multiple public keys in a file, e.g.
1.94 bentley 546: <code>ssh-keygen -lf ~/.ssh/authorized_keys</code>. (bz#1319)
547: <li><a href="https://man.openbsd.org/sshd">sshd(8)</a>:
548: support <code>none</code> as an argument for
549: <a href="https://man.openbsd.org/sshd_config">sshd_config(5)</a>
550: <code>Foreground</code> and <code>ChrootDirectory</code>. Useful inside
551: <code>Match</code> blocks to override a global default. (bz#2486)
552: <li><a href="https://man.openbsd.org/ssh-keygen">ssh-keygen(1)</a>:
1.45 sobrado 553: support multiple certificates (one per line) and reading from standard
1.94 bentley 554: input (using "<code>-f -</code>") for <code>ssh-keygen -L</code>.
555: <li><a href="https://man.openbsd.org/ssh-keyscan">ssh-keyscan(1)</a>:
556: add <code>ssh-keyscan -c ...</code> flag to allow fetching certificates
1.45 sobrado 557: instead of plain keys.
1.94 bentley 558: <li><a href="https://man.openbsd.org/ssh">ssh(1)</a>:
559: better handle anchored FQDNs (e.g. <code>cvs.openbsd.org.</code>) in
1.45 sobrado 560: hostname canonicalisation - treat them as already canonical and
1.94 bentley 561: trailing '<code>.</code>' before matching
562: <a href="https://man.openbsd.org/ssh_config">ssh_config(5)</a>.
1.1 deraadt 563: </ul>
564: <li>The following significant bugs have been fixed in this release:
565: <ul>
1.94 bentley 566: <li><a href="https://man.openbsd.org/ssh">ssh(1)</a>,
567: <a href="https://man.openbsd.org/sshd">sshd(8)</a>:
1.18 sobrado 568: add compatibility workarounds for FuTTY.
1.94 bentley 569: <li><a href="https://man.openbsd.org/ssh">ssh(1)</a>,
570: <a href="https://man.openbsd.org/sshd">sshd(8)</a>:
1.18 sobrado 571: refine compatibility workarounds for WinSCP.
1.16 sobrado 572: <li>Fix a number of memory faults (double-free, free of uninitialised
1.73 deraadt 573: memory, etc.) in
1.94 bentley 574: <a href="https://man.openbsd.org/ssh">ssh(1)</a>
1.16 sobrado 575: and
1.94 bentley 576: <a href="https://man.openbsd.org/ssh-keygen">ssh-keygen(1)</a>.
577: <li>Correctly interpret the <code>first_kex_follows</code> option during the
1.18 sobrado 578: initial key exchange.
1.94 bentley 579: <li><a href="https://man.openbsd.org/sftp">sftp(1)</a>:
1.45 sobrado 580: existing destination directories should not terminate recursive uploads
581: (regression in openssh 6.8). (bz#2528)
1.94 bentley 582: <li><a href="https://man.openbsd.org/ssh">ssh(1)</a>,
583: <a href="https://man.openbsd.org/sshd">sshd(8)</a>:
584: correctly send back <code>SSH2_MSG_UNIMPLEMENTED</code> replies to
1.45 sobrado 585: unexpected messages during key exchange. (bz#2949)
1.94 bentley 586: <li><a href="https://man.openbsd.org/ssh">ssh(1)</a>:
587: refuse attempts to set <code>ConnectionAttempts=0</code>, which does not
1.45 sobrado 588: make sense and would cause ssh to print an uninitialised stack
589: variable. (bz#2500)
1.94 bentley 590: <li><a href="https://man.openbsd.org/ssh">ssh(1)</a>:
1.45 sobrado 591: fix errors when attempting to connect to scoped IPv6 addresses with
592: hostname canonicalisation enabled.
1.94 bentley 593: <li><a href="https://man.openbsd.org/sshd_config">sshd_config(5)</a>:
594: list a couple more options usable in <code>Match</code> blocks. (bz#2489)
595: <li><a href="https://man.openbsd.org/sshd">sshd(8)</a>:
596: fix <code>PubkeyAcceptedKeyTypes +...</code> inside a <code>Match</code> block.
597: <li><a href="https://man.openbsd.org/ssh">ssh(1)</a>:
598: expand tilde characters in filenames passed to <code>-i</code> options
1.45 sobrado 599: before checking whether or not the identity file exists. Avoids
600: confusion for cases where shell doesn't expand (e.g.
1.94 bentley 601: <code>-i ~/file</code> vs. <code>-i~/file</code>). (bz#2481)
602: <li><a href="https://man.openbsd.org/ssh">ssh(1)</a>:
603: do not prepend "exec" to the shell command run by <code>Match exec</code>
1.45 sobrado 604: in a config file, which could cause some commands to fail in certain
605: environments. (bz#2471)
1.94 bentley 606: <li><a href="https://man.openbsd.org/ssh-keyscan">ssh-keyscan(1)</a>:
1.45 sobrado 607: fix output for multiple hosts/addrs on one line when host hashing or
608: a non standard port is in use. (bz#2479)
1.94 bentley 609: <li><a href="https://man.openbsd.org/sshd">sshd(8)</a>:
1.45 sobrado 610: skip "Could not chdir to home directory" message when
1.94 bentley 611: <code>ChrootDirectory</code> is active. (bz#2485)
612: <li><a href="https://man.openbsd.org/ssh">ssh(1)</a>:
613: include <code>PubkeyAcceptedKeyTypes</code> in <code>ssh -G</code> config dump.
614: <li><a href="https://man.openbsd.org/sshd">sshd(8)</a>:
615: avoid changing <code>TunnelForwarding</code> device flags if they are
1.45 sobrado 616: already what is needed; makes it possible to use
1.94 bentley 617: <a href="https://man.openbsd.org/tun">tun(4)</a>/
618: <a href="https://man.openbsd.org/tap">tap(4)</a>
1.45 sobrado 619: networking as non-root user if device permissions and interface flags
620: are pre-established.
1.94 bentley 621: <li><a href="https://man.openbsd.org/ssh">ssh(1)</a>,
622: <a href="https://man.openbsd.org/sshd">sshd(8)</a>:
623: <code>RekeyLimits</code> could be exceeded by one packet. (bz#2521)
624: <li><a href="https://man.openbsd.org/ssh">ssh(1)</a>:
1.45 sobrado 625: fix multiplexing master failure to notice client exit.
1.94 bentley 626: <li><a href="https://man.openbsd.org/ssh">ssh(1)</a>,
627: <a href="https://man.openbsd.org/ssh-agent">ssh-agent(1)</a>:
628: avoid <code>fatal()</code> for PKCS11 tokens that present empty key IDs.
1.45 sobrado 629: (bz#1773)
1.94 bentley 630: <li><a href="https://man.openbsd.org/sshd">sshd(8)</a>:
1.45 sobrado 631: avoid
1.94 bentley 632: <a href="https://man.openbsd.org/printf&sec=3">printf(3)</a>
1.45 sobrado 633: of NULL argument. (bz#2535)
1.94 bentley 634: <li><a href="https://man.openbsd.org/ssh">ssh(1)</a>,
635: <a href="https://man.openbsd.org/sshd">sshd(8)</a>:
636: allow <code>RekeyLimits</code> larger than 4GB. (bz#2521)
637: <li><a href="https://man.openbsd.org/ssh-agent">ssh-agent(1)</a>,
638: <a href="https://man.openbsd.org/sshd">sshd(8)</a>:
1.45 sobrado 639: fix several bugs in (unused) KRL signature support.
1.94 bentley 640: <li><a href="https://man.openbsd.org/ssh">ssh(1)</a>,
641: <a href="https://man.openbsd.org/sshd">sshd(8)</a>:
1.45 sobrado 642: fix connections with peers that use the key exchange guess feature of
643: the protocol. (bz#2515)
1.94 bentley 644: <li><a href="https://man.openbsd.org/sshd">sshd(8)</a>:
1.45 sobrado 645: include remote port number in log messages. (bz#2503)
1.94 bentley 646: <li><a href="https://man.openbsd.org/ssh">ssh(1)</a>:
1.45 sobrado 647: don't try to load SSHv1 private key when compiled without SSHv1
648: support. (bz#2505)
1.94 bentley 649: <li><a href="https://man.openbsd.org/ssh-agent">ssh-agent(1)</a>,
650: <a href="https://man.openbsd.org/ssh">ssh(1)</a>:
1.45 sobrado 651: fix incorrect error messages during key loading and signing errors.
652: (bz#2507)
1.94 bentley 653: <li><a href="https://man.openbsd.org/ssh-keygen">ssh-keygen(1)</a>:
654: don't leave empty temporary files when performing <code>known_hosts</code>
655: file edits when <code>known_hosts</code> doesn't exist.
656: <li><a href="https://man.openbsd.org/sshd">sshd(8)</a>:
1.45 sobrado 657: correct packet format for tcpip-forward replies for requests that
658: don't allocate a port. (bz#2509)
1.94 bentley 659: <li><a href="https://man.openbsd.org/ssh">ssh(1)</a>,
660: <a href="https://man.openbsd.org/sshd">sshd(8)</a>:
1.45 sobrado 661: fix possible hang on closed output. (bz#2469)
1.94 bentley 662: <li><a href="https://man.openbsd.org/ssh">ssh(1)</a>:
663: expand <code>%i</code> in <code>ControlPath</code> to UID. (bz#2449)
664: <li><a href="https://man.openbsd.org/ssh">ssh(1)</a>,
665: <a href="https://man.openbsd.org/sshd">sshd(8)</a>:
666: fix return type of <code>openssh_RSA_verify</code>. (bz#2460)
667: <li><a href="https://man.openbsd.org/ssh">ssh(1)</a>,
668: <a href="https://man.openbsd.org/sshd">sshd(8)</a>:
1.45 sobrado 669: fix some option parsing memory leaks. (bz#2182)
1.94 bentley 670: <li><a href="https://man.openbsd.org/ssh">ssh(1)</a>:
1.73 deraadt 671: add some debug output before DNS resolution; it's a place where
1.45 sobrado 672: ssh could previously silently stall in cases of unresponsive DNS
673: servers. (bz#2433)
1.94 bentley 674: <li><a href="https://man.openbsd.org/ssh">ssh(1)</a>:
1.45 sobrado 675: remove spurious newline in visual hostkey. (bz#2686)
1.94 bentley 676: <li><a href="https://man.openbsd.org/ssh">ssh(1)</a>:
677: fix printing (<code>ssh -G ...</code>) of <code>HostKeyAlgorithms=+...</code>
678: <li><a href="https://man.openbsd.org/ssh">ssh(1)</a>:
679: fix expansion of <code>HostkeyAlgorithms=+...</code>
1.1 deraadt 680: </ul>
681: </ul>
1.94 bentley 682:
1.17 sobrado 683: <li>LibreSSL 2.3.2
1.1 deraadt 684: <ul>
685: <li>User-visible features:
686: <ul>
1.94 bentley 687: <li>This release corrects the handling of <code>ClientHello</code> messages
1.17 sobrado 688: that do not include TLS extensions, resulting in such handshakes being
689: aborted.
1.39 tj 690: <li>When loading a DSA key from a raw (without DH parameters) ASN.1
1.94 bentley 691: serialization, perform some consistency checks on its 'p' and 'q'
1.17 sobrado 692: values, and return an error if the checks failed.
1.94 bentley 693: <li>Fixed a bug in <code>ECDH_compute_key</code> that can lead to silent
1.17 sobrado 694: truncation of the result key without error. A coding error could cause
695: software to use much shorter keys than intended.
1.94 bentley 696: <li>Removed support for <code>DTLS_BAD_VER</code>. Pre-DTLSv1 implementations
1.17 sobrado 697: are no longer supported.
1.94 bentley 698: <li>The <code>engine</code> command and parameters are removed from
699: <a href="https://man.openbsd.org/openssl">
1.67 tb 700: openssl(1)</a>.
1.39 tj 701: Previous releases removed dynamic and built-in engine support already.
1.17 sobrado 702: <li>SHA-0 is removed, which was withdrawn shortly after publication
703: twenty years ago.
1.94 bentley 704: <li>Added <code>Certplus CA</code> root certificate to the default
705: <code>cert.pem</code> file.
1.19 sobrado 706: <li>Fixed a leak in
1.94 bentley 707: <a href="https://man.openbsd.org/SSL_new">
1.67 tb 708: SSL_new(3)</a>
1.19 sobrado 709: in the error path.
1.28 sobrado 710: <li>Fixed a memory leak and out-of-bounds access in
1.94 bentley 711: <a href="https://man.openbsd.org/OBJ_nid2obj">
1.67 tb 712: OBJ_obj2txt(3)</a>.
1.17 sobrado 713: <li>Fixed an up-to 7 byte overflow in RC4 when len is not a multiple of
1.94 bentley 714: <code>sizeof(RC4_CHUNK)</code>.
1.19 sobrado 715: <li>Added
1.94 bentley 716: <a href="https://man.openbsd.org/EVP_AEAD_CTX_init">
1.67 tb 717: EVP_aead_chacha20_poly1305_ietf(3)</a>
1.19 sobrado 718: which matches the
1.94 bentley 719: <code>AEAD</code> construction introduced in RFC 7539, which is different
1.18 sobrado 720: than that already used in TLS with
1.94 bentley 721: <a href="https://man.openbsd.org/EVP_AEAD_CTX_init">
1.67 tb 722: EVP_aead_chacha20_poly1305(3)</a>.
1.18 sobrado 723: <li>More man pages converted from pod to
1.94 bentley 724: <a href="https://man.openbsd.org/mdoc">mdoc(7)</a>
1.18 sobrado 725: format.
1.94 bentley 726: <li>Added <code>COMODO RSA Certification Authority</code> and
727: <code>QuoVadis</code> root certificates to <code>cert.pem</code>.
728: <li>Removed "<code>C=US, O=VeriSign, Inc., OU=Class 3 Public Primary Certification Authority</code>"
1.17 sobrado 729: (serial 3c:91:31:cb:1f:f6:d0:1b:0e:9a:b8:d0:44:bf:12:be)
1.94 bentley 730: root certificate from <code>cert.pem</code>.
1.17 sobrado 731: <li>Fixed incorrect TLS certificate loading by
1.94 bentley 732: <a href="https://man.openbsd.org/nc">nc(1)</a>.
1.78 lteo 733: <li>The
1.94 bentley 734: <a href="https://man.openbsd.org/openssl">
1.78 lteo 735: openssl(1)</a>
1.94 bentley 736: <code>s_time</code> command now performs a proper shutdown which allows a
1.78 lteo 737: full TLS connection to be benchmarked more accurately. A new
1.94 bentley 738: <code>-no_shutdown</code> flag
739: makes <code>s_time</code> adopt the previous behavior so that comparisons
1.78 lteo 740: can still be made with OpenSSL's version.
1.94 bentley 741: <li>Removed support for the <code>SSLEAY_CONF</code> backwards compatibility
1.78 lteo 742: environment variable in
1.94 bentley 743: <a href="https://man.openbsd.org/openssl">
1.78 lteo 744: openssl(1)</a>.
1.17 sobrado 745: <li>The following CVEs had been fixed:
746: <ul>
1.94 bentley 747: <li><code>CVE-2015-3194</code>—NULL pointer dereference in client
1.28 sobrado 748: side certificate validation.
1.94 bentley 749: <li><code>CVE-2015-3195</code>—memory leak in PKCS7, not reachable
1.28 sobrado 750: from TLS/SSL.
1.17 sobrado 751: </ul>
752: <li>Note: The following OpenSSL CVEs did not apply to LibreSSL:
753: <ul>
1.94 bentley 754: <li><code>CVE-2015-3193</code>—carry propagating bug in the x86_64
1.28 sobrado 755: Montgomery squaring procedure.
1.94 bentley 756: <li><code>CVE-2015-3196</code>—double free race condition of the
1.28 sobrado 757: identify hint data.
1.17 sobrado 758: </ul>
1.1 deraadt 759: </ul>
760: <li>Code improvements:
761: <ul>
1.94 bentley 762: <li>Added install target for <code>cmake</code> builds.
763: <li>Updated <code>pkgconfig</code> files to correctly report the release
1.17 sobrado 764: version number, not the individual library ABI version numbers.
765: <li>SSLv3 is now permanently removed from the tree.
1.94 bentley 766: <li>The <code>libtls</code> API is changed from the 2.2.x series:
1.17 sobrado 767: <ul>
1.28 sobrado 768: <li>The
1.94 bentley 769: <a href="https://man.openbsd.org/tls_init">
1.67 tb 770: tls_read(3)</a>
1.28 sobrado 771: and
1.94 bentley 772: <a href="https://man.openbsd.org/tls_init">
1.67 tb 773: tls_write(3)</a>
1.28 sobrado 774: functions now work better with external event libraries.
775: <li>Client-side verification is now supported, with the client
776: supplying the certificate to the server.
777: <li>Also, when using
1.94 bentley 778: <a href="https://man.openbsd.org/tls_init">
1.67 tb 779: tls_connect_fds(3)</a>,
1.94 bentley 780: <a href="https://man.openbsd.org/tls_init">
1.67 tb 781: tls_connect_socket(3)</a> or
1.94 bentley 782: <a href="https://man.openbsd.org/tls_init">
1.67 tb 783: tls_accept_fds(3)</a>,
1.94 bentley 784: <code>libtls</code> no longer implicitly closes the passed in sockets.
1.28 sobrado 785: The caller is responsible for closing them in this case.
1.17 sobrado 786: </ul>
1.94 bentley 787: <li>New interface <code>OPENSSL_cpu_caps</code> is provided that does not
1.17 sobrado 788: allow software to inadvertently modify cpu capability flags.
1.94 bentley 789: <code>OPENSSL_ia32cap</code> and <code>OPENSSL_ia32cap_loc</code> are removed.
790: <li>The <code>out_len</code> argument of <code>AEAD</code> changed from
791: <code>ssize_t</code> to <code>size_t</code>.
1.17 sobrado 792: <li>Deduplicated DTLS code, sharing bugfixes and improvements with TLS.
793: <li>Converted
1.94 bentley 794: <a href="https://man.openbsd.org/nc">nc(1)</a>
795: to use <code>libtls</code> for client and server operations; it is
1.17 sobrado 796: included in the libressl-portable distribution as an example of how
1.94 bentley 797: to use the <code>libtls</code> library. This is intended to be a simpler
798: and more robust replacement for <code>openssl s_client</code> and
799: <code>openssl s_server</code> for day-to-day operations.
1.17 sobrado 800: <li>ASN.1 cleanups and RFC5280 compliance fixes.
1.94 bentley 801: <li>Time representations switched from <code>unsigned long</code> to
802: <code>time_t</code>. LibreSSL now checks if the host OS supports 64-bit
803: <code>time_t</code>.
1.17 sobrado 804: <li>Support always extracting the peer cipher and version with
1.94 bentley 805: <code>libtls</code>.
1.17 sobrado 806: <li>Added ability to check certificate validity times with
1.94 bentley 807: <code>libtls</code>,
808: <a href="https://man.openbsd.org/tls_init">
1.67 tb 809: tls_peer_cert_notbefore(3)</a>
1.19 sobrado 810: and
1.94 bentley 811: <a href="https://man.openbsd.org/tls_init">
1.67 tb 812: tls_peer_cert_notafter(3)</a>.
1.19 sobrado 813: <li>Changed
1.94 bentley 814: <a href="https://man.openbsd.org/tls_init">
1.67 tb 815: tls_connect_servername(3)</a>
1.19 sobrado 816: to use the first address that resolves with
1.94 bentley 817: <a href="https://man.openbsd.org/getaddrinfo">
1.68 tb 818: getaddrinfo(3)</a>.
1.94 bentley 819: <li>Remove broken conditional <code>EVP_CHECK_DES_KEY</code> code
1.17 sobrado 820: (non-functional since initial commit in 2004).
1.19 sobrado 821: <li>Reject too small bits value in
1.94 bentley 822: <a href="https://man.openbsd.org/BN_generate_prime">
1.68 tb 823: BN_generate_prime(3)</a>,
1.17 sobrado 824: so that it does not risk becoming negative in
1.94 bentley 825: <code>probable_prime_dh_safe()</code>.
826: <li>Changed format of <code>LIBRESSL_VERSION_NUMBER</code> to match that of
827: <code>OPENSSL_VERSION_NUMBER</code>.
1.17 sobrado 828: <li>Avoid a potential undefined C99+ behavior due to shift overflow in
1.94 bentley 829: <code>AES_decrypt</code>.
830: <li>Deprecated the <code>SSL_OP_SINGLE_DH_USE</code> flag.
1.1 deraadt 831: </ul>
832: </ul>
1.76 deraadt 833:
1.1 deraadt 834: <li>Ports and packages:
1.94 bentley 835: <p>Many pre-built packages for each architecture:
1.80 naddy 836: <!-- number of FTP packages minus SHA256, SHA256.sig, index.txt -->
1.94 bentley 837: <ul style="column-count: 4">
1.80 naddy 838: <li>alpha: 7450
1.54 deraadt 839: <li>amd64: 9295
1.63 deraadt 840: <li>hppa: 6304
1.54 deraadt 841: <li>i386: 9290
1.82 naddy 842: <li>mips64: 7094
1.80 naddy 843: <li>mips64el: 7846
844: <li>powerpc: 8383
1.82 naddy 845: <li>sh: 111
846: <li>sparc: 1105
1.72 deraadt 847: <li>sparc64: 8528
1.94 bentley 848: </ul>
1.1 deraadt 849:
1.94 bentley 850: <p>Some highlights:
851: <ul style="column-count: 2">
1.40 sthen 852: <li>Chromium 48.0.2564.116
1.1 deraadt 853: <li>Emacs 21.4 and 24.5
1.3 jsg 854: <li>GCC 4.9.3
855: <li>GHC 7.10.3
856: <li>GNOME 3.18.2
1.5 sthen 857: <li>Go 1.5.3
1.1 deraadt 858: <li>Groff 1.22.3
1.40 sthen 859: <li>JDK 7u80 and 8u72
1.1 deraadt 860: <li>KDE 3.5.10 and 4.14.3 (plus KDE4 core updates)
861: <li>LLVM/Clang 3.5 (20140228)
1.3 jsg 862: <li>LibreOffice 5.0.4.2
863: <li>MariaDB 10.0.23
864: <li>Mono 4.2.1.102
1.26 lteo 865: <li>Mozilla Firefox 38.6.1esr and 44.0.2
866: <li>Mozilla Thunderbird 38.6.0
1.22 abieber 867: <li>Node.js 4.3.0
1.3 jsg 868: <li>OpenLDAP 2.3.43 and 2.4.43
1.26 lteo 869: <li>PHP 5.4.45, 5.5.32 and 5.6.18
1.3 jsg 870: <li>Postfix 3.0.3
1.26 lteo 871: <li>PostgreSQL 9.4.6
1.3 jsg 872: <li>Python 2.7.11, 3.4.4 and 3.5.1
873: <li>R 3.2.3
874: <li>Ruby 1.8.7.374, 2.0.0.648, 2.1.8, 2.2.4 and 2.3.0
1.15 lteo 875: <li>Rust 1.6.0
1.1 deraadt 876: <li>Sendmail 8.15.2
1.3 jsg 877: <li>Sudo 1.8.15
1.1 deraadt 878: <li>Tcl/Tk 8.5.18 and 8.6.4
879: <li>TeX Live 2014
1.3 jsg 880: <li>Vim 7.4.900
1.1 deraadt 881: <li>Xfce 4.12
1.94 bentley 882: </ul>
1.1 deraadt 883:
884: <li>As usual, steady improvements in manual pages and other documentation.
885:
886: <li>The system includes the following major components from outside suppliers:
887: <ul>
1.3 jsg 888: <li>Xenocara (based on X.Org 7.7 with xserver 1.17.4 + patches,
1.8 jsg 889: freetype 2.6.2, fontconfig 2.11.1, Mesa 11.0.9, xterm 322,
1.21 matthieu 890: xkeyboard-config 2.17 and more)
1.81 tb 891: <li>GCC 4.2.1 (+ patches) and 3.3.6 (+ patches)
1.1 deraadt 892: <li>Perl 5.20.2 (+ patches)
1.3 jsg 893: <li>SQLite 3.9.2 (+ patches)
894: <li>NSD 4.1.7
895: <li>Unbound 1.5.7
1.1 deraadt 896: <li>Ncurses 5.7
897: <li>Binutils 2.17 (+ patches)
898: <li>Gdb 6.3 (+ patches)
899: <li>Awk Aug 10, 2011 version
900: </ul>
901: </ul>
1.94 bentley 902: </section>
1.1 deraadt 903:
904: <hr>
1.67 tb 905:
1.94 bentley 906: <section id=install>
907: <h3>How to install</h3>
908: <p>
1.1 deraadt 909: Following this are the instructions which you would have on a piece of
910: paper if you had purchased a CDROM set instead of doing an alternate
911: form of install. The instructions for doing an HTTP (or other style
912: of) install are very similar; the CDROM instructions are left intact
913: so that you can see how much easier it would have been if you had
914: purchased a CDROM instead.
915:
916: <hr>
1.67 tb 917: <p>
1.1 deraadt 918: Please refer to the following files on the three CDROMs or mirror site for
919: extensive details on how to install OpenBSD 5.9 on your machine:
1.67 tb 920:
1.1 deraadt 921: <ul>
1.85 tb 922: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/5.9/alpha/INSTALL.alpha">
1.1 deraadt 923: .../OpenBSD/5.9/alpha/INSTALL.alpha (on CD1)</a>
1.85 tb 924: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/5.9/i386/INSTALL.i386">
1.1 deraadt 925: .../OpenBSD/5.9/i386/INSTALL.i386 (on CD1)</a>
1.85 tb 926: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/5.9/hppa/INSTALL.hppa">
1.1 deraadt 927: .../OpenBSD/5.9/hppa/INSTALL.hppa (on CD1)</a>
928: <p>
1.85 tb 929: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/5.9/amd64/INSTALL.amd64">
1.1 deraadt 930: .../OpenBSD/5.9/amd64/INSTALL.amd64 (on CD2)</a>
1.85 tb 931: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/5.9/macppc/INSTALL.macppc">
1.1 deraadt 932: .../OpenBSD/5.9/macppc/INSTALL.macppc (on CD2)</a>
933: <p>
1.85 tb 934: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/5.9/sparc64/INSTALL.sparc64">
1.1 deraadt 935: .../OpenBSD/5.9/sparc64/INSTALL.sparc64 (on CD3)</a>
936: <p>
1.85 tb 937: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/5.9/alpha/INSTALL.alpha">
1.1 deraadt 938: .../OpenBSD/5.9/alpha/INSTALL.alpha</a>
1.85 tb 939: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/5.9/hppa/INSTALL.hppa">
1.1 deraadt 940: .../OpenBSD/5.9/hppa/INSTALL.hppa</a>
1.85 tb 941: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/5.9/landisk/INSTALL.landisk">
1.1 deraadt 942: .../OpenBSD/5.9/landisk/INSTALL.landisk</a>
1.85 tb 943: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/5.9/loongson/INSTALL.loongson">
1.1 deraadt 944: .../OpenBSD/5.9/loongson/INSTALL.loongson</a>
1.85 tb 945: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/5.9/luna88k/INSTALL.luna88k">
1.1 deraadt 946: .../OpenBSD/5.9/luna88k/INSTALL.luna88k</a>
1.85 tb 947: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/5.9/macppc/INSTALL.macppc">
1.1 deraadt 948: .../OpenBSD/5.9/macppc/INSTALL.macppc</a>
1.85 tb 949: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/5.9/octeon/INSTALL.octeon">
1.1 deraadt 950: .../OpenBSD/5.9/octeon/INSTALL.octeon</a>
1.85 tb 951: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/5.9/sgi/INSTALL.sgi">
1.1 deraadt 952: .../OpenBSD/5.9/sgi/INSTALL.sgi</a>
1.85 tb 953: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/5.9/socppc/INSTALL.socppc">
1.1 deraadt 954: .../OpenBSD/5.9/socppc/INSTALL.socppc</a>
1.85 tb 955: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/5.9/zaurus/INSTALL.zaurus">
1.1 deraadt 956: .../OpenBSD/5.9/zaurus/INSTALL.zaurus</a>
957: </ul>
1.96 deraadt 958: </section>
1.67 tb 959:
1.1 deraadt 960: <hr>
961:
1.94 bentley 962: <section id=quickinstall>
1.1 deraadt 963: <p>
964: Quick installer information for people familiar with OpenBSD, and the
965: use of the "disklabel -E" command. If you are at all confused when
966: installing OpenBSD, read the relevant INSTALL.* file as listed above!
967:
1.94 bentley 968: <h3>OpenBSD/i386:</h3>
1.65 tb 969:
970: <ul style="list-style-type: none">
971: <li>
1.1 deraadt 972: The OpenBSD/i386 release is on CD1.
973: Boot from the CD to begin the install - you may need to adjust
974: your BIOS options first.
975: <p>
1.65 tb 976: <li>
1.1 deraadt 977: If your machine can boot from USB, you can write <i>install59.fs</i> or
978: <i>miniroot59.fs</i> to a USB stick and boot from it.
979: <p>
1.65 tb 980: <li>
1.1 deraadt 981: If you can't boot from a CD, floppy disk, or USB,
982: you can install across the network using PXE as described in
983: the included INSTALL.i386 document.
984: <p>
1.65 tb 985: <li>
1.1 deraadt 986: If you are planning on dual booting OpenBSD with another OS, you will need to
987: read INSTALL.i386.
988: </ul>
989:
1.94 bentley 990: <h3>OpenBSD/amd64:</h3>
1.67 tb 991:
1.65 tb 992: <ul style="list-style-type: none">
993: <li>
1.1 deraadt 994: The OpenBSD/amd64 release is on CD2.
995: Boot from the CD to begin the install - you may need to adjust
996: your BIOS options first.
997: <p>
1.65 tb 998: <li>
1.1 deraadt 999: If your machine can boot from USB, you can write <i>install59.fs</i> or
1000: <i>miniroot59.fs</i> to a USB stick and boot from it.
1001: <p>
1.65 tb 1002: <li>
1.1 deraadt 1003: If you can't boot from a CD, floppy disk, or USB,
1004: you can install across the network using PXE as described in the included
1005: INSTALL.amd64 document.
1006: <p>
1.65 tb 1007: <li>
1.1 deraadt 1008: If you are planning to dual boot OpenBSD with another OS, you will need to
1009: read INSTALL.amd64.
1010: </ul>
1011:
1.94 bentley 1012: <h3>OpenBSD/macppc:</h3>
1.65 tb 1013:
1014: <ul style="list-style-type: none">
1015: <li>
1.1 deraadt 1016: Burn the image from a mirror site to a CDROM, and power on your machine
1017: while holding down the <i>C</i> key until the display turns on and
1018: shows <i>OpenBSD/macppc boot</i>.
1019: <p>
1.65 tb 1020: <li>
1.1 deraadt 1021: Alternatively, at the Open Firmware prompt, enter <i>boot cd:,ofwboot
1022: /5.9/macppc/bsd.rd</i>
1023: </ul>
1024:
1.94 bentley 1025: <h3>OpenBSD/sparc64:</h3>
1.65 tb 1026:
1027: <ul style="list-style-type: none">
1028: <li>
1.1 deraadt 1029: Put CD3 in your CDROM drive and type <i>boot cdrom</i>.
1030: <p>
1.65 tb 1031: <li>
1.1 deraadt 1032: If this doesn't work, or if you don't have a CDROM drive, you can write
1033: <i>CD3:5.9/sparc64/floppy59.fs</i> or <i>CD3:5.9/sparc64/floppyB59.fs</i>
1034: (depending on your machine) to a floppy and boot it with <i>boot
1035: floppy</i>. Refer to INSTALL.sparc64 for details.
1036: <p>
1.65 tb 1037: <li>
1.1 deraadt 1038: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install
1039: will most likely fail.
1040: <p>
1.65 tb 1041: <li>
1.1 deraadt 1042: You can also write <i>CD3:5.9/sparc64/miniroot59.fs</i> to the swap partition on
1043: the disk and boot with <i>boot disk:b</i>.
1044: <p>
1.65 tb 1045: <li>
1.1 deraadt 1046: If nothing works, you can boot over the network as described in INSTALL.sparc64.
1047: </ul>
1048:
1.94 bentley 1049: <h3>OpenBSD/alpha:</h3>
1.65 tb 1050:
1051: <ul style="list-style-type: none">
1052: <li>
1.96 deraadt 1053: Write <i>5.9/alpha/floppy59.fs</i> or
1054: <i>5.9/alpha/floppyB59.fs</i> (depending on your machine) to a diskette and
1.1 deraadt 1055: enter <i>boot dva0</i>. Refer to INSTALL.alpha for more details.
1056: <p>
1.65 tb 1057: <li>
1.1 deraadt 1058: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install
1059: will most likely fail.
1060: </ul>
1061:
1.94 bentley 1062: <h3>OpenBSD/hppa:</h3>
1.65 tb 1063:
1064: <ul style="list-style-type: none">
1065: <li>
1.1 deraadt 1066: Boot over the network by following the instructions in INSTALL.hppa or the
1067: <a href="hppa.html#install">hppa platform page</a>.
1068: </ul>
1069:
1.94 bentley 1070: <h3>OpenBSD/landisk:</h3>
1.65 tb 1071:
1072: <ul style="list-style-type: none">
1073: <li>
1.1 deraadt 1074: Write <i>miniroot59.fs</i> to the start of the CF
1075: or disk, and boot normally.
1076: </ul>
1077:
1.94 bentley 1078: <h3>OpenBSD/loongson:</h3>
1.65 tb 1079:
1080: <ul style="list-style-type: none">
1081: <li>
1.1 deraadt 1082: Write <i>miniroot59.fs</i> to a USB stick and boot bsd.rd from it
1083: or boot bsd.rd via tftp.
1084: Refer to the instructions in INSTALL.loongson for more details.
1085: </ul>
1086:
1.94 bentley 1087: <h3>OpenBSD/luna88k:</h3>
1.65 tb 1088:
1089: <ul style="list-style-type: none">
1090: <li>
1.94 bentley 1091: Copy 'boot' and 'bsd.rd' to a Mach or UniOS partition, and boot the bootloader
1.1 deraadt 1092: from the PROM, and then bsd.rd from the bootloader.
1093: Refer to the instructions in INSTALL.luna88k for more details.
1094: </ul>
1095:
1.94 bentley 1096: <h3>OpenBSD/octeon:</h3>
1.65 tb 1097:
1098: <ul style="list-style-type: none">
1099: <li>
1.1 deraadt 1100: After connecting a serial port, boot bsd.rd over the network via DHCP/tftp.
1101: Refer to the instructions in INSTALL.octeon for more details.
1102: </ul>
1103:
1.94 bentley 1104: <h3>OpenBSD/sgi:</h3>
1.65 tb 1105:
1106: <ul style="list-style-type: none">
1107: <li>
1.1 deraadt 1108: To install, burn cd59.iso on a CD-R, put it in the CD drive of your
1109: machine and select <i>Install System Software</i> from the System Maintenance
1110: menu. Indigo/Indy/Indigo2 (R4000) systems will not boot automatically from
1111: CD-ROM, and need a proper invocation from the PROM prompt.
1112: Refer to the instructions in INSTALL.sgi for more details.
1113:
1114: <p>
1.65 tb 1115: <li>
1.1 deraadt 1116: If your machine doesn't have a CD drive, you can setup a DHCP/tftp network
1117: server, and boot using "bootp()/bsd.rd.IP##" using the kernel matching your
1118: system type. Refer to the instructions in INSTALL.sgi for more details.
1119: </ul>
1120:
1.94 bentley 1121: <h3>OpenBSD/socppc:</h3>
1.65 tb 1122:
1123: <ul style="list-style-type: none">
1124: <li>
1.1 deraadt 1125: After connecting a serial port, boot over the network via DHCP/tftp.
1126: Refer to the instructions in INSTALL.socppc for more details.
1127: </ul>
1128:
1.94 bentley 1129: <h3>OpenBSD/zaurus:</h3>
1.65 tb 1130:
1131: <ul style="list-style-type: none">
1132: <li>
1.1 deraadt 1133: Using the Linux built-in graphical ipkg installer, install the
1134: openbsd59_arm.ipk package. Reboot, then run it. Read INSTALL.zaurus
1135: for a few important details.
1136: </ul>
1.94 bentley 1137: </section>
1.1 deraadt 1138:
1139: <hr>
1.65 tb 1140:
1.94 bentley 1141: <section id=upgrade>
1142: <h3>How to upgrade</h3>
1.96 deraadt 1143: <p>
1.6 tj 1144: If you already have an OpenBSD 5.8 system, and do not want to reinstall,
1.1 deraadt 1145: upgrade instructions and advice can be found in the
1146: <a href="faq/upgrade59.html">Upgrade Guide</a>.
1.94 bentley 1147: </section>
1.1 deraadt 1148:
1149: <hr>
1.67 tb 1150:
1.94 bentley 1151: <section id=sourcecode>
1152: <h3>Notes about the source code</h3>
1.96 deraadt 1153: <p>
1.98 deraadt 1154: <code>src.tar.gz</code> contains a source archive starting at <code>/usr/src</code>.
1155: This file contains everything you need except for the kernel sources, which are
1.1 deraadt 1156: in a separate archive. To extract:
1.58 tb 1157: <blockquote><pre>
1.96 deraadt 1158: # <kbd>mkdir -p /usr/src</kbd>
1159: # <kbd>cd /usr/src</kbd>
1160: # <kbd>tar xvfz /tmp/src.tar.gz</kbd>
1.58 tb 1161: </pre></blockquote>
1.97 bentley 1162: <p>
1.98 deraadt 1163: <code>sys.tar.gz</code> contains a source archive starting at <code>/usr/src/sys</code>.
1.1 deraadt 1164: This file contains all the kernel sources you need to rebuild kernels.
1165: To extract:
1.58 tb 1166: <blockquote><pre>
1.96 deraadt 1167: # <kbd>mkdir -p /usr/src/sys</kbd>
1168: # <kbd>cd /usr/src</kbd>
1169: # <kbd>tar xvfz /tmp/sys.tar.gz</kbd>
1.58 tb 1170: </pre></blockquote>
1.97 bentley 1171: <p>
1.1 deraadt 1172: Both of these trees are a regular CVS checkout. Using these trees it
1173: is possible to get a head-start on using the anoncvs servers as
1174: described <a href="anoncvs.html">here</a>.
1175: Using these files
1176: results in a much faster initial CVS update than you could expect from
1177: a fresh checkout of the full OpenBSD source tree.
1.94 bentley 1178: </section>
1.1 deraadt 1179:
1180: <hr>
1.67 tb 1181:
1.94 bentley 1182: <section id=ports>
1183: <h3>Ports Tree</h3>
1.96 deraadt 1184: <p>
1.1 deraadt 1185: A ports tree archive is also provided. To extract:
1.58 tb 1186: <blockquote><pre>
1.96 deraadt 1187: # <kbd>cd /usr</kbd>
1188: # <kbd>tar xvfz /tmp/ports.tar.gz</kbd>
1.58 tb 1189: </pre></blockquote>
1.97 bentley 1190: <p>
1.1 deraadt 1191: Go read the <a href="faq/ports/index.html">ports</a> page
1192: if you know nothing about ports
1193: at this point. This text is not a manual of how to use ports.
1194: Rather, it is a set of notes meant to kickstart the user on the
1195: OpenBSD ports system.
1196: <p>
1197: The <i>ports/</i> directory represents a CVS (see the manpage for
1.97 bentley 1198: <a href="https://man.openbsd.org/cvs">cvs(1)</a> if
1.1 deraadt 1199: you aren't familiar with CVS) checkout of our ports. As with our complete
1200: source tree, our ports tree is available via
1201: <a href="anoncvs.html">AnonCVS</a>.
1.89 tj 1202: So, in order to keep up to date with the -stable branch, you must make
1.1 deraadt 1203: the <i>ports/</i> tree available on a read-write medium and update the tree
1204: with a command like:
1.58 tb 1205: <blockquote><pre>
1.96 deraadt 1206: # <kbd>cd /usr/ports</kbd>
1207: # <kbd>cvs -d anoncvs@server.openbsd.org:/cvs update -Pd -rOPENBSD_5_9</kbd>
1.58 tb 1208: </pre></blockquote>
1.97 bentley 1209: <p>
1.1 deraadt 1210: [Of course, you must replace the server name here with a nearby anoncvs
1211: server.]
1212: <p>
1213: Note that most ports are available as packages on our mirrors. Updated
1214: ports for the 5.9 release will be made available if problems arise.
1215: <p>
1216: If you're interested in seeing a port added, would like to help out, or just
1217: would like to know more, the mailing list
1218: <a href="mail.html">ports@openbsd.org</a> is a good place to know.
1.94 bentley 1219: </section>