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