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