Annotation of www/59.html, Revision 1.36
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>,
73: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=xspd&sektion=4">xspd(4)</a>
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>
115: pseude-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:
191: <li>OpenSMTPD
192: <ul>
193: <li>...
194: </ul>
195: <p>
196:
1.3 jsg 197: <li>OpenSSH 7.1
1.1 deraadt 198: <ul>
199: <li>Security:
200: <ul>
1.16 sobrado 201: <li>Qualys Security identified vulnerabilities in the
202: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ssh&sektion=1">ssh(1)</a>
1.18 sobrado 203: client experimental support for resuming SSH-connections (roaming).
1.16 sobrado 204: In the default configuration, this could potentially leak client keys
205: to a hostile server. The authentication of the server host key
206: prevents exploitation by a man-in-the-middle, so this information leak
207: is restricted to connections to malicious or compromised servers.
208: This feature has been disabled in the
209: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ssh&sektion=1">ssh(1)</a>
210: client, and it has been removed from the source tree. The matching
211: server code has never been shipped.
212: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=sshd&sektion=8">sshd(8)</a>:
213: OpenSSH 7.0 contained a logic error in
214: <tt>PermitRootLogin=prohibit-password/without-password</tt> that could,
215: depending on compile-time configuration, permit password authentication
216: to root while preventing other forms of authentication.
217: <li>Eliminate the fallback from untrusted X11-forwarding to trusted
218: forwarding for cases when the X server disables the <tt>SECURITY</tt>
219: extension.
220: <li>Fix an out of-bound read access in the packet handling code.
1.18 sobrado 221: <li>Further use of
222: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=bzero&sektion=3">explicit_bzero(3)</a>
223: has been added in various buffer handling code paths to guard against
224: compilers aggressively doing dead-store removal.
1.1 deraadt 225: </ul>
226: <li>The following significant bugs have been fixed in this release:
227: <ul>
1.16 sobrado 228: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ssh&sektion=1">ssh(1)</a>,
229: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=sshd&sektion=8">sshd(8)</a>:
1.18 sobrado 230: add compatibility workarounds for FuTTY.
1.16 sobrado 231: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ssh&sektion=1">ssh(1)</a>,
232: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=sshd&sektion=8">sshd(8)</a>:
1.18 sobrado 233: refine compatibility workarounds for WinSCP.
1.16 sobrado 234: <li>Fix a number of memory faults (double-free, free of uninitialised
235: memory, etc) in
236: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ssh&sektion=1">ssh(1)</a>
237: and
238: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ssh-keygen&sektion=1">ssh-keygen(1)</a>.
1.18 sobrado 239: <li>Correctly interpret the <tt>first_kex_follows</tt> option during the
240: initial key exchange.
1.1 deraadt 241: </ul>
242: </ul>
243: <p>
1.17 sobrado 244: <li>LibreSSL 2.3.2
1.1 deraadt 245: <ul>
246: <li>User-visible features:
247: <ul>
1.17 sobrado 248: <li>This release corrects the handling of <tt>ClientHello</tt> messages
249: that do not include TLS extensions, resulting in such handshakes being
250: aborted.
251: <li>When loading a DSA key from an raw (without DH parameters) ASN.1
252: serialization, perform some consistency checks on its `p' and `q'
253: values, and return an error if the checks failed.
254: <li>Fixed a bug in <tt>ECDH_compute_key</tt> that can lead to silent
255: truncation of the result key without error. A coding error could cause
256: software to use much shorter keys than intended.
257: <li>Removed support for <tt>DTLS_BAD_VER</tt>. Pre-DTLSv1 implementations
258: are no longer supported.
259: <li>The engine command and parameters are removed from
260: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=openssl&sektion=1">openssl(1)</a>.
261: Previous releases removed dynamic and builtin engine support already.
262: <li>SHA-0 is removed, which was withdrawn shortly after publication
263: twenty years ago.
264: <li>Added <tt>Certplus CA</tt> root certificate to the default
265: <tt>cert.pem</tt> file.
1.19 sobrado 266: <li>Fixed a leak in
1.28 sobrado 267: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=SSL_new&sektion=3">SSL_new(3)</a>
1.19 sobrado 268: in the error path.
1.28 sobrado 269: <li>Fixed a memory leak and out-of-bounds access in
270: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=OBJ_nid2obj&sektion=3">OBJ_obj2txt(3)</a>.
1.17 sobrado 271: <li>Fixed an up-to 7 byte overflow in RC4 when len is not a multiple of
272: <tt>sizeof(RC4_CHUNK)</tt>.
1.19 sobrado 273: <li>Added
1.28 sobrado 274: <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 275: which matches the
1.18 sobrado 276: <tt>AEAD</tt> construction introduced in RFC 7539, which is different
277: than that already used in TLS with
1.28 sobrado 278: <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 279: <li>More man pages converted from pod to
1.28 sobrado 280: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=mdoc&sektion=7">mdoc(7)</a>
1.18 sobrado 281: format.
1.17 sobrado 282: <li>Added <tt>COMODO RSA Certification Authority</tt> and
283: <tt>QuoVadis</tt> root certificates to <tt>cert.pem</tt>.
284: <li>Removed Remhve "<tt>C=US, O=VeriSign, Inc., OU=Class 3 Public Primary
285: Certification Authority</tt>"
286: (serial 3c:91:31:cb:1f:f6:d0:1b:0e:9a:b8:d0:44:bf:12:be)
287: root certificate from <tt>cert.pem</tt>.
288: <li>Fixed incorrect TLS certificate loading by
1.28 sobrado 289: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=nc&sektion=1">nc(1)</a>.
1.17 sobrado 290: <li>The following CVEs had been fixed:
291: <ul>
1.28 sobrado 292: <li><tt>CVE-2015-3194</tt>—NULL pointer dereference in client
293: side certificate validation.
294: <li><tt>CVE-2015-3195</tt>—memory leak in PKCS7, not reachable
295: from TLS/SSL.
1.17 sobrado 296: </ul>
297: <li>Note: The following OpenSSL CVEs did not apply to LibreSSL:
298: <ul>
1.28 sobrado 299: <li><tt>CVE-2015-3193</tt>—carry propagating bug in the x86_64
300: Montgomery squaring procedure.
301: <li><tt>CVE-2015-3196</tt>—double free race condition of the
302: identify hint data.
1.17 sobrado 303: </ul>
1.1 deraadt 304: </ul>
305: <li>Code improvements:
306: <ul>
1.17 sobrado 307: <li>Added install target for <tt>cmake</tt> builds.
308: <li>Updated <tt>pkgconfig</tt> files to correctly report the release
309: version number, not the individual library ABI version numbers.
310: <li>SSLv3 is now permanently removed from the tree.
311: <li>The <tt>libtls</tt> API is changed from the 2.2.x series:
312: <ul>
1.28 sobrado 313: <li>The
314: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=tls_init&sektion=3">tls_read(3)</a>
315: and
316: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=tls_init&sektion=3">tls_write(3)</a>
317: functions now work better with external event libraries.
318: <li>Client-side verification is now supported, with the client
319: supplying the certificate to the server.
320: <li>Also, when using
321: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=tls_init&sektion=3">tls_connect_fds(3)</a>,
322: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=tls_init&sektion=3">tls_connect_socket(3)</a>
323: or
324: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=tls_init&sektion=3">tls_accept_fds(3)</a>,
325: <tt>libtls</tt> no longer implicitly closes the passed in sockets.
326: The caller is responsible for closing them in this case.
1.17 sobrado 327: </ul>
328: <li>New interface <tt>OPENSSL_cpu_caps</tt> is provided that does not
329: allow software to inadvertently modify cpu capability flags.
330: <tt>OPENSSL_ia32cap</tt> and <tt>OPENSSL_ia32cap_loc</tt> are removed.
1.18 sobrado 331: <li>The <tt>out_len</tt> argument of <tt>AEAD</tt> changed from
332: <tt>ssize_t</tt> to <tt>size_t</tt>.
1.17 sobrado 333: <li>Deduplicated DTLS code, sharing bugfixes and improvements with TLS.
334: <li>Converted
1.28 sobrado 335: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=nc&sektion=1">nc(1)</a>
1.17 sobrado 336: to use <tt>libtls</tt> for client and server operations; it is
337: included in the libressl-portable distribution as an example of how
338: to use the <tt>libtls</tt> library. This is intended to be a simpler
339: and more robust replacement for <tt>openssl s_client</tt> and
340: <tt>openssl s_server</tt> for day-to-day operations.
341: <li>ASN.1 cleanups and RFC5280 compliance fixes.
342: <li>Time representations switched from <tt>unsigned long</tt> to
343: <tt>time_t</tt>. LibreSSL now checks if the host OS supports 64-bit
344: <tt>time_t</tt>.
345: <li>Support always extracting the peer cipher and version with
346: <tt>libtls</tt>.
347: <li>Added ability to check certificate validity times with
1.19 sobrado 348: <tt>libtls</tt>,
1.28 sobrado 349: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=tls_init&sektion=3">tls_peer_cert_notbefore(3)</a>
1.19 sobrado 350: and
1.28 sobrado 351: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=tls_init&sektion=3">tls_peer_cert_notafter(3)</a>.
1.19 sobrado 352: <li>Changed
1.28 sobrado 353: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=tls_init&sektion=3">tls_connect_servername(3)</a>
1.19 sobrado 354: to use the first address that resolves with
1.28 sobrado 355: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=getaddrinfo&sektion=3">getaddrinfo(3)</a>.
1.17 sobrado 356: <li>Remove broken conditional <tt>EVP_CHECK_DES_KEY</tt> code
357: (non-functional since initial commit in 2004).
1.19 sobrado 358: <li>Reject too small bits value in
1.28 sobrado 359: <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 360: so that it does not risk becoming negative in
361: <tt>probable_prime_dh_safe()</tt>.
1.18 sobrado 362: <li>Changed format of <tt>LIBRESSL_VERSION_NUMBER</tt> to match that of
1.17 sobrado 363: <tt>OPENSSL_VERSION_NUMBER</tt>.
364: <li>Avoid a potential undefined C99+ behavior due to shift overflow in
365: <tt>AES_decrypt</tt>.
366: <li>Deprecated the <tt>SSL_OP_SINGLE_DH_USE</tt> flag.
1.1 deraadt 367: </ul>
368: </ul>
369: <p>
370: <li>Syslogd:
371: <ul>
372: <li>...
373: </ul>
374: <p>
375: <li>Ports and packages:
376: <dl>
377: <dt>Many pre-built packages for each architecture:
378: <table border=0 cellspacing=0 cellpadding=2 width="95%">
379: <tr>
380: <td valign="top" width="25%">
381: <ul>
382: <li>alpha: xxxx
383: <li>amd64: xxxx
384: <li>hppa: xxxx
385: </ul></td><td valign=top width="25%"><ul>
386: <li>i386: xxxx
387: <li>mips64: xxxx
388: <li>mips64el: xxxx
389: </ul></td><td valign=top width="25%"><ul>
390: <li>powerpc: xxxx
391: <li>sh: xxxx
392: <li>sparc64: xxxx
393: </ul></td><td valign=top width="25%"><ul>
394: <li>vax: xxxx
395: </ul></td></tr></table>
396: <p>
397:
398: <dt>Some highlights:
399: <table border=0 cellspacing=0 cellpadding=2 width="95%">
400: <tr>
401: <td valign="top" width="33%"><ul>
1.27 lteo 402: <li>Chromium 48.0.2564.109
1.1 deraadt 403: <li>Emacs 21.4 and 24.5
1.3 jsg 404: <li>GCC 4.9.3
405: <li>GHC 7.10.3
406: <li>GNOME 3.18.2
1.5 sthen 407: <li>Go 1.5.3
1.1 deraadt 408: <li>Groff 1.22.3
409: <li>JDK 1.7.0.80 and 1.8.0.45
410: <li>KDE 3.5.10 and 4.14.3 (plus KDE4 core updates)
411: <li>LLVM/Clang 3.5 (20140228)
1.3 jsg 412: <li>LibreOffice 5.0.4.2
413: <li>MariaDB 10.0.23
414: <li>Mono 4.2.1.102
1.26 lteo 415: <li>Mozilla Firefox 38.6.1esr and 44.0.2
416: <li>Mozilla Thunderbird 38.6.0
1.1 deraadt 417: </ul></td><td valign=top width="33%"><ul>
1.22 abieber 418: <li>Node.js 4.3.0
1.3 jsg 419: <li>OpenLDAP 2.3.43 and 2.4.43
1.26 lteo 420: <li>PHP 5.4.45, 5.5.32 and 5.6.18
1.3 jsg 421: <li>Postfix 3.0.3
1.26 lteo 422: <li>PostgreSQL 9.4.6
1.3 jsg 423: <li>Python 2.7.11, 3.4.4 and 3.5.1
424: <li>R 3.2.3
425: <li>Ruby 1.8.7.374, 2.0.0.648, 2.1.8, 2.2.4 and 2.3.0
1.15 lteo 426: <li>Rust 1.6.0
1.1 deraadt 427: <li>Sendmail 8.15.2
1.3 jsg 428: <li>Sudo 1.8.15
1.1 deraadt 429: <li>Tcl/Tk 8.5.18 and 8.6.4
430: <li>TeX Live 2014
1.3 jsg 431: <li>Vim 7.4.900
1.1 deraadt 432: <li>Xfce 4.12
433: </ul></td><td valign=top width="34%">
434: </td></tr></table>
435: <p>
436:
437: <li>As usual, steady improvements in manual pages and other documentation.
438: <p>
439:
440: <li>The system includes the following major components from outside suppliers:
441: <ul>
1.3 jsg 442: <li>Xenocara (based on X.Org 7.7 with xserver 1.17.4 + patches,
1.8 jsg 443: freetype 2.6.2, fontconfig 2.11.1, Mesa 11.0.9, xterm 322,
1.21 matthieu 444: xkeyboard-config 2.17 and more)
1.1 deraadt 445: <li>Gcc 4.2.1 (+ patches) and 3.3.6 (+ patches)
446: <li>Perl 5.20.2 (+ patches)
1.3 jsg 447: <li>SQLite 3.9.2 (+ patches)
448: <li>NSD 4.1.7
449: <li>Unbound 1.5.7
1.1 deraadt 450: <li>Ncurses 5.7
451: <li>Binutils 2.17 (+ patches)
452: <li>Gdb 6.3 (+ patches)
453: <li>Less 458 (+ patches)
454: <li>Awk Aug 10, 2011 version
455: </ul>
456:
457: </ul>
458:
459: <a name="install"></a>
460: <hr>
461: <p>
462: <h3><font color="#0000e0">How to install</font></h3>
463: <p>
464: Following this are the instructions which you would have on a piece of
465: paper if you had purchased a CDROM set instead of doing an alternate
466: form of install. The instructions for doing an HTTP (or other style
467: of) install are very similar; the CDROM instructions are left intact
468: so that you can see how much easier it would have been if you had
469: purchased a CDROM instead.
470: <p>
471:
472: <hr>
473: Please refer to the following files on the three CDROMs or mirror site for
474: extensive details on how to install OpenBSD 5.9 on your machine:
475: <p>
476: <ul>
477: <li><a href="http://ftp.openbsd.org/pub/OpenBSD/5.9/alpha/INSTALL.alpha">
478: .../OpenBSD/5.9/alpha/INSTALL.alpha (on CD1)</a>
479: <li><a href="http://ftp.openbsd.org/pub/OpenBSD/5.9/i386/INSTALL.i386">
480: .../OpenBSD/5.9/i386/INSTALL.i386 (on CD1)</a>
481: <li><a href="http://ftp.openbsd.org/pub/OpenBSD/5.9/hppa/INSTALL.hppa">
482: .../OpenBSD/5.9/hppa/INSTALL.hppa (on CD1)</a>
483: <p>
484: <li><a href="http://ftp.openbsd.org/pub/OpenBSD/5.9/amd64/INSTALL.amd64">
485: .../OpenBSD/5.9/amd64/INSTALL.amd64 (on CD2)</a>
486: <li><a href="http://ftp.openbsd.org/pub/OpenBSD/5.9/macppc/INSTALL.macppc">
487: .../OpenBSD/5.9/macppc/INSTALL.macppc (on CD2)</a>
488: <p>
489: <li><a href="http://ftp.openbsd.org/pub/OpenBSD/5.9/sparc64/INSTALL.sparc64">
490: .../OpenBSD/5.9/sparc64/INSTALL.sparc64 (on CD3)</a>
491: <p>
492: <li><a href="http://ftp.openbsd.org/pub/OpenBSD/5.9/alpha/INSTALL.alpha">
493: .../OpenBSD/5.9/alpha/INSTALL.alpha</a>
494: <li><a href="http://ftp.openbsd.org/pub/OpenBSD/5.9/hppa/INSTALL.hppa">
495: .../OpenBSD/5.9/hppa/INSTALL.hppa</a>
496: <li><a href="http://ftp.openbsd.org/pub/OpenBSD/5.9/landisk/INSTALL.landisk">
497: .../OpenBSD/5.9/landisk/INSTALL.landisk</a>
498: <li><a href="http://ftp.openbsd.org/pub/OpenBSD/5.9/loongson/INSTALL.loongson">
499: .../OpenBSD/5.9/loongson/INSTALL.loongson</a>
500: <li><a href="http://ftp.openbsd.org/pub/OpenBSD/5.9/luna88k/INSTALL.luna88k">
501: .../OpenBSD/5.9/luna88k/INSTALL.luna88k</a>
502: <li><a href="http://ftp.openbsd.org/pub/OpenBSD/5.9/macppc/INSTALL.macppc">
503: .../OpenBSD/5.9/macppc/INSTALL.macppc</a>
504: <li><a href="http://ftp.openbsd.org/pub/OpenBSD/5.9/octeon/INSTALL.octeon">
505: .../OpenBSD/5.9/octeon/INSTALL.octeon</a>
506: <li><a href="http://ftp.openbsd.org/pub/OpenBSD/5.9/sgi/INSTALL.sgi">
507: .../OpenBSD/5.9/sgi/INSTALL.sgi</a>
508: <li><a href="http://ftp.openbsd.org/pub/OpenBSD/5.9/socppc/INSTALL.socppc">
509: .../OpenBSD/5.9/socppc/INSTALL.socppc</a>
510: <li><a href="http://ftp.openbsd.org/pub/OpenBSD/5.9/vax/INSTALL.vax">
511: .../OpenBSD/5.9/vax/INSTALL.vax</a>
512: <li><a href="http://ftp.openbsd.org/pub/OpenBSD/5.9/zaurus/INSTALL.zaurus">
513: .../OpenBSD/5.9/zaurus/INSTALL.zaurus</a>
514: </ul>
515: <hr>
516:
517: <p>
518: Quick installer information for people familiar with OpenBSD, and the
519: use of the "disklabel -E" command. If you are at all confused when
520: installing OpenBSD, read the relevant INSTALL.* file as listed above!
521: <p>
522:
523: <h3><font color="#e00000">OpenBSD/i386:</font></h3>
524: <ul>
525: The OpenBSD/i386 release is on CD1.
526: Boot from the CD to begin the install - you may need to adjust
527: your BIOS options first.
528:
529: <p>
530: If your machine can boot from USB, you can write <i>install59.fs</i> or
531: <i>miniroot59.fs</i> to a USB stick and boot from it.
532:
533: <p>
534: If you can't boot from a CD, floppy disk, or USB,
535: you can install across the network using PXE as described in
536: the included INSTALL.i386 document.
537:
538: <p>
539: If you are planning on dual booting OpenBSD with another OS, you will need to
540: read INSTALL.i386.
541:
542: </ul>
543:
544: <p>
545: <h3><font color="#e00000">OpenBSD/amd64:</font></h3>
546: <ul>
547: The OpenBSD/amd64 release is on CD2.
548: Boot from the CD to begin the install - you may need to adjust
549: your BIOS options first.
550:
551: <p>
552: If your machine can boot from USB, you can write <i>install59.fs</i> or
553: <i>miniroot59.fs</i> to a USB stick and boot from it.
554:
555: <p>
556: If you can't boot from a CD, floppy disk, or USB,
557: you can install across the network using PXE as described in the included
558: INSTALL.amd64 document.
559:
560: <p>
561: If you are planning to dual boot OpenBSD with another OS, you will need to
562: read INSTALL.amd64.
563: </ul>
564:
565: <p>
566: <h3><font color="#e00000">OpenBSD/macppc:</font></h3>
567: <ul>
568: Burn the image from a mirror site to a CDROM, and power on your machine
569: while holding down the <i>C</i> key until the display turns on and
570: shows <i>OpenBSD/macppc boot</i>.
571:
572: <p>
573: Alternatively, at the Open Firmware prompt, enter <i>boot cd:,ofwboot
574: /5.9/macppc/bsd.rd</i>
575: </ul>
576:
577: <p>
578: <h3><font color="#e00000">OpenBSD/sparc64:</font></h3>
579: <ul>
580: Put CD3 in your CDROM drive and type <i>boot cdrom</i>.
581:
582: <p>
583: If this doesn't work, or if you don't have a CDROM drive, you can write
584: <i>CD3:5.9/sparc64/floppy59.fs</i> or <i>CD3:5.9/sparc64/floppyB59.fs</i>
585: (depending on your machine) to a floppy and boot it with <i>boot
586: floppy</i>. Refer to INSTALL.sparc64 for details.
587:
588: <p>
589: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install
590: will most likely fail.
591:
592: <p>
593: You can also write <i>CD3:5.9/sparc64/miniroot59.fs</i> to the swap partition on
594: the disk and boot with <i>boot disk:b</i>.
595:
596: <p>
597: If nothing works, you can boot over the network as described in INSTALL.sparc64.
598: </ul>
599:
600: <p>
601: <h3><font color="#e00000">OpenBSD/alpha:</font></h3>
602: <ul>
603: <p>Write <i>FTP:5.9/alpha/floppy59.fs</i> or
604: <i>FTP:5.9/alpha/floppyB59.fs</i> (depending on your machine) to a diskette and
605: enter <i>boot dva0</i>. Refer to INSTALL.alpha for more details.
606:
607: <p>
608: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install
609: will most likely fail.
610:
611: </ul>
612:
613: <p>
614: <h3><font color="#e00000">OpenBSD/hppa:</font></h3>
615: <ul>
616: <p>
617: Boot over the network by following the instructions in INSTALL.hppa or the
618: <a href="hppa.html#install">hppa platform page</a>.
619: </ul>
620:
621: <p>
622: <h3><font color="#e00000">OpenBSD/landisk:</font></h3>
623: <ul>
624: <p>
625: Write <i>miniroot59.fs</i> to the start of the CF
626: or disk, and boot normally.
627: </ul>
628:
629: <p>
630: <h3><font color="#e00000">OpenBSD/loongson:</font></h3>
631: <ul>
632: <p>
633: Write <i>miniroot59.fs</i> to a USB stick and boot bsd.rd from it
634: or boot bsd.rd via tftp.
635: Refer to the instructions in INSTALL.loongson for more details.
636: </ul>
637: <p>
638:
639: <p>
640: <h3><font color="#e00000">OpenBSD/luna88k:</font></h3>
641: <ul>
642: <p>
643: Copy `boot' and `bsd.rd' to a Mach or UniOS partition, and boot the bootloader
644: from the PROM, and then bsd.rd from the bootloader.
645: Refer to the instructions in INSTALL.luna88k for more details.
646: </ul>
647:
648: <p>
649: <h3><font color="#e00000">OpenBSD/octeon:</font></h3>
650: <ul>
651: <p>
652: After connecting a serial port, boot bsd.rd over the network via DHCP/tftp.
653: Refer to the instructions in INSTALL.octeon for more details.
654: </ul>
655:
656: <p>
657: <h3><font color="#e00000">OpenBSD/sgi:</font></h3>
658: <ul>
659: <p>
660: To install, burn cd59.iso on a CD-R, put it in the CD drive of your
661: machine and select <i>Install System Software</i> from the System Maintenance
662: menu. Indigo/Indy/Indigo2 (R4000) systems will not boot automatically from
663: CD-ROM, and need a proper invocation from the PROM prompt.
664: Refer to the instructions in INSTALL.sgi for more details.
665:
666: <p>
667: If your machine doesn't have a CD drive, you can setup a DHCP/tftp network
668: server, and boot using "bootp()/bsd.rd.IP##" using the kernel matching your
669: system type. Refer to the instructions in INSTALL.sgi for more details.
670: </ul>
671:
672: <p>
673: <h3><font color="#e00000">OpenBSD/socppc:</font></h3>
674: <ul>
675: <p>
676: After connecting a serial port, boot over the network via DHCP/tftp.
677: Refer to the instructions in INSTALL.socppc for more details.
678: </ul>
679:
680: <p>
681: <h3><font color="#e00000">OpenBSD/vax:</font></h3>
682: <ul>
683: Boot over the network via mopbooting as described in INSTALL.vax.
684: </ul>
685:
686: <p>
687: <h3><font color="#e00000">OpenBSD/zaurus:</font></h3>
688: <ul>
689: <p>
690: Using the Linux built-in graphical ipkg installer, install the
691: openbsd59_arm.ipk package. Reboot, then run it. Read INSTALL.zaurus
692: for a few important details.
693: </ul>
694:
695: <a name="upgrade"></a>
696: <hr>
697: <p>
698: <h3><font color="#0000e0">How to upgrade</font></h3>
699: <p>
1.6 tj 700: If you already have an OpenBSD 5.8 system, and do not want to reinstall,
1.1 deraadt 701: upgrade instructions and advice can be found in the
702: <a href="faq/upgrade59.html">Upgrade Guide</a>.
703:
704: <a name="sourcecode"></a>
705: <hr>
706: <p>
707: <h3><font color="#0000e0">Notes about the source code</font></h3>
708: <p>
709: src.tar.gz contains a source archive starting at /usr/src. This file
710: contains everything you need except for the kernel sources, which are
711: in a separate archive. To extract:
712: <p>
713: <ul><pre>
714: # <strong>mkdir -p /usr/src</strong>
715: # <strong>cd /usr/src</strong>
716: # <strong>tar xvfz /tmp/src.tar.gz</strong>
717: </pre></ul>
718: <p>
719: sys.tar.gz contains a source archive starting at /usr/src/sys.
720: This file contains all the kernel sources you need to rebuild kernels.
721: To extract:
722: <p>
723: <ul><pre>
724: # <strong>mkdir -p /usr/src/sys</strong>
725: # <strong>cd /usr/src</strong>
726: # <strong>tar xvfz /tmp/sys.tar.gz</strong>
727: </pre></ul>
728: <p>
729: Both of these trees are a regular CVS checkout. Using these trees it
730: is possible to get a head-start on using the anoncvs servers as
731: described <a href="anoncvs.html">here</a>.
732: Using these files
733: results in a much faster initial CVS update than you could expect from
734: a fresh checkout of the full OpenBSD source tree.
735: <p>
736:
737: <a name="ports"></a>
738: <hr>
739: <p>
740: <h3><font color="#0000e0">Ports Tree</font></h3>
741: <p>
742: A ports tree archive is also provided. To extract:
743: <p>
744: <ul><pre>
745: # <strong>cd /usr</strong>
746: # <strong>tar xvfz /tmp/ports.tar.gz</strong>
747: </pre></ul>
748: <p>
749: Go read the <a href="faq/ports/index.html">ports</a> page
750: if you know nothing about ports
751: at this point. This text is not a manual of how to use ports.
752: Rather, it is a set of notes meant to kickstart the user on the
753: OpenBSD ports system.
754: <p>
755: The <i>ports/</i> directory represents a CVS (see the manpage for
756: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=cvs&sektion=1&arch=i386">
757: cvs(1)</a> if
758: you aren't familiar with CVS) checkout of our ports. As with our complete
759: source tree, our ports tree is available via
760: <a href="anoncvs.html">AnonCVS</a>.
761: So, in order to keep up to date with the <i>-stable</i> branch, you must make
762: the <i>ports/</i> tree available on a read-write medium and update the tree
763: with a command like:
764: <p>
765: <ul><pre>
766: # <strong>cd /usr/ports</strong>
767: # <strong>cvs -d anoncvs@server.openbsd.org:/cvs update -Pd -rOPENBSD_5_9</strong>
768: </pre></ul>
769: <p>
770: [Of course, you must replace the server name here with a nearby anoncvs
771: server.]
772: <p>
773: Note that most ports are available as packages on our mirrors. Updated
774: ports for the 5.9 release will be made available if problems arise.
775: <p>
776: If you're interested in seeing a port added, would like to help out, or just
777: would like to know more, the mailing list
778: <a href="mail.html">ports@openbsd.org</a> is a good place to know.
779: <p>
780: </body>
781: </html>