Annotation of www/62.html, Revision 1.52
1.1 deraadt 1: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2: <html>
3: <head>
4: <title>OpenBSD 6.2</title>
5: <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
6: <meta name="description" content="OpenBSD 6.2">
7: <meta name="copyright" content="This document copyright 2017 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/62.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>
18: <font color="#e00000">6.2</font>
19: </h2>
20:
21: <a href="images/XXX.gif">
22: <img align="left" width="227" height="343" hspace="24" src="images/XXX.gif"></a>
23: Released October 15, 2017<br>
24: Copyright 1997-2017, Theo de Raadt.<br>
25: <br>
26: <br>
27: 6.2 Song:
1.50 deraadt 28: <a href="lyrics.html#62">coming in December</a>.
1.1 deraadt 29:
30: <br>
31: <ul>
32: <li>See the information on <a href="ftp.html">the FTP page</a> for
33: a list of mirror machines.
34: <li>Go to the <font color="#e00000">pub/OpenBSD/6.2/</font> directory on
35: one of the mirror sites.
36: <li>Have a look at <a href="errata62.html">the 6.2 errata page</a> for a list
37: of bugs and workarounds.
38: <li>See a <a href="plus62.html">detailed log of changes</a> between the
39: 6.1 and 6.2 releases.
40: <p>
41: <li><a href="https://man.openbsd.org/signify.1">signify(1)</a>
42: pubkeys for this release:<br>
43: <pre>
44: base: RWRVWzAMgtyg7g27STK1h1xA6RIwtjex6Vr5Y9q5SC5q5+b0GN4lLhfu
45: fw: RWSbA8C2TPUQLi48EqHtg7Rx7KGDt6E/2d8OeJinGZPbpoqGRxA0N2oW
46: pkg: RWRvEq+UPCq0VGI9ar7VMy+HYKDrOb4WS5JLhdUBiX3qvJgPQjyZSTxI
47: </pre>
48: <p>
49: All applicable copyrights and credits are in the src.tar.gz,
50: sys.tar.gz, xenocara.tar.gz, ports.tar.gz files, or in the
51: files fetched via ports.tar.gz.
52: </ul>
53: <br clear=all>
54:
55: <hr>
56:
57: <h3 id="new"><font color="#0000e0">What's New</font></h3>
58:
59: This is a partial list of new features and systems included in OpenBSD 6.2.
60: For a comprehensive list, see the <a href="plus62.html">changelog</a> leading
61: to 6.2.
62:
63: <ul>
64: <li>New/extended platforms:
65: <ul>
1.26 brynet 66: <li>The <a href="https://www.openbsd.org/i386.html">i386</a> and
67: <a href="https://www.openbsd.org/amd64.html">amd64</a>
68: platforms have switched to using
69: <a href="https://man.openbsd.org/clang-local.1">clang(1)</a>
70: as the base system compiler.
1.1 deraadt 71: <li>...
72: </ul>
73: <p>
74:
75: <li>Improved hardware support, including:
76: <ul>
1.12 stsp 77: <li>arm: New <a href="https://man.openbsd.org/rkgrf.4">rkgrf(4)</a> driver for the Rockchip RK3399/RK3288 register file.
78: <li>arm: New <a href="https://man.openbsd.org/rkclock.4">rkclock(4)</a> driver for Rockchip RK3399/RK3288 clocks.
79: <li>arm: New <a href="https://man.openbsd.org/rkpinctrl.4">rkpinctrl(4)</a> driver for controlling Rockchip RK3399/RK3288 pins.
80: <li>arm: New <a href="https://man.openbsd.org/rkpgpio.4">rkpgpio(4)</a> driver for Rockchip RK3399 GPIO.
81: <li>arm: New <a href="https://man.openbsd.org/rkgtemp.4">rkptemp(4)</a> driver for Rockchip RK3399 temperature sensors.
82: <li>arm: New <a href="https://man.openbsd.org/rkiic.4">rkiic(4)</a> driver for Rockchip RK3399 I2C controllers.
83: <li>arm: New <a href="https://man.openbsd.org/rkpmic.4">rkpmic(4)</a> driver for the RK808 Power Management IC.
84: <li>arm: New <a href="https://man.openbsd.org/dwmmc.4">dwmmc(4)</a> driver for Synopsis Designware SD/MMC controllers.
85: <li>arm: New <a href="https://man.openbsd.org/dwdog.4">dwdog(4)</a> driver for the Synopsys Designware watchdog timer.
86: <li>arm: New <a href="https://man.openbsd.org/dwxe.4">dwxe(4)</a> driver for the Synopsys Designware Ethernet controller.
1.38 jca 87: <li>arm: New <a href="https://man.openbsd.org/sxitwi.4">sxitwi(4)</a> driver for the two-wire bus on Allwinner SoCs.
1.12 stsp 88: <li>arm: New <a href="https://man.openbsd.org/axppmic.4">axppmic(4)</a> driver for the AXP209 I2C PMIC.
89: <li>arm: New <a href="https://man.openbsd.org/bcmaux.4">bcmaux(4)</a> driver for clocks and interrupts on the auxilliary UART on BCM2835 devices.
90: <li>arm: New <a href="https://man.openbsd.org/mvpinctrl.4">mvpinctrl(4)</a> driver to configure pins on Marvell SoCs (Armada 388).
91: <li>arm: New <a href="https://man.openbsd.org/mvneta.4">mvneta(4)</a> driver the Ethernet controller on the Armada 38x series.
1.17 ians 92: <li>arm: New <a href="https://man.openbsd.org/amdisplay.4">amdisplay(4) & nxphdmi(4)</a> drivers for the Texas Instruments AM335x LCD controller.
1.43 visa 93: <li>octeon: New <a href="https://man.openbsd.org/octeon/octcib.4">octcib(4)</a> driver for the interrupt bus widget on CN70xx/CN71xx.
94: <li>octeon: New <a href="https://man.openbsd.org/octeon/octcit.4">octcit(4)</a> driver for the central interrupt unit version 3 on CN72xx/CN73xx/CN77xx/CN78xx.
1.5 stsp 95: <li>octeon: New <a href="https://man.openbsd.org/octeon/octsctl.4">octsctl(4)</a> driver for the OCTEON SATA controller bridge.
96: <li>octeon: New <a href="https://man.openbsd.org/octeon/octxctl.4">octxctl(4)</a> driver for the OCTEON USB3 controller bridge.
1.48 visa 97: <li>octeon: Rhino Labs Inc. SDNA Shasta, and Ubiquiti Networks EdgeRouter 4 and 6 are now supported.
1.5 stsp 98: <li>New <a href="https://man.openbsd.org/hvs.4">hvs(4)</a> driver for Hyper-V storage.
99: <li>New <a href="https://man.openbsd.org/pcxrtc.4">pcxrtc(4)</a> driver for the NXP PCF8563 Real Time Clock.
100: <li>New <a href="https://man.openbsd.org/urng.4">urng(4)</a> driver for USB random number generator devices.
101: <li>Intel 8265 and 3168 support was added to the <a href="https://man.openbsd.org/iwm.4">iwm(4)</a> driver.
102: <li>RTL8192CE support was added to the <a href="https://man.openbsd.org/rtwn.4">rtwn(4)</a> driver.
103: <li>RT5360 support was added to the <a href="https://man.openbsd.org/ral.4">ral(4)</a> driver.
104: <li>RTS525A support was added to the <a href="https://man.openbsd.org/rtsx.4">rtsx(4)</a> driver.
105: <li>The <a href="https://man.openbsd.org/acpibat.4">acpibat(4)</a> driver now supports _BIX entries from ACPI 4.0.
106: <li>ACPI hibernate support was added to the <a href="https://man.openbsd.org/nvme.4">nvme(4)</a> driver.
107: <li>Substantially improved ACPI hibernate performance in the <a href="https://man.openbsd.org/ahci.4">ahci(4)</a> driver.
1.16 mikeb 108: <li>The <a href="https://man.openbsd.org/inteldrm.4">inteldrm(4)</a> driver was updated to code based on Linux 4.4.70. It now supports Skylake, Kaby Lake, and Cherryview devices and has better support for Broadwell and Valleyview devices.
1.28 sthen 109: <li>The <a href="https://man.openbsd.org/puc.4">puc(4)</a> driver now supports ASIX AX99100 devices.
1.16 mikeb 110: <li>Xen platform support and the <a href="https://man.openbsd.org/xbf.4">xbf(4)</a> driver in particular have been substantially improved.
1.42 krw 111: <li><a href="https://man.openbsd.org/nvme.4">nvme(4)</a> driver now reports correct last sector address to scsi, allowing valid GPT to be created.
1.1 deraadt 112: <li>...
113: </ul>
114:
115: <p>
1.36 pd 116: <li><a href="https://man.openbsd.org/amd64/vmm.4">vmm(4)</a>/
117: <a href="https://man.openbsd.org/amd64/vmd.8">vmd(8)</a> improvements:
1.1 deraadt 118: <ul>
1.46 mlarkin 119: <li><a href="https://man.openbsd.org/amd64/vmctl.8">vmctl(8)</a> supports paused VM migration and memory snapshotting using send and receive commands.
120: <li>VPID/ASID reuse/rollover in <a href="https://man.openbsd.org/amd64/vmm.4">vmm(4)</a>.
121: <li>SGABIOS imported as an option ROM payload in SeaBIOS (for VGA to serial console redirection.)
122: <li><a href="https://man.openbsd.org/amd64/vmd.8">vmd(8)</a> resets the guest VM RTC (real time clock) on host resume from suspend/hibernate (OpenBSD guests only.)
123: <li>Allow guest VMs access to AVX/AVX2 host CPU features
124: <li>Support for AMD SVM/RVI hosts
125: <li>Allow larger guest VM memory sizes (up to MAXDSIZ sized guests - eg, 32GB on amd64 hosts)
126: <li>Better handling of guest VM MONITOR/MWAIT and HLT instructions
127: <li>Various device emulation improvements in <a href="https://man.openbsd.org/amd64/vmd.8">vmd(8)</a>.
128: <li>Increase the <a href="https://man.openbsd.org/virtio.4">virtio(4)</a> queue size provided by <a href="https://man.openbsd.org/amd64/vmd.8">vmd(8)</a> from 64 to 128 entries, to increase performance.
129: <li>Many fixes to <a href="https://man.openbsd.org/amd64/vmctl.8">vmctl(8)</a> and <a href="https://man.openbsd.org/amd64/vmd.8">vmd(8)</a> error handling.
1.1 deraadt 130: </ul>
131: <p>
132:
133: <li>IEEE 802.11 wireless stack improvements:
134: <ul>
1.8 stsp 135: <li>MiRA 802.11n TX rate scaling now supports devices with unequal numbers of Tx and Rx streams. Fixes 11n mode for some <a href="https://man.openbsd.org/athn.8">athn(8)</a> devices.
136: <li>The <a href="https://man.openbsd.org/iwn.8">iwn(8)</a> and <a href="https://man.openbsd.org/iwm.8">iwm(8)</a> drivers will now start scanning for a new access point if they no longer receive beacons from their current AP.
137: <li>Prefer the 5GHz band over the 2GHz band during access point selection.
138: <li>Improved debug output in <a href="https://man.openbsd.org/dmesg.8">dmesg(8)</a> when a wireless interface is put into debug mode with <a href="https://man.openbsd.org/ifconfig.8">ifconfig(8)</a>.
1.1 deraadt 139: </ul>
140: <p>
141:
142: <li>Generic network stack improvements:
143: <ul>
1.20 mpi 144: <li> Incoming and forwarded IP packets are now processed without
145: KERNEL_LOCK, resulting in better performances and reduced latency
1.4 florian 146: <li> The kernel no longer handles IPv6 Stateless Address
147: Autoconfiguration (RFC 4862), allowing cleanup and simplification
148: of the IPv6 network stack.
149: <li> The kernel sends IPv6 router solicitations for link local addresses
150: with a link local source address.
1.16 mikeb 151: <li> FQ-CoDel algorithm has been implemented for use with <a
152: href="https://man.openbsd.org/pf.conf#QUEUEING">pf(4) queueing</a>.
1.31 bluhm 153: <li>Improve IPv6 checks for IPsec policies and make them consistent
154: with IPv4.
155: <li>Refactor local IP delivery to process IPsec packets in a flow.
156: Avoid that they are enqueued a second time.
157: <li><a href="https://man.openbsd.org/pf.4">pf(4)</a>
158: looks into AH packets and matches on the inner protocol.
159: This makes IPv4 authentication headers work like IPv6.
160: <li>The length of extension header chains in pf(4) is limited.
161: This prevents spending excessive cpu time on crafted packets.
162: <li>Block IPv6 packets in pf(4) that have hop-by-hop options
163: header or destination options header.
164: Such packets can be passed by adding "allow-opts" to the
165: rule.
166: So IPv6 options are handled like their counterpart in IPv4
167: now.
1.38 jca 168: <li>If the IPv4 ID gets reused too fast, pf(4) fragment reassembly
1.31 bluhm 169: uses a smarter strategy to drop packets.
1.52 ! dlg 170: <li>Enable the use of per-CPU caches on the network packet allocators
1.1 deraadt 171: <li>...
172: </ul>
173: <p>
174:
175: <li>Installer improvements:
176: <ul>
1.4 florian 177: <li> The installer now uses the Allotment Routing Table (ART).
1.7 rpe 178: <li> A unique kernel is now created by the installer to boot from after install/upgrade.
179: <li> On release installs of architectures supported by syspatch "syspatch -c" is added to rc.firsttime.
180: <li> Backwards compatibility code to support the 'rtsol' keyword in hostname.if(5) has been removed.
181: <li> The install.site and upgrade.site scripts are now executed at the end of the install/upgrade process.
182: <li> More detailed information is shown to identify disks.
183: <li> The IPv6 default router selection has been fixed.
1.45 tb 184: <li> On the amd64 platform, the AES-NI is used if present.
1.1 deraadt 185: <li>...
186: </ul>
187: <p>
188:
189: <li>Routing daemons and other userland network improvements:
190: <ul>
1.4 florian 191: <li> A new daemon, <a
1.31 bluhm 192: href="https://man.openbsd.org/slaacd.8">slaacd(8)</a> handles IPv6
1.4 florian 193: Stateless Address Autoconfiguration (RFC 4862).
1.31 bluhm 194: <li> <a href="https://man.openbsd.org/rtadvd.8">rtadvd(8)</a> now supports
1.4 florian 195: "Reducing Energy Consumption of Router Advertisements" (RFC 7772).
1.37 jca 196: <li><a href="https://man.openbsd.org/rtadvd.8">rtadvd(8)</a> has
197: been fixed to quickly handle IPv6 prefixes changes on the system.
1.31 bluhm 198: <li><a href="https://man.openbsd.org/ipsecctl.8">ipsecctl(8)</a>
199: can show SA bundles now.
200: The keyword "bundle" allows to create them explicitly.
201: This avoids confusion as they were used implicitly before.
202: <li><a href="https://man.openbsd.org/nc.1">nc(1)</a>
203: has got the option -W "recvlimit" to terminate netcat after
204: receiving a number of packets.
205: This allows to send a UDP request, receive a reply and check
206: the result on the command line.
207: <li>Fix a bunch of races in
208: <a href="https://man.openbsd.org/relayd.8">relayd(8)</a>
209: expecially in HTTP chunked mode.
1.37 jca 210: <li><a href="https://man.openbsd.org/ndp.8">ndp(8)</a> shows the
211: relevant NDP information when run in a non-default routing
212: domain.
1.40 jca 213: <li><a href="https://man.openbsd.org/ifstated.8">ifstated(8)</a> now
214: copes with interface departures/arrivals.
1.51 benno 215: <li><a href="https://man.openbsd.org/bgpd.8">bgpd(8)</a> can now
216: be started multiple times in different
217: <a href="https://man.openbsd.org/rdomain.4">routing domains</a>,
218: this provides virtual router functionality.
1.1 deraadt 219: <li>...
220: </ul>
221: <p>
222:
223: <li>Security improvements:
224: <ul>
1.9 otto 225: <li>A new function
226: <a href="https://man.openbsd.org/freezero.3">freezero(3)</a>
227: to easily clear and free memory holding sensitive data has been added.
228: <li>Double free detection has been improved when the F
229: <a href="https://man.openbsd.org/malloc.3">malloc(3)</a> option is used.
230: The existing S option now includes F.
1.24 anton 231: <li>The <a href="https://man.openbsd.org/tty.4#TIOCSTI">TIOCSTI</a>
1.19 deraadt 232: tty ioctl has been removed. The I/O-loops in the last two consumers
1.24 anton 233: <a href="https://man.openbsd.org/csh.1">csh(1)</a> and
234: <a href="https://man.openbsd.org/mail.1">mail(1)</a>
1.19 deraadt 235: were rewritten to cope with the removal.
1.29 brynet 236: <li>Trapsleds, a new mitigation that significantly reduces the amount of
1.30 brynet 237: nops in the instruction stream, converting them to traps, making it
238: harder to target potential gadgets.
1.29 brynet 239: <li>Kernel Address Randomized Link (KARL), a new "link-kit" allows the .o
240: files of the kernel to be relinked in a random order, creating a unique
241: kernel for each boot.
242: <li>Like with libc previously,
243: <a href="https://man.openbsd.org/rc.8">rc(8)</a> re-links libcrypto on
244: startup, placing the objects in a random order.
245: <li>In addition to libcrypto, to deter code reuse exploits,
246: <a href="https://man.openbsd.org/rc.8">rc(8)</a> re-links
247: <a href="https://man.openbsd.org/ld.so.1">ld.so</a> on
248: startup, placing the objects in a random order.
1.31 bluhm 249: <li>If process accounting is activated with
250: <a href="https://man.openbsd.org/accton.8">accton(8)</a>,
251: the daily mail shows pledge violations and program crashes.
252: <a href="https://man.openbsd.org/lastcomm.8">lastcomm(8)</a>
253: uses the flags P and T for such processes.
1.34 brynet 254: <li><a href="https://man.openbsd.org/pflogd.8">pflogd(8)</a> uses the
255: fork+exec model.
256: <li><a href="https://man.openbsd.org/tcpdump.8">tcpdump(8)</a> uses the
257: fork+exec model.
1.39 jca 258: <li><a href="https://man.openbsd.org/ifstated.8">ifstated(8)</a>
259: uses <a href="https://man.openbsd.org/pledge.2">pledge(2)</a>.
260: <li><a href="https://man.openbsd.org/snmpd.8">snmpd(8)</a> and
261: <a href="https://man.openbsd.org/snmpd.8">snmpctl(8)</a> now use
262: <a href="https://man.openbsd.org/pledge.2">pledge(2)</a>.
1.45 tb 263: <li>Tighter pledge for <a href="https://man.openbsd.org/at.1">at(1)</a>.
264: <li>Fixed and simplified pledge logic for
265: <a href="https://man.openbsd.org/nc.1">nc(1)</a>.
1.1 deraadt 266: </ul>
267: <p>
268:
1.32 krw 269: <li><a href="https://man.openbsd.org/dhcpd.8">dhcpd(8)</a>/
1.1 deraadt 270: <a href="https://man.openbsd.org/dhcrelay.8">dhcrelay(8)</a> improvements:
271: <ul>
1.32 krw 272: <li>Add support for echo-client-id statement to
1.35 krw 273: <a href="https://man.openbsd.org/dhcpd.conf.5">dhclient.conf(5)</a>.
274: <li>Take greater care to process all data read, and only data read, from the
275: <a href="https://man.openbsd.org/bpf.4">bpf(4)</a>
276: socket.
277: <li>Use /dev/bpf instead of /dev/bpf0.
278: <li>Handle DHCPINFORM messages from clients behind a DHCP relay.
279: <li>Fix handling of
280: <a href="https://man.openbsd.org/carp.4">carp(4)</a>
281: interfaces in
282: <a href="https://man.openbsd.org/dhcrelay.8">dhcrelay(8)</a>.
283: <li>Don't stop
284: <a href="https://man.openbsd.org/dhcrelay.8">dhcrelay(8)</a>
285: logging to stderr when it is started with the -d option.
1.32 krw 286: </ul>
287: <p>
288:
289: <li><a href="https://man.openbsd.org/dhclient.8">dhclient(8)</a> improvements:
290: <ul>
291: <li>Log messages reworked and clarified, in particular by prefixing
292: the name of the relevant network interface.
293: <li>Treat SSID as 0 to 32 bytes of binary data, not a string.
294: <li>Use RTM_PROPOSAL to take control of an interface rather than flipping
295: interface down and up in the hope that other
296: <a href="https://man.openbsd.org/dhclient.8">dhclient(8)</a>
297: instances notice.
298: <li>Reduce file operations needed by -L option by opening file at
299: startup and using it throughout process lifetime.
300: <li>Improve <a href="https://man.openbsd.org/resolv.conf.5">resolv.conf(5)</a>
301: handling by reducing writes and more reliably determining which interface
302: has the current default route.
303: <li>Take greater care to process all data read, and only data read, from the
304: <a href="https://man.openbsd.org/bpf.4">bpf(4)</a>
305: socket.
306: <li>Improve the determination of the link state of an interface.
307: <li>Decline inappropriate lease offers as soon as they are deemed
308: inappropriate.
309: <li>Drop support for the timestamp formats used in lease files created
310: more than four years ago.
311: <li>Accept an offer from the server that sent the first copy of
312: the offer, not the server that sent the last copy.
313: <li>Don't delete addresses and routes when exiting.
314: <li>Ensure IPv6 packets are not read from sockets.
315: <li>Don't silently ignore obsolete keywords in
316: <a href="https://man.openbsd.org/dhclient.conf.5">dhclient.conf(5)</a>
317: <li>Reduce memory footprint by shrinking oversized static buffers.
318: <li>Eliminate repeated socket opens by opening the required sockets during
319: startup.
320: <li>Fix construction of unicast UDP packets, broken in 5.6.
321: <li>Improve determination of when a renewed lease requires interface
322: configuration changes.
323: <li>Don't exit when addresses are manually added or deleted from an
324: interface.
325: <li>Don't support option 33, classfull IP addresses.
326: <li>Fix configuration of default routes supplied by classless route options.
327: <li>Consider
328: <a href="https://man.openbsd.org/dhclient.conf.5">dhclient.conf(5)</a>
329: contents when determining what MTU value to configure.
330: <li>Consider
331: <a href="https://man.openbsd.org/dhclient.conf.5">dhclient.conf(5)</a>
332: contents when creating the content of
333: <a href="https://man.openbsd.org/resolv.conf.5">resolv.conf(5)</a>.
334: <li>Delete direct routes when routes are flushed.
335: <li>Don't label routes with "DHCLIENT nnnn".
336: <li>Don't delete addresses or routes that will be immediately added back.
337: <li>Delete addresses and routes only when a renewal request is NAK'ed.
338: <li>Don't wait forever for requested information on the default route.
339: <li>Don't exit when an attempt to send a packet fails.
340: <li>Don't log a packet send when the send fails.
341: <li>Remove the -u option, broken since 2013 without complaints.
1.35 krw 342: <li>Use /dev/bpf instead of /dev/bpf0.
1.1 deraadt 343: </ul>
344: <p>
345:
346: <li>Assorted improvements:
347: <ul>
1.14 anton 348: <li>Improved UTF-8 line editing support for
1.24 anton 349: <a href="https://man.openbsd.org/ksh.1">ksh(1)</a>
1.14 anton 350: Emacs and Vi input mode.
1.22 tb 351: <li>The HISTFILE of <a href="https://man.openbsd.org/ksh.1">ksh(1)</a> now uses
352: a plain text format. Support for the
353: <a href="https://man.openbsd.org/ksh#HISTCONTROL">HISTCONTROL</a>
354: environment variable was added.
1.37 jca 355: <li>The performance of the memory deallocator used by
356: <a href="https://man.openbsd.org/ksh.1">ksh(1)</a> has been fixed.
357: <li>The <tt>emacs-usemeta</tt> <a href="https://man.openbsd.org/ksh.1">ksh(1)</a>
358: flag is no longer needed and is now deprecated.
1.41 schwarze 359: <li>New <a href="https://man.openbsd.org/futex">futex(2)</a> syscall.
360: <li>New pthread
361: <a href="https://man.openbsd.org/pthread_mutex_init">mutex</a> and
362: <a href="https://man.openbsd.org/pthread_cond_init">condition
363: variable</a> implementations improving latency
364: of threaded applications.
365: <li>New POSIX <a href="https://man.openbsd.org/newlocale.3">xlocale</a>
366: implementation written from scratch, complete in the sense that
367: all POSIX *locale(3) and *_l(3) functions are included, but in
368: OpenBSD, we of course only really care about <code>LC_CTYPE</code>
369: and we only support ASCII and UTF-8.
1.44 mpi 370: <li>New <a href="https://man.openbsd.org/ctfdump">ctfdump(1)</a> and
371: <a href="https://man.openbsd.org/ctfconv">ctfconv(1)</a>
1.41 schwarze 372: tools to manipulate CTF (Compact C Type Format).
1.31 bluhm 373: <li>The error handling in
374: <a href="https://man.openbsd.org/syslogd.8">syslogd(8)</a>
375: has been improved.
1.38 jca 376: Even if internal errors occur, the daemon tries to keep
1.31 bluhm 377: unaffected subsystems active.
378: So as many messages as possible are logged.
379: They can be filtered by severity and facility "syslog".
380: <li>syslogd(8) can now suppress "last message repeated" which is
381: useful for remote logging.
382: <li>syslogd(8) can listen on multiple TLS sockets.
383: <li>syslogd(8) closes the *.514 UDP sockets when they are not
384: needed.
385: <li>Truncate log messates at 8192 bytes everywhere.
1.37 jca 386: <li><a href="https://man.openbsd.org/newsyslog.8">newsyslog(8)</a>
387: now skips and logs invalid config lines.
1.31 bluhm 388: <li>Nested mount points are umounted in correct order.
1.33 krw 389: <li>Fix creation of
390: <a href="https://man.openbsd.org/softraid.4">softraid(4)</a>
391: CONCAT volumes.
392: <li>Include
393: <a href="https://man.openbsd.org/softraid.4">softraid(4)</a>
394: volume and backing disk information in i/o error messages.
395: <li>Make
396: <a href="https://man.openbsd.org/vioscsi.4">vioscsi(4)</a>
397: a normal
398: <a href="https://man.openbsd.org/scsi.4">scsi(4)</a>
399: device by eliminating its use of the obsolete XS_NO_CCB mechanism.
1.38 jca 400: <li>Remove last vestiges of now unused XS_NO_CCB mechanism.
1.43 visa 401: <li>Userspace can now get the address of the thread control block
402: without a system call on OCTEON II and later.
403: <li>FPU is enabled on OCTEON III.
1.44 mpi 404: <li>GENERIC kernels now include a .SUNW_ctf section containing CTF data
405: <li>New <a href="https://man.openbsd.org/ddb.4">ddb(4)</a> <tt>kill</tt>
406: command, send an uncatchable SIGABRT to a process.
407: <li>New <a href="https://man.openbsd.org/ddb.4">ddb(4)</a> <tt>pprint</tt>
408: command, using CTF information to "pretty print" global symbols.
409: <li>New <a href="https://man.openbsd.org/ddb.4">ddb(4)</a>
410: <tt>show struct</tt> command, using CTF information to display the content
411: of in memory C structures.
412: <li>x86: <a href="https://man.openbsd.org/ddb.4">ddb(4)</a> uses CTF data
413: to display the correct number of function arguments in backtraces
1.45 tb 414: <li>Power off all codecs in
415: <a href="https://man.openbsd.org/azalia.4">azalia(4)</a> to avoid static
416: noise in speakers and headphones on reboot.
1.46 mlarkin 417: <li>Fix i386 boot regression seen on very old 486DX CPUs.
1.49 visa 418: <li>New <a href="https://man.openbsd.org/witness.4">witness(4)</a> tool
419: for debugging lock order issues in the kernel.
420: The tool is not built in by default, and only amd64, hppa and i386
421: are supported.
1.52 ! dlg 422: <li><a href="https://man.openbsd.org/pool_cache_init.9">Per-CPU
! 423: caches</a> implemented in pools
1.46 mlarkin 424: </ul>
1.1 deraadt 425: <p>
426:
427: <li>OpenSMTPD X.X.X
428: <ul>
429: <li>...
430: </ul>
431: <p>
432:
433: <li>OpenSSH 7.X
434: <ul>
435: <li>Security:
436: <ul>
437: <li>...
438: </ul>
439: <li>New/changed features:
440: <ul>
1.31 bluhm 441: <li>Add RemoteCommand option to specify a command in the
442: <a href="https://man.openbsd.org/ssh.1">ssh(1)</a>
443: config file instead of giving it on the client's command
444: line.
445: The feature allows to automate tasks using ssh config.
1.1 deraadt 446: <li>...
447: </ul>
448: <li>The following significant bugs have been fixed in this release:
449: <ul>
450: <li>...
451: </ul>
452: </ul>
453: <p>
454:
455: <li>LibreSSL X.X.X
456: <ul>
457: <li>...
458: </ul>
459: <p>
460:
1.41 schwarze 461: <li>mandoc 1.14.3
1.1 deraadt 462: <ul>
1.41 schwarze 463: <li>Full <a href="https://man.openbsd.org/mandocdb.5">mandoc.db(5)</a>
464: databases are now enabled by default, allowing semantic searching
465: with <a href="https://man.openbsd.org/apropos.1">apropos(1)</a>
466: without any local configuration changes.
467: <li>Full integration of the former
468: <a href="https://cvsweb.openbsd.org/cgi-bin/cvsweb/src/regress/usr.bin/mdoclint/">mdoclint(1)</a>
469: utility into <a href="https://man.openbsd.org/mandoc.1">mandoc(1)</a>
470: <code>-Wall</code>, new <code>-Wstyle</code> and
471: <code>-Wopenbsd</code> message levels, and many new messages,
472: for example about typos in <code>.Sh</code> lines,
473: unknown <code>.Xr</code> targets, and links to self.
474: <li>Additional steps unifying the
475: <a href="https://man.openbsd.org/mdoc.7">mdoc(7)</a>,
476: <a href="https://man.openbsd.org/man.7">man(7)</a>, and
477: <a href="https://man.openbsd.org/roff.7">roff(7)</a> parsers:
478: use one common data type and
479: <a href="https://man.openbsd.org/ohash_init.3">ohash_init(3)</a>
480: for all requests and macros and support creation of syntax tree
481: nodes in the roff(7) parser, allowing support for many new
482: low-level roff(7) features.
483: Only about 25 ports still need <code>USE_GROFF</code> now.
484: <li>Many improvements to
485: <a href="https://man.openbsd.org/tbl.7">tbl(7)</a>
486: parsing and formatting,
487: including automatic line wrapping inside table columns.
488: <li>Many improvements to
489: <a href="https://man.openbsd.org/eqn.7">eqn(7)</a>
490: parsing and formatting, including better font selection,
491: recognition of well-known mathematical function names, and writing
492: of <code><mn></code> and <code><mo></code> HTML tags.
493: <li>Intelligible rendering of mathematical symbols in
494: <code>-Tascii</code> output.
495: <li>Several parsing and rendering improvements for the
496: <a href="https://man.openbsd.org/mdoc.7">mdoc(7)</a>
497: <code>.Lk</code> macro.
498: <li>Some CSS improvements in HTML output, in particular for the
499: <a href="https://man.openbsd.org/mdoc.7">mdoc(7)</a>
500: <code>.Bl</code> macro.
1.1 deraadt 501: </ul>
502: <p>
503:
504: <li>Ports and packages:
505: <dl>
1.10 espie 506: <dt>A massive amount of clang-related fixes happened between 6.1 and 6.2.
1.1 deraadt 507: <dt>Many pre-built packages for each architecture:
508: </dl>
509: <!-- number of FTP packages minus SHA256, SHA256.sig, index.txt -->
510: <table border=0 cellspacing=0 cellpadding=2 width="95%">
511: <tr>
512: <td valign="top" width="25%">
513: <ul>
514: <li>alpha: XXXX
515: <li>amd64: XXXX
516: <li>arm: XXXX
517: </ul></td><td valign=top width="25%"><ul>
518: <li>hppa: XXXX
519: <li>i386: XXXX
520: <li>mips64: XXXX
521: </ul></td><td valign=top width="25%"><ul>
522: <li>mips64el: XXXX
523: <li>powerpc: XXXX
524: <li>sparc64: XXXX
525: </ul></td></tr></table>
526: <p>
527:
528: <dl>
529: <dt>Some highlights:
530: </dl>
531: <table border=0 cellspacing=0 cellpadding=2 width="95%">
532: <tr>
533: <td valign="top" width="50%"><ul>
1.3 jasper 534: <li>AFL 2.51b
1.47 dcoppa 535: <li>CMake 3.9.3
1.3 jasper 536: <li>Chromium 61.0.3163.100
537: <li>Emacs 21.4 and 25.3
1.1 deraadt 538: <li>GCC 4.9.4
539: <li>GHC 7.10.3
1.3 jasper 540: <li>Gimp 2.8.22
541: <li>GNOME 3.24.2
542: <li>Go 1.9
1.1 deraadt 543: <li>Groff 1.22.3
1.3 jasper 544: <li>JDK 8u144
1.18 lteo 545: <li>KDE 3.5.10 and 4.14.3 (plus KDE4 core updates)
1.3 jasper 546: <li>LLVM/Clang 5.0.0
547: <li>LibreOffice 5.2.7.2
1.1 deraadt 548: <li>Lua 5.1.5, 5.2.4, and 5.3.4
1.3 jasper 549: <li>MariaDB 10.0.32
550: <li>Mozilla Firefox 52.4.0esr and 56.0.0
551: <li>Mozilla Thunderbird 52.2.1
1.1 deraadt 552: </ul></td><td valign=top width="50%"><ul>
1.3 jasper 553: <li>Mutt 1.9.1 and NeoMutt 20170912
554: <li>Node.js 6.11.2
1.1 deraadt 555: <li>Ocaml 4.03.0
1.3 jasper 556: <li>OpenLDAP 2.3.43 and 2.4.45
1.18 lteo 557: <li>PHP 5.6.31 and 7.0.23
1.3 jasper 558: <li>Postfix 3.2.2 and 3.3-20170910
559: <li>PostgreSQL 9.6.5
560: <li>Python 2.7.14 and 3.6.2
561: <li>R 3.4.1
562: <li>Ruby 1.8.7.374, 2.1.9, 2.2.8, 2.3.5 and 2.4.2
563: <li>Rust 1.20.0
564: <li>Sendmail 8.16.0.21
565: <li>SQLite3 3.20.1
566: <li>Sudo 1.8.21.2
567: <li>Tcl/Tk 8.5.19 and 8.6.6
568: <li>TeX Live 2016
569: <li>Vim 8.0.0987
1.1 deraadt 570: <li>Xfce 4.12
571: </ul></td></tr></table>
572: <p>
573:
574: <li>As usual, steady improvements in manual pages and other documentation.
575: <p>
576:
577: <li>The system includes the following major components from outside suppliers:
578: <ul>
1.13 matthieu 579: <li>Xenocara (based on X.Org 7.7 with xserver 1.18.4 + patches,
580: freetype 2.8.0, fontconfig 2.12.4, Mesa 13.0.6, xterm 330,
1.1 deraadt 581: xkeyboard-config 2.20 and more)
582: <li>LLVM/Clang 4.0.0 (+ patches)
583: <li>GCC 4.2.1 (+ patches) and 3.3.6 (+ patches)
1.18 lteo 584: <li>Perl 5.24.2 (+ patches)
1.2 florian 585: <li>NSD 4.1.17
586: <li>Unbound 1.6.6
1.1 deraadt 587: <li>Ncurses 5.7
588: <li>Binutils 2.17 (+ patches)
589: <li>Gdb 6.3 (+ patches)
590: <li>Awk Aug 10, 2011 version
1.31 bluhm 591: <li>Expat 2.2.4
1.1 deraadt 592: </ul>
593: </ul>
594:
595: <hr>
596:
597: <h3 id="install"><font color="#0000e0">How to install</font></h3>
598:
599: Please refer to the following files on the mirror site for
600: extensive details on how to install OpenBSD 6.2 on your machine:
601:
602: <ul>
603: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/6.2/alpha/INSTALL.alpha">
604: .../OpenBSD/6.2/alpha/INSTALL.alpha</a>
605: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/6.2/amd64/INSTALL.amd64">
606: .../OpenBSD/6.2/amd64/INSTALL.amd64</a>
607: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/6.2/arm64/INSTALL.arm64">
608: .../OpenBSD/6.2/arm64/INSTALL.arm64</a>
609: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/6.2/armv7/INSTALL.armv7">
610: .../OpenBSD/6.2/armv7/INSTALL.armv7</a>
611: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/6.2/hppa/INSTALL.hppa">
612: .../OpenBSD/6.2/hppa/INSTALL.hppa</a>
613: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/6.2/i386/INSTALL.i386">
614: .../OpenBSD/6.2/i386/INSTALL.i386</a>
615: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/6.2/landisk/INSTALL.landisk">
616: .../OpenBSD/6.2/landisk/INSTALL.landisk</a>
617: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/6.2/loongson/INSTALL.loongson">
618: .../OpenBSD/6.2/loongson/INSTALL.loongson</a>
619: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/6.2/luna88k/INSTALL.luna88k">
620: .../OpenBSD/6.2/luna88k/INSTALL.luna88k</a>
621: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/6.2/macppc/INSTALL.macppc">
622: .../OpenBSD/6.2/macppc/INSTALL.macppc</a>
623: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/6.2/octeon/INSTALL.octeon">
624: .../OpenBSD/6.2/octeon/INSTALL.octeon</a>
625: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/6.2/sgi/INSTALL.sgi">
626: .../OpenBSD/6.2/sgi/INSTALL.sgi</a>
627: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/6.2/sparc64/INSTALL.sparc64">
628: .../OpenBSD/6.2/sparc64/INSTALL.sparc64</a>
629: </ul>
630:
631: <hr>
632:
633: <p>
634: Quick installer information for people familiar with OpenBSD, and the use of
635: the "<a href="https://man.openbsd.org/disklabel.8">disklabel</a> -E" command.
636: If you are at all confused when installing OpenBSD, read the relevant
637: INSTALL.* file as listed above!
638:
639: <h3><font color="#e00000">OpenBSD/alpha:</font></h3>
640:
641: <ul style="list-style-type: none">
642: <li>
643: Write <i>floppy62.fs</i> or <i>floppyB62.fs</i> (depending on your machine)
644: to a diskette and enter <i>boot dva0</i>.
645: Refer to INSTALL.alpha for more details.
646: <p>
647: <li>
648: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install
649: will most likely fail.
650: </ul>
651:
652: <h3><font color="#e00000">OpenBSD/amd64:</font></h3>
653:
654: <ul style="list-style-type: none">
655: <li>
656: If your machine can boot from CD, you can write <i>install62.iso</i> or
657: <i>cd62.iso</i> to a CD and boot from it.
658: You may need to adjust your BIOS options first.
659: <p>
660: <li>
661: If your machine can boot from USB, you can write <i>install62.fs</i> or
662: <i>miniroot62.fs</i> to a USB stick and boot from it.
663: <p>
664: <li>
665: If you can't boot from a CD, floppy disk, or USB,
666: you can install across the network using PXE as described in the included
667: INSTALL.amd64 document.
668: <p>
669: <li>
670: If you are planning to dual boot OpenBSD with another OS, you will need to
671: read INSTALL.amd64.
672: </ul>
673:
674: <h3><font color="#e00000">OpenBSD/arm64:</font></h3>
675:
676: <ul style="list-style-type: none">
677: <li>
678: Write <i>miniroot62.fs</i> to a disk and boot from it after connecting
679: to the serial console. Refer to INSTALL.arm64 for more details.
680: <p>
681: </ul>
682:
683: <h3><font color="#e00000">OpenBSD/armv7:</font></h3>
684:
685: <ul style="list-style-type: none">
686: <li>
687: Write a system specific miniroot to an SD card and boot from it after connecting
688: to the serial console. Refer to INSTALL.armv7 for more details.
689: <p>
690: </ul>
691:
692: <h3><font color="#e00000">OpenBSD/hppa:</font></h3>
693:
694: <ul style="list-style-type: none">
695: <li>
696: Boot over the network by following the instructions in INSTALL.hppa or the
697: <a href="hppa.html#install">hppa platform page</a>.
698: </ul>
699:
700: <h3><font color="#e00000">OpenBSD/i386:</font></h3>
701:
702: <ul style="list-style-type: none">
703: <li>
704: If your machine can boot from CD, you can write <i>install62.iso</i> or
705: <i>cd62.iso</i> to a CD and boot from it.
706: You may need to adjust your BIOS options first.
707: <p>
708: <li>
709: If your machine can boot from USB, you can write <i>install62.fs</i> or
710: <i>miniroot62.fs</i> to a USB stick and boot from it.
711: <p>
712: <li>
713: If you can't boot from a CD, floppy disk, or USB,
714: you can install across the network using PXE as described in
715: the included INSTALL.i386 document.
716: <p>
717: <li>
718: If you are planning on dual booting OpenBSD with another OS, you will need to
719: read INSTALL.i386.
720: </ul>
721:
722: <h3><font color="#e00000">OpenBSD/landisk:</font></h3>
723:
724: <ul style="list-style-type: none">
725: <li>
726: Write <i>miniroot62.fs</i> to the start of the CF
727: or disk, and boot normally.
728: </ul>
729:
730: <h3><font color="#e00000">OpenBSD/loongson:</font></h3>
731:
732: <ul style="list-style-type: none">
733: <li>
734: Write <i>miniroot62.fs</i> to a USB stick and boot bsd.rd from it
735: or boot bsd.rd via tftp.
736: Refer to the instructions in INSTALL.loongson for more details.
737: </ul>
738:
739: <h3><font color="#e00000">OpenBSD/luna88k:</font></h3>
740:
741: <ul style="list-style-type: none">
742: <li>
743: Copy `boot' and `bsd.rd' to a Mach or UniOS partition, and boot the bootloader
744: from the PROM, and then bsd.rd from the bootloader.
745: Refer to the instructions in INSTALL.luna88k for more details.
746: </ul>
747:
748: <h3><font color="#e00000">OpenBSD/macppc:</font></h3>
749:
750: <ul style="list-style-type: none">
751: <li>
752: Burn the image from a mirror site to a CDROM, and power on your machine
753: while holding down the <i>C</i> key until the display turns on and
754: shows <i>OpenBSD/macppc boot</i>.
755: <p>
756: <li>
757: Alternatively, at the Open Firmware prompt, enter <i>boot cd:,ofwboot
758: /6.2/macppc/bsd.rd</i>
759: </ul>
760:
761: <h3><font color="#e00000">OpenBSD/octeon:</font></h3>
762:
763: <ul style="list-style-type: none">
764: <li>
765: After connecting a serial port, boot bsd.rd over the network via DHCP/tftp.
766: Refer to the instructions in INSTALL.octeon for more details.
767: </ul>
768:
769: <h3><font color="#e00000">OpenBSD/sgi:</font></h3>
770:
771: <ul style="list-style-type: none">
772: <li>
773: To install, burn cd62.iso on a CD-R, put it in the CD drive of your
774: machine and select <i>Install System Software</i> from the System Maintenance
775: menu. Indigo/Indy/Indigo2 (R4000) systems will not boot automatically from
776: CD-ROM, and need a proper invocation from the PROM prompt.
777: Refer to the instructions in INSTALL.sgi for more details.
778:
779: <p>
780: <li>
781: If your machine doesn't have a CD drive, you can setup a DHCP/tftp network
782: server, and boot using "bootp()/bsd.rd.IP##" using the kernel matching your
783: system type. Refer to the instructions in INSTALL.sgi for more details.
784: </ul>
785:
786: <h3><font color="#e00000">OpenBSD/sparc64:</font></h3>
787:
788: <ul style="list-style-type: none">
789: <li>
790: Burn the image from a mirror site to a CDROM, boot from it, and type
791: <i>boot cdrom</i>.
792: <p>
793: <li>
794: If this doesn't work, or if you don't have a CDROM drive, you can write
795: <i>floppy62.fs</i> or <i>floppyB62.fs</i>
796: (depending on your machine) to a floppy and boot it with <i>boot
797: floppy</i>. Refer to INSTALL.sparc64 for details.
798: <p>
799: <li>
800: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install
801: will most likely fail.
802: <p>
803: <li>
804: You can also write <i>miniroot62.fs</i> to the swap partition on
805: the disk and boot with <i>boot disk:b</i>.
806: <p>
807: <li>
808: If nothing works, you can boot over the network as described in INSTALL.sparc64.
809: </ul>
810:
811: <hr>
812:
813: <h3 id="upgrade"><font color="#0000e0">How to upgrade</font></h3>
814:
815: If you already have an OpenBSD 6.1 system, and do not want to reinstall,
816: upgrade instructions and advice can be found in the
817: <a href="faq/upgrade62.html">Upgrade Guide</a>.
818: <p>
819:
820: <hr>
821:
822: <h3 id="sourcecode"><font color="#0000e0">Notes about the source code</font></h3>
823:
824: <tt>src.tar.gz</tt> contains a source archive starting at <tt>/usr/src</tt>.
825: This file contains everything you need except for the kernel sources,
826: which are in a separate archive.
827: To extract:
828:
829: <blockquote><pre>
830: # <b>mkdir -p /usr/src</b>
831: # <b>cd /usr/src</b>
832: # <b>tar xvfz /tmp/src.tar.gz</b>
833: </pre></blockquote>
834:
835: <tt>sys.tar.gz</tt> contains a source archive starting at <tt>/usr/src/sys</tt>.
836: This file contains all the kernel sources you need to rebuild kernels.
837: To extract:
838:
839: <blockquote><pre>
840: # <b>mkdir -p /usr/src/sys</b>
841: # <b>cd /usr/src</b>
842: # <b>tar xvfz /tmp/sys.tar.gz</b>
843: </pre></blockquote>
844:
845: Both of these trees are a regular CVS checkout. Using these trees it
846: is possible to get a head-start on using the anoncvs servers as
847: described <a href="anoncvs.html">here</a>.
848: Using these files
849: results in a much faster initial CVS update than you could expect from
850: a fresh checkout of the full OpenBSD source tree.
851: <p>
852:
853: <hr>
854:
855: <h3 id="ports"><font color="#0000e0">Ports Tree</font></h3>
856:
857: A ports tree archive is also provided. To extract:
858:
859: <blockquote><pre>
860: # <b>cd /usr</b>
861: # <b>tar xvfz /tmp/ports.tar.gz</b>
862: </pre></blockquote>
863:
864: Go read the <a href="faq/ports/index.html">ports</a> page
865: if you know nothing about ports
866: at this point. This text is not a manual of how to use ports.
867: Rather, it is a set of notes meant to kickstart the user on the
868: OpenBSD ports system.
869: <p>
870: The <i>ports/</i> directory represents a CVS checkout of our ports.
871: As with our complete source tree, our ports tree is available via
872: <a href="anoncvs.html">AnonCVS</a>.
873: So, in order to keep up to date with the <i>-stable</i> branch, you must make
874: the <i>ports/</i> tree available on a read-write medium and update the tree
875: with a command like:
876:
877: <blockquote><pre>
878: # <b>cd /usr/ports</b>
1.15 phessler 879: # <b>cvs -d anoncvs@server.openbsd.org:/cvs update -Pd -rOPENBSD_6_2</b>
1.1 deraadt 880: </pre></blockquote>
881:
882: [Of course, you must replace the server name here with a nearby anoncvs
883: server.]
884: <p>
885: Note that most ports are available as packages on our mirrors. Updated
886: ports for the 6.2 release will be made available if problems arise.
887: <p>
888: If you're interested in seeing a port added, would like to help out, or just
889: would like to know more, the mailing list
890: <a href="mail.html">ports@openbsd.org</a> is a good place to know.
891: <p>
892: </body>
893: </html>