Annotation of www/65.html, Revision 1.21
1.1 beck 1: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2: <html>
3: <head>
4: <title>OpenBSD 6.5</title>
5: <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
6: <meta name="description" content="OpenBSD 6.5">
7: <meta name="copyright" content="This document copyright 2019 by OpenBSD.">
8: <meta name="viewport" content="width=device-width, initial-scale=1">
9: <link rel="stylesheet" type="text/css" href="openbsd.css">
10: <link rel="canonical" href="https://www.openbsd.org/65.html">
11: </head>
12:
13: <body bgcolor="#ffffff" text="#000000" link="#24248E">
14:
15: <h2>
16: <a href="index.html">
17: <i><font color="#0000ff">Open</font></i><font color="#000084">BSD</font></a>
1.5 beck 18: <font color="#e00000">6.5</font>
1.1 beck 19: </h2>
20:
21: <a href="images/notyet.jpg">
22: <img align="left" width="227" height="343" hspace="24" src="images/Puffoil.gif"></a>
23: Released XXX XX, 2018<br>
24: Copyright 1997-2019, Theo de Raadt.<br>
25: <br>
26: <br>
27:
28: <br>
29: <ul>
30: <li>See the information on <a href="ftp.html">the FTP page</a> for
31: a list of mirror machines.
32: <li>Go to the <font color="#e00000">pub/OpenBSD/6.5/</font> directory on
33: one of the mirror sites.
1.2 beck 34: <li>Have a look at <a href="errata65.html">the 6.5 errata page</a> for a list
1.1 beck 35: of bugs and workarounds.
1.2 beck 36: <li>See a <a href="plus65.html">detailed log of changes</a> between the
1.1 beck 37: 6.4 and 6.5 releases.
38: <p>
39: <li><a href="https://man.openbsd.org/signify.1">signify(1)</a>
40: pubkeys for this release:<br>
41: <pre>
42: </pre>
43: <p>
44: All applicable copyrights and credits are in the src.tar.gz,
45: sys.tar.gz, xenocara.tar.gz, ports.tar.gz files, or in the
46: files fetched via ports.tar.gz.
47: </ul>
48: <br clear=all>
49:
50: <hr>
51:
52: <h3 id="new"><font color="#0000e0">What's New</font></h3>
53:
54: This is a partial list of new features and systems included in OpenBSD 6.5.
1.2 beck 55: For a comprehensive list, see the <a href="plus65.html">changelog</a> leading
1.1 beck 56: to 6.5.
57:
58: <ul>
59:
60: <li>Improved hardware support, including:
1.3 visa 61: <ul>
62: <li><a href="https://man.openbsd.org/clang.1">clang(1)</a>
63: is now provided on mips64.
1.15 visa 64: <li>octeon: Now the system automatically detects the number of available
65: cores. However, manual setting of the numcores, or coremask,
66: boot parameter is still needed to enable secondary cores.
67: <li>octeon: It is now possible to use the root disk's DUID as the value
68: of the rootdev boot parameter.
1.3 visa 69: </ul>
1.1 beck 70:
71: <p>
72:
73: <li>IEEE 802.11 wireless stack improvements:
74: <p>
75:
76: <li>Generic network stack improvements:
77: <p>
78:
79: <li>Installer improvements:
80: <p>
81:
82: <li>Security improvements:
83: <p>
84:
85: <li>Routing daemons and other userland network improvements:
1.10 denis 86: <ul>
87: <li><a href="https://man.openbsd.org/bgplg.8">bgplg(8)</a> and
88: <a href="https://man.openbsd.org/bgplgsh.8">bgplgsh(8)</a> can
89: now filter on Origin Validation State and Extended Communities.
1.12 denis 90: <li><a href="https://man.openbsd.org/pcap-filter.3">pcap-filter(3)</a> can
91: now filter on MPLS packets.
1.10 denis 92: </ul>
1.1 beck 93: <p>
94:
95: <li>Assorted improvements:
1.20 anton 96: <ul>
97: <li>
98: <a href="https://man.openbsd.org/kcov.4">kcov(4)</a>
99: gained support for
100: <a href="https://man.openbsd.org/kcov#KCOV_MODE_TRACE_CMP">KCOV_MODE_TRACE_CMP</a>.
101: </ul>
1.1 beck 102: <p>
103:
104: <li>OpenSMTPD
105: <p>
106:
1.4 bcook 107: <li>LibreSSL 2.9.X
108: <ul>
109: <li>API and Documentation Enhancements
110: <ul>
111: <li>
112: CRYPTO_LOCK is now automatically initialized, with the legacy
1.9 bcook 113: callbacks stubbed for compatibility.
1.4 bcook 114: <li>
115: Added the SM3 hash function from the Chinese standard GB/T 32905-2016.
1.7 bcook 116: <li>
1.9 bcook 117: Added more OPENSSL_NO_* macros for compatibility with OpenSSL.
1.16 beck 118: <li>
1.21 ! tb 119: Added pbkdf2 key derivation support
! 120: to <a href="https://man.openbsd.org/openssl.1">openssl(1)</a> enc.
1.19 jsg 121: <li>
122: Partial port of the OpenSSL EC_KEY_METHOD API for use by OpenSSH.
123: <li>
124: Implemented further missing OpenSSL 1.1 API.
1.21 ! tb 125: <li>
! 126: Added support for XChaCha20 and XChaCha20-Poly1305.
1.19 jsg 127: </ul>
128:
129: <li>Compatibility Changes
130: <ul>
131: <li>
132: Changed the default digest type of
133: <a href="https://man.openbsd.org/openssl.1">openssl(1)</a> enc
134: to sha256.
1.18 naddy 135: <li>
136: Changed the default digest type of
137: <a href="https://man.openbsd.org/openssl.1">openssl(1)</a> dgst
138: to sha256.
1.17 tb 139: <li>
1.19 jsg 140: Changed the default digest type of
141: <a href="https://man.openbsd.org/openssl.1">openssl(1)</a>
142: x509 -fingerprint to sha256.
1.17 tb 143: <li>
1.19 jsg 144: Changed the default digest type of
145: <a href="https://man.openbsd.org/openssl.1">openssl(1)</a>
146: crl -fingerprint to sha256.
1.4 bcook 147: </ul>
148:
149: <li>Testing and Proactive Security
150: <ul>
151: <li>
1.8 bcook 152: Added extensive interoperability tests between LibreSSL and OpenSSL 1.0
1.9 bcook 153: and 1.1.
1.7 bcook 154: <li>
155: Added additional wycheproof tests and related bug fixes.
1.4 bcook 156: </ul>
157:
158: <li>Internal Improvements
159: <ul>
160: <li>
161: Simplified sigalgs option processing and handshake signing algorithm
1.9 bcook 162: selection.
1.4 bcook 163: <li>
1.9 bcook 164: Added the ability to use the RSA PSS algorithm for handshake signatures.
1.4 bcook 165: <li>
166: Added bn_rand_interval() and use it in code needing ranges of random bn
1.9 bcook 167: values.
1.4 bcook 168: <li>
169: Added functionality to derive early, handshake, and application secrets
1.9 bcook 170: as per RFC8446.
1.4 bcook 171: <li>
1.9 bcook 172: Added handshake state machine from RFC8446.
1.7 bcook 173: <li>
174: Removed some ASN.1 related code from libcrypto that had not been used
1.9 bcook 175: since around 2000.
1.7 bcook 176: <li>
177: Unexported internal symbols and internalized more record layer structs.
178:
1.4 bcook 179: </ul>
180:
1.6 bcook 181: <li>Portable Improvements
182: <ul>
183: <li>
1.9 bcook 184: Added support for assembly optimizations on 32-bit ARM ELF targets.
1.6 bcook 185: </ul>
186:
1.4 bcook 187: <li>Bug Fixes
188: <ul>
189: <li>
1.13 tb 190: Improved protection against timing side channels in ECDSA signature
191: generation.
1.4 bcook 192: <li>
1.14 tb 193: Coordinate blinding was added to some elliptic curves.
1.13 tb 194: This is the last bit of the work by Brumley et al. to protect against
195: the Portsmash vulnerability.
1.4 bcook 196: <li>
1.9 bcook 197: Ensure transcript handshake is always freed with TLS 1.2.
1.4 bcook 198: </ul>
199: </ul>
1.1 beck 200: <p>
201:
202: <li>Mandoc
203: <p>
204:
205: <li>Ports and packages:
206: <p>
207:
208: <li>As usual, steady improvements in manual pages and other documentation.
209: <p>
210:
211: <li>The system includes the following major components from outside suppliers:
1.4 bcook 212: <p>
1.1 beck 213:
214: </ul>
215:
216: <hr>
217:
218: <h3 id="install"><font color="#0000e0">How to install</font></h3>
219:
220: Please refer to the following files on the mirror site for
221: extensive details on how to install OpenBSD 6.5 on your machine:
222:
223: <ul>
224: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/6.5/alpha/INSTALL.alpha">
225: .../OpenBSD/6.5/alpha/INSTALL.alpha</a>
226: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/6.5/amd64/INSTALL.amd64">
227: .../OpenBSD/6.5/amd64/INSTALL.amd64</a>
228: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/6.5/arm64/INSTALL.arm64">
229: .../OpenBSD/6.5/arm64/INSTALL.arm64</a>
230: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/6.5/armv7/INSTALL.armv7">
231: .../OpenBSD/6.5/armv7/INSTALL.armv7</a>
232: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/6.5/hppa/INSTALL.hppa">
233: .../OpenBSD/6.5/hppa/INSTALL.hppa</a>
234: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/6.5/i386/INSTALL.i386">
235: .../OpenBSD/6.5/i386/INSTALL.i386</a>
236: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/6.5/landisk/INSTALL.landisk">
237: .../OpenBSD/6.5/landisk/INSTALL.landisk</a>
238: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/6.5/loongson/INSTALL.loongson">
239: .../OpenBSD/6.5/loongson/INSTALL.loongson</a>
240: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/6.5/luna88k/INSTALL.luna88k">
241: .../OpenBSD/6.5/luna88k/INSTALL.luna88k</a>
242: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/6.5/macppc/INSTALL.macppc">
243: .../OpenBSD/6.5/macppc/INSTALL.macppc</a>
244: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/6.5/octeon/INSTALL.octeon">
245: .../OpenBSD/6.5/octeon/INSTALL.octeon</a>
246: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/6.5/sgi/INSTALL.sgi">
247: .../OpenBSD/6.5/sgi/INSTALL.sgi</a>
248: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/6.5/sparc64/INSTALL.sparc64">
249: .../OpenBSD/6.5/sparc64/INSTALL.sparc64</a>
250: </ul>
251:
252: <hr>
253:
254: <p>
255: Quick installer information for people familiar with OpenBSD, and the use of
256: the "<a href="https://man.openbsd.org/disklabel.8">disklabel</a> -E" command.
257: If you are at all confused when installing OpenBSD, read the relevant
258: INSTALL.* file as listed above!
259:
260: <h3><font color="#e00000">OpenBSD/alpha:</font></h3>
261:
262: <ul style="list-style-type: none">
263: <li>
1.2 beck 264: Write <i>floppy65.fs</i> or <i>floppyB65.fs</i> (depending on your machine)
1.1 beck 265: to a diskette and enter <i>boot dva0</i>.
266: Refer to INSTALL.alpha for more details.
267: <p>
268: <li>
269: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install
270: will most likely fail.
271: </ul>
272:
273: <h3><font color="#e00000">OpenBSD/amd64:</font></h3>
274:
275: <ul style="list-style-type: none">
276: <li>
1.2 beck 277: If your machine can boot from CD, you can write <i>install65.iso</i> or
278: <i>cd65.iso</i> to a CD and boot from it.
1.1 beck 279: You may need to adjust your BIOS options first.
280: <p>
281: <li>
1.2 beck 282: If your machine can boot from USB, you can write <i>install65.fs</i> or
283: <i>miniroot65.fs</i> to a USB stick and boot from it.
1.1 beck 284: <p>
285: <li>
286: If you can't boot from a CD, floppy disk, or USB,
287: you can install across the network using PXE as described in the included
288: INSTALL.amd64 document.
289: <p>
290: <li>
291: If you are planning to dual boot OpenBSD with another OS, you will need to
292: read INSTALL.amd64.
293: </ul>
294:
295: <h3><font color="#e00000">OpenBSD/arm64:</font></h3>
296:
297: <ul style="list-style-type: none">
298: <li>
1.2 beck 299: Write <i>miniroot65.fs</i> to a disk and boot from it after connecting
1.1 beck 300: to the serial console. Refer to INSTALL.arm64 for more details.
301: <p>
302: </ul>
303:
304: <h3><font color="#e00000">OpenBSD/armv7:</font></h3>
305:
306: <ul style="list-style-type: none">
307: <li>
308: Write a system specific miniroot to an SD card and boot from it after connecting
309: to the serial console. Refer to INSTALL.armv7 for more details.
310: <p>
311: </ul>
312:
313: <h3><font color="#e00000">OpenBSD/hppa:</font></h3>
314:
315: <ul style="list-style-type: none">
316: <li>
317: Boot over the network by following the instructions in INSTALL.hppa or the
318: <a href="hppa.html#install">hppa platform page</a>.
319: </ul>
320:
321: <h3><font color="#e00000">OpenBSD/i386:</font></h3>
322:
323: <ul style="list-style-type: none">
324: <li>
1.2 beck 325: If your machine can boot from CD, you can write <i>install65.iso</i> or
326: <i>cd65.iso</i> to a CD and boot from it.
1.1 beck 327: You may need to adjust your BIOS options first.
328: <p>
329: <li>
1.2 beck 330: If your machine can boot from USB, you can write <i>install65.fs</i> or
331: <i>miniroot65.fs</i> to a USB stick and boot from it.
1.1 beck 332: <p>
333: <li>
334: If you can't boot from a CD, floppy disk, or USB,
335: you can install across the network using PXE as described in
336: the included INSTALL.i386 document.
337: <p>
338: <li>
339: If you are planning on dual booting OpenBSD with another OS, you will need to
340: read INSTALL.i386.
341: </ul>
342:
343: <h3><font color="#e00000">OpenBSD/landisk:</font></h3>
344:
345: <ul style="list-style-type: none">
346: <li>
1.2 beck 347: Write <i>miniroot65.fs</i> to the start of the CF
1.1 beck 348: or disk, and boot normally.
349: </ul>
350:
351: <h3><font color="#e00000">OpenBSD/loongson:</font></h3>
352:
353: <ul style="list-style-type: none">
354: <li>
1.2 beck 355: Write <i>miniroot65.fs</i> to a USB stick and boot bsd.rd from it
1.1 beck 356: or boot bsd.rd via tftp.
357: Refer to the instructions in INSTALL.loongson for more details.
358: </ul>
359:
360: <h3><font color="#e00000">OpenBSD/luna88k:</font></h3>
361:
362: <ul style="list-style-type: none">
363: <li>
364: Copy `boot' and `bsd.rd' to a Mach or UniOS partition, and boot the bootloader
365: from the PROM, and then bsd.rd from the bootloader.
366: Refer to the instructions in INSTALL.luna88k for more details.
367: </ul>
368:
369: <h3><font color="#e00000">OpenBSD/macppc:</font></h3>
370:
371: <ul style="list-style-type: none">
372: <li>
373: Burn the image from a mirror site to a CDROM, and power on your machine
374: while holding down the <i>C</i> key until the display turns on and
375: shows <i>OpenBSD/macppc boot</i>.
376: <p>
377: <li>
378: Alternatively, at the Open Firmware prompt, enter <i>boot cd:,ofwboot
379: /6.5/macppc/bsd.rd</i>
380: </ul>
381:
382: <h3><font color="#e00000">OpenBSD/octeon:</font></h3>
383:
384: <ul style="list-style-type: none">
385: <li>
386: After connecting a serial port, boot bsd.rd over the network via DHCP/tftp.
387: Refer to the instructions in INSTALL.octeon for more details.
388: </ul>
389:
390: <h3><font color="#e00000">OpenBSD/sgi:</font></h3>
391:
392: <ul style="list-style-type: none">
393: <li>
1.2 beck 394: To install, burn cd65.iso on a CD-R, put it in the CD drive of your
1.1 beck 395: machine and select <i>Install System Software</i> from the System Maintenance
396: menu. Indigo/Indy/Indigo2 (R4000) systems will not boot automatically from
397: CD-ROM, and need a proper invocation from the PROM prompt.
398: Refer to the instructions in INSTALL.sgi for more details.
399:
400: <p>
401: <li>
402: If your machine doesn't have a CD drive, you can setup a DHCP/tftp network
403: server, and boot using "bootp()/bsd.rd.IP##" using the kernel matching your
404: system type. Refer to the instructions in INSTALL.sgi for more details.
405: </ul>
406:
407: <h3><font color="#e00000">OpenBSD/sparc64:</font></h3>
408:
409: <ul style="list-style-type: none">
410: <li>
411: Burn the image from a mirror site to a CDROM, boot from it, and type
412: <i>boot cdrom</i>.
413: <p>
414: <li>
415: If this doesn't work, or if you don't have a CDROM drive, you can write
1.2 beck 416: <i>floppy65.fs</i> or <i>floppyB65.fs</i>
1.1 beck 417: (depending on your machine) to a floppy and boot it with <i>boot
418: floppy</i>. Refer to INSTALL.sparc64 for details.
419: <p>
420: <li>
421: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install
422: will most likely fail.
423: <p>
424: <li>
1.2 beck 425: You can also write <i>miniroot65.fs</i> to the swap partition on
1.1 beck 426: the disk and boot with <i>boot disk:b</i>.
427: <p>
428: <li>
429: If nothing works, you can boot over the network as described in INSTALL.sparc64.
430: </ul>
431:
432: <hr>
433:
434: <h3 id="upgrade"><font color="#0000e0">How to upgrade</font></h3>
435:
436: If you already have an OpenBSD 6.4 system, and do not want to reinstall,
437: upgrade instructions and advice can be found in the
1.2 beck 438: <a href="faq/upgrade65.html">Upgrade Guide</a>.
1.1 beck 439: <p>
440:
441: <hr>
442:
443: <h3 id="sourcecode"><font color="#0000e0">Notes about the source code</font></h3>
444:
445: <tt>src.tar.gz</tt> contains a source archive starting at <tt>/usr/src</tt>.
446: This file contains everything you need except for the kernel sources,
447: which are in a separate archive.
448: To extract:
449:
450: <blockquote><pre>
451: # <b>mkdir -p /usr/src</b>
452: # <b>cd /usr/src</b>
453: # <b>tar xvfz /tmp/src.tar.gz</b>
454: </pre></blockquote>
455:
456: <tt>sys.tar.gz</tt> contains a source archive starting at <tt>/usr/src/sys</tt>.
457: This file contains all the kernel sources you need to rebuild kernels.
458: To extract:
459:
460: <blockquote><pre>
461: # <b>mkdir -p /usr/src/sys</b>
462: # <b>cd /usr/src</b>
463: # <b>tar xvfz /tmp/sys.tar.gz</b>
464: </pre></blockquote>
465:
466: Both of these trees are a regular CVS checkout. Using these trees it
467: is possible to get a head-start on using the anoncvs servers as
468: described <a href="anoncvs.html">here</a>.
469: Using these files
470: results in a much faster initial CVS update than you could expect from
471: a fresh checkout of the full OpenBSD source tree.
472: <p>
473:
474: <hr>
475:
476: <h3 id="ports"><font color="#0000e0">Ports Tree</font></h3>
477:
478: A ports tree archive is also provided. To extract:
479:
480: <blockquote><pre>
481: # <b>cd /usr</b>
482: # <b>tar xvfz /tmp/ports.tar.gz</b>
483: </pre></blockquote>
484:
485: Go read the <a href="faq/ports/index.html">ports</a> page
486: if you know nothing about ports
487: at this point. This text is not a manual of how to use ports.
488: Rather, it is a set of notes meant to kickstart the user on the
489: OpenBSD ports system.
490: <p>
491: The <i>ports/</i> directory represents a CVS checkout of our ports.
492: As with our complete source tree, our ports tree is available via
493: <a href="anoncvs.html">AnonCVS</a>.
494: So, in order to keep up to date with the -stable branch, you must make
495: the <i>ports/</i> tree available on a read-write medium and update the tree
496: with a command like:
497:
498: <blockquote><pre>
499: # <b>cd /usr/ports</b>
1.11 beck 500: # <b>cvs -d anoncvs@server.openbsd.org:/cvs update -Pd -rOPENBSD_6_5</b>
1.1 beck 501: </pre></blockquote>
502:
503: [Of course, you must replace the server name here with a nearby anoncvs
504: server.]
505: <p>
506: Note that most ports are available as packages on our mirrors. Updated
507: ports for the 6.5 release will be made available if problems arise.
508: <p>
509: If you're interested in seeing a port added, would like to help out, or just
510: would like to know more, the mailing list
511: <a href="mail.html">ports@openbsd.org</a> is a good place to know.
512: <p>
513: </body>
514: </html>