Annotation of www/65.html, Revision 1.97
1.96 bentley 1: <!doctype html>
2: <html lang=en id=release>
3: <meta charset=utf-8>
4:
1.1 beck 5: <title>OpenBSD 6.5</title>
6: <meta name="description" content="OpenBSD 6.5">
7: <meta name="viewport" content="width=device-width, initial-scale=1">
8: <link rel="stylesheet" type="text/css" href="openbsd.css">
9: <link rel="canonical" href="https://www.openbsd.org/65.html">
10:
1.96 bentley 11: <h2 id=OpenBSD>
1.1 beck 12: <a href="index.html">
1.96 bentley 13: <i>Open</i><b>BSD</b></a>
14: 6.5
1.1 beck 15: </h2>
16:
1.96 bentley 17: <table>
18: <tr>
19: <td>
1.90 deraadt 20: <a href="images/Puffystock.gif">
1.96 bentley 21: <img alt="Puffystock" width="227" height="343" src="images/Puffystock-s.gif"></a>
22: <td>
1.90 deraadt 23: Released May 1, 2019<br>
1.1 beck 24: Copyright 1997-2019, Theo de Raadt.<br>
25: <br>
26: <br>
1.71 job 27: Artwork by Hans Tseng, Efrain Farias, and Natasha Allegri.
1.1 beck 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.
1.96 bentley 32: <li>Go to the <code class=reldir>pub/OpenBSD/6.5/</code> directory on
1.1 beck 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>
1.91 deraadt 40: pubkeys for this release:<p>
41:
1.96 bentley 42: <table class=signify>
43: <tr><td>
44: openbsd-65-base.pub:
1.91 deraadt 45: <td>
46: <a href="https://ftp.openbsd.org/pub/OpenBSD/6.5/openbsd-65-base.pub">
47: RWSZaRmt1LEQT9CtPygf9CvONu8kYPTlVEJdysNoUR62/NkeWgdkc3zY</a>
1.96 bentley 48: <tr><td>
1.91 deraadt 49: openbsd-65-fw.pub:
1.96 bentley 50: <td>
1.91 deraadt 51: RWQYdGVtTv5IvpH2c+TLQAC4iV7RjoGZ/v75q8MCuC9Mca7nFVCXRefy
1.96 bentley 52: <tr><td>
1.91 deraadt 53: openbsd-65-pkg.pub:
1.96 bentley 54: <td>
1.91 deraadt 55: RWS5D4+188RI6jULDOFzga0Cm1zrXYUAHT6xu0mLrZidbn6xrMB5aZeR
1.96 bentley 56: <tr><td>
1.91 deraadt 57: openbsd-65-syspatch.pub:
1.96 bentley 58: <td>
1.91 deraadt 59: RWT8U2yd3Aq5DnetILjmSoCQxmyt3VqfGS7GBh19oh4Xre4ywc31PEpw
60: </table>
1.96 bentley 61: </ul>
1.1 beck 62: <p>
63: All applicable copyrights and credits are in the src.tar.gz,
64: sys.tar.gz, xenocara.tar.gz, ports.tar.gz files, or in the
65: files fetched via ports.tar.gz.
1.96 bentley 66: </table>
1.1 beck 67:
68: <hr>
69:
1.96 bentley 70: <section id=new>
71: <h3>What's New</h3>
72: <p>
1.1 beck 73: This is a partial list of new features and systems included in OpenBSD 6.5.
1.2 beck 74: For a comprehensive list, see the <a href="plus65.html">changelog</a> leading
1.1 beck 75: to 6.5.
76:
77: <ul>
78:
79: <li>Improved hardware support, including:
1.3 visa 80: <ul>
81: <li><a href="https://man.openbsd.org/clang.1">clang(1)</a>
82: is now provided on mips64.
1.28 sthen 83: <li>The default linker has been switched from the binutils bfd-based linker
84: to lld on amd64 and i386.
1.15 visa 85: <li>octeon: Now the system automatically detects the number of available
86: cores. However, manual setting of the numcores, or coremask,
87: boot parameter is still needed to enable secondary cores.
88: <li>octeon: It is now possible to use the root disk's DUID as the value
89: of the rootdev boot parameter.
1.37 jsg 90: <li>New <a href="https://man.openbsd.org/octeon/octgpio.4">octgpio(4)</a>
91: driver for the OCTEON GPIO controller.
92: <li>New <a href="https://man.openbsd.org/pvclock.4">pvclock(4)</a>
93: driver for KVM paravirtual clock.
94: <li>New <a href="https://man.openbsd.org/ixl.4">ixl(4)</a>
95: driver for Intel Ethernet 700 series controller devices.
96: <li>New <a href="https://man.openbsd.org/abcrtc.4">abcrtc(4)</a>
97: driver for Abracon AB1805 real-time clock.
98: <li>New <a href="https://man.openbsd.org/imxsrc.4">imxsrc(4)</a>
99: driver for i.MX system reset controller.
1.43 jsg 100: <li>New <a href="https://man.openbsd.org/uxrcom.4">uxrcom(4)</a>
101: driver for Exar XR21V1410 USB serial adapters.
1.48 jsg 102: <li>New <a href="https://man.openbsd.org/mvgicp.4">mvgicp(4)</a>
103: driver for Marvell ARMADA 7K/8K GICP controller.
1.37 jsg 104: <li>Support for QCA AR816x/AR817x in
105: <a href="https://man.openbsd.org/alc.4">alc(4)</a>.
106: <li>Support for isochronous transfers in
107: <a href="https://man.openbsd.org/xhci.4">xhci(4)</a>.
108: <li><a href="https://man.openbsd.org/uaudio.4">uaudio(4)</a> has
109: been replaced by a new driver which supports USB audio class v2.0.
1.60 landry 110: <li>Improved support for <a href="https://man.openbsd.org/nmea.4">nmea(4)</a>
111: devices, providing altitude and ground speed values as sensors.
1.3 visa 112: </ul>
1.1 beck 113:
114: <p>
115:
116: <li>IEEE 802.11 wireless stack improvements:
1.56 stsp 117: <ul>
118: <li>Reduced usage of RTS frames improves overall throughput and latency.
119: <li>Improved transmit rate selection in the
120: <a href="https://man.openbsd.org/iwm.4">iwm(4)</a> driver.
121: <li>Improved radio hardware calibration in the
122: <a href="https://man.openbsd.org/athn.4">athn(4)</a> driver.
123: <li>The <a href="https://man.openbsd.org/bwfm.4">bwfm(4)</a> driver now
124: provides more accurate device configuration information to userland.
125: <li>Added new routing socket message RTM_80211INFO to provide details
126: of 802.11 interface state changes to
127: <a href="https://man.openbsd.org/dhclient">dhclient(8)</a> and
128: <a href="https://man.openbsd.org/route">route(8)</a>.
1.62 stsp 129: <li>If an auto-join list is configured, wireless interfaces will no longer
130: connect to unknown open networks by default. This behaviour must
131: now be explicitly enabled by adding the empty network name to the
1.96 bentley 132: auto-join list, e.g. <code>ifconfig iwm0 join ""</code>, or <code>join ""</code>
1.75 deraadt 133: in hostname.if files.
1.56 stsp 134: <li>The <a href="https://man.openbsd.org/iwn.4">iwn(4)</a> and
135: <a href="https://man.openbsd.org/iwm.4">iwm(4)</a> drivers will now
136: automatically try to connect to a network if the radio kill switch is
137: toggled to allow radio transmissions while the interface is marked UP.
138: </ul>
1.1 beck 139: <p>
140:
141: <li>Generic network stack improvements:
1.37 jsg 142: <ul>
143: <li>New <a href="https://man.openbsd.org/bpe.4">bpe(4)</a>
144: Backbone Provider Edge pseudo-device.
145: <li>New <a href="https://man.openbsd.org/mpip.4">mpip(4)</a>
1.80 dlg 146: MPLS IP layer 2 pseudowire driver.
147: <li>MPLS encapsulation interfaces support configuration of
148: alternative MPLS route domains.
149: <li>The <a href="https://man.openbsd.org/vlan.4">vlan(4)</a>
150: driver bypasses queue processing and outputs directly to the
151: parent interface.
1.45 mpi 152: <li>New per SAD counters visible via
153: <a href="https://man.openbsd.org/ipsecctl.8">ipsecctl(8)</a>.
1.82 deraadt 154: <li>The <a href="https://man.openbsd.org/bpf.4">bpf(4)</a>
155: filter drop mechanism has been extended to allow dropping
156: without capturing packets, and use of the mechanism with
157: <a href="https://man.openbsd.org/tcpdump.8">tcpdump(8)</a> as
158: a filtering mechanism early in the device receive path.
1.80 dlg 159: <li><a href="https://man.openbsd.org/ifconfig.8">ifconfig(8)</a> gains
1.96 bentley 160: <code>txprio</code> for controlling the encoding of priority in
1.80 dlg 161: tunnel headers, and support in drivers including
162: <a href="https://man.openbsd.org/vlan.4">vlan(4)</a>,
163: <a href="https://man.openbsd.org/gre.4">gre(4)</a>,
164: <a href="https://man.openbsd.org/gif.4">gif(4)</a>, and
165: <a href="https://man.openbsd.org/etherip.4">etherip(4)</a>.
1.37 jsg 166: </ul>
1.1 beck 167: <p>
168:
169: <li>Installer improvements:
1.67 deraadt 170: <ul>
171: <li><a href="https://man.openbsd.org/rdsetroot.8">rdsetroot(8)</a>
1.68 deraadt 172: (a build-time tool) is now available for general use.
1.67 deraadt 173: <li>During upgrades, some components of old releases are deleted.
174: </ul>
1.1 beck 175: <p>
176:
177: <li>Security improvements:
1.35 beck 178: <ul>
1.76 deraadt 179: <li><a href="https://man.openbsd.org/unveil.2">unveil(2)</a> has been
180: improved to understand and find covering unveil matches above the
181: working directory of the running process for relative path accesses.
182: As a result many programs now can use unveil in broad ways such as
1.77 deraadt 183: unveil("/", "r").
1.76 deraadt 184: <li><a href="https://man.openbsd.org/unveil.2">unveil(2)</a> no longer
185: silently allows
186: <a href="https://man.openbsd.org/stat.2">stat(2)</a> and
187: <a href="https://man.openbsd.org/access.2">access(2)</a> to work on any
188: unveiled path component.
189: <li>Now using <a href="https://man.openbsd.org/unveil.2">unveil(2)</a> in
190: <a href="https://man.openbsd.org/ospfd">ospfd(8)</a>,
191: <a href="https://man.openbsd.org/ospf6d">ospf6d(8)</a>,
192: <a href="https://man.openbsd.org/rebound">rebound(8)</a>,
193: <a href="https://man.openbsd.org/getconf">getconf(1)</a>,
194: <a href="https://man.openbsd.org/kvm_mkdb">kvm_mkdb(8)</a>,
195: <a href="https://man.openbsd.org/bdftopcf">bdftopcf(1)</a>,
196: <a href="https://man.openbsd.org/Xserver">Xserver(1)</a>,
197: <a href="https://man.openbsd.org/passwd">passwd(1)</a>,
198: <a href="https://man.openbsd.org/spamlogd">spamlogd(8)</a>,
199: <a href="https://man.openbsd.org/spamd">spamd(8)</a>,
200: <a href="https://man.openbsd.org/sensorsd">sensorsd(8)</a>,
201: <a href="https://man.openbsd.org/snmpd">snmpd(8)</a>,
202: <a href="https://man.openbsd.org/htpasswd">htpasswd(1)</a>,
203: <a href="https://man.openbsd.org/ifstated">ifstated(8)</a>.
204: Some <a href="https://man.openbsd.org/pledge.2">pledge(2)</a>
205: changes were required to accommodate unveil.
206: <li>ROP mitigations in <a href="https://man.openbsd.org/clang-local.1">clang(1)</a>
207: have been improved, resulting in a significant decrease in the number
208: of polymorphic ROP gadgets in binaries on i386/amd64.
209: <li>RETGUARD performance and security has been improved in
210: <a href="https://man.openbsd.org/clang-local.1">clang(1)</a>
211: by keeping data on registers instead of on the stack when possible,
1.88 tj 212: and lengthening the epilogue trapsled on amd64 to consume the rest
1.76 deraadt 213: of the cache line before the return.
214: <li>RETGUARD replaces the stack protector on amd64 and arm64,
215: since RETGUARD instruments every function that returns and provides
216: better security properties than the traditional stack protector.
1.35 beck 217: </ul>
1.1 beck 218: <p>
219:
220: <li>Routing daemons and other userland network improvements:
1.10 denis 221: <ul>
1.12 denis 222: <li><a href="https://man.openbsd.org/pcap-filter.3">pcap-filter(3)</a> can
223: now filter on MPLS packets.
1.51 remi 224: <li>The routing priority for
225: <a href="https://man.openbsd.org/ospfd.8">ospfd(8)</a>,
226: <a href="https://man.openbsd.org/ospf6d.8">ospf6d(8)</a> and
227: <a href="https://man.openbsd.org/ripd.8">ripd(8)</a>
228: is now configurable.
229: <li><a href="https://man.openbsd.org/ripd.8">ripd(8)</a> is now pledged.
1.57 florian 230: <li>First release of
231: <a href="https://man.openbsd.org/unwind.8">unwind(8)</a>, a validating,
232: recursive nameserver for 127.0.0.1. It is particularly suitable for
1.65 sthen 233: laptops moving between networks.
234: <li><a href="https://man.openbsd.org/ifconfig.8">ifconfig(8)</a> gains
1.96 bentley 235: <code>sff</code> and <code>sffdump</code> modes, displaying diagnostic
1.65 sthen 236: information from fibre transceivers and similar modules.
237: Currently
238: <a href="https://man.openbsd.org/ix.4">ix(4)</a> and
239: <a href="https://man.openbsd.org/ixl.4">ixl(4)</a> are supported.
1.80 dlg 240: <li><a href="https://man.openbsd.org/ldpd.8">ldpd(8)</a> now
241: supports <a href="https://man.openbsd.org/ldpd.conf.5">configuration
242: of TCP MD5</a> for networks, not just specific neighbors.
1.64 claudio 243: </ul>
244: <p>
245:
246: <li><a href="https://man.openbsd.org/bgpd.8">bgpd(8)</a> improvements:
247: <ul>
248: <li><a href="https://man.openbsd.org/bgpd.8">bgpd(8)</a> has now a real
249: Adj-RIB-Out which improved overall memory usage.
250: <li>Implemented a simple ruleset optimizer that merges filter rules that
251: differ only by filter sets.
252: <li>First release of OpenBGPD-portable. There is currently no FIB support
253: in the portable version and some other features are also disabled.
1.74 deraadt 254: <li>The configuration of BGP MPLS VPN changed and the config needs to be
1.64 claudio 255: adjusted if VPNs are used.
256: <li>Added support for IPv6 BGP MPLS VPNs.
1.96 bentley 257: <li>Implemented <code>as-override</code> in <a href="https://man.openbsd.org/bgpd.8">bgpd(8)</a>,
1.64 claudio 258: a feature where the neighbor AS is replaced by the local AS in AS paths.
259: <li>It is now possible to match multiple communities, ext-communities or
260: large-communities per filter rule.
1.96 bentley 261: <li>Added support for <code>*</code>, <code>local-as</code> and <code>neighbor-as</code>
1.64 claudio 262: for ext-community matching and addition or removal.
263: <li>Prevent <a href="https://man.openbsd.org/bgpd.8">bgpd(8)</a>
264: from being started more than once with the same config.
1.96 bentley 265: <li><code>announce inet none</code> no longer clears announce settings of
1.64 claudio 266: other address families.
267: <li>Removed potential for a spurious End-of-RIB marker being sent.
268: <li>Fixed mrt table dumps and the route collector mode.
269: <li>Improved throttling of initial routing table dump.
270: <li><a href="https://man.openbsd.org/bgpd.8">bgpd(8)</a> terminates RIB
271: table walks if <a href="https://man.openbsd.org/bgpctl.8">bgpctl(8)</a>
272: terminates early.
273: <li>Improved handling of communities, large-communities and ext-communities
274: in <a href="https://man.openbsd.org/bgpctl.8">bgpctl(8)</a>
1.96 bentley 275: <li>It is now possible to use <code>neighbor group <name></code> to run
1.64 claudio 276: <a href="https://man.openbsd.org/bgpctl.8">bgpctl(8)</a> commands
277: against the specified group of neighbors:
278: <div style="margin-left: 45px"><code>
1.96 bentley 279: bgpctl neighbor group <name> [clear|destroy|down|refresh|up]<br>
280: bgpctl show neighbor group <name> [messages|terse|timers]<br>
281: bgpctl show rib neighbor group <name> ...<br>
1.64 claudio 282: </code></div>
283: <li><a href="https://man.openbsd.org/bgpctl.8">bgpctl(8)</a> can now
1.74 deraadt 284: add networks into BGP VPN tables by specifying the route distinguisher
1.96 bentley 285: <code>rd</code> on the <code>network</code> command.
1.64 claudio 286: <li><a href="https://man.openbsd.org/bgplg.8">bgplg(8)</a> and
287: <a href="https://man.openbsd.org/bgplgsh.8">bgplgsh(8)</a> can
288: now filter on Origin Validation State and Extended Communities.
289: <li><a href="https://man.openbsd.org/bgplgsh.8">bgplgsh(8)</a> can
290: now [clear|destroy|down|refresh|up] and show groups of neighbors.
1.10 denis 291: </ul>
1.1 beck 292: <p>
293:
294: <li>Assorted improvements:
1.20 anton 295: <ul>
296: <li>
297: <a href="https://man.openbsd.org/kcov.4">kcov(4)</a>
298: gained support for
299: <a href="https://man.openbsd.org/kcov#KCOV_MODE_TRACE_CMP">KCOV_MODE_TRACE_CMP</a>.
1.24 landry 300: <li>
301: A 'video' promise was added to <a href="https://man.openbsd.org/pledge.2">pledge(2)</a>.
1.25 visa 302: <li>
303: The <code>kern.witnesswatch</code>
304: <a href="https://man.openbsd.org/sysctl.8">sysctl(8)</a>
305: has been renamed to <code>kern.witness.watch</code>.
1.45 mpi 306: <li>New pthread
307: <a href="https://man.openbsd.org/pthread_rwlock_init">rwlock</a>
308: implementation improving latency of threaded applications.
1.46 anton 309: <li>
310: <a href="https://man.openbsd.org/kubsan.4">kubsan(4)</a>
311: capable of detecting undefined behavior in the kernel.
1.49 tedu 312: <li><a href="https://man.openbsd.org/signify.1">signify</a>
313: -n option to zero date header in -z mode.
314: <li>Remove OXTABS from default pty flags.
1.52 schwarze 315: <li><a href="https://man.openbsd.org/install.1">install(1)</a> now
316: always copies files safely (as with -S), avoiding race conditions.
317: <li><a href="https://man.openbsd.org/syslog.conf.5">syslog.conf(5)</a>
318: now supports program names containing dots and underscores.
1.75 deraadt 319: <li><a href="https://man.openbsd.org/tcpdump.8">tcpdump(8)</a> already used
320: privsep, <a href="https://man.openbsd.org/pledge.2">pledge(2)</a> and
321: <a href="https://man.openbsd.org/unveil.2">unveil(2)</a> containment.
1.88 tj 322: It now also drops root privileges completely (switching to a reserved uid).
1.61 otto 323: <li>The multi-threaded performance of
324: <a href="https://man.openbsd.org/malloc.3">malloc(3)</a> has been improved.
325: <li><a href="https://man.openbsd.org/malloc.3">malloc(3)</a> now uses
326: <a href="https://man.openbsd.org/sysctl.2">sysctl(2)</a> to get its
327: settings, making it respect the system-wide settings in chroots as well.
1.85 bcook 328: <li>Various improvements to the
1.61 otto 329: <a href="https://man.openbsd.org/join.1">join</a> command.
1.79 deraadt 330: <li>Work has started on a ISC-licensed rsync-compatible program called
1.82 deraadt 331: <a href="https://www.openrsync.org">OpenRSYNC</a>. In this release it
332: has basic functionality such as <b>-a</b>, <b>--delete</b>, but lacks
333: <b>--exclude</b>. Work will continue.
1.86 fcambus 334: <li>New Spleen font 8x16, 12x24, 16x32 and 32x64 variants added and
335: enabled in wsfont, along with font selection logic to allow selecting
336: larger fonts when available at runtime in
337: <a href="https://man.openbsd.org/rasops.9">rasops(9)</a>.
1.20 anton 338: </ul>
1.1 beck 339: <p>
340:
1.66 gilles 341: <li>OpenSMTPD 6.5.0
342: <ul>
343: <li>New Features
344: <ul>
345: <li>Added the new matching criteria "from rdns" to
346: <a href="https://man.openbsd.org/smtpd.conf.5">smtpd.conf(5)</a>
347: to allow matching of sessions based on the reverse DNS of the client.
348: <li>Added
349: <a href="https://man.openbsd.org/regex.3">regex(3)</a>
350: support to table lookups in
351: <a href="https://man.openbsd.org/smtpd.conf.5">smtpd.conf(5)</a>.
352: </ul>
353: </ul>
354: <p>
1.1 beck 355:
1.84 beck 356: <li>LibreSSL 2.9.1
1.4 bcook 357: <ul>
358: <li>API and Documentation Enhancements
359: <ul>
360: <li>
361: CRYPTO_LOCK is now automatically initialized, with the legacy
1.9 bcook 362: callbacks stubbed for compatibility.
1.4 bcook 363: <li>
364: Added the SM3 hash function from the Chinese standard GB/T 32905-2016.
1.7 bcook 365: <li>
1.33 tb 366: Added the SM4 block cipher from the Chinese standard GB/T 32907-2016.
367: <li>
1.9 bcook 368: Added more OPENSSL_NO_* macros for compatibility with OpenSSL.
1.16 beck 369: <li>
1.19 jsg 370: Partial port of the OpenSSL EC_KEY_METHOD API for use by OpenSSH.
371: <li>
372: Implemented further missing OpenSSL 1.1 API.
1.21 tb 373: <li>
374: Added support for XChaCha20 and XChaCha20-Poly1305.
1.33 tb 375: <li>
376: Added support for AES key wrap constructions via the EVP interface.
1.19 jsg 377: </ul>
378:
379: <li>Compatibility Changes
380: <ul>
381: <li>
1.23 beck 382: Added pbkdf2 key derivation support
383: to <a href="https://man.openbsd.org/openssl.1">openssl(1)</a> enc.
384: <li>
1.19 jsg 385: Changed the default digest type of
386: <a href="https://man.openbsd.org/openssl.1">openssl(1)</a> enc
387: to sha256.
1.18 naddy 388: <li>
389: Changed the default digest type of
390: <a href="https://man.openbsd.org/openssl.1">openssl(1)</a> dgst
391: to sha256.
1.17 tb 392: <li>
1.19 jsg 393: Changed the default digest type of
394: <a href="https://man.openbsd.org/openssl.1">openssl(1)</a>
395: x509 -fingerprint to sha256.
1.17 tb 396: <li>
1.19 jsg 397: Changed the default digest type of
398: <a href="https://man.openbsd.org/openssl.1">openssl(1)</a>
399: crl -fingerprint to sha256.
1.4 bcook 400: </ul>
401:
402: <li>Testing and Proactive Security
403: <ul>
404: <li>
1.8 bcook 405: Added extensive interoperability tests between LibreSSL and OpenSSL 1.0
1.9 bcook 406: and 1.1.
1.7 bcook 407: <li>
1.31 tb 408: Added additional Wycheproof tests and related bug fixes.
1.4 bcook 409: </ul>
410:
411: <li>Internal Improvements
412: <ul>
413: <li>
414: Simplified sigalgs option processing and handshake signing algorithm
1.9 bcook 415: selection.
1.4 bcook 416: <li>
1.9 bcook 417: Added the ability to use the RSA PSS algorithm for handshake signatures.
1.4 bcook 418: <li>
419: Added bn_rand_interval() and use it in code needing ranges of random bn
1.9 bcook 420: values.
1.4 bcook 421: <li>
422: Added functionality to derive early, handshake, and application secrets
1.9 bcook 423: as per RFC8446.
1.4 bcook 424: <li>
1.9 bcook 425: Added handshake state machine from RFC8446.
1.7 bcook 426: <li>
427: Removed some ASN.1 related code from libcrypto that had not been used
1.9 bcook 428: since around 2000.
1.7 bcook 429: <li>
430: Unexported internal symbols and internalized more record layer structs.
1.23 beck 431: <li>
432: Removed SHA224 based handshake signatures from consideration for use in a TLS 1.2 handshake.
1.4 bcook 433: </ul>
434:
1.6 bcook 435: <li>Portable Improvements
436: <ul>
437: <li>
1.9 bcook 438: Added support for assembly optimizations on 32-bit ARM ELF targets.
1.85 bcook 439: <li>
440: Added support for assembly optimizations on Mingw-w64 targets.
441: <li>
442: Improved Android compatibility
1.6 bcook 443: </ul>
444:
1.4 bcook 445: <li>Bug Fixes
446: <ul>
447: <li>
1.13 tb 448: Improved protection against timing side channels in ECDSA signature
449: generation.
1.4 bcook 450: <li>
1.14 tb 451: Coordinate blinding was added to some elliptic curves.
1.13 tb 452: This is the last bit of the work by Brumley et al. to protect against
453: the Portsmash vulnerability.
1.4 bcook 454: <li>
1.9 bcook 455: Ensure transcript handshake is always freed with TLS 1.2.
1.4 bcook 456: </ul>
457: </ul>
1.1 beck 458: <p>
459:
1.63 deraadt 460: <li>OpenSSH 8.0
461: <ul>
462: <li>New Features
463: <ul>
464: <li>ssh(1), ssh-agent(1), ssh-add(1): Add support for ECDSA keys in
465: PKCS#11 tokens.
466: <li>ssh(1), sshd(8): Add experimental quantum-computing resistant
467: key exchange method, based on a combination of Streamlined NTRU
468: Prime 4591^761 and X25519.
469: <li>ssh-keygen(1): Increase the default RSA key size to 3072 bits,
470: following NIST Special Publication 800-57's guidance for a
471: 128-bit equivalent symmetric security level.
472: <li>ssh(1): Allow "PKCS11Provider=none" to override later instances of
473: the PKCS11Provider directive in ssh_config; bz#2974
474: <li>sshd(8): Add a log message for situations where a connection is
475: dropped for attempting to run a command but a sshd_config
476: ForceCommand=internal-sftp restriction is in effect; bz#2960
477: <li>ssh(1): When prompting whether to record a new host key, accept
478: the key fingerprint as a synonym for "yes". This allows the user
479: to paste a fingerprint obtained out of band at the prompt and
480: have the client do the comparison for you.
481: <li>ssh-keygen(1): When signing multiple certificates on a single
482: command-line invocation, allow automatically incrementing the
483: certificate serial number.
484: <li>scp(1), sftp(1): Accept -J option as an alias to ProxyJump on
485: the scp and sftp command-lines.
486: <li>ssh-agent(1), ssh-pkcs11-helper(8), ssh-add(1): Accept "-v"
487: command-line flags to increase the verbosity of output; pass
488: verbose flags though to subprocesses, such as ssh-pkcs11-helper
489: started from ssh-agent.
490: <li>ssh-add(1): Add a "-T" option to allowing testing whether keys in
491: an agent are usable by performing a signature and a verification.
492: <li>sftp-server(8): Add a "lsetstat@openssh.com" protocol extension
493: that replicates the functionality of the existing SSH2_FXP_SETSTAT
494: operation but does not follow symlinks. bz#2067
495: <li>sftp(1): Add "-h" flag to chown/chgrp/chmod commands to request
496: they do not follow symlinks.
497: <li>sshd(8): Expose $SSH_CONNECTION in the PAM environment. This makes
498: the connection 4-tuple available to PAM modules that wish to use
499: it in decision-making. bz#2741
500: <li>sshd(8): Add a ssh_config "Match final" predicate Matches in same
501: pass as "Match canonical" but doesn't require hostname
502: canonicalisation be enabled. bz#2906
503: <li>sftp(1): Support a prefix of '@' to suppress echo of sftp batch
504: commands; bz#2926
505: <li>ssh-keygen(1): When printing certificate contents using
506: "ssh-keygen -Lf /path/certificate", include the algorithm that
507: the CA used to sign the cert.
508: </ul>
509: <li>Bugfixes
510: <ul>
511: <li>sshd(8): Fix authentication failures when sshd_config contains
512: "AuthenticationMethods any" inside a Match block that overrides
513: a more restrictive default.
514: <li>sshd(8): Avoid sending duplicate keepalives when ClientAliveCount
515: is enabled.
516: <li>sshd(8): Fix two race conditions related to SIGHUP daemon restart.
517: Remnant file descriptors in recently-forked child processes could
518: block the parent sshd's attempt to listen(2) to the configured
519: addresses. Also, the restarting parent sshd could exit before any
520: child processes that were awaiting their re-execution state had
521: completed reading it, leaving them in a fallback path.
522: <li>ssh(1): Fix stdout potentially being redirected to /dev/null when
523: ProxyCommand=- was in use.
524: <li>sshd(8): Avoid sending SIGPIPE to child processes if they attempt
525: to write to stderr after their parent processes have exited;
526: bz#2071
527: <li>ssh(1): Fix bad interaction between the ssh_config ConnectTimeout
528: and ConnectionAttempts directives - connection attempts after the
529: first were ignoring the requested timeout; bz#2918
530: <li>ssh-keyscan(1): Return a non-zero exit status if no keys were
531: found; bz#2903
532: <li>scp(1): Sanitize scp filenames to allow UTF-8 characters without
533: terminal control sequences; bz#2434
534: <li>sshd(8): Fix confusion between ClientAliveInterval and time-based
535: RekeyLimit that could cause connections to be incorrectly closed.
536: bz#2757
537: <li>ssh(1), ssh-add(1): Correct some bugs in PKCS#11 token PIN
538: handling at initial token login. The attempt to read the PIN
539: could be skipped in some cases, particularly on devices with
540: integrated PIN readers. This would lead to an inability to
541: retrieve keys from these tokens. bz#2652
542: <li>ssh(1), ssh-add(1): Support keys on PKCS#11 tokens that set the
543: CKA_ALWAYS_AUTHENTICATE flag by requring a fresh login after the
544: C_SignInit operation. bz#2638
545: <li>ssh(1): Improve documentation for ProxyJump/-J, clarifying that
546: local configuration does not apply to jump hosts.
547: <li>ssh-keygen(1): Clarify manual - ssh-keygen -e only writes
548: public keys, not private.
549: <li>ssh(1), sshd(8): be more strict in processing protocol banners,
550: allowing \r characters only immediately before \n.
551: <li>Various: fix a number of memory leaks, including bz#2942 and
552: bz#2938
553: <li>scp(1), sftp(1): fix calculation of initial bandwidth limits.
554: Account for bytes written before the timer starts and adjust the
555: schedule on which recalculations are performed. Avoids an initial
556: burst of traffic and yields more accurate bandwidth limits;
557: bz#2927
558: <li>sshd(8): Only consider the ext-info-c extension during the initial
559: key eschange. It shouldn't be sent in subsequent ones, but if it
560: is present we should ignore it. This prevents sshd from sending a
561: SSH_MSG_EXT_INFO for REKEX for buggy these clients. bz#2929
1.85 bcook 562: <li>ssh-keygen(1): Clarify manual that ssh-keygen -F (find host in
1.63 deraadt 563: authorized_keys) and -R (remove host from authorized_keys) options
564: may accept either a bare hostname or a [hostname]:port combo.
565: bz#2935
566: <li>ssh(1): Don't attempt to connect to empty SSH_AUTH_SOCK; bz#2936
567: <li>sshd(8): Silence error messages when sshd fails to load some of
568: the default host keys. Failure to load an explicitly-configured
569: hostkey is still an error, and failure to load any host key is
570: still fatal. pr/103
571: <li>ssh(1): Redirect stderr of ProxyCommands to /dev/null when ssh is
572: started with ControlPersist; prevents random ProxyCommand output
573: from interfering with session output.
574: <li>ssh(1): The ssh client was keeping a redundant ssh-agent socket
575: (leftover from authentication) around for the life of the
576: connection; bz#2912
577: <li>sshd(8): Fix bug in HostbasedAcceptedKeyTypes and
578: PubkeyAcceptedKeyTypes options. If only RSA-SHA2 siganture types
579: were specified, then authentication would always fail for RSA keys
580: as the monitor checks only the base key (not the signature
581: algorithm) type against *AcceptedKeyTypes. bz#2746
582: <li>ssh(1): Request correct signature types from ssh-agent when
583: certificate keys and RSA-SHA2 signatures are in use.
584: </ul>
585: </ul>
586: <p>
587:
1.52 schwarze 588: <li>Mandoc 1.14.5
589: <ul>
590: <li>
591: Improved POSIX compliance in
592: <a href="https://man.openbsd.org/apropos.1">apropos(1)</a> by
593: accepting case-insensitive extended regular expressions by default.
594: <li>
595: New -O <a href="https://man.openbsd.org/mandoc.1#tag">tag</a>
596: output option to open a page at the definition of a term.
597: <li>
598: Many <a href="https://man.openbsd.org/tbl.7">tbl(7)</a>
599: improvements: line drawing, spanning, horizontal and vertical
600: alignment in HTML output, improved column width calculations in
601: terminal output, use of box drawing characters in UTF-8 output.
602: <li>
603: Much better HTML output, in particular with respect to
604: paragraphs, line breaks, and vertical spacing in tagged lists.
605: Tooltips are now implemented in pure CSS, the <code>title</code>
606: attribute is no longer abused.
607: </ul>
608: <p>
1.1 beck 609:
1.41 matthieu 610: <li>Xenocara
611: <ul>
612: <li>
613: <a href="https://man.openbsd.org/Xorg.1">Xorg(1)</a>, the
614: X window server, is no longer installed setuid.
615: <a href="https://man.openbsd.org/xenodm.1">xenodm(1)</a> should be
616: used to start X.
1.73 jsg 617: <li>
618: The radeonsi Mesa driver is now included for hardware acceleration
619: on Southern Islands and Sea Islands
620: <a href="https://man.openbsd.org/radeondrm.4">radeondrm(4)</a> devices.
1.41 matthieu 621: </ul>
622: <p>
1.85 bcook 623:
1.1 beck 624: <li>Ports and packages:
1.29 sthen 625: <ul>
1.88 tj 626: <li>C++ ports for non-clang architectures are now compiled with
1.81 espie 627: ports gcc, so that more packages can be provided.
1.29 sthen 628: </ul>
1.96 bentley 629: <p>Many pre-built packages for each architecture:
1.29 sthen 630: <!-- number of FTP packages minus SHA256, SHA256.sig, index.txt -->
1.96 bentley 631: <ul style="column-count: 3">
1.89 naddy 632: <li>aarch64: 9654
1.87 deraadt 633: <li>amd64: 10602
1.92 phessler 634: <li>arm: 8721
1.87 deraadt 635: <li>i386: 10535
1.93 naddy 636: <li>mips64: 8556
1.29 sthen 637: <li>mips64el: XXXX
1.95 naddy 638: <li>powerpc: 9515
1.94 landry 639: <li>sparc64: 9495
1.96 bentley 640: </ul>
641: <p>Some highlights:
642: <ul style="column-count: 3">
1.29 sthen 643: <li>AFL 2.52b
644: <li>Asterisk 16.2.1
1.42 sthen 645: <li>Audacity 2.3.1
1.29 sthen 646: <li>CMake 3.10.2
1.34 sthen 647: <li>Chromium 73.0.3683.86
1.29 sthen 648: <li>Emacs 26.1
1.53 sthen 649: <li>FFmpeg 4.1.3
1.42 sthen 650: <li>GCC 4.9.4 and 8.3.0
1.29 sthen 651: <li>GHC 8.2.2
652: <li>GNOME 3.30.2.1
1.34 sthen 653: <li>Go 1.12.1
1.29 sthen 654: <li>Groff 1.22.4
1.53 sthen 655: <li>JDK 8u202 and 11.0.2+9-3
1.29 sthen 656: <li>LLVM/Clang 7.0.1
1.34 sthen 657: <li>LibreOffice 6.2.2.2
1.29 sthen 658: <li>Lua 5.1.5, 5.2.4 and 5.3.5
659: <li>MariaDB 10.0.38
1.47 thfr 660: <li>Mono 5.18.1.0
1.42 sthen 661: <li>Mozilla Firefox 66.0.2 and ESR 60.6.1
1.39 sthen 662: <li>Mozilla Thunderbird 60.6.1
1.32 sthen 663: <li>Mutt 1.11.4 and NeoMutt 20180716
1.29 sthen 664: <li>Node.js 10.15.0
665: <li>OCaml 4.07.1
666: <li>OpenLDAP 2.3.43 and 2.4.47
1.78 lteo 667: <li>PHP 7.1.28, 7.2.17 and 7.3.4
1.42 sthen 668: <li>Postfix 3.3.3 and 3.4.20190106
1.29 sthen 669: <li>PostgreSQL 11.2
1.53 sthen 670: <li>Python 2.7.16 and 3.6.8
1.34 sthen 671: <li>R 3.5.3
1.50 kirby 672: <li>Ruby 2.4.6, 2.5.5 and 2.6.2
1.32 sthen 673: <li>Rust 1.33.0
1.29 sthen 674: <li>Sendmail 8.16.0.41
1.34 sthen 675: <li>SQLite3 3.27.2
1.29 sthen 676: <li>Sudo 1.8.27
1.34 sthen 677: <li>Suricata 4.1.3
1.29 sthen 678: <li>Tcl/Tk 8.5.19 and 8.6.8
679: <li>TeX Live 2018
1.42 sthen 680: <li>Vim 8.1.1048 and Neovim 0.3.4
1.29 sthen 681: <li>Xfce 4.12
1.96 bentley 682: </ul>
1.1 beck 683: <p>
684:
685: <li>As usual, steady improvements in manual pages and other documentation.
686: <p>
687:
688: <li>The system includes the following major components from outside suppliers:
1.36 jsg 689: <ul>
690: <li>Xenocara (based on X.Org 7.7 with xserver 1.19.7 + patches,
1.40 matthieu 691: freetype 2.9.1, fontconfig 2.12.4, Mesa 18.3.5, xterm 344,
1.36 jsg 692: xkeyboard-config 2.20 and more)
693: <li>LLVM/Clang 7.0.1 (+ patches)
694: <li>GCC 4.2.1 (+ patches) and 3.3.6 (+ patches)
695: <li>Perl 5.28.1 (+ patches)
1.55 florian 696: <li>NSD 4.1.27
697: <li>Unbound 1.9.1
1.36 jsg 698: <li>Ncurses 5.7
699: <li>Binutils 2.17 (+ patches)
700: <li>Gdb 6.3 (+ patches)
701: <li>Awk Aug 10, 2011 version
702: <li>Expat 2.2.6
703: </ul>
1.1 beck 704: </ul>
1.96 bentley 705: </section>
1.1 beck 706:
707: <hr>
708:
1.96 bentley 709: <section id=install>
710: <h3>How to install</h3>
1.97 ! deraadt 711: <p>
1.1 beck 712: Please refer to the following files on the mirror site for
713: extensive details on how to install OpenBSD 6.5 on your machine:
714:
715: <ul>
716: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/6.5/alpha/INSTALL.alpha">
717: .../OpenBSD/6.5/alpha/INSTALL.alpha</a>
718: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/6.5/amd64/INSTALL.amd64">
719: .../OpenBSD/6.5/amd64/INSTALL.amd64</a>
720: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/6.5/arm64/INSTALL.arm64">
721: .../OpenBSD/6.5/arm64/INSTALL.arm64</a>
722: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/6.5/armv7/INSTALL.armv7">
723: .../OpenBSD/6.5/armv7/INSTALL.armv7</a>
724: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/6.5/hppa/INSTALL.hppa">
725: .../OpenBSD/6.5/hppa/INSTALL.hppa</a>
726: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/6.5/i386/INSTALL.i386">
727: .../OpenBSD/6.5/i386/INSTALL.i386</a>
728: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/6.5/landisk/INSTALL.landisk">
729: .../OpenBSD/6.5/landisk/INSTALL.landisk</a>
730: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/6.5/loongson/INSTALL.loongson">
731: .../OpenBSD/6.5/loongson/INSTALL.loongson</a>
732: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/6.5/luna88k/INSTALL.luna88k">
733: .../OpenBSD/6.5/luna88k/INSTALL.luna88k</a>
734: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/6.5/macppc/INSTALL.macppc">
735: .../OpenBSD/6.5/macppc/INSTALL.macppc</a>
736: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/6.5/octeon/INSTALL.octeon">
737: .../OpenBSD/6.5/octeon/INSTALL.octeon</a>
738: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/6.5/sgi/INSTALL.sgi">
739: .../OpenBSD/6.5/sgi/INSTALL.sgi</a>
740: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/6.5/sparc64/INSTALL.sparc64">
741: .../OpenBSD/6.5/sparc64/INSTALL.sparc64</a>
742: </ul>
1.97 ! deraadt 743: </section>
1.1 beck 744:
745: <hr>
746:
1.96 bentley 747: <section id=quickinstall>
1.1 beck 748: <p>
749: Quick installer information for people familiar with OpenBSD, and the use of
750: the "<a href="https://man.openbsd.org/disklabel.8">disklabel</a> -E" command.
751: If you are at all confused when installing OpenBSD, read the relevant
752: INSTALL.* file as listed above!
753:
1.96 bentley 754: <h3>OpenBSD/alpha:</h3>
1.1 beck 755:
1.96 bentley 756: <p>
1.2 beck 757: Write <i>floppy65.fs</i> or <i>floppyB65.fs</i> (depending on your machine)
1.1 beck 758: to a diskette and enter <i>boot dva0</i>.
759: Refer to INSTALL.alpha for more details.
1.96 bentley 760:
1.1 beck 761: <p>
762: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install
763: will most likely fail.
764:
1.96 bentley 765: <h3>OpenBSD/amd64:</h3>
1.1 beck 766:
1.96 bentley 767: <p>
1.2 beck 768: If your machine can boot from CD, you can write <i>install65.iso</i> or
769: <i>cd65.iso</i> to a CD and boot from it.
1.1 beck 770: You may need to adjust your BIOS options first.
1.96 bentley 771:
1.1 beck 772: <p>
1.2 beck 773: If your machine can boot from USB, you can write <i>install65.fs</i> or
774: <i>miniroot65.fs</i> to a USB stick and boot from it.
1.96 bentley 775:
1.1 beck 776: <p>
777: If you can't boot from a CD, floppy disk, or USB,
778: you can install across the network using PXE as described in the included
779: INSTALL.amd64 document.
1.96 bentley 780:
1.1 beck 781: <p>
782: If you are planning to dual boot OpenBSD with another OS, you will need to
783: read INSTALL.amd64.
784:
1.96 bentley 785: <h3>OpenBSD/arm64:</h3>
1.1 beck 786:
1.96 bentley 787: <p>
1.2 beck 788: Write <i>miniroot65.fs</i> to a disk and boot from it after connecting
1.1 beck 789: to the serial console. Refer to INSTALL.arm64 for more details.
790:
1.96 bentley 791: <h3>OpenBSD/armv7:</h3>
1.1 beck 792:
1.96 bentley 793: <p>
1.1 beck 794: Write a system specific miniroot to an SD card and boot from it after connecting
795: to the serial console. Refer to INSTALL.armv7 for more details.
796:
1.96 bentley 797: <h3>OpenBSD/hppa:</h3>
1.1 beck 798:
1.96 bentley 799: <p>
1.1 beck 800: Boot over the network by following the instructions in INSTALL.hppa or the
801: <a href="hppa.html#install">hppa platform page</a>.
802:
1.96 bentley 803: <h3>OpenBSD/i386:</h3>
1.1 beck 804:
1.96 bentley 805: <p>
1.2 beck 806: If your machine can boot from CD, you can write <i>install65.iso</i> or
807: <i>cd65.iso</i> to a CD and boot from it.
1.1 beck 808: You may need to adjust your BIOS options first.
1.96 bentley 809:
1.1 beck 810: <p>
1.2 beck 811: If your machine can boot from USB, you can write <i>install65.fs</i> or
812: <i>miniroot65.fs</i> to a USB stick and boot from it.
1.96 bentley 813:
1.1 beck 814: <p>
815: If you can't boot from a CD, floppy disk, or USB,
816: you can install across the network using PXE as described in
817: the included INSTALL.i386 document.
1.96 bentley 818:
1.1 beck 819: <p>
820: If you are planning on dual booting OpenBSD with another OS, you will need to
821: read INSTALL.i386.
822:
1.96 bentley 823: <h3>OpenBSD/landisk:</h3>
1.1 beck 824:
1.96 bentley 825: <p>
1.2 beck 826: Write <i>miniroot65.fs</i> to the start of the CF
1.1 beck 827: or disk, and boot normally.
828:
1.96 bentley 829: <h3>OpenBSD/loongson:</h3>
1.1 beck 830:
1.96 bentley 831: <p>
1.2 beck 832: Write <i>miniroot65.fs</i> to a USB stick and boot bsd.rd from it
1.1 beck 833: or boot bsd.rd via tftp.
834: Refer to the instructions in INSTALL.loongson for more details.
835:
1.96 bentley 836: <h3>OpenBSD/luna88k:</h3>
1.1 beck 837:
1.96 bentley 838: <p>
839: Copy 'boot' and 'bsd.rd' to a Mach or UniOS partition, and boot the bootloader
1.1 beck 840: from the PROM, and then bsd.rd from the bootloader.
841: Refer to the instructions in INSTALL.luna88k for more details.
842:
1.96 bentley 843: <h3>OpenBSD/macppc:</h3>
1.1 beck 844:
1.96 bentley 845: <p>
1.1 beck 846: Burn the image from a mirror site to a CDROM, and power on your machine
847: while holding down the <i>C</i> key until the display turns on and
848: shows <i>OpenBSD/macppc boot</i>.
1.96 bentley 849:
1.1 beck 850: <p>
851: Alternatively, at the Open Firmware prompt, enter <i>boot cd:,ofwboot
852: /6.5/macppc/bsd.rd</i>
853:
1.96 bentley 854: <h3>OpenBSD/octeon:</h3>
1.1 beck 855:
1.96 bentley 856: <p>
1.1 beck 857: After connecting a serial port, boot bsd.rd over the network via DHCP/tftp.
858: Refer to the instructions in INSTALL.octeon for more details.
859:
1.96 bentley 860: <h3>OpenBSD/sgi:</h3>
1.1 beck 861:
1.96 bentley 862: <p>
1.2 beck 863: To install, burn cd65.iso on a CD-R, put it in the CD drive of your
1.1 beck 864: machine and select <i>Install System Software</i> from the System Maintenance
865: menu. Indigo/Indy/Indigo2 (R4000) systems will not boot automatically from
866: CD-ROM, and need a proper invocation from the PROM prompt.
867: Refer to the instructions in INSTALL.sgi for more details.
868:
869: <p>
870: If your machine doesn't have a CD drive, you can setup a DHCP/tftp network
871: server, and boot using "bootp()/bsd.rd.IP##" using the kernel matching your
872: system type. Refer to the instructions in INSTALL.sgi for more details.
873:
1.96 bentley 874: <h3>OpenBSD/sparc64:</h3>
1.1 beck 875:
1.96 bentley 876: <p>
1.1 beck 877: Burn the image from a mirror site to a CDROM, boot from it, and type
878: <i>boot cdrom</i>.
1.96 bentley 879:
1.1 beck 880: <p>
881: If this doesn't work, or if you don't have a CDROM drive, you can write
1.2 beck 882: <i>floppy65.fs</i> or <i>floppyB65.fs</i>
1.1 beck 883: (depending on your machine) to a floppy and boot it with <i>boot
884: floppy</i>. Refer to INSTALL.sparc64 for details.
1.96 bentley 885:
1.1 beck 886: <p>
887: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install
888: will most likely fail.
1.96 bentley 889:
1.1 beck 890: <p>
1.2 beck 891: You can also write <i>miniroot65.fs</i> to the swap partition on
1.1 beck 892: the disk and boot with <i>boot disk:b</i>.
1.96 bentley 893:
1.1 beck 894: <p>
895: If nothing works, you can boot over the network as described in INSTALL.sparc64.
1.96 bentley 896: </section>
1.1 beck 897:
898: <hr>
899:
1.96 bentley 900: <section id=upgrade>
901: <h3>How to upgrade</h3>
902: <p>
1.1 beck 903: If you already have an OpenBSD 6.4 system, and do not want to reinstall,
904: upgrade instructions and advice can be found in the
1.2 beck 905: <a href="faq/upgrade65.html">Upgrade Guide</a>.
1.96 bentley 906: </section>
1.1 beck 907:
908: <hr>
909:
1.96 bentley 910: <section id=sourcecode>
911: <h3>Notes about the source code</h3>
912: <p>
913: <code>src.tar.gz</code> contains a source archive starting at <code>/usr/src</code>.
1.1 beck 914: This file contains everything you need except for the kernel sources,
915: which are in a separate archive.
916: To extract:
917:
918: <blockquote><pre>
1.96 bentley 919: # <kbd>mkdir -p /usr/src</kbd>
920: # <kbd>cd /usr/src</kbd>
921: # <kbd>tar xvfz /tmp/src.tar.gz</kbd>
1.1 beck 922: </pre></blockquote>
923:
1.96 bentley 924: <p>
925: <code>sys.tar.gz</code> contains a source archive starting at <code>/usr/src/sys</code>.
1.1 beck 926: This file contains all the kernel sources you need to rebuild kernels.
927: To extract:
928:
929: <blockquote><pre>
1.96 bentley 930: # <kbd>mkdir -p /usr/src/sys</kbd>
931: # <kbd>cd /usr/src</kbd>
932: # <kbd>tar xvfz /tmp/sys.tar.gz</kbd>
1.1 beck 933: </pre></blockquote>
934:
1.96 bentley 935: <p>
1.1 beck 936: Both of these trees are a regular CVS checkout. Using these trees it
937: is possible to get a head-start on using the anoncvs servers as
938: described <a href="anoncvs.html">here</a>.
939: Using these files
940: results in a much faster initial CVS update than you could expect from
941: a fresh checkout of the full OpenBSD source tree.
1.96 bentley 942: </section>
1.1 beck 943:
944: <hr>
945:
1.96 bentley 946: <section id=ports>
947: <h3>Ports Tree</h3>
948: <p>
1.1 beck 949: A ports tree archive is also provided. To extract:
950:
951: <blockquote><pre>
1.96 bentley 952: # <kbd>cd /usr</kbd>
953: # <kbd>tar xvfz /tmp/ports.tar.gz</kbd>
1.1 beck 954: </pre></blockquote>
955:
1.96 bentley 956: <p>
1.1 beck 957: Go read the <a href="faq/ports/index.html">ports</a> page
958: if you know nothing about ports
959: at this point. This text is not a manual of how to use ports.
960: Rather, it is a set of notes meant to kickstart the user on the
961: OpenBSD ports system.
962: <p>
963: The <i>ports/</i> directory represents a CVS checkout of our ports.
964: As with our complete source tree, our ports tree is available via
965: <a href="anoncvs.html">AnonCVS</a>.
966: So, in order to keep up to date with the -stable branch, you must make
967: the <i>ports/</i> tree available on a read-write medium and update the tree
968: with a command like:
969:
970: <blockquote><pre>
1.96 bentley 971: # <kbd>cd /usr/ports</kbd>
972: # <kbd>cvs -d anoncvs@server.openbsd.org:/cvs update -Pd -rOPENBSD_6_5</kbd>
1.1 beck 973: </pre></blockquote>
974:
1.96 bentley 975: <p>
1.1 beck 976: [Of course, you must replace the server name here with a nearby anoncvs
977: server.]
978: <p>
979: Note that most ports are available as packages on our mirrors. Updated
980: ports for the 6.5 release will be made available if problems arise.
981: <p>
982: If you're interested in seeing a port added, would like to help out, or just
983: would like to know more, the mailing list
984: <a href="mail.html">ports@openbsd.org</a> is a good place to know.
1.96 bentley 985: </section>