Annotation of www/62.html, Revision 1.51
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.1 deraadt 170: <li>...
171: </ul>
172: <p>
173:
174: <li>Installer improvements:
175: <ul>
1.4 florian 176: <li> The installer now uses the Allotment Routing Table (ART).
1.7 rpe 177: <li> A unique kernel is now created by the installer to boot from after install/upgrade.
178: <li> On release installs of architectures supported by syspatch "syspatch -c" is added to rc.firsttime.
179: <li> Backwards compatibility code to support the 'rtsol' keyword in hostname.if(5) has been removed.
180: <li> The install.site and upgrade.site scripts are now executed at the end of the install/upgrade process.
181: <li> More detailed information is shown to identify disks.
182: <li> The IPv6 default router selection has been fixed.
1.45 tb 183: <li> On the amd64 platform, the AES-NI is used if present.
1.1 deraadt 184: <li>...
185: </ul>
186: <p>
187:
188: <li>Routing daemons and other userland network improvements:
189: <ul>
1.4 florian 190: <li> A new daemon, <a
1.31 bluhm 191: href="https://man.openbsd.org/slaacd.8">slaacd(8)</a> handles IPv6
1.4 florian 192: Stateless Address Autoconfiguration (RFC 4862).
1.31 bluhm 193: <li> <a href="https://man.openbsd.org/rtadvd.8">rtadvd(8)</a> now supports
1.4 florian 194: "Reducing Energy Consumption of Router Advertisements" (RFC 7772).
1.37 jca 195: <li><a href="https://man.openbsd.org/rtadvd.8">rtadvd(8)</a> has
196: been fixed to quickly handle IPv6 prefixes changes on the system.
1.31 bluhm 197: <li><a href="https://man.openbsd.org/ipsecctl.8">ipsecctl(8)</a>
198: can show SA bundles now.
199: The keyword "bundle" allows to create them explicitly.
200: This avoids confusion as they were used implicitly before.
201: <li><a href="https://man.openbsd.org/nc.1">nc(1)</a>
202: has got the option -W "recvlimit" to terminate netcat after
203: receiving a number of packets.
204: This allows to send a UDP request, receive a reply and check
205: the result on the command line.
206: <li>Fix a bunch of races in
207: <a href="https://man.openbsd.org/relayd.8">relayd(8)</a>
208: expecially in HTTP chunked mode.
1.37 jca 209: <li><a href="https://man.openbsd.org/ndp.8">ndp(8)</a> shows the
210: relevant NDP information when run in a non-default routing
211: domain.
1.40 jca 212: <li><a href="https://man.openbsd.org/ifstated.8">ifstated(8)</a> now
213: copes with interface departures/arrivals.
1.51 ! benno 214: <li><a href="https://man.openbsd.org/bgpd.8">bgpd(8)</a> can now
! 215: be started multiple times in different
! 216: <a href="https://man.openbsd.org/rdomain.4">routing domains</a>,
! 217: this provides virtual router functionality.
1.1 deraadt 218: <li>...
219: </ul>
220: <p>
221:
222: <li>Security improvements:
223: <ul>
1.9 otto 224: <li>A new function
225: <a href="https://man.openbsd.org/freezero.3">freezero(3)</a>
226: to easily clear and free memory holding sensitive data has been added.
227: <li>Double free detection has been improved when the F
228: <a href="https://man.openbsd.org/malloc.3">malloc(3)</a> option is used.
229: The existing S option now includes F.
1.24 anton 230: <li>The <a href="https://man.openbsd.org/tty.4#TIOCSTI">TIOCSTI</a>
1.19 deraadt 231: tty ioctl has been removed. The I/O-loops in the last two consumers
1.24 anton 232: <a href="https://man.openbsd.org/csh.1">csh(1)</a> and
233: <a href="https://man.openbsd.org/mail.1">mail(1)</a>
1.19 deraadt 234: were rewritten to cope with the removal.
1.29 brynet 235: <li>Trapsleds, a new mitigation that significantly reduces the amount of
1.30 brynet 236: nops in the instruction stream, converting them to traps, making it
237: harder to target potential gadgets.
1.29 brynet 238: <li>Kernel Address Randomized Link (KARL), a new "link-kit" allows the .o
239: files of the kernel to be relinked in a random order, creating a unique
240: kernel for each boot.
241: <li>Like with libc previously,
242: <a href="https://man.openbsd.org/rc.8">rc(8)</a> re-links libcrypto on
243: startup, placing the objects in a random order.
244: <li>In addition to libcrypto, to deter code reuse exploits,
245: <a href="https://man.openbsd.org/rc.8">rc(8)</a> re-links
246: <a href="https://man.openbsd.org/ld.so.1">ld.so</a> on
247: startup, placing the objects in a random order.
1.31 bluhm 248: <li>If process accounting is activated with
249: <a href="https://man.openbsd.org/accton.8">accton(8)</a>,
250: the daily mail shows pledge violations and program crashes.
251: <a href="https://man.openbsd.org/lastcomm.8">lastcomm(8)</a>
252: uses the flags P and T for such processes.
1.34 brynet 253: <li><a href="https://man.openbsd.org/pflogd.8">pflogd(8)</a> uses the
254: fork+exec model.
255: <li><a href="https://man.openbsd.org/tcpdump.8">tcpdump(8)</a> uses the
256: fork+exec model.
1.39 jca 257: <li><a href="https://man.openbsd.org/ifstated.8">ifstated(8)</a>
258: uses <a href="https://man.openbsd.org/pledge.2">pledge(2)</a>.
259: <li><a href="https://man.openbsd.org/snmpd.8">snmpd(8)</a> and
260: <a href="https://man.openbsd.org/snmpd.8">snmpctl(8)</a> now use
261: <a href="https://man.openbsd.org/pledge.2">pledge(2)</a>.
1.45 tb 262: <li>Tighter pledge for <a href="https://man.openbsd.org/at.1">at(1)</a>.
263: <li>Fixed and simplified pledge logic for
264: <a href="https://man.openbsd.org/nc.1">nc(1)</a>.
1.1 deraadt 265: </ul>
266: <p>
267:
1.32 krw 268: <li><a href="https://man.openbsd.org/dhcpd.8">dhcpd(8)</a>/
1.1 deraadt 269: <a href="https://man.openbsd.org/dhcrelay.8">dhcrelay(8)</a> improvements:
270: <ul>
1.32 krw 271: <li>Add support for echo-client-id statement to
1.35 krw 272: <a href="https://man.openbsd.org/dhcpd.conf.5">dhclient.conf(5)</a>.
273: <li>Take greater care to process all data read, and only data read, from the
274: <a href="https://man.openbsd.org/bpf.4">bpf(4)</a>
275: socket.
276: <li>Use /dev/bpf instead of /dev/bpf0.
277: <li>Handle DHCPINFORM messages from clients behind a DHCP relay.
278: <li>Fix handling of
279: <a href="https://man.openbsd.org/carp.4">carp(4)</a>
280: interfaces in
281: <a href="https://man.openbsd.org/dhcrelay.8">dhcrelay(8)</a>.
282: <li>Don't stop
283: <a href="https://man.openbsd.org/dhcrelay.8">dhcrelay(8)</a>
284: logging to stderr when it is started with the -d option.
1.32 krw 285: </ul>
286: <p>
287:
288: <li><a href="https://man.openbsd.org/dhclient.8">dhclient(8)</a> improvements:
289: <ul>
290: <li>Log messages reworked and clarified, in particular by prefixing
291: the name of the relevant network interface.
292: <li>Treat SSID as 0 to 32 bytes of binary data, not a string.
293: <li>Use RTM_PROPOSAL to take control of an interface rather than flipping
294: interface down and up in the hope that other
295: <a href="https://man.openbsd.org/dhclient.8">dhclient(8)</a>
296: instances notice.
297: <li>Reduce file operations needed by -L option by opening file at
298: startup and using it throughout process lifetime.
299: <li>Improve <a href="https://man.openbsd.org/resolv.conf.5">resolv.conf(5)</a>
300: handling by reducing writes and more reliably determining which interface
301: has the current default route.
302: <li>Take greater care to process all data read, and only data read, from the
303: <a href="https://man.openbsd.org/bpf.4">bpf(4)</a>
304: socket.
305: <li>Improve the determination of the link state of an interface.
306: <li>Decline inappropriate lease offers as soon as they are deemed
307: inappropriate.
308: <li>Drop support for the timestamp formats used in lease files created
309: more than four years ago.
310: <li>Accept an offer from the server that sent the first copy of
311: the offer, not the server that sent the last copy.
312: <li>Don't delete addresses and routes when exiting.
313: <li>Ensure IPv6 packets are not read from sockets.
314: <li>Don't silently ignore obsolete keywords in
315: <a href="https://man.openbsd.org/dhclient.conf.5">dhclient.conf(5)</a>
316: <li>Reduce memory footprint by shrinking oversized static buffers.
317: <li>Eliminate repeated socket opens by opening the required sockets during
318: startup.
319: <li>Fix construction of unicast UDP packets, broken in 5.6.
320: <li>Improve determination of when a renewed lease requires interface
321: configuration changes.
322: <li>Don't exit when addresses are manually added or deleted from an
323: interface.
324: <li>Don't support option 33, classfull IP addresses.
325: <li>Fix configuration of default routes supplied by classless route options.
326: <li>Consider
327: <a href="https://man.openbsd.org/dhclient.conf.5">dhclient.conf(5)</a>
328: contents when determining what MTU value to configure.
329: <li>Consider
330: <a href="https://man.openbsd.org/dhclient.conf.5">dhclient.conf(5)</a>
331: contents when creating the content of
332: <a href="https://man.openbsd.org/resolv.conf.5">resolv.conf(5)</a>.
333: <li>Delete direct routes when routes are flushed.
334: <li>Don't label routes with "DHCLIENT nnnn".
335: <li>Don't delete addresses or routes that will be immediately added back.
336: <li>Delete addresses and routes only when a renewal request is NAK'ed.
337: <li>Don't wait forever for requested information on the default route.
338: <li>Don't exit when an attempt to send a packet fails.
339: <li>Don't log a packet send when the send fails.
340: <li>Remove the -u option, broken since 2013 without complaints.
1.35 krw 341: <li>Use /dev/bpf instead of /dev/bpf0.
1.1 deraadt 342: </ul>
343: <p>
344:
345: <li>Assorted improvements:
346: <ul>
1.14 anton 347: <li>Improved UTF-8 line editing support for
1.24 anton 348: <a href="https://man.openbsd.org/ksh.1">ksh(1)</a>
1.14 anton 349: Emacs and Vi input mode.
1.22 tb 350: <li>The HISTFILE of <a href="https://man.openbsd.org/ksh.1">ksh(1)</a> now uses
351: a plain text format. Support for the
352: <a href="https://man.openbsd.org/ksh#HISTCONTROL">HISTCONTROL</a>
353: environment variable was added.
1.37 jca 354: <li>The performance of the memory deallocator used by
355: <a href="https://man.openbsd.org/ksh.1">ksh(1)</a> has been fixed.
356: <li>The <tt>emacs-usemeta</tt> <a href="https://man.openbsd.org/ksh.1">ksh(1)</a>
357: flag is no longer needed and is now deprecated.
1.41 schwarze 358: <li>New <a href="https://man.openbsd.org/futex">futex(2)</a> syscall.
359: <li>New pthread
360: <a href="https://man.openbsd.org/pthread_mutex_init">mutex</a> and
361: <a href="https://man.openbsd.org/pthread_cond_init">condition
362: variable</a> implementations improving latency
363: of threaded applications.
364: <li>New POSIX <a href="https://man.openbsd.org/newlocale.3">xlocale</a>
365: implementation written from scratch, complete in the sense that
366: all POSIX *locale(3) and *_l(3) functions are included, but in
367: OpenBSD, we of course only really care about <code>LC_CTYPE</code>
368: and we only support ASCII and UTF-8.
1.44 mpi 369: <li>New <a href="https://man.openbsd.org/ctfdump">ctfdump(1)</a> and
370: <a href="https://man.openbsd.org/ctfconv">ctfconv(1)</a>
1.41 schwarze 371: tools to manipulate CTF (Compact C Type Format).
1.31 bluhm 372: <li>The error handling in
373: <a href="https://man.openbsd.org/syslogd.8">syslogd(8)</a>
374: has been improved.
1.38 jca 375: Even if internal errors occur, the daemon tries to keep
1.31 bluhm 376: unaffected subsystems active.
377: So as many messages as possible are logged.
378: They can be filtered by severity and facility "syslog".
379: <li>syslogd(8) can now suppress "last message repeated" which is
380: useful for remote logging.
381: <li>syslogd(8) can listen on multiple TLS sockets.
382: <li>syslogd(8) closes the *.514 UDP sockets when they are not
383: needed.
384: <li>Truncate log messates at 8192 bytes everywhere.
1.37 jca 385: <li><a href="https://man.openbsd.org/newsyslog.8">newsyslog(8)</a>
386: now skips and logs invalid config lines.
1.31 bluhm 387: <li>Nested mount points are umounted in correct order.
1.33 krw 388: <li>Fix creation of
389: <a href="https://man.openbsd.org/softraid.4">softraid(4)</a>
390: CONCAT volumes.
391: <li>Include
392: <a href="https://man.openbsd.org/softraid.4">softraid(4)</a>
393: volume and backing disk information in i/o error messages.
394: <li>Make
395: <a href="https://man.openbsd.org/vioscsi.4">vioscsi(4)</a>
396: a normal
397: <a href="https://man.openbsd.org/scsi.4">scsi(4)</a>
398: device by eliminating its use of the obsolete XS_NO_CCB mechanism.
1.38 jca 399: <li>Remove last vestiges of now unused XS_NO_CCB mechanism.
1.43 visa 400: <li>Userspace can now get the address of the thread control block
401: without a system call on OCTEON II and later.
402: <li>FPU is enabled on OCTEON III.
1.44 mpi 403: <li>GENERIC kernels now include a .SUNW_ctf section containing CTF data
404: <li>New <a href="https://man.openbsd.org/ddb.4">ddb(4)</a> <tt>kill</tt>
405: command, send an uncatchable SIGABRT to a process.
406: <li>New <a href="https://man.openbsd.org/ddb.4">ddb(4)</a> <tt>pprint</tt>
407: command, using CTF information to "pretty print" global symbols.
408: <li>New <a href="https://man.openbsd.org/ddb.4">ddb(4)</a>
409: <tt>show struct</tt> command, using CTF information to display the content
410: of in memory C structures.
411: <li>x86: <a href="https://man.openbsd.org/ddb.4">ddb(4)</a> uses CTF data
412: to display the correct number of function arguments in backtraces
1.45 tb 413: <li>Power off all codecs in
414: <a href="https://man.openbsd.org/azalia.4">azalia(4)</a> to avoid static
415: noise in speakers and headphones on reboot.
1.46 mlarkin 416: <li>Fix i386 boot regression seen on very old 486DX CPUs.
1.49 visa 417: <li>New <a href="https://man.openbsd.org/witness.4">witness(4)</a> tool
418: for debugging lock order issues in the kernel.
419: The tool is not built in by default, and only amd64, hppa and i386
420: are supported.
1.46 mlarkin 421: </ul>
1.1 deraadt 422: <p>
423:
424: <li>OpenSMTPD X.X.X
425: <ul>
426: <li>...
427: </ul>
428: <p>
429:
430: <li>OpenSSH 7.X
431: <ul>
432: <li>Security:
433: <ul>
434: <li>...
435: </ul>
436: <li>New/changed features:
437: <ul>
1.31 bluhm 438: <li>Add RemoteCommand option to specify a command in the
439: <a href="https://man.openbsd.org/ssh.1">ssh(1)</a>
440: config file instead of giving it on the client's command
441: line.
442: The feature allows to automate tasks using ssh config.
1.1 deraadt 443: <li>...
444: </ul>
445: <li>The following significant bugs have been fixed in this release:
446: <ul>
447: <li>...
448: </ul>
449: </ul>
450: <p>
451:
452: <li>LibreSSL X.X.X
453: <ul>
454: <li>...
455: </ul>
456: <p>
457:
1.41 schwarze 458: <li>mandoc 1.14.3
1.1 deraadt 459: <ul>
1.41 schwarze 460: <li>Full <a href="https://man.openbsd.org/mandocdb.5">mandoc.db(5)</a>
461: databases are now enabled by default, allowing semantic searching
462: with <a href="https://man.openbsd.org/apropos.1">apropos(1)</a>
463: without any local configuration changes.
464: <li>Full integration of the former
465: <a href="https://cvsweb.openbsd.org/cgi-bin/cvsweb/src/regress/usr.bin/mdoclint/">mdoclint(1)</a>
466: utility into <a href="https://man.openbsd.org/mandoc.1">mandoc(1)</a>
467: <code>-Wall</code>, new <code>-Wstyle</code> and
468: <code>-Wopenbsd</code> message levels, and many new messages,
469: for example about typos in <code>.Sh</code> lines,
470: unknown <code>.Xr</code> targets, and links to self.
471: <li>Additional steps unifying the
472: <a href="https://man.openbsd.org/mdoc.7">mdoc(7)</a>,
473: <a href="https://man.openbsd.org/man.7">man(7)</a>, and
474: <a href="https://man.openbsd.org/roff.7">roff(7)</a> parsers:
475: use one common data type and
476: <a href="https://man.openbsd.org/ohash_init.3">ohash_init(3)</a>
477: for all requests and macros and support creation of syntax tree
478: nodes in the roff(7) parser, allowing support for many new
479: low-level roff(7) features.
480: Only about 25 ports still need <code>USE_GROFF</code> now.
481: <li>Many improvements to
482: <a href="https://man.openbsd.org/tbl.7">tbl(7)</a>
483: parsing and formatting,
484: including automatic line wrapping inside table columns.
485: <li>Many improvements to
486: <a href="https://man.openbsd.org/eqn.7">eqn(7)</a>
487: parsing and formatting, including better font selection,
488: recognition of well-known mathematical function names, and writing
489: of <code><mn></code> and <code><mo></code> HTML tags.
490: <li>Intelligible rendering of mathematical symbols in
491: <code>-Tascii</code> output.
492: <li>Several parsing and rendering improvements for the
493: <a href="https://man.openbsd.org/mdoc.7">mdoc(7)</a>
494: <code>.Lk</code> macro.
495: <li>Some CSS improvements in HTML output, in particular for the
496: <a href="https://man.openbsd.org/mdoc.7">mdoc(7)</a>
497: <code>.Bl</code> macro.
1.1 deraadt 498: </ul>
499: <p>
500:
501: <li>Ports and packages:
502: <dl>
1.10 espie 503: <dt>A massive amount of clang-related fixes happened between 6.1 and 6.2.
1.1 deraadt 504: <dt>Many pre-built packages for each architecture:
505: </dl>
506: <!-- number of FTP packages minus SHA256, SHA256.sig, index.txt -->
507: <table border=0 cellspacing=0 cellpadding=2 width="95%">
508: <tr>
509: <td valign="top" width="25%">
510: <ul>
511: <li>alpha: XXXX
512: <li>amd64: XXXX
513: <li>arm: XXXX
514: </ul></td><td valign=top width="25%"><ul>
515: <li>hppa: XXXX
516: <li>i386: XXXX
517: <li>mips64: XXXX
518: </ul></td><td valign=top width="25%"><ul>
519: <li>mips64el: XXXX
520: <li>powerpc: XXXX
521: <li>sparc64: XXXX
522: </ul></td></tr></table>
523: <p>
524:
525: <dl>
526: <dt>Some highlights:
527: </dl>
528: <table border=0 cellspacing=0 cellpadding=2 width="95%">
529: <tr>
530: <td valign="top" width="50%"><ul>
1.3 jasper 531: <li>AFL 2.51b
1.47 dcoppa 532: <li>CMake 3.9.3
1.3 jasper 533: <li>Chromium 61.0.3163.100
534: <li>Emacs 21.4 and 25.3
1.1 deraadt 535: <li>GCC 4.9.4
536: <li>GHC 7.10.3
1.3 jasper 537: <li>Gimp 2.8.22
538: <li>GNOME 3.24.2
539: <li>Go 1.9
1.1 deraadt 540: <li>Groff 1.22.3
1.3 jasper 541: <li>JDK 8u144
1.18 lteo 542: <li>KDE 3.5.10 and 4.14.3 (plus KDE4 core updates)
1.3 jasper 543: <li>LLVM/Clang 5.0.0
544: <li>LibreOffice 5.2.7.2
1.1 deraadt 545: <li>Lua 5.1.5, 5.2.4, and 5.3.4
1.3 jasper 546: <li>MariaDB 10.0.32
547: <li>Mozilla Firefox 52.4.0esr and 56.0.0
548: <li>Mozilla Thunderbird 52.2.1
1.1 deraadt 549: </ul></td><td valign=top width="50%"><ul>
1.3 jasper 550: <li>Mutt 1.9.1 and NeoMutt 20170912
551: <li>Node.js 6.11.2
1.1 deraadt 552: <li>Ocaml 4.03.0
1.3 jasper 553: <li>OpenLDAP 2.3.43 and 2.4.45
1.18 lteo 554: <li>PHP 5.6.31 and 7.0.23
1.3 jasper 555: <li>Postfix 3.2.2 and 3.3-20170910
556: <li>PostgreSQL 9.6.5
557: <li>Python 2.7.14 and 3.6.2
558: <li>R 3.4.1
559: <li>Ruby 1.8.7.374, 2.1.9, 2.2.8, 2.3.5 and 2.4.2
560: <li>Rust 1.20.0
561: <li>Sendmail 8.16.0.21
562: <li>SQLite3 3.20.1
563: <li>Sudo 1.8.21.2
564: <li>Tcl/Tk 8.5.19 and 8.6.6
565: <li>TeX Live 2016
566: <li>Vim 8.0.0987
1.1 deraadt 567: <li>Xfce 4.12
568: </ul></td></tr></table>
569: <p>
570:
571: <li>As usual, steady improvements in manual pages and other documentation.
572: <p>
573:
574: <li>The system includes the following major components from outside suppliers:
575: <ul>
1.13 matthieu 576: <li>Xenocara (based on X.Org 7.7 with xserver 1.18.4 + patches,
577: freetype 2.8.0, fontconfig 2.12.4, Mesa 13.0.6, xterm 330,
1.1 deraadt 578: xkeyboard-config 2.20 and more)
579: <li>LLVM/Clang 4.0.0 (+ patches)
580: <li>GCC 4.2.1 (+ patches) and 3.3.6 (+ patches)
1.18 lteo 581: <li>Perl 5.24.2 (+ patches)
1.2 florian 582: <li>NSD 4.1.17
583: <li>Unbound 1.6.6
1.1 deraadt 584: <li>Ncurses 5.7
585: <li>Binutils 2.17 (+ patches)
586: <li>Gdb 6.3 (+ patches)
587: <li>Awk Aug 10, 2011 version
1.31 bluhm 588: <li>Expat 2.2.4
1.1 deraadt 589: </ul>
590: </ul>
591:
592: <hr>
593:
594: <h3 id="install"><font color="#0000e0">How to install</font></h3>
595:
596: Please refer to the following files on the mirror site for
597: extensive details on how to install OpenBSD 6.2 on your machine:
598:
599: <ul>
600: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/6.2/alpha/INSTALL.alpha">
601: .../OpenBSD/6.2/alpha/INSTALL.alpha</a>
602: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/6.2/amd64/INSTALL.amd64">
603: .../OpenBSD/6.2/amd64/INSTALL.amd64</a>
604: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/6.2/arm64/INSTALL.arm64">
605: .../OpenBSD/6.2/arm64/INSTALL.arm64</a>
606: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/6.2/armv7/INSTALL.armv7">
607: .../OpenBSD/6.2/armv7/INSTALL.armv7</a>
608: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/6.2/hppa/INSTALL.hppa">
609: .../OpenBSD/6.2/hppa/INSTALL.hppa</a>
610: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/6.2/i386/INSTALL.i386">
611: .../OpenBSD/6.2/i386/INSTALL.i386</a>
612: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/6.2/landisk/INSTALL.landisk">
613: .../OpenBSD/6.2/landisk/INSTALL.landisk</a>
614: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/6.2/loongson/INSTALL.loongson">
615: .../OpenBSD/6.2/loongson/INSTALL.loongson</a>
616: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/6.2/luna88k/INSTALL.luna88k">
617: .../OpenBSD/6.2/luna88k/INSTALL.luna88k</a>
618: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/6.2/macppc/INSTALL.macppc">
619: .../OpenBSD/6.2/macppc/INSTALL.macppc</a>
620: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/6.2/octeon/INSTALL.octeon">
621: .../OpenBSD/6.2/octeon/INSTALL.octeon</a>
622: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/6.2/sgi/INSTALL.sgi">
623: .../OpenBSD/6.2/sgi/INSTALL.sgi</a>
624: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/6.2/sparc64/INSTALL.sparc64">
625: .../OpenBSD/6.2/sparc64/INSTALL.sparc64</a>
626: </ul>
627:
628: <hr>
629:
630: <p>
631: Quick installer information for people familiar with OpenBSD, and the use of
632: the "<a href="https://man.openbsd.org/disklabel.8">disklabel</a> -E" command.
633: If you are at all confused when installing OpenBSD, read the relevant
634: INSTALL.* file as listed above!
635:
636: <h3><font color="#e00000">OpenBSD/alpha:</font></h3>
637:
638: <ul style="list-style-type: none">
639: <li>
640: Write <i>floppy62.fs</i> or <i>floppyB62.fs</i> (depending on your machine)
641: to a diskette and enter <i>boot dva0</i>.
642: Refer to INSTALL.alpha for more details.
643: <p>
644: <li>
645: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install
646: will most likely fail.
647: </ul>
648:
649: <h3><font color="#e00000">OpenBSD/amd64:</font></h3>
650:
651: <ul style="list-style-type: none">
652: <li>
653: If your machine can boot from CD, you can write <i>install62.iso</i> or
654: <i>cd62.iso</i> to a CD and boot from it.
655: You may need to adjust your BIOS options first.
656: <p>
657: <li>
658: If your machine can boot from USB, you can write <i>install62.fs</i> or
659: <i>miniroot62.fs</i> to a USB stick and boot from it.
660: <p>
661: <li>
662: If you can't boot from a CD, floppy disk, or USB,
663: you can install across the network using PXE as described in the included
664: INSTALL.amd64 document.
665: <p>
666: <li>
667: If you are planning to dual boot OpenBSD with another OS, you will need to
668: read INSTALL.amd64.
669: </ul>
670:
671: <h3><font color="#e00000">OpenBSD/arm64:</font></h3>
672:
673: <ul style="list-style-type: none">
674: <li>
675: Write <i>miniroot62.fs</i> to a disk and boot from it after connecting
676: to the serial console. Refer to INSTALL.arm64 for more details.
677: <p>
678: </ul>
679:
680: <h3><font color="#e00000">OpenBSD/armv7:</font></h3>
681:
682: <ul style="list-style-type: none">
683: <li>
684: Write a system specific miniroot to an SD card and boot from it after connecting
685: to the serial console. Refer to INSTALL.armv7 for more details.
686: <p>
687: </ul>
688:
689: <h3><font color="#e00000">OpenBSD/hppa:</font></h3>
690:
691: <ul style="list-style-type: none">
692: <li>
693: Boot over the network by following the instructions in INSTALL.hppa or the
694: <a href="hppa.html#install">hppa platform page</a>.
695: </ul>
696:
697: <h3><font color="#e00000">OpenBSD/i386:</font></h3>
698:
699: <ul style="list-style-type: none">
700: <li>
701: If your machine can boot from CD, you can write <i>install62.iso</i> or
702: <i>cd62.iso</i> to a CD and boot from it.
703: You may need to adjust your BIOS options first.
704: <p>
705: <li>
706: If your machine can boot from USB, you can write <i>install62.fs</i> or
707: <i>miniroot62.fs</i> to a USB stick and boot from it.
708: <p>
709: <li>
710: If you can't boot from a CD, floppy disk, or USB,
711: you can install across the network using PXE as described in
712: the included INSTALL.i386 document.
713: <p>
714: <li>
715: If you are planning on dual booting OpenBSD with another OS, you will need to
716: read INSTALL.i386.
717: </ul>
718:
719: <h3><font color="#e00000">OpenBSD/landisk:</font></h3>
720:
721: <ul style="list-style-type: none">
722: <li>
723: Write <i>miniroot62.fs</i> to the start of the CF
724: or disk, and boot normally.
725: </ul>
726:
727: <h3><font color="#e00000">OpenBSD/loongson:</font></h3>
728:
729: <ul style="list-style-type: none">
730: <li>
731: Write <i>miniroot62.fs</i> to a USB stick and boot bsd.rd from it
732: or boot bsd.rd via tftp.
733: Refer to the instructions in INSTALL.loongson for more details.
734: </ul>
735:
736: <h3><font color="#e00000">OpenBSD/luna88k:</font></h3>
737:
738: <ul style="list-style-type: none">
739: <li>
740: Copy `boot' and `bsd.rd' to a Mach or UniOS partition, and boot the bootloader
741: from the PROM, and then bsd.rd from the bootloader.
742: Refer to the instructions in INSTALL.luna88k for more details.
743: </ul>
744:
745: <h3><font color="#e00000">OpenBSD/macppc:</font></h3>
746:
747: <ul style="list-style-type: none">
748: <li>
749: Burn the image from a mirror site to a CDROM, and power on your machine
750: while holding down the <i>C</i> key until the display turns on and
751: shows <i>OpenBSD/macppc boot</i>.
752: <p>
753: <li>
754: Alternatively, at the Open Firmware prompt, enter <i>boot cd:,ofwboot
755: /6.2/macppc/bsd.rd</i>
756: </ul>
757:
758: <h3><font color="#e00000">OpenBSD/octeon:</font></h3>
759:
760: <ul style="list-style-type: none">
761: <li>
762: After connecting a serial port, boot bsd.rd over the network via DHCP/tftp.
763: Refer to the instructions in INSTALL.octeon for more details.
764: </ul>
765:
766: <h3><font color="#e00000">OpenBSD/sgi:</font></h3>
767:
768: <ul style="list-style-type: none">
769: <li>
770: To install, burn cd62.iso on a CD-R, put it in the CD drive of your
771: machine and select <i>Install System Software</i> from the System Maintenance
772: menu. Indigo/Indy/Indigo2 (R4000) systems will not boot automatically from
773: CD-ROM, and need a proper invocation from the PROM prompt.
774: Refer to the instructions in INSTALL.sgi for more details.
775:
776: <p>
777: <li>
778: If your machine doesn't have a CD drive, you can setup a DHCP/tftp network
779: server, and boot using "bootp()/bsd.rd.IP##" using the kernel matching your
780: system type. Refer to the instructions in INSTALL.sgi for more details.
781: </ul>
782:
783: <h3><font color="#e00000">OpenBSD/sparc64:</font></h3>
784:
785: <ul style="list-style-type: none">
786: <li>
787: Burn the image from a mirror site to a CDROM, boot from it, and type
788: <i>boot cdrom</i>.
789: <p>
790: <li>
791: If this doesn't work, or if you don't have a CDROM drive, you can write
792: <i>floppy62.fs</i> or <i>floppyB62.fs</i>
793: (depending on your machine) to a floppy and boot it with <i>boot
794: floppy</i>. Refer to INSTALL.sparc64 for details.
795: <p>
796: <li>
797: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install
798: will most likely fail.
799: <p>
800: <li>
801: You can also write <i>miniroot62.fs</i> to the swap partition on
802: the disk and boot with <i>boot disk:b</i>.
803: <p>
804: <li>
805: If nothing works, you can boot over the network as described in INSTALL.sparc64.
806: </ul>
807:
808: <hr>
809:
810: <h3 id="upgrade"><font color="#0000e0">How to upgrade</font></h3>
811:
812: If you already have an OpenBSD 6.1 system, and do not want to reinstall,
813: upgrade instructions and advice can be found in the
814: <a href="faq/upgrade62.html">Upgrade Guide</a>.
815: <p>
816:
817: <hr>
818:
819: <h3 id="sourcecode"><font color="#0000e0">Notes about the source code</font></h3>
820:
821: <tt>src.tar.gz</tt> contains a source archive starting at <tt>/usr/src</tt>.
822: This file contains everything you need except for the kernel sources,
823: which are in a separate archive.
824: To extract:
825:
826: <blockquote><pre>
827: # <b>mkdir -p /usr/src</b>
828: # <b>cd /usr/src</b>
829: # <b>tar xvfz /tmp/src.tar.gz</b>
830: </pre></blockquote>
831:
832: <tt>sys.tar.gz</tt> contains a source archive starting at <tt>/usr/src/sys</tt>.
833: This file contains all the kernel sources you need to rebuild kernels.
834: To extract:
835:
836: <blockquote><pre>
837: # <b>mkdir -p /usr/src/sys</b>
838: # <b>cd /usr/src</b>
839: # <b>tar xvfz /tmp/sys.tar.gz</b>
840: </pre></blockquote>
841:
842: Both of these trees are a regular CVS checkout. Using these trees it
843: is possible to get a head-start on using the anoncvs servers as
844: described <a href="anoncvs.html">here</a>.
845: Using these files
846: results in a much faster initial CVS update than you could expect from
847: a fresh checkout of the full OpenBSD source tree.
848: <p>
849:
850: <hr>
851:
852: <h3 id="ports"><font color="#0000e0">Ports Tree</font></h3>
853:
854: A ports tree archive is also provided. To extract:
855:
856: <blockquote><pre>
857: # <b>cd /usr</b>
858: # <b>tar xvfz /tmp/ports.tar.gz</b>
859: </pre></blockquote>
860:
861: Go read the <a href="faq/ports/index.html">ports</a> page
862: if you know nothing about ports
863: at this point. This text is not a manual of how to use ports.
864: Rather, it is a set of notes meant to kickstart the user on the
865: OpenBSD ports system.
866: <p>
867: The <i>ports/</i> directory represents a CVS checkout of our ports.
868: As with our complete source tree, our ports tree is available via
869: <a href="anoncvs.html">AnonCVS</a>.
870: So, in order to keep up to date with the <i>-stable</i> branch, you must make
871: the <i>ports/</i> tree available on a read-write medium and update the tree
872: with a command like:
873:
874: <blockquote><pre>
875: # <b>cd /usr/ports</b>
1.15 phessler 876: # <b>cvs -d anoncvs@server.openbsd.org:/cvs update -Pd -rOPENBSD_6_2</b>
1.1 deraadt 877: </pre></blockquote>
878:
879: [Of course, you must replace the server name here with a nearby anoncvs
880: server.]
881: <p>
882: Note that most ports are available as packages on our mirrors. Updated
883: ports for the 6.2 release will be made available if problems arise.
884: <p>
885: If you're interested in seeing a port added, would like to help out, or just
886: would like to know more, the mailing list
887: <a href="mail.html">ports@openbsd.org</a> is a good place to know.
888: <p>
889: </body>
890: </html>