Annotation of www/59.html, Revision 1.40
1.1 deraadt 1: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2: <html>
3: <head>
4: <title>OpenBSD 5.9</title>
5: <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
6: <meta name="description" content="OpenBSD 5.9">
7: <meta name="copyright" content="This document copyright 2015 by OpenBSD.">
8: <link rel="canonical" href="http://www.openbsd.org/59.html">
9: </head>
10:
11: <body bgcolor="#ffffff" text="#000000" link="#24248E">
12:
13: <a href="index.html">
14: <img alt="[OpenBSD]" height="30" width="141" hspace="24" src="images/smalltitle.gif" border="0"></a>
15: <p>
16:
17: <a href="images/XXX.jpg">
18: <img align="left" width="227" height="343" hspace="24" vspace="10" src="images/XXX.jpg"></a>
19: <h2><font color="#0000e0">OpenBSD 5.9</font></h2>
20: <p>
1.11 tedu 21: To be released May 1, 2016<br>
1.1 deraadt 22: Copyright 1997-2016, Theo de Raadt.<br>
23: <font color="#e00000">ISBN 978-0-9881561-7-3</font>
24: <br>
25: 5.9 Songs: <a href="lyrics.html#59a">"xxx"</a>,
26: <a href="lyrics.html#59b">"xxx"</a>
27: <ul>
28: <li>Order a CDROM from our <a href="https://openbsdstore.com">ordering system</a>.
29: <li>See the information on <a href="ftp.html">the FTP page</a> for
30: a list of mirror machines.
31: <li>Go to the <font color="#e00000">pub/OpenBSD/5.9/</font> directory on
32: one of the mirror sites.
33: <li>Have a look at <a href="errata59.html">the 5.9 errata page</a> for a list
34: of bugs and workarounds.
35: <li>See a <a href="plus59.html">detailed log of changes</a> between the
36: 5.8 and 5.9 releases.
37: <p>
38: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=signify&sektion=1">signify(1)</a> pubkeys for this release:<br>
39: <pre>
1.4 jsg 40: base: RWQJVNompF3pwfIqbg+5sxfpxmZMa3tTBaW4qbUhWje/H/M7glrA6oVn
41: fw: RWSdmaNkytzh6BApmPSNSDLNg26ZaXlY8g/879UvLdo3rjbsby76Eda1
42: pkg: RWSLRYDCTJeWLIScncqwGuXK6JVXDcIyRT0q+0m30MXXG4W2xWS4NZBP
1.1 deraadt 43: </pre>
44: </ul>
45: <br clear=all>
46: All applicable copyrights and credits can be found in the applicable
47: file sources found in the files src.tar.gz, sys.tar.gz,
48: xenocara.tar.gz, or in the files fetched via ports.tar.gz. The
49: distribution files used to build packages from the ports.tar.gz file
50: are not included on the CDROM because of lack of space.
51: <p>
52:
53: <a name="new"></a>
54: <hr>
55: <p>
56: <h3><font color="#0000e0">What's New</font></h3>
57: <p>
58: This is a partial list of new features and systems included in OpenBSD 5.9.
59: For a comprehensive list, see the <a href="plus59.html">changelog</a> leading
60: to 5.9.
61: <p>
62:
63: <ul>
64: <li>Improved hardware support, including:
65: <ul>
1.33 jsg 66: <li>amd64 can now boot from 32 bit and 64 bit EFI.
67: <li>Initial support for hardware reduced ACPI added to
68: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=acpi&sektion=4">acpi(4)</a>.
69: <li>New <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=efifb&sektion=4;arch=amd64">efifb(4)</a> driver for EFI frame buffer.
70: <li>Support for ACPI configured SD host controllers has been added to
71: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=sdhc&sektion=4">sdhc(4)</a>.
72: <li>Xen domU support <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=xen&sektion=4">xen(4)</a>,
1.37 sobrado 73: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=xspd&sektion=4">xspd(4)</a>.
1.33 jsg 74: <li>New <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=xnf&sektion=4">xnf(4)</a> driver for Xen Netfront network interfaces.
1.30 kirby 75: <li>The <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=puc&sektion=4">puc(4)</a> driver now supports Moxa CP-168U, Perle Speed8 LE and QEMU PCI serial devices.
1.33 jsg 76: <li>Intel 100 Series PCH Ethernet MAC with i219 PHY support has been added to the
77: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=em&sektion=4">em(4)</a> driver.
78: <li>RTL8168H/RTL8111H support has been added to
79: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=re&sektion=4">re(4)</a>.
1.31 kirby 80: <li>New <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=asmc&sektion=4">asmc(4)</a> driver for the Apple System Management Controller.
1.33 jsg 81: <li>New <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=pchtemp&sektion=4">pchtemp(4)</a> driver for the thermal sensor found on Intel X99, C610 series, 9 series and 100 series PCH.
1.31 kirby 82: <li>New <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=uonerng&sektion=4">uonerng(4)</a> driver for the Moonbase Otago OneRNG.
1.33 jsg 83: <li>New <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=dwiic&sektion=4">dwiic(4)</a> driver for the Synopsys DesignWare I2C controller.
84: <li>New <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ikbd&sektion=4">ikbd(4)</a>,
85: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ims&sektion=4">ims(4)</a>, and
86: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=imt&sektion=4">imt(4)</a>
87: drivers for HID-over-i2c keyboards, mice and multitouch touchpads.
88: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=inteldrm&sektion=4">inteldrm(4)</a>
89: has been updated to Linux 3.14.52 adding initial support for Bay Trail and Broadwell graphics.
1.32 kirby 90: <li>New <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=viocon&sektion=4">viocon(4)</a> driver for the <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=virtio&sektion=4">virtio(4)</a> console interface provided by KVM, QEMU, and others.
1.1 deraadt 91: <li>...
92: </ul>
93: <p>
94:
95: <li>Removed hardware support:
96: <ul>
1.24 krw 97: <li>ST-506 disks are no longer supported.
1.1 deraadt 98: <li>...
99: </ul>
100: <p>
101:
1.34 deraadt 102: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=pledge&sektion=2">pledge(2)</a> support integrated:
103: <ul>
104: <li>tame(2) system call renamed to pledge(2).
1.35 deraadt 105: <li>453 out of 707 base system binaries adapted to use pledge.
1.36 deraadt 106: <li>14 ports adapted to use pledge (some decompression tools, mutt,
107: some pdf tools, chromium/iridium, and the i3 window manager).
1.34 deraadt 108: </ul>
109: <p>
110:
1.1 deraadt 111: <li>Generic network stack improvements:
112: <ul>
1.28 sobrado 113: <li>Remove support for obsolete IPv6 socket options.
1.33 jsg 114: <li>New <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=etherip&sektion=4">etherip(4)</a>
1.39 tj 115: pseudo-device for tunnelling Ethernet frames across IP[46] networks using RFC 3378 EtherIP encapsulation.
1.1 deraadt 116: <li>...
117: </ul>
118: <p>
119:
120: <li>Installer improvements:
121: <ul>
1.24 krw 122: <li>Inappropriate user choices from a list of options are more reliably rejected.
123: <li>Installing to a disk partitioned with a GPT is now supported (amd64 only).
124: <li>When initializing a GPT the required EFI System partition is automatically created.
125: <li>When installing to a GPT disk <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=installboot&sektion=8">installboot(8)</a> now formats the EFI System partition, creates the appropriate directory structure and copies the required UEFI boot files into place.
1.1 deraadt 126: <li>...
127: </ul>
128: <p>
129:
130: <li>Routing daemons and other userland network improvements:
131: <ul>
1.23 krw 132: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=dhclient&sektion=8">dhclient(8)</a> now supports multiple domain names provided via DHCP option 15 (Domain Name).
133: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=dhclient&sektion=8">dhclient(8)</a> now supports search domains provided via DHCP option 119 (Domain Search).
134: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=dhclient&sektion=8">dhclient(8)</a> no longer continually checks for a change to the routing domain of the interface it controls. It now relies on the appropriate routing socket messages.
135: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=dhclient&sektion=8">dhclient(8)</a> now issues DHCP DECLINE responses to lease offers found to be inadequate, and restarts the DISCOVER/RENEW process rather than waiting indefinitely for a better lease to appear.
136: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=dhclient&sektion=8">dhclient(8)</a> no longer exits if a desired route cannot be added. It now just reports the fact.
137: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=dhclient&sektion=8">dhclient(8)</a> now takes a much more careful approach to received packets to ensure only received data is used to process the packet. Packets with incorrect length information or lacking appropriate header information are now dropped.
138: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=dhclient&sektion=8">dhclient(8)</a> again disables pending timeouts if the interface link is lost, preventing endless retries at obtaining a lease.
139: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=dhclient&sektion=8">dhclient(8)</a> was pledged.
140: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=dhcpd&sektion=8">dhcpd(8)</a> again properly utilizes default-lease-time, max-lease-time and bootp-lease-time options.
141: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=dhcpd&sektion=8">dhcpd(8)</a> was pledged.
1.1 deraadt 142: <li>...
143: </ul>
144: <p>
145:
146: <li>Security improvements:
147: <ul>
148: <li>...
1.10 tedu 149: <li>Support for looking up hosts via YP has been removed from libc.
150: The 'yp' lookup method in
151: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=resolv.conf&sektion=5">resolv.conf</a>
152: is no longer available.
153: <li>Support for the HOSTALIASES environment variable has been removed from libc.
1.1 deraadt 154: </ul>
155: <p>
156:
157: <li>Assorted improvements:
158: <ul>
1.29 sobrado 159: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=doas&sektion=1">doas(1)</a>
160: is a little friendlier to use.
1.28 sobrado 161: <li>Updated
162: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=flex&sektion=1">flex(1)</a>.
163: <li>Updated and improved
164: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=less&sektion=1">less(1)</a>.
1.24 krw 165: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi/OpenBSD-current/man8/macppc/pdisk.8?query=pdisk">pdisk(8)</a> was largely rewritten and pledged.
166: <li>Renaming files in the root directory of a MSDOS filesystem was fixed.
167: <li>Many obsolete <a href="http://www.openbsd.org/cgi-bin/man.cgi/OpenBSD-current/man5/disktab.5?query=disktab">disktab(5)</a> attributes and entries were removed.
168: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi/OpenBSD-current/man4/softraid.4?query=softraid">softraid(4)</a> volumes now correctly look for the disklabel in the first OpenBSD disk partition, not the last.
169: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi/OpenBSD-current/man4/softraid.4?query=softraid">softraid(4)</a> volumes can now be partitioned with a GPT.
1.25 krw 170: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=fdisk&sektion=9">fdisk(8)</a> now creates a default GPT as well as the protective MBR when the '-g' flag is used.
171: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=fdisk&sektion=8">fdisk(8)</a> now has a '-b' flag that specifies the size of the EFI System partition to create.
172: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=fdisk&sektion=8">fdisk(8)</a> now has a '-v' flag that causes a verbose display of both MBR and GPT information.
173: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=fdisk&sektion=8">fdisk(8)</a> now provides full interactive GPT editing.
174: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=fdisk&sektion=8">fdisk(8)</a> was pledged.
175: <li>Disks with sector sizes other than 512 bytes can now be partitioned with a GPT.
176: <li>The GPT kernel option was removed and GPT support is part of all GENERIC and GENERIC derived kernels.
177: <li>Many improvements were made to the GPT kernel support to ensure safe and reliable operation of GPT and MBR processing.
178: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=disklabel&sec=8">disklabel(8)</a> no longer supports boot code installation, with the -B and -b flags being removed. The associated fields in the disklabel were also removed. These functions are now all performed by
179: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=installboot&sektion=8">installboot(8)</a>.
180:
1.1 deraadt 181: <li>...
182: </ul>
183: <p>
184:
185: <li>OpenBSD <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=httpd&sektion=8">httpd(8)</a>:
186: <ul>
187: <li>...
188: </ul>
189: <p>
190:
1.38 gilles 191: <li>OpenSMTPD 5.9.1
192: <ul>
193: <li>Security:
194: <ul>
195: <li>Both
196: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=smtpd&sektion=8">smtpd(8)</a>
197: and
198: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=smtpctl&sektion=8">smtpctl(8)</a>
199: have been pledged.
200: <li>The offline enqueue mode of
201: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=smtpctl&sektion=8">smtpctl(8)</a>
1.39 tj 202: has been redesigned to remove the need for a publicly writable directory which was a vector of multiple attacks in the Qualys Security audit.
1.38 gilles 203: </ul>
204: <li>The following improvements were brought in this release:
205: <ul>
206: <li>Experimental support for filters API is now available with several filters available in ports.
207: <li>Add Message-Id header if necessary.
208: <li>Removed the kick mechanism which was misbehaving.
1.39 tj 209: <li>Increased the length of acceptable headers lines.
1.38 gilles 210: <li>Assume messages are 8-bit bytes by default.
211: </ul>
1.1 deraadt 212: </ul>
213: <p>
214:
1.3 jsg 215: <li>OpenSSH 7.1
1.1 deraadt 216: <ul>
217: <li>Security:
218: <ul>
1.16 sobrado 219: <li>Qualys Security identified vulnerabilities in the
220: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ssh&sektion=1">ssh(1)</a>
1.18 sobrado 221: client experimental support for resuming SSH-connections (roaming).
1.16 sobrado 222: In the default configuration, this could potentially leak client keys
223: to a hostile server. The authentication of the server host key
224: prevents exploitation by a man-in-the-middle, so this information leak
225: is restricted to connections to malicious or compromised servers.
226: This feature has been disabled in the
227: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ssh&sektion=1">ssh(1)</a>
228: client, and it has been removed from the source tree. The matching
229: server code has never been shipped.
230: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=sshd&sektion=8">sshd(8)</a>:
231: OpenSSH 7.0 contained a logic error in
232: <tt>PermitRootLogin=prohibit-password/without-password</tt> that could,
233: depending on compile-time configuration, permit password authentication
234: to root while preventing other forms of authentication.
235: <li>Eliminate the fallback from untrusted X11-forwarding to trusted
236: forwarding for cases when the X server disables the <tt>SECURITY</tt>
237: extension.
238: <li>Fix an out of-bound read access in the packet handling code.
1.18 sobrado 239: <li>Further use of
240: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=bzero&sektion=3">explicit_bzero(3)</a>
241: has been added in various buffer handling code paths to guard against
242: compilers aggressively doing dead-store removal.
1.1 deraadt 243: </ul>
244: <li>The following significant bugs have been fixed in this release:
245: <ul>
1.16 sobrado 246: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ssh&sektion=1">ssh(1)</a>,
247: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=sshd&sektion=8">sshd(8)</a>:
1.18 sobrado 248: add compatibility workarounds for FuTTY.
1.16 sobrado 249: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ssh&sektion=1">ssh(1)</a>,
250: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=sshd&sektion=8">sshd(8)</a>:
1.18 sobrado 251: refine compatibility workarounds for WinSCP.
1.16 sobrado 252: <li>Fix a number of memory faults (double-free, free of uninitialised
253: memory, etc) in
254: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ssh&sektion=1">ssh(1)</a>
255: and
256: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ssh-keygen&sektion=1">ssh-keygen(1)</a>.
1.18 sobrado 257: <li>Correctly interpret the <tt>first_kex_follows</tt> option during the
258: initial key exchange.
1.1 deraadt 259: </ul>
260: </ul>
261: <p>
1.17 sobrado 262: <li>LibreSSL 2.3.2
1.1 deraadt 263: <ul>
264: <li>User-visible features:
265: <ul>
1.17 sobrado 266: <li>This release corrects the handling of <tt>ClientHello</tt> messages
267: that do not include TLS extensions, resulting in such handshakes being
268: aborted.
1.39 tj 269: <li>When loading a DSA key from a raw (without DH parameters) ASN.1
1.17 sobrado 270: serialization, perform some consistency checks on its `p' and `q'
271: values, and return an error if the checks failed.
272: <li>Fixed a bug in <tt>ECDH_compute_key</tt> that can lead to silent
273: truncation of the result key without error. A coding error could cause
274: software to use much shorter keys than intended.
275: <li>Removed support for <tt>DTLS_BAD_VER</tt>. Pre-DTLSv1 implementations
276: are no longer supported.
277: <li>The engine command and parameters are removed from
278: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=openssl&sektion=1">openssl(1)</a>.
1.39 tj 279: Previous releases removed dynamic and built-in engine support already.
1.17 sobrado 280: <li>SHA-0 is removed, which was withdrawn shortly after publication
281: twenty years ago.
282: <li>Added <tt>Certplus CA</tt> root certificate to the default
283: <tt>cert.pem</tt> file.
1.19 sobrado 284: <li>Fixed a leak in
1.28 sobrado 285: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=SSL_new&sektion=3">SSL_new(3)</a>
1.19 sobrado 286: in the error path.
1.28 sobrado 287: <li>Fixed a memory leak and out-of-bounds access in
288: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=OBJ_nid2obj&sektion=3">OBJ_obj2txt(3)</a>.
1.17 sobrado 289: <li>Fixed an up-to 7 byte overflow in RC4 when len is not a multiple of
290: <tt>sizeof(RC4_CHUNK)</tt>.
1.19 sobrado 291: <li>Added
1.28 sobrado 292: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=EVP_AEAD_CTX_init&sektion=3">EVP_aead_chacha20_poly1305(3)</a>
1.19 sobrado 293: which matches the
1.18 sobrado 294: <tt>AEAD</tt> construction introduced in RFC 7539, which is different
295: than that already used in TLS with
1.28 sobrado 296: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=EVP_AEAD_CTX_init&sektion=3">EVP_aead_chacha20_poly1305(3)</a>.
1.18 sobrado 297: <li>More man pages converted from pod to
1.28 sobrado 298: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=mdoc&sektion=7">mdoc(7)</a>
1.18 sobrado 299: format.
1.17 sobrado 300: <li>Added <tt>COMODO RSA Certification Authority</tt> and
301: <tt>QuoVadis</tt> root certificates to <tt>cert.pem</tt>.
302: <li>Removed Remhve "<tt>C=US, O=VeriSign, Inc., OU=Class 3 Public Primary
303: Certification Authority</tt>"
304: (serial 3c:91:31:cb:1f:f6:d0:1b:0e:9a:b8:d0:44:bf:12:be)
305: root certificate from <tt>cert.pem</tt>.
306: <li>Fixed incorrect TLS certificate loading by
1.28 sobrado 307: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=nc&sektion=1">nc(1)</a>.
1.17 sobrado 308: <li>The following CVEs had been fixed:
309: <ul>
1.28 sobrado 310: <li><tt>CVE-2015-3194</tt>—NULL pointer dereference in client
311: side certificate validation.
312: <li><tt>CVE-2015-3195</tt>—memory leak in PKCS7, not reachable
313: from TLS/SSL.
1.17 sobrado 314: </ul>
315: <li>Note: The following OpenSSL CVEs did not apply to LibreSSL:
316: <ul>
1.28 sobrado 317: <li><tt>CVE-2015-3193</tt>—carry propagating bug in the x86_64
318: Montgomery squaring procedure.
319: <li><tt>CVE-2015-3196</tt>—double free race condition of the
320: identify hint data.
1.17 sobrado 321: </ul>
1.1 deraadt 322: </ul>
323: <li>Code improvements:
324: <ul>
1.17 sobrado 325: <li>Added install target for <tt>cmake</tt> builds.
326: <li>Updated <tt>pkgconfig</tt> files to correctly report the release
327: version number, not the individual library ABI version numbers.
328: <li>SSLv3 is now permanently removed from the tree.
329: <li>The <tt>libtls</tt> API is changed from the 2.2.x series:
330: <ul>
1.28 sobrado 331: <li>The
332: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=tls_init&sektion=3">tls_read(3)</a>
333: and
334: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=tls_init&sektion=3">tls_write(3)</a>
335: functions now work better with external event libraries.
336: <li>Client-side verification is now supported, with the client
337: supplying the certificate to the server.
338: <li>Also, when using
339: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=tls_init&sektion=3">tls_connect_fds(3)</a>,
340: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=tls_init&sektion=3">tls_connect_socket(3)</a>
341: or
342: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=tls_init&sektion=3">tls_accept_fds(3)</a>,
343: <tt>libtls</tt> no longer implicitly closes the passed in sockets.
344: The caller is responsible for closing them in this case.
1.17 sobrado 345: </ul>
346: <li>New interface <tt>OPENSSL_cpu_caps</tt> is provided that does not
347: allow software to inadvertently modify cpu capability flags.
348: <tt>OPENSSL_ia32cap</tt> and <tt>OPENSSL_ia32cap_loc</tt> are removed.
1.18 sobrado 349: <li>The <tt>out_len</tt> argument of <tt>AEAD</tt> changed from
350: <tt>ssize_t</tt> to <tt>size_t</tt>.
1.17 sobrado 351: <li>Deduplicated DTLS code, sharing bugfixes and improvements with TLS.
352: <li>Converted
1.28 sobrado 353: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=nc&sektion=1">nc(1)</a>
1.17 sobrado 354: to use <tt>libtls</tt> for client and server operations; it is
355: included in the libressl-portable distribution as an example of how
356: to use the <tt>libtls</tt> library. This is intended to be a simpler
357: and more robust replacement for <tt>openssl s_client</tt> and
358: <tt>openssl s_server</tt> for day-to-day operations.
359: <li>ASN.1 cleanups and RFC5280 compliance fixes.
360: <li>Time representations switched from <tt>unsigned long</tt> to
361: <tt>time_t</tt>. LibreSSL now checks if the host OS supports 64-bit
362: <tt>time_t</tt>.
363: <li>Support always extracting the peer cipher and version with
364: <tt>libtls</tt>.
365: <li>Added ability to check certificate validity times with
1.19 sobrado 366: <tt>libtls</tt>,
1.28 sobrado 367: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=tls_init&sektion=3">tls_peer_cert_notbefore(3)</a>
1.19 sobrado 368: and
1.28 sobrado 369: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=tls_init&sektion=3">tls_peer_cert_notafter(3)</a>.
1.19 sobrado 370: <li>Changed
1.28 sobrado 371: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=tls_init&sektion=3">tls_connect_servername(3)</a>
1.19 sobrado 372: to use the first address that resolves with
1.28 sobrado 373: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=getaddrinfo&sektion=3">getaddrinfo(3)</a>.
1.17 sobrado 374: <li>Remove broken conditional <tt>EVP_CHECK_DES_KEY</tt> code
375: (non-functional since initial commit in 2004).
1.19 sobrado 376: <li>Reject too small bits value in
1.28 sobrado 377: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=BN_generate_prime&sektion=3">BN_generate_prime_ex(3)</a>,
1.17 sobrado 378: so that it does not risk becoming negative in
379: <tt>probable_prime_dh_safe()</tt>.
1.18 sobrado 380: <li>Changed format of <tt>LIBRESSL_VERSION_NUMBER</tt> to match that of
1.17 sobrado 381: <tt>OPENSSL_VERSION_NUMBER</tt>.
382: <li>Avoid a potential undefined C99+ behavior due to shift overflow in
383: <tt>AES_decrypt</tt>.
384: <li>Deprecated the <tt>SSL_OP_SINGLE_DH_USE</tt> flag.
1.1 deraadt 385: </ul>
386: </ul>
387: <p>
388: <li>Syslogd:
389: <ul>
390: <li>...
391: </ul>
392: <p>
393: <li>Ports and packages:
394: <dl>
395: <dt>Many pre-built packages for each architecture:
396: <table border=0 cellspacing=0 cellpadding=2 width="95%">
397: <tr>
398: <td valign="top" width="25%">
399: <ul>
400: <li>alpha: xxxx
401: <li>amd64: xxxx
402: <li>hppa: xxxx
403: </ul></td><td valign=top width="25%"><ul>
404: <li>i386: xxxx
405: <li>mips64: xxxx
406: <li>mips64el: xxxx
407: </ul></td><td valign=top width="25%"><ul>
408: <li>powerpc: xxxx
409: <li>sh: xxxx
410: <li>sparc64: xxxx
411: </ul></td><td valign=top width="25%"><ul>
412: <li>vax: xxxx
413: </ul></td></tr></table>
414: <p>
415:
416: <dt>Some highlights:
417: <table border=0 cellspacing=0 cellpadding=2 width="95%">
418: <tr>
419: <td valign="top" width="33%"><ul>
1.40 ! sthen 420: <li>Chromium 48.0.2564.116
1.1 deraadt 421: <li>Emacs 21.4 and 24.5
1.3 jsg 422: <li>GCC 4.9.3
423: <li>GHC 7.10.3
424: <li>GNOME 3.18.2
1.5 sthen 425: <li>Go 1.5.3
1.1 deraadt 426: <li>Groff 1.22.3
1.40 ! sthen 427: <li>JDK 7u80 and 8u72
1.1 deraadt 428: <li>KDE 3.5.10 and 4.14.3 (plus KDE4 core updates)
429: <li>LLVM/Clang 3.5 (20140228)
1.3 jsg 430: <li>LibreOffice 5.0.4.2
431: <li>MariaDB 10.0.23
432: <li>Mono 4.2.1.102
1.26 lteo 433: <li>Mozilla Firefox 38.6.1esr and 44.0.2
434: <li>Mozilla Thunderbird 38.6.0
1.1 deraadt 435: </ul></td><td valign=top width="33%"><ul>
1.22 abieber 436: <li>Node.js 4.3.0
1.3 jsg 437: <li>OpenLDAP 2.3.43 and 2.4.43
1.26 lteo 438: <li>PHP 5.4.45, 5.5.32 and 5.6.18
1.3 jsg 439: <li>Postfix 3.0.3
1.26 lteo 440: <li>PostgreSQL 9.4.6
1.3 jsg 441: <li>Python 2.7.11, 3.4.4 and 3.5.1
442: <li>R 3.2.3
443: <li>Ruby 1.8.7.374, 2.0.0.648, 2.1.8, 2.2.4 and 2.3.0
1.15 lteo 444: <li>Rust 1.6.0
1.1 deraadt 445: <li>Sendmail 8.15.2
1.3 jsg 446: <li>Sudo 1.8.15
1.1 deraadt 447: <li>Tcl/Tk 8.5.18 and 8.6.4
448: <li>TeX Live 2014
1.3 jsg 449: <li>Vim 7.4.900
1.1 deraadt 450: <li>Xfce 4.12
451: </ul></td><td valign=top width="34%">
452: </td></tr></table>
453: <p>
454:
455: <li>As usual, steady improvements in manual pages and other documentation.
456: <p>
457:
458: <li>The system includes the following major components from outside suppliers:
459: <ul>
1.3 jsg 460: <li>Xenocara (based on X.Org 7.7 with xserver 1.17.4 + patches,
1.8 jsg 461: freetype 2.6.2, fontconfig 2.11.1, Mesa 11.0.9, xterm 322,
1.21 matthieu 462: xkeyboard-config 2.17 and more)
1.1 deraadt 463: <li>Gcc 4.2.1 (+ patches) and 3.3.6 (+ patches)
464: <li>Perl 5.20.2 (+ patches)
1.3 jsg 465: <li>SQLite 3.9.2 (+ patches)
466: <li>NSD 4.1.7
467: <li>Unbound 1.5.7
1.1 deraadt 468: <li>Ncurses 5.7
469: <li>Binutils 2.17 (+ patches)
470: <li>Gdb 6.3 (+ patches)
471: <li>Less 458 (+ patches)
472: <li>Awk Aug 10, 2011 version
473: </ul>
474:
475: </ul>
476:
477: <a name="install"></a>
478: <hr>
479: <p>
480: <h3><font color="#0000e0">How to install</font></h3>
481: <p>
482: Following this are the instructions which you would have on a piece of
483: paper if you had purchased a CDROM set instead of doing an alternate
484: form of install. The instructions for doing an HTTP (or other style
485: of) install are very similar; the CDROM instructions are left intact
486: so that you can see how much easier it would have been if you had
487: purchased a CDROM instead.
488: <p>
489:
490: <hr>
491: Please refer to the following files on the three CDROMs or mirror site for
492: extensive details on how to install OpenBSD 5.9 on your machine:
493: <p>
494: <ul>
495: <li><a href="http://ftp.openbsd.org/pub/OpenBSD/5.9/alpha/INSTALL.alpha">
496: .../OpenBSD/5.9/alpha/INSTALL.alpha (on CD1)</a>
497: <li><a href="http://ftp.openbsd.org/pub/OpenBSD/5.9/i386/INSTALL.i386">
498: .../OpenBSD/5.9/i386/INSTALL.i386 (on CD1)</a>
499: <li><a href="http://ftp.openbsd.org/pub/OpenBSD/5.9/hppa/INSTALL.hppa">
500: .../OpenBSD/5.9/hppa/INSTALL.hppa (on CD1)</a>
501: <p>
502: <li><a href="http://ftp.openbsd.org/pub/OpenBSD/5.9/amd64/INSTALL.amd64">
503: .../OpenBSD/5.9/amd64/INSTALL.amd64 (on CD2)</a>
504: <li><a href="http://ftp.openbsd.org/pub/OpenBSD/5.9/macppc/INSTALL.macppc">
505: .../OpenBSD/5.9/macppc/INSTALL.macppc (on CD2)</a>
506: <p>
507: <li><a href="http://ftp.openbsd.org/pub/OpenBSD/5.9/sparc64/INSTALL.sparc64">
508: .../OpenBSD/5.9/sparc64/INSTALL.sparc64 (on CD3)</a>
509: <p>
510: <li><a href="http://ftp.openbsd.org/pub/OpenBSD/5.9/alpha/INSTALL.alpha">
511: .../OpenBSD/5.9/alpha/INSTALL.alpha</a>
512: <li><a href="http://ftp.openbsd.org/pub/OpenBSD/5.9/hppa/INSTALL.hppa">
513: .../OpenBSD/5.9/hppa/INSTALL.hppa</a>
514: <li><a href="http://ftp.openbsd.org/pub/OpenBSD/5.9/landisk/INSTALL.landisk">
515: .../OpenBSD/5.9/landisk/INSTALL.landisk</a>
516: <li><a href="http://ftp.openbsd.org/pub/OpenBSD/5.9/loongson/INSTALL.loongson">
517: .../OpenBSD/5.9/loongson/INSTALL.loongson</a>
518: <li><a href="http://ftp.openbsd.org/pub/OpenBSD/5.9/luna88k/INSTALL.luna88k">
519: .../OpenBSD/5.9/luna88k/INSTALL.luna88k</a>
520: <li><a href="http://ftp.openbsd.org/pub/OpenBSD/5.9/macppc/INSTALL.macppc">
521: .../OpenBSD/5.9/macppc/INSTALL.macppc</a>
522: <li><a href="http://ftp.openbsd.org/pub/OpenBSD/5.9/octeon/INSTALL.octeon">
523: .../OpenBSD/5.9/octeon/INSTALL.octeon</a>
524: <li><a href="http://ftp.openbsd.org/pub/OpenBSD/5.9/sgi/INSTALL.sgi">
525: .../OpenBSD/5.9/sgi/INSTALL.sgi</a>
526: <li><a href="http://ftp.openbsd.org/pub/OpenBSD/5.9/socppc/INSTALL.socppc">
527: .../OpenBSD/5.9/socppc/INSTALL.socppc</a>
528: <li><a href="http://ftp.openbsd.org/pub/OpenBSD/5.9/vax/INSTALL.vax">
529: .../OpenBSD/5.9/vax/INSTALL.vax</a>
530: <li><a href="http://ftp.openbsd.org/pub/OpenBSD/5.9/zaurus/INSTALL.zaurus">
531: .../OpenBSD/5.9/zaurus/INSTALL.zaurus</a>
532: </ul>
533: <hr>
534:
535: <p>
536: Quick installer information for people familiar with OpenBSD, and the
537: use of the "disklabel -E" command. If you are at all confused when
538: installing OpenBSD, read the relevant INSTALL.* file as listed above!
539: <p>
540:
541: <h3><font color="#e00000">OpenBSD/i386:</font></h3>
542: <ul>
543: The OpenBSD/i386 release is on CD1.
544: Boot from the CD to begin the install - you may need to adjust
545: your BIOS options first.
546:
547: <p>
548: If your machine can boot from USB, you can write <i>install59.fs</i> or
549: <i>miniroot59.fs</i> to a USB stick and boot from it.
550:
551: <p>
552: If you can't boot from a CD, floppy disk, or USB,
553: you can install across the network using PXE as described in
554: the included INSTALL.i386 document.
555:
556: <p>
557: If you are planning on dual booting OpenBSD with another OS, you will need to
558: read INSTALL.i386.
559:
560: </ul>
561:
562: <p>
563: <h3><font color="#e00000">OpenBSD/amd64:</font></h3>
564: <ul>
565: The OpenBSD/amd64 release is on CD2.
566: Boot from the CD to begin the install - you may need to adjust
567: your BIOS options first.
568:
569: <p>
570: If your machine can boot from USB, you can write <i>install59.fs</i> or
571: <i>miniroot59.fs</i> to a USB stick and boot from it.
572:
573: <p>
574: If you can't boot from a CD, floppy disk, or USB,
575: you can install across the network using PXE as described in the included
576: INSTALL.amd64 document.
577:
578: <p>
579: If you are planning to dual boot OpenBSD with another OS, you will need to
580: read INSTALL.amd64.
581: </ul>
582:
583: <p>
584: <h3><font color="#e00000">OpenBSD/macppc:</font></h3>
585: <ul>
586: Burn the image from a mirror site to a CDROM, and power on your machine
587: while holding down the <i>C</i> key until the display turns on and
588: shows <i>OpenBSD/macppc boot</i>.
589:
590: <p>
591: Alternatively, at the Open Firmware prompt, enter <i>boot cd:,ofwboot
592: /5.9/macppc/bsd.rd</i>
593: </ul>
594:
595: <p>
596: <h3><font color="#e00000">OpenBSD/sparc64:</font></h3>
597: <ul>
598: Put CD3 in your CDROM drive and type <i>boot cdrom</i>.
599:
600: <p>
601: If this doesn't work, or if you don't have a CDROM drive, you can write
602: <i>CD3:5.9/sparc64/floppy59.fs</i> or <i>CD3:5.9/sparc64/floppyB59.fs</i>
603: (depending on your machine) to a floppy and boot it with <i>boot
604: floppy</i>. Refer to INSTALL.sparc64 for details.
605:
606: <p>
607: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install
608: will most likely fail.
609:
610: <p>
611: You can also write <i>CD3:5.9/sparc64/miniroot59.fs</i> to the swap partition on
612: the disk and boot with <i>boot disk:b</i>.
613:
614: <p>
615: If nothing works, you can boot over the network as described in INSTALL.sparc64.
616: </ul>
617:
618: <p>
619: <h3><font color="#e00000">OpenBSD/alpha:</font></h3>
620: <ul>
621: <p>Write <i>FTP:5.9/alpha/floppy59.fs</i> or
622: <i>FTP:5.9/alpha/floppyB59.fs</i> (depending on your machine) to a diskette and
623: enter <i>boot dva0</i>. Refer to INSTALL.alpha for more details.
624:
625: <p>
626: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install
627: will most likely fail.
628:
629: </ul>
630:
631: <p>
632: <h3><font color="#e00000">OpenBSD/hppa:</font></h3>
633: <ul>
634: <p>
635: Boot over the network by following the instructions in INSTALL.hppa or the
636: <a href="hppa.html#install">hppa platform page</a>.
637: </ul>
638:
639: <p>
640: <h3><font color="#e00000">OpenBSD/landisk:</font></h3>
641: <ul>
642: <p>
643: Write <i>miniroot59.fs</i> to the start of the CF
644: or disk, and boot normally.
645: </ul>
646:
647: <p>
648: <h3><font color="#e00000">OpenBSD/loongson:</font></h3>
649: <ul>
650: <p>
651: Write <i>miniroot59.fs</i> to a USB stick and boot bsd.rd from it
652: or boot bsd.rd via tftp.
653: Refer to the instructions in INSTALL.loongson for more details.
654: </ul>
655: <p>
656:
657: <p>
658: <h3><font color="#e00000">OpenBSD/luna88k:</font></h3>
659: <ul>
660: <p>
661: Copy `boot' and `bsd.rd' to a Mach or UniOS partition, and boot the bootloader
662: from the PROM, and then bsd.rd from the bootloader.
663: Refer to the instructions in INSTALL.luna88k for more details.
664: </ul>
665:
666: <p>
667: <h3><font color="#e00000">OpenBSD/octeon:</font></h3>
668: <ul>
669: <p>
670: After connecting a serial port, boot bsd.rd over the network via DHCP/tftp.
671: Refer to the instructions in INSTALL.octeon for more details.
672: </ul>
673:
674: <p>
675: <h3><font color="#e00000">OpenBSD/sgi:</font></h3>
676: <ul>
677: <p>
678: To install, burn cd59.iso on a CD-R, put it in the CD drive of your
679: machine and select <i>Install System Software</i> from the System Maintenance
680: menu. Indigo/Indy/Indigo2 (R4000) systems will not boot automatically from
681: CD-ROM, and need a proper invocation from the PROM prompt.
682: Refer to the instructions in INSTALL.sgi for more details.
683:
684: <p>
685: If your machine doesn't have a CD drive, you can setup a DHCP/tftp network
686: server, and boot using "bootp()/bsd.rd.IP##" using the kernel matching your
687: system type. Refer to the instructions in INSTALL.sgi for more details.
688: </ul>
689:
690: <p>
691: <h3><font color="#e00000">OpenBSD/socppc:</font></h3>
692: <ul>
693: <p>
694: After connecting a serial port, boot over the network via DHCP/tftp.
695: Refer to the instructions in INSTALL.socppc for more details.
696: </ul>
697:
698: <p>
699: <h3><font color="#e00000">OpenBSD/vax:</font></h3>
700: <ul>
701: Boot over the network via mopbooting as described in INSTALL.vax.
702: </ul>
703:
704: <p>
705: <h3><font color="#e00000">OpenBSD/zaurus:</font></h3>
706: <ul>
707: <p>
708: Using the Linux built-in graphical ipkg installer, install the
709: openbsd59_arm.ipk package. Reboot, then run it. Read INSTALL.zaurus
710: for a few important details.
711: </ul>
712:
713: <a name="upgrade"></a>
714: <hr>
715: <p>
716: <h3><font color="#0000e0">How to upgrade</font></h3>
717: <p>
1.6 tj 718: If you already have an OpenBSD 5.8 system, and do not want to reinstall,
1.1 deraadt 719: upgrade instructions and advice can be found in the
720: <a href="faq/upgrade59.html">Upgrade Guide</a>.
721:
722: <a name="sourcecode"></a>
723: <hr>
724: <p>
725: <h3><font color="#0000e0">Notes about the source code</font></h3>
726: <p>
727: src.tar.gz contains a source archive starting at /usr/src. This file
728: contains everything you need except for the kernel sources, which are
729: in a separate archive. To extract:
730: <p>
731: <ul><pre>
732: # <strong>mkdir -p /usr/src</strong>
733: # <strong>cd /usr/src</strong>
734: # <strong>tar xvfz /tmp/src.tar.gz</strong>
735: </pre></ul>
736: <p>
737: sys.tar.gz contains a source archive starting at /usr/src/sys.
738: This file contains all the kernel sources you need to rebuild kernels.
739: To extract:
740: <p>
741: <ul><pre>
742: # <strong>mkdir -p /usr/src/sys</strong>
743: # <strong>cd /usr/src</strong>
744: # <strong>tar xvfz /tmp/sys.tar.gz</strong>
745: </pre></ul>
746: <p>
747: Both of these trees are a regular CVS checkout. Using these trees it
748: is possible to get a head-start on using the anoncvs servers as
749: described <a href="anoncvs.html">here</a>.
750: Using these files
751: results in a much faster initial CVS update than you could expect from
752: a fresh checkout of the full OpenBSD source tree.
753: <p>
754:
755: <a name="ports"></a>
756: <hr>
757: <p>
758: <h3><font color="#0000e0">Ports Tree</font></h3>
759: <p>
760: A ports tree archive is also provided. To extract:
761: <p>
762: <ul><pre>
763: # <strong>cd /usr</strong>
764: # <strong>tar xvfz /tmp/ports.tar.gz</strong>
765: </pre></ul>
766: <p>
767: Go read the <a href="faq/ports/index.html">ports</a> page
768: if you know nothing about ports
769: at this point. This text is not a manual of how to use ports.
770: Rather, it is a set of notes meant to kickstart the user on the
771: OpenBSD ports system.
772: <p>
773: The <i>ports/</i> directory represents a CVS (see the manpage for
774: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=cvs&sektion=1&arch=i386">
775: cvs(1)</a> if
776: you aren't familiar with CVS) checkout of our ports. As with our complete
777: source tree, our ports tree is available via
778: <a href="anoncvs.html">AnonCVS</a>.
779: So, in order to keep up to date with the <i>-stable</i> branch, you must make
780: the <i>ports/</i> tree available on a read-write medium and update the tree
781: with a command like:
782: <p>
783: <ul><pre>
784: # <strong>cd /usr/ports</strong>
785: # <strong>cvs -d anoncvs@server.openbsd.org:/cvs update -Pd -rOPENBSD_5_9</strong>
786: </pre></ul>
787: <p>
788: [Of course, you must replace the server name here with a nearby anoncvs
789: server.]
790: <p>
791: Note that most ports are available as packages on our mirrors. Updated
792: ports for the 5.9 release will be made available if problems arise.
793: <p>
794: If you're interested in seeing a port added, would like to help out, or just
795: would like to know more, the mailing list
796: <a href="mail.html">ports@openbsd.org</a> is a good place to know.
797: <p>
798: </body>
799: </html>