Annotation of www/62.html, Revision 1.63
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:
1.53 deraadt 21: <a href="images/MoBSD.gif">
1.59 jsg 22: <img alt="MoBSD" align="left" width="227" height="343" hspace="24" src="images/MoBSD.gif"></a>
1.1 deraadt 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:
65: <li>Improved hardware support, including:
66: <ul>
1.61 jsing 67: <li>arm: New <a href="https://man.openbsd.org/rkgrf.4">rkgrf(4)</a> driver
68: for the Rockchip RK3399/RK3288 register file.
69: <li>arm: New <a href="https://man.openbsd.org/rkclock.4">rkclock(4)</a>
70: driver for Rockchip RK3399/RK3288 clocks.
71: <li>arm: New <a href="https://man.openbsd.org/rkpinctrl.4">rkpinctrl(4)</a>
72: driver for controlling Rockchip RK3399/RK3288 pins.
73: <li>arm: New <a href="https://man.openbsd.org/rkgpio.4">rkgpio(4)</a> driver
74: for GPIO on Rockchip SoCs.
75: <li>arm: New <a href="https://man.openbsd.org/rktemp.4">rktemp(4)</a> driver
76: for Rockchip RK3399 temperature sensors.
77: <li>arm: New <a href="https://man.openbsd.org/rkiic.4">rkiic(4)</a> driver
78: for Rockchip RK3399 I2C controllers.
79: <li>arm: New <a href="https://man.openbsd.org/rkpmic.4">rkpmic(4)</a> driver
80: for the RK808 Power Management IC.
81: <li>arm: New <a href="https://man.openbsd.org/dwmmc.4">dwmmc(4)</a> driver
82: for Synopsis DesignWare SD/MMC controllers.
83: <li>arm: New <a href="https://man.openbsd.org/dwdog.4">dwdog(4)</a> driver
84: for the Synopsys DesignWare watchdog timer.
85: <li>arm: New <a href="https://man.openbsd.org/dwxe.4">dwxe(4)</a> driver
86: for the Synopsys DesignWare Ethernet controller.
87: <li>arm: New <a href="https://man.openbsd.org/sxitwi.4">sxitwi(4)</a> driver
88: for the two-wire bus on Allwinner SoCs.
89: <li>arm: New <a href="https://man.openbsd.org/axppmic.4">axppmic(4)</a>
90: driver for the AXP209 I2C PMIC.
91: <li>arm: New <a href="https://man.openbsd.org/bcmaux.4">bcmaux(4)</a> driver
92: for clocks and interrupts on the auxilliary UART on BCM2835 devices.
93: <li>arm: New <a href="https://man.openbsd.org/armv7/mvmpic.4">mvmpic(4)</a>
94: driver for an interrupt controller on Marvell ARMADA 38x.
95: <li>arm: New <a href="https://man.openbsd.org/armv7/mvpxa.4">mvpxa(4)</a>
96: driver for the SD Host Controller on Marvell ARMADA 38x.
97: <li>arm: New <a href="https://man.openbsd.org/mvpinctrl.4">mvpinctrl(4)</a>
98: driver to configure pins on Marvell ARMADA 38x.
99: <li>arm: New <a href="https://man.openbsd.org/mvneta.4">mvneta(4)</a> driver
100: the Ethernet controller on Marvell ARMADA 38x.
101: <li>arm: New <a
102: href="https://man.openbsd.org/armv7/amdisplay.4">amdisplay(4)</a> &
103: <a href="https://man.openbsd.org/armv7/nxphdmi.4">nxphdmi(4)</a> drivers
104: for the Texas Instruments AM335x LCD controller.
105: <li>octeon: New <a
106: href="https://man.openbsd.org/octeon/octcib.4">octcib(4)</a> driver for
107: the interrupt bus widget on CN70xx/CN71xx.
108: <li>octeon: New <a
109: href="https://man.openbsd.org/octeon/octcit.4">octcit(4)</a> driver for
110: the central interrupt unit version 3 on CN72xx/CN73xx/CN77xx/CN78xx.
111: <li>octeon: New <a
112: href="https://man.openbsd.org/octeon/octsctl.4">octsctl(4)</a> driver
113: for the OCTEON SATA controller bridge.
114: <li>octeon: New <a
115: href="https://man.openbsd.org/octeon/octxctl.4">octxctl(4)</a> driver
116: for the OCTEON USB3 controller bridge.
117: <li>octeon: Rhino Labs Inc. SDNA Shasta, and Ubiquiti Networks EdgeRouter 4
118: and 6 are now supported.
119: <li>New <a href="https://man.openbsd.org/hvs.4">hvs(4)</a> driver for
120: Hyper-V storage.
121: <li>New <a href="https://man.openbsd.org/pcxrtc.4">pcxrtc(4)</a> driver for
122: the NXP PCF8563 Real Time Clock.
123: <li>New <a href="https://man.openbsd.org/urng.4">urng(4)</a> driver for USB
124: random number generator devices.
125: <li>Intel 8265 and 3168 support was added to the
126: <a href="https://man.openbsd.org/iwm.4">iwm(4)</a> driver.
127: <li>RTL8192CE support was added to the
128: <a href="https://man.openbsd.org/rtwn.4">rtwn(4)</a> driver.
129: <li>RT5360 support was added to the
130: <a href="https://man.openbsd.org/ral.4">ral(4)</a> driver.
131: <li>RTS525A support was added to the
132: <a href="https://man.openbsd.org/rtsx.4">rtsx(4)</a> driver.
133: <li>The <a href="https://man.openbsd.org/acpibat.4">acpibat(4)</a> driver
134: now supports _BIX entries from ACPI 4.0.
135: <li>ACPI hibernate support was added to the
136: <a href="https://man.openbsd.org/nvme.4">nvme(4)</a> driver.
137: <li>Substantially improved ACPI hibernate performance in the
138: <a href="https://man.openbsd.org/ahci.4">ahci(4)</a> driver.
139: <li>The <a href="https://man.openbsd.org/inteldrm.4">inteldrm(4)</a> driver
140: was updated to code based on Linux 4.4.70 - it now supports Skylake,
141: Kaby Lake, and Cherryview devices and has better support for Broadwell
142: and Valleyview devices.
143: <li>The <a href="https://man.openbsd.org/puc.4">puc(4)</a> driver now
144: supports ASIX AX99100 devices.
145: <li>Xen platform support and the
146: <a href="https://man.openbsd.org/xbf.4">xbf(4)</a> driver in particular
147: have been substantially improved.
148: <li>The <a href="https://man.openbsd.org/nvme.4">nvme(4)</a> driver now reports
149: correct last sector address to SCSI, allowing a valid GPT to be created.
150: <li>Repair <a href="https://man.openbsd.org/ioapic.4">ioapic(4)</a> misconfigurations.
1.1 deraadt 151: </ul>
152:
153: <p>
1.36 pd 154: <li><a href="https://man.openbsd.org/amd64/vmm.4">vmm(4)</a>/
155: <a href="https://man.openbsd.org/amd64/vmd.8">vmd(8)</a> improvements:
1.1 deraadt 156: <ul>
1.63 ! jsing 157: <li><a href="https://man.openbsd.org/amd64/vmctl.8">vmctl(8)</a> supports
! 158: paused VM migration and memory snapshotting using send and receive commands.
! 159: <li>VPID/ASID reuse/rollover in <a
! 160: href="https://man.openbsd.org/amd64/vmm.4">vmm(4)</a>.
! 161: <li>SGABIOS imported as an option ROM payload in SeaBIOS (for VGA to serial
! 162: console redirection.)
! 163: <li><a href="https://man.openbsd.org/amd64/vmd.8">vmd(8)</a> resets the
! 164: guest VM RTC (real time clock) on host resume from suspend/hibernate
! 165: (OpenBSD guests only.)
! 166: <li>Allow guest VMs access to AVX/AVX2 host CPU features.
! 167: <li>Support for AMD SVM/RVI hosts.
! 168: <li>Allow larger guest VM memory sizes (up to MAXDSIZ sized guests - e.g.
! 169: 32GB on amd64 hosts)
! 170: <li>Better handling of guest VM MONITOR/MWAIT and HLT instructions.
! 171: <li>Various device emulation improvements in <a
! 172: href="https://man.openbsd.org/amd64/vmd.8">vmd(8)</a>.
! 173: <li>Increase the <a href="https://man.openbsd.org/virtio.4">virtio(4)</a>
! 174: queue size provided by <a
! 175: href="https://man.openbsd.org/amd64/vmd.8">vmd(8)</a> from 64 to 128 entries, to increase performance.
! 176: <li>Many fixes to <a href="https://man.openbsd.org/amd64/vmctl.8">vmctl(8)</a>
! 177: and <a href="https://man.openbsd.org/amd64/vmd.8">vmd(8)</a> error handling.
1.1 deraadt 178: </ul>
179: <p>
180:
181: <li>IEEE 802.11 wireless stack improvements:
182: <ul>
1.63 ! jsing 183: <li>MiRA 802.11n TX rate scaling now supports devices with unequal numbers
! 184: of Tx and Rx streams. Fixes 11n mode for some
! 185: <a href="https://man.openbsd.org/athn.8">athn(8)</a> devices.
! 186: <li>The <a href="https://man.openbsd.org/iwn.8">iwn(8)</a> and
! 187: <a href="https://man.openbsd.org/iwm.8">iwm(8)</a> drivers will now start
! 188: scanning for a new access point if they no longer receive beacons from
! 189: the current AP.
1.8 stsp 190: <li>Prefer the 5GHz band over the 2GHz band during access point selection.
1.63 ! jsing 191: <li>Improved debug output in
! 192: <a href="https://man.openbsd.org/dmesg.8">dmesg(8)</a> when a wireless
! 193: interface is put into debug mode with
! 194: <a href="https://man.openbsd.org/ifconfig.8">ifconfig(8)</a>.
1.1 deraadt 195: </ul>
196: <p>
197:
198: <li>Generic network stack improvements:
199: <ul>
1.63 ! jsing 200: <li>Incoming and forwarded IP packets are now processed without
! 201: KERNEL_LOCK, resulting in better performances and reduced latency.
! 202: <li>The kernel no longer handles IPv6 Stateless Address
! 203: Autoconfiguration (RFC 4862), allowing cleanup and simplification
! 204: of the IPv6 network stack.
! 205: <li>The kernel sends IPv6 router solicitations for link local addresses
! 206: with a link local source address.
! 207: <li>FQ-CoDel algorithm has been implemented for use with <a
! 208: href="https://man.openbsd.org/pf.conf#QUEUEING">pf(4) queueing</a>.
! 209: <li>Improved IPv6 checks for IPsec policies and made them consistent
1.31 bluhm 210: with IPv4.
1.63 ! jsing 211: <li>Refactored local IP delivery to process IPsec packets in a flow and
! 212: avoid enqueueing a second time.
1.31 bluhm 213: <li><a href="https://man.openbsd.org/pf.4">pf(4)</a>
1.63 ! jsing 214: now inspects AH packets and matches on the inner protocol.
1.31 bluhm 215: This makes IPv4 authentication headers work like IPv6.
216: <li>The length of extension header chains in pf(4) is limited.
1.63 ! jsing 217: This prevents spending excessive CPU time on crafted packets.
! 218: <li>Block IPv6 packets in
! 219: <a href="https://man.openbsd.org/pf.4">pf(4)</a>
! 220: that have a hop-by-hop options header or a destination options header.
! 221: Such packets can be passed by adding "allow-opts" to the rule.
! 222: This makes IPv6 option handling consistent with IPv4.
1.38 jca 223: <li>If the IPv4 ID gets reused too fast, pf(4) fragment reassembly
1.31 bluhm 224: uses a smarter strategy to drop packets.
1.63 ! jsing 225: <li>Enabled the use of per-CPU caches in the network packet allocators.
1.1 deraadt 226: </ul>
227: <p>
228:
229: <li>Installer improvements:
230: <ul>
1.63 ! jsing 231: <li>The installer now uses the Allotment Routing Table (ART).
! 232: <li>A unique kernel is now created by the installer to boot from after
! 233: install/upgrade.
! 234: <li>On release installs of architectures supported by syspatch,
! 235: "syspatch -c" is now added to rc.firsttime.
! 236: <li>Backwards compatibility code to support the 'rtsol' keyword in
! 237: <a href="https://man.openbsd.org/hostname.if.5">hostname.if(5)</a>
! 238: has been removed.
! 239: <li>The <tt>install.site</tt> and <tt>upgrade.site</tt> scripts are now
! 240: executed at the end of the install/upgrade process.
! 241: <li>More detailed information is shown to identify disks.
! 242: <li>The IPv6 default router selection has been fixed.
! 243: <li>On the amd64 platform, AES-NI is used if present.
1.1 deraadt 244: </ul>
245: <p>
246:
247: <li>Routing daemons and other userland network improvements:
248: <ul>
1.63 ! jsing 249: <li>A new daemon, <a
! 250: href="https://man.openbsd.org/slaacd.8">slaacd(8)</a> handles IPv6
! 251: Stateless Address Autoconfiguration (RFC 4862).
! 252: <li><a href="https://man.openbsd.org/rtadvd.8">rtadvd(8)</a> now supports
! 253: "Reducing Energy Consumption of Router Advertisements" (RFC 7772).
1.37 jca 254: <li><a href="https://man.openbsd.org/rtadvd.8">rtadvd(8)</a> has
1.63 ! jsing 255: been fixed to quickly handle IPv6 prefixes changes on the system.
1.31 bluhm 256: <li><a href="https://man.openbsd.org/ipsecctl.8">ipsecctl(8)</a>
1.63 ! jsing 257: can now show SA bundles and the "bundle" keyword allows them to be
! 258: explicitly created. This avoids confusion as they were previously
! 259: used implicitly.
1.31 bluhm 260: <li><a href="https://man.openbsd.org/nc.1">nc(1)</a>
1.63 ! jsing 261: now has a <tt>-W recvlimit</tt> option to terminate netcat after
! 262: receiving the specified number of packets. This allows for a UDP
! 263: request to be sent, a reply to be received and the result checked on
! 264: the command line.
1.58 jsing 265: <li><a href="https://man.openbsd.org/nc.1">nc(1)</a>
1.63 ! jsing 266: now has a <tt>-Z</tt> option, allowing the peer certificate and chain to be
1.58 jsing 267: saved to a file in PEM format.
1.63 ! jsing 268: <li>A new <tt>-T tlscompat</tt> option was added to
1.58 jsing 269: <a href="https://man.openbsd.org/nc.1">nc(1)</a>, which enables the use
270: of all TLS protocols and libtls "compat" ciphers.
1.63 ! jsing 271: <li>Various races have been fixed in
! 272: <a href="https://man.openbsd.org/relayd.8">relayd(8)</a>,
1.31 bluhm 273: expecially in HTTP chunked mode.
1.63 ! jsing 274: <li><a href="https://man.openbsd.org/ndp.8">ndp(8)</a> now shows the
! 275: relevant NDP information when run in a non-default routing
! 276: domain.
1.40 jca 277: <li><a href="https://man.openbsd.org/ifstated.8">ifstated(8)</a> now
1.63 ! jsing 278: copes with interface departures/arrivals.
1.51 benno 279: <li><a href="https://man.openbsd.org/bgpd.8">bgpd(8)</a> can now
1.63 ! jsing 280: be started multiple times in different
! 281: <a href="https://man.openbsd.org/rdomain.4">routing domains</a>,
! 282: this provides virtual router functionality.
1.1 deraadt 283: </ul>
284: <p>
285:
286: <li>Security improvements:
287: <ul>
1.9 otto 288: <li>A new function
289: <a href="https://man.openbsd.org/freezero.3">freezero(3)</a>
290: to easily clear and free memory holding sensitive data has been added.
291: <li>Double free detection has been improved when the F
292: <a href="https://man.openbsd.org/malloc.3">malloc(3)</a> option is used.
293: The existing S option now includes F.
1.24 anton 294: <li>The <a href="https://man.openbsd.org/tty.4#TIOCSTI">TIOCSTI</a>
1.19 deraadt 295: tty ioctl has been removed. The I/O-loops in the last two consumers
1.24 anton 296: <a href="https://man.openbsd.org/csh.1">csh(1)</a> and
297: <a href="https://man.openbsd.org/mail.1">mail(1)</a>
1.19 deraadt 298: were rewritten to cope with the removal.
1.29 brynet 299: <li>Trapsleds, a new mitigation that significantly reduces the amount of
1.53 deraadt 300: nops in the instruction stream, replacing them with trap instructions
301: or jump-over-trap sequences, thereby requiring greater accuracy for
302: targetting potential gadgets.
1.29 brynet 303: <li>Kernel Address Randomized Link (KARL), a new "link-kit" allows the .o
304: files of the kernel to be relinked in a random order, creating a unique
1.53 deraadt 305: kernel for each boot. /bsd is now non-readable to users, to try to
306: keep the secret.
1.29 brynet 307: <li>Like with libc previously,
308: <a href="https://man.openbsd.org/rc.8">rc(8)</a> re-links libcrypto on
309: startup, placing the objects in a random order.
310: <li>In addition to libcrypto, to deter code reuse exploits,
311: <a href="https://man.openbsd.org/rc.8">rc(8)</a> re-links
312: <a href="https://man.openbsd.org/ld.so.1">ld.so</a> on
313: startup, placing the objects in a random order.
1.31 bluhm 314: <li>If process accounting is activated with
315: <a href="https://man.openbsd.org/accton.8">accton(8)</a>,
316: the daily mail shows pledge violations and program crashes.
317: <a href="https://man.openbsd.org/lastcomm.8">lastcomm(8)</a>
318: uses the flags P and T for such processes.
1.34 brynet 319: <li><a href="https://man.openbsd.org/pflogd.8">pflogd(8)</a> uses the
320: fork+exec model.
321: <li><a href="https://man.openbsd.org/tcpdump.8">tcpdump(8)</a> uses the
322: fork+exec model.
1.39 jca 323: <li><a href="https://man.openbsd.org/ifstated.8">ifstated(8)</a>
324: uses <a href="https://man.openbsd.org/pledge.2">pledge(2)</a>.
325: <li><a href="https://man.openbsd.org/snmpd.8">snmpd(8)</a> and
326: <a href="https://man.openbsd.org/snmpd.8">snmpctl(8)</a> now use
327: <a href="https://man.openbsd.org/pledge.2">pledge(2)</a>.
1.45 tb 328: <li>Tighter pledge for <a href="https://man.openbsd.org/at.1">at(1)</a>.
329: <li>Fixed and simplified pledge logic for
330: <a href="https://man.openbsd.org/nc.1">nc(1)</a>.
1.53 deraadt 331: <li>More application of recallocarray(3) in userland, and tracked sizes
332: to free(9) in the kernel.
333: <li>Achieve higher levels of paranoia regarding structure packing, and
334: clear many kernel objects before passing to userland.
335: <li>Disable some optimizations in clang(1) due to incompatibility
336: with security.
337: <li>For instance, cope with clang(1)'s assumption that static or const
338: objects placed in unknown sections (such as .openbsd.randomdata)
339: are surely always 0, and therefore such memory accesses can be
340: optimized away..
341: <li>In kernel, randomly bias down the top-of-stack per kthread.
1.1 deraadt 342: </ul>
343: <p>
344:
1.32 krw 345: <li><a href="https://man.openbsd.org/dhcpd.8">dhcpd(8)</a>/
1.1 deraadt 346: <a href="https://man.openbsd.org/dhcrelay.8">dhcrelay(8)</a> improvements:
347: <ul>
1.32 krw 348: <li>Add support for echo-client-id statement to
1.35 krw 349: <a href="https://man.openbsd.org/dhcpd.conf.5">dhclient.conf(5)</a>.
350: <li>Take greater care to process all data read, and only data read, from the
351: <a href="https://man.openbsd.org/bpf.4">bpf(4)</a>
352: socket.
353: <li>Use /dev/bpf instead of /dev/bpf0.
354: <li>Handle DHCPINFORM messages from clients behind a DHCP relay.
355: <li>Fix handling of
356: <a href="https://man.openbsd.org/carp.4">carp(4)</a>
357: interfaces in
358: <a href="https://man.openbsd.org/dhcrelay.8">dhcrelay(8)</a>.
359: <li>Don't stop
360: <a href="https://man.openbsd.org/dhcrelay.8">dhcrelay(8)</a>
361: logging to stderr when it is started with the -d option.
1.32 krw 362: </ul>
363: <p>
364:
365: <li><a href="https://man.openbsd.org/dhclient.8">dhclient(8)</a> improvements:
366: <ul>
367: <li>Log messages reworked and clarified, in particular by prefixing
368: the name of the relevant network interface.
369: <li>Treat SSID as 0 to 32 bytes of binary data, not a string.
370: <li>Use RTM_PROPOSAL to take control of an interface rather than flipping
371: interface down and up in the hope that other
372: <a href="https://man.openbsd.org/dhclient.8">dhclient(8)</a>
373: instances notice.
374: <li>Reduce file operations needed by -L option by opening file at
375: startup and using it throughout process lifetime.
376: <li>Improve <a href="https://man.openbsd.org/resolv.conf.5">resolv.conf(5)</a>
377: handling by reducing writes and more reliably determining which interface
378: has the current default route.
379: <li>Take greater care to process all data read, and only data read, from the
380: <a href="https://man.openbsd.org/bpf.4">bpf(4)</a>
381: socket.
382: <li>Improve the determination of the link state of an interface.
383: <li>Decline inappropriate lease offers as soon as they are deemed
384: inappropriate.
385: <li>Drop support for the timestamp formats used in lease files created
386: more than four years ago.
387: <li>Accept an offer from the server that sent the first copy of
388: the offer, not the server that sent the last copy.
389: <li>Don't delete addresses and routes when exiting.
390: <li>Ensure IPv6 packets are not read from sockets.
391: <li>Don't silently ignore obsolete keywords in
392: <a href="https://man.openbsd.org/dhclient.conf.5">dhclient.conf(5)</a>
393: <li>Reduce memory footprint by shrinking oversized static buffers.
394: <li>Eliminate repeated socket opens by opening the required sockets during
395: startup.
396: <li>Fix construction of unicast UDP packets, broken in 5.6.
397: <li>Improve determination of when a renewed lease requires interface
398: configuration changes.
399: <li>Don't exit when addresses are manually added or deleted from an
400: interface.
401: <li>Don't support option 33, classfull IP addresses.
402: <li>Fix configuration of default routes supplied by classless route options.
403: <li>Consider
404: <a href="https://man.openbsd.org/dhclient.conf.5">dhclient.conf(5)</a>
405: contents when determining what MTU value to configure.
406: <li>Consider
407: <a href="https://man.openbsd.org/dhclient.conf.5">dhclient.conf(5)</a>
408: contents when creating the content of
409: <a href="https://man.openbsd.org/resolv.conf.5">resolv.conf(5)</a>.
410: <li>Delete direct routes when routes are flushed.
411: <li>Don't label routes with "DHCLIENT nnnn".
412: <li>Don't delete addresses or routes that will be immediately added back.
413: <li>Delete addresses and routes only when a renewal request is NAK'ed.
414: <li>Don't wait forever for requested information on the default route.
415: <li>Don't exit when an attempt to send a packet fails.
416: <li>Don't log a packet send when the send fails.
417: <li>Remove the -u option, broken since 2013 without complaints.
1.35 krw 418: <li>Use /dev/bpf instead of /dev/bpf0.
1.1 deraadt 419: </ul>
420: <p>
421:
422: <li>Assorted improvements:
423: <ul>
1.53 deraadt 424: <li>The <a href="https://www.openbsd.org/i386.html">i386</a> and
425: <a href="https://www.openbsd.org/amd64.html">amd64</a>
426: platforms have switched to using
427: <a href="https://man.openbsd.org/clang-local.1">clang(1)</a>
428: as the base system compiler.
1.14 anton 429: <li>Improved UTF-8 line editing support for
1.24 anton 430: <a href="https://man.openbsd.org/ksh.1">ksh(1)</a>
1.14 anton 431: Emacs and Vi input mode.
1.22 tb 432: <li>The HISTFILE of <a href="https://man.openbsd.org/ksh.1">ksh(1)</a> now uses
433: a plain text format. Support for the
434: <a href="https://man.openbsd.org/ksh#HISTCONTROL">HISTCONTROL</a>
435: environment variable was added.
1.37 jca 436: <li>The performance of the memory deallocator used by
437: <a href="https://man.openbsd.org/ksh.1">ksh(1)</a> has been fixed.
438: <li>The <tt>emacs-usemeta</tt> <a href="https://man.openbsd.org/ksh.1">ksh(1)</a>
439: flag is no longer needed and is now deprecated.
1.41 schwarze 440: <li>New <a href="https://man.openbsd.org/futex">futex(2)</a> syscall.
441: <li>New pthread
442: <a href="https://man.openbsd.org/pthread_mutex_init">mutex</a> and
443: <a href="https://man.openbsd.org/pthread_cond_init">condition
444: variable</a> implementations improving latency
445: of threaded applications.
446: <li>New POSIX <a href="https://man.openbsd.org/newlocale.3">xlocale</a>
447: implementation written from scratch, complete in the sense that
448: all POSIX *locale(3) and *_l(3) functions are included, but in
449: OpenBSD, we of course only really care about <code>LC_CTYPE</code>
450: and we only support ASCII and UTF-8.
1.62 tedu 451: <li>Automatic hibernation and suspend by
452: <a href="https://man.openbsd.org/apmd">apmd</a>
453: when battery is low.
1.44 mpi 454: <li>New <a href="https://man.openbsd.org/ctfdump">ctfdump(1)</a> and
455: <a href="https://man.openbsd.org/ctfconv">ctfconv(1)</a>
1.41 schwarze 456: tools to manipulate CTF (Compact C Type Format).
1.31 bluhm 457: <li>The error handling in
458: <a href="https://man.openbsd.org/syslogd.8">syslogd(8)</a>
459: has been improved.
1.38 jca 460: Even if internal errors occur, the daemon tries to keep
1.31 bluhm 461: unaffected subsystems active.
462: So as many messages as possible are logged.
463: They can be filtered by severity and facility "syslog".
464: <li>syslogd(8) can now suppress "last message repeated" which is
465: useful for remote logging.
466: <li>syslogd(8) can listen on multiple TLS sockets.
467: <li>syslogd(8) closes the *.514 UDP sockets when they are not
468: needed.
1.54 bluhm 469: <li>Truncate log messages at 8192 bytes everywhere.
1.37 jca 470: <li><a href="https://man.openbsd.org/newsyslog.8">newsyslog(8)</a>
471: now skips and logs invalid config lines.
1.31 bluhm 472: <li>Nested mount points are umounted in correct order.
1.33 krw 473: <li>Fix creation of
474: <a href="https://man.openbsd.org/softraid.4">softraid(4)</a>
475: CONCAT volumes.
476: <li>Include
477: <a href="https://man.openbsd.org/softraid.4">softraid(4)</a>
478: volume and backing disk information in i/o error messages.
479: <li>Make
480: <a href="https://man.openbsd.org/vioscsi.4">vioscsi(4)</a>
481: a normal
482: <a href="https://man.openbsd.org/scsi.4">scsi(4)</a>
483: device by eliminating its use of the obsolete XS_NO_CCB mechanism.
1.38 jca 484: <li>Remove last vestiges of now unused XS_NO_CCB mechanism.
1.43 visa 485: <li>Userspace can now get the address of the thread control block
486: without a system call on OCTEON II and later.
487: <li>FPU is enabled on OCTEON III.
1.44 mpi 488: <li>GENERIC kernels now include a .SUNW_ctf section containing CTF data
489: <li>New <a href="https://man.openbsd.org/ddb.4">ddb(4)</a> <tt>kill</tt>
490: command, send an uncatchable SIGABRT to a process.
491: <li>New <a href="https://man.openbsd.org/ddb.4">ddb(4)</a> <tt>pprint</tt>
492: command, using CTF information to "pretty print" global symbols.
493: <li>New <a href="https://man.openbsd.org/ddb.4">ddb(4)</a>
494: <tt>show struct</tt> command, using CTF information to display the content
495: of in memory C structures.
496: <li>x86: <a href="https://man.openbsd.org/ddb.4">ddb(4)</a> uses CTF data
497: to display the correct number of function arguments in backtraces
1.45 tb 498: <li>Power off all codecs in
499: <a href="https://man.openbsd.org/azalia.4">azalia(4)</a> to avoid static
500: noise in speakers and headphones on reboot.
1.46 mlarkin 501: <li>Fix i386 boot regression seen on very old 486DX CPUs.
1.49 visa 502: <li>New <a href="https://man.openbsd.org/witness.4">witness(4)</a> tool
503: for debugging lock order issues in the kernel.
504: The tool is not built in by default, and only amd64, hppa and i386
505: are supported.
1.53 deraadt 506: <li>Modernize some bizzare tty behaviours of getty(8).
507: <li>Some subtle changes to pledge(2) to satisfy requirements observed
508: in real life.
509: <li>Prefer use of waitpid(2) rather than wait(3) where possible, to
510: avoid problems with pre-existing children.
511: <li>Rewrite swaths of machine-dependent system call stub code in ld.so(1)
512: in a more portable fashion.
1.52 dlg 513: <li><a href="https://man.openbsd.org/pool_cache_init.9">Per-CPU
514: caches</a> implemented in pools
1.46 mlarkin 515: </ul>
1.1 deraadt 516: <p>
517:
518: <li>OpenSMTPD X.X.X
519: <ul>
520: <li>...
521: </ul>
522: <p>
523:
1.57 deraadt 524: <li>OpenSSH 7.6
1.1 deraadt 525: <ul>
526: <li>Security:
527: <ul>
1.56 djm 528: <li>sftp-server(8): in read-only mode, sftp-server was incorrectly
529: permitting creation of zero-length files.
1.1 deraadt 530: </ul>
531: <li>New/changed features:
532: <ul>
1.31 bluhm 533: <li>Add RemoteCommand option to specify a command in the
534: <a href="https://man.openbsd.org/ssh.1">ssh(1)</a>
535: config file instead of giving it on the client's command
536: line.
537: The feature allows to automate tasks using ssh config.
1.56 djm 538: <li>sshd(8): add ExposeAuthInfo option that enables writing details of
539: the authentication methods used (including public keys where
540: applicable) to a file that is exposed via a $SSH_USER_AUTH
541: environment variable in the subsequent session.
542: <li>ssh(1): add support for reverse dynamic forwarding. In this mode,
543: ssh will act as a SOCKS4/5 proxy and forward connections
544: to destinations requested by the remote SOCKS client. This mode
545: is requested using extended syntax for the -R and RemoteForward
546: options and, because it is implemented solely at the client,
547: does not require the server be updated to be supported.
548: <li>sshd(8): allow LogLevel directive in sshd_config Match blocks.
549: <li>ssh-keygen(1): allow inclusion of arbitrary string or flag
550: certificate extensions and critical options.`
551: <li>ssh-keygen(1): allow ssh-keygen to use a key held in ssh-agent as
552: a CA when signing certificates.
553: <li>ssh(1)/sshd(8): allow IPQoS=none in ssh/sshd to not set an explicit
554: ToS/DSCP value and just use the operating system default.
555: <li>ssh-add(1): added -q option to make ssh-add quiet on success.
556: <li>ssh(1): expand the StrictHostKeyChecking option with two new
557: settings. The first "accept-new" will automatically accept
558: hitherto-unseen keys but will refuse connections for changed or
559: invalid hostkeys. This is a safer subset of the current behaviour
560: of StrictHostKeyChecking=no. The second setting "off", is a synonym
561: for the current behaviour of StrictHostKeyChecking=no: accept new
562: host keys, and continue connection for hosts with incorrect
563: hostkeys. A future release will change the meaning of
564: StrictHostKeyChecking=no to the behaviour of "accept-new".
565: <li>ssh(1): add SyslogFacility option to ssh(1) matching the equivalent
566: option in sshd(8).
1.1 deraadt 567: </ul>
568: <li>The following significant bugs have been fixed in this release:
569: <ul>
1.56 djm 570: <li>ssh(1): use HostKeyAlias if specified instead of hostname for
571: matching host certificate principal names
572: <li>sftp(1): implement sorting for globbed ls.
573: <li>ssh(1): add a user@host prefix to client's "Permission denied"
574: messages, useful in particular when using "stacked" connections
575: (e.g. ssh -J) where it's not clear which host is denying.
576: <li>ssh(1): accept unknown EXT_INFO extension values that contain \0
577: characters. These are legal, but would previously cause fatal
578: connection errors if received.
579: <li>ssh(1)/sshd(8): repair compression statistics printed at
580: connection exit.
581: <li>sftp(1): print '?' instead of incorrect link count (that the
582: protocol doesn't provide) for remote listings.
583: <li>ssh(1): return failure rather than fatal() for more cases during
584: session multiplexing negotiations. Causes the session to fall back
585: to a non-mux connection if they occur.
586: <li>ssh(1): mention that the server may send debug messages to explain
587: public key authentication problems under some circumstances.
588: <li>Translate OpenSSL error codes to better report incorrect passphrase
589: errors when loading private keys.
590: <li>sshd(8): adjust compatibility patterns for WinSCP to correctly
591: identify versions that implement only the legacy DH group exchange
592: scheme.
593: <li>ssh(1): print the "Killed by signal 1" message only at LogLevel
594: verbose so that it is not shown at the default level; prevents it
595: from appearing during ssh -J and equivalent ProxyCommand configs.
596: <li>ssh-keygen(1): when generating all hostkeys (ssh-keygen -A), clobber
597: existing keys if they exist but are zero length. zero-length keys
598: could previously be made if ssh-keygen failed or was interrupted part
599: way through generating them.
600: <li>ssh(1): fix pledge(2) violation in the escape sequence "~&" used to
601: place the current session in the background.
602: <li>ssh-keyscan(1): avoid double-close() on file descriptors.
603: <li>sshd(8): avoid reliance on shared use of pointers shared between
604: monitor and child sshd processes.
605: <li>sshd_config(8): document available AuthenticationMethods.
606: <li>ssh(1): avoid truncation in some login prompts.
607: <li>ssh(1): make "--" before the hostname terminate argument processing
608: after the hostname too.
609: <li>ssh-keygen(1): switch from aes256-cbc to aes256-ctr for encrypting
610: new-style private keys. Fixes problems related to private key
611: handling for no-OpenSSL builds.
612: <li>ssh(1): warn and do not attempt to use keys when the public and
613: private halves do not match.
614: <li>sftp(1): don't print verbose error message when ssh disconnects
615: from under sftp.
616: <li>sshd(8): fix keepalive scheduling problem: activity on a forwarded
617: port from preventing the keepalive from being sent.
618: <li>sshd(8): when started without root privileges, don't require the
619: privilege separation user or path to exist. Makes running the
620: regression tests easier without touching the filesystem.
621: <li>Make integrity.sh regression tests more robust against timeouts.
622: <li>ssh(1)/sshd(8): correctness fix for channels implementation: accept
623: channel IDs greater than 0x7FFFFFFF.
1.1 deraadt 624: </ul>
625: </ul>
626: <p>
627:
1.58 jsing 628: <li>LibreSSL 2.6.3
1.1 deraadt 629: <ul>
1.60 jsing 630: <li>Added support for providing CRLs to libtls - once a CRL is provided via
631: <a href="https://man.openbsd.org/tls_config_set_crl_file.3">tls_config_set_crl_file(3)</a>
632: or
633: <a href="https://man.openbsd.org/tls_config_set_crl_mem.3">tls_config_set_crl_mem(3)</a>,
634: CRL checking is enabled and required for the full certificate chain.
1.58 jsing 635: <li>Reworked TLS certificate name verification code to more strictly
636: follow RFC 6125.
637: <li>Cleaned up and simplified server key exchange EC point handling.
638: <li>Removed inconsistent IPv6 handling from BIO_get_accept_socket(),
639: simplified BIO_get_host_ip() and BIO_accept().
640: <li>Added definitions for three OIDs used in EV certificates.
641: <li>Relaxed SNI validation to allow non-RFC-compliant clients using literal
642: IP addresses with SNI to connect to a libtls-based TLS server.
643: <li>Added tls_peer_cert_chain_pem() to libtls, useful in private certificate
644: validation callbacks such as those in relayd.
645: <li>Converted explicit clear/free sequences to use
646: <a href="https://man.openbsd.org/freezero.3">freezero(3)</a>.
647: <li>Fixed the
648: <a href="https://man.openbsd.org/openssl.1">openssl(1)</a>
649: ca command so that is generates certificates with RFC 5280-conformant time.
650: <li>Added
651: <a href="https://man.openbsd.org/ASN1_TIME_set_tm.3">ASN1_TIME_set_tm(3)</a>
652: to set an ASN.1 time from a struct tm *.
653: <li>Added
654: <a href="https://man.openbsd.org/SSL_CTX_set_min_proto_version.3">SSL{,_CTX}_set_{min,max}_proto_version(3)</a>
655: functions.
656: <li>Imported HKDF (HMAC Key Derivation Function) from BoringSSL.
657: <li>Provided a
658: <a href="https://man.openbsd.org/tls_unload_file.3">tls_unload_file(3)</a>
659: function that frees the memory returned from a
660: <a href="https://man.openbsd.org/tls_load_file.3">tls_load_file(3)</a>
661: call, ensuring that it the contents become inaccessible.
662: <li>Implemented reference counting for libtls tls_config, allowing
663: <a href="https://man.openbsd.org/tls_config_free.3">tls_config_free(3)</a>
664: to be called as soon as it has been passed to the final
665: <a href="https://man.openbsd.org/tls_configure.3">tls_configure(3)</a>
666: call, simplifying lifetime tracking for the application.
667: <li>Dropped cipher suites using DSS authentication.
668: <li>Removed support for DSS/DSA from libssl.
669: <li>Distinguish between self-issued certificates and self-signed
670: certificates. The certificate verification code has special cases
671: for self-signed certificates and without this change, self-issued
672: certificates (which it seems are common place with
673: openvpn/easyrsa) were also being included in this category.
674: <li>Added a new TLS extension handling framework and converted all
675: TLS extensions to use it.
676: <li>Improved and added many new manpages. Updated
677: <a href="https://man.openbsd.org/SSL_CTX_check_private_key.3">SSL_{CTX_,}check_private_key(3)</a>
678: manpages with additional cautions regarding their use.
679: <li>Cleaned up and simplified EC key/curve configuration handling.
680: <li>Added
681: <a href="https://man.openbsd.org/tls_config_set_ecdhecurves.3">tls_config_set_ecdhecurves(3)</a>
682: to libtls, which allows the names of the elliptical curves that may
683: be used during client and server key exchange to be specified.
684: <li>Converted more code paths to use CBB/CBS.
685: <li>Removed NPN support - NPN was never standardised and the last draft
686: expired in October 2012.
687: <li>Removed SSL_OP_CRYPTOPRO_TLSEXT_BUG workaround for old/broken
688: CryptoPro clients.
689: <li>Removed support for the TLS padding extension, which was added as a
1.60 jsing 690: workaround for an old bug in F5's TLS termination.
1.58 jsing 691: <li>Added ability to clamp notafter valies in certificates for systems
692: with 32-bit time_t. This is necessary to conform to RFC 5280 4.1.2.5.
693: <li>Removed the original (pre-IETF) chacha20-poly1305 cipher suites.
694: <li>Reclassified ECDHE-RSA-DES-CBC3-SHA from HIGH to MEDIUM.
695: <li>Provide a useful error with libtls if there are no OCSP URLs in a
696: peer certificate.
697: <li>Keep track of which keypair is in use by a TLS context, fixing a bug
698: where a TLS server with SNI would only return the OCSP staple for the
699: default keypair.
700: <li>If
701: <a href="https://man.openbsd.org/tls_config_parse_protocols.3">tls_config_parse_protocols(3)</a>
702: is called with a NULL pointer it now
703: returns the default protocols.
1.1 deraadt 704: </ul>
705: <p>
706:
1.41 schwarze 707: <li>mandoc 1.14.3
1.1 deraadt 708: <ul>
1.41 schwarze 709: <li>Full <a href="https://man.openbsd.org/mandocdb.5">mandoc.db(5)</a>
710: databases are now enabled by default, allowing semantic searching
711: with <a href="https://man.openbsd.org/apropos.1">apropos(1)</a>
712: without any local configuration changes.
713: <li>Full integration of the former
714: <a href="https://cvsweb.openbsd.org/cgi-bin/cvsweb/src/regress/usr.bin/mdoclint/">mdoclint(1)</a>
715: utility into <a href="https://man.openbsd.org/mandoc.1">mandoc(1)</a>
716: <code>-Wall</code>, new <code>-Wstyle</code> and
717: <code>-Wopenbsd</code> message levels, and many new messages,
718: for example about typos in <code>.Sh</code> lines,
719: unknown <code>.Xr</code> targets, and links to self.
720: <li>Additional steps unifying the
721: <a href="https://man.openbsd.org/mdoc.7">mdoc(7)</a>,
722: <a href="https://man.openbsd.org/man.7">man(7)</a>, and
723: <a href="https://man.openbsd.org/roff.7">roff(7)</a> parsers:
724: use one common data type and
725: <a href="https://man.openbsd.org/ohash_init.3">ohash_init(3)</a>
726: for all requests and macros and support creation of syntax tree
727: nodes in the roff(7) parser, allowing support for many new
728: low-level roff(7) features.
729: Only about 25 ports still need <code>USE_GROFF</code> now.
730: <li>Many improvements to
731: <a href="https://man.openbsd.org/tbl.7">tbl(7)</a>
732: parsing and formatting,
733: including automatic line wrapping inside table columns.
734: <li>Many improvements to
735: <a href="https://man.openbsd.org/eqn.7">eqn(7)</a>
736: parsing and formatting, including better font selection,
737: recognition of well-known mathematical function names, and writing
738: of <code><mn></code> and <code><mo></code> HTML tags.
739: <li>Intelligible rendering of mathematical symbols in
740: <code>-Tascii</code> output.
741: <li>Several parsing and rendering improvements for the
742: <a href="https://man.openbsd.org/mdoc.7">mdoc(7)</a>
743: <code>.Lk</code> macro.
744: <li>Some CSS improvements in HTML output, in particular for the
745: <a href="https://man.openbsd.org/mdoc.7">mdoc(7)</a>
746: <code>.Bl</code> macro.
1.1 deraadt 747: </ul>
748: <p>
749:
750: <li>Ports and packages:
751: <dl>
1.10 espie 752: <dt>A massive amount of clang-related fixes happened between 6.1 and 6.2.
1.1 deraadt 753: <dt>Many pre-built packages for each architecture:
754: </dl>
755: <!-- number of FTP packages minus SHA256, SHA256.sig, index.txt -->
756: <table border=0 cellspacing=0 cellpadding=2 width="95%">
757: <tr>
758: <td valign="top" width="25%">
759: <ul>
760: <li>alpha: XXXX
1.53 deraadt 761: <li>amd64: 9728
1.1 deraadt 762: <li>arm: XXXX
763: </ul></td><td valign=top width="25%"><ul>
764: <li>hppa: XXXX
1.53 deraadt 765: <li>i386: 9285
1.1 deraadt 766: <li>mips64: XXXX
767: </ul></td><td valign=top width="25%"><ul>
768: <li>mips64el: XXXX
769: <li>powerpc: XXXX
770: <li>sparc64: XXXX
771: </ul></td></tr></table>
772: <p>
773:
774: <dl>
775: <dt>Some highlights:
776: </dl>
777: <table border=0 cellspacing=0 cellpadding=2 width="95%">
778: <tr>
779: <td valign="top" width="50%"><ul>
1.3 jasper 780: <li>AFL 2.51b
1.47 dcoppa 781: <li>CMake 3.9.3
1.3 jasper 782: <li>Chromium 61.0.3163.100
783: <li>Emacs 21.4 and 25.3
1.1 deraadt 784: <li>GCC 4.9.4
785: <li>GHC 7.10.3
1.3 jasper 786: <li>Gimp 2.8.22
787: <li>GNOME 3.24.2
788: <li>Go 1.9
1.1 deraadt 789: <li>Groff 1.22.3
1.3 jasper 790: <li>JDK 8u144
1.18 lteo 791: <li>KDE 3.5.10 and 4.14.3 (plus KDE4 core updates)
1.3 jasper 792: <li>LLVM/Clang 5.0.0
793: <li>LibreOffice 5.2.7.2
1.1 deraadt 794: <li>Lua 5.1.5, 5.2.4, and 5.3.4
1.3 jasper 795: <li>MariaDB 10.0.32
796: <li>Mozilla Firefox 52.4.0esr and 56.0.0
797: <li>Mozilla Thunderbird 52.2.1
1.1 deraadt 798: </ul></td><td valign=top width="50%"><ul>
1.3 jasper 799: <li>Mutt 1.9.1 and NeoMutt 20170912
800: <li>Node.js 6.11.2
1.1 deraadt 801: <li>Ocaml 4.03.0
1.3 jasper 802: <li>OpenLDAP 2.3.43 and 2.4.45
1.18 lteo 803: <li>PHP 5.6.31 and 7.0.23
1.3 jasper 804: <li>Postfix 3.2.2 and 3.3-20170910
805: <li>PostgreSQL 9.6.5
806: <li>Python 2.7.14 and 3.6.2
807: <li>R 3.4.1
808: <li>Ruby 1.8.7.374, 2.1.9, 2.2.8, 2.3.5 and 2.4.2
809: <li>Rust 1.20.0
810: <li>Sendmail 8.16.0.21
811: <li>SQLite3 3.20.1
812: <li>Sudo 1.8.21.2
813: <li>Tcl/Tk 8.5.19 and 8.6.6
814: <li>TeX Live 2016
815: <li>Vim 8.0.0987
1.1 deraadt 816: <li>Xfce 4.12
817: </ul></td></tr></table>
818: <p>
819:
820: <li>As usual, steady improvements in manual pages and other documentation.
821: <p>
822:
823: <li>The system includes the following major components from outside suppliers:
824: <ul>
1.13 matthieu 825: <li>Xenocara (based on X.Org 7.7 with xserver 1.18.4 + patches,
826: freetype 2.8.0, fontconfig 2.12.4, Mesa 13.0.6, xterm 330,
1.1 deraadt 827: xkeyboard-config 2.20 and more)
828: <li>LLVM/Clang 4.0.0 (+ patches)
829: <li>GCC 4.2.1 (+ patches) and 3.3.6 (+ patches)
1.18 lteo 830: <li>Perl 5.24.2 (+ patches)
1.2 florian 831: <li>NSD 4.1.17
832: <li>Unbound 1.6.6
1.1 deraadt 833: <li>Ncurses 5.7
834: <li>Binutils 2.17 (+ patches)
835: <li>Gdb 6.3 (+ patches)
836: <li>Awk Aug 10, 2011 version
1.31 bluhm 837: <li>Expat 2.2.4
1.1 deraadt 838: </ul>
839: </ul>
840:
841: <hr>
842:
843: <h3 id="install"><font color="#0000e0">How to install</font></h3>
844:
845: Please refer to the following files on the mirror site for
846: extensive details on how to install OpenBSD 6.2 on your machine:
847:
848: <ul>
849: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/6.2/alpha/INSTALL.alpha">
850: .../OpenBSD/6.2/alpha/INSTALL.alpha</a>
851: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/6.2/amd64/INSTALL.amd64">
852: .../OpenBSD/6.2/amd64/INSTALL.amd64</a>
853: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/6.2/arm64/INSTALL.arm64">
854: .../OpenBSD/6.2/arm64/INSTALL.arm64</a>
855: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/6.2/armv7/INSTALL.armv7">
856: .../OpenBSD/6.2/armv7/INSTALL.armv7</a>
857: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/6.2/hppa/INSTALL.hppa">
858: .../OpenBSD/6.2/hppa/INSTALL.hppa</a>
859: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/6.2/i386/INSTALL.i386">
860: .../OpenBSD/6.2/i386/INSTALL.i386</a>
861: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/6.2/landisk/INSTALL.landisk">
862: .../OpenBSD/6.2/landisk/INSTALL.landisk</a>
863: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/6.2/loongson/INSTALL.loongson">
864: .../OpenBSD/6.2/loongson/INSTALL.loongson</a>
865: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/6.2/luna88k/INSTALL.luna88k">
866: .../OpenBSD/6.2/luna88k/INSTALL.luna88k</a>
867: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/6.2/macppc/INSTALL.macppc">
868: .../OpenBSD/6.2/macppc/INSTALL.macppc</a>
869: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/6.2/octeon/INSTALL.octeon">
870: .../OpenBSD/6.2/octeon/INSTALL.octeon</a>
871: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/6.2/sgi/INSTALL.sgi">
872: .../OpenBSD/6.2/sgi/INSTALL.sgi</a>
873: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/6.2/sparc64/INSTALL.sparc64">
874: .../OpenBSD/6.2/sparc64/INSTALL.sparc64</a>
875: </ul>
876:
877: <hr>
878:
879: <p>
880: Quick installer information for people familiar with OpenBSD, and the use of
881: the "<a href="https://man.openbsd.org/disklabel.8">disklabel</a> -E" command.
882: If you are at all confused when installing OpenBSD, read the relevant
883: INSTALL.* file as listed above!
884:
885: <h3><font color="#e00000">OpenBSD/alpha:</font></h3>
886:
887: <ul style="list-style-type: none">
888: <li>
889: Write <i>floppy62.fs</i> or <i>floppyB62.fs</i> (depending on your machine)
890: to a diskette and enter <i>boot dva0</i>.
891: Refer to INSTALL.alpha for more details.
892: <p>
893: <li>
894: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install
895: will most likely fail.
896: </ul>
897:
898: <h3><font color="#e00000">OpenBSD/amd64:</font></h3>
899:
900: <ul style="list-style-type: none">
901: <li>
902: If your machine can boot from CD, you can write <i>install62.iso</i> or
903: <i>cd62.iso</i> to a CD and boot from it.
904: You may need to adjust your BIOS options first.
905: <p>
906: <li>
907: If your machine can boot from USB, you can write <i>install62.fs</i> or
908: <i>miniroot62.fs</i> to a USB stick and boot from it.
909: <p>
910: <li>
911: If you can't boot from a CD, floppy disk, or USB,
912: you can install across the network using PXE as described in the included
913: INSTALL.amd64 document.
914: <p>
915: <li>
916: If you are planning to dual boot OpenBSD with another OS, you will need to
917: read INSTALL.amd64.
918: </ul>
919:
920: <h3><font color="#e00000">OpenBSD/arm64:</font></h3>
921:
922: <ul style="list-style-type: none">
923: <li>
924: Write <i>miniroot62.fs</i> to a disk and boot from it after connecting
925: to the serial console. Refer to INSTALL.arm64 for more details.
926: <p>
927: </ul>
928:
929: <h3><font color="#e00000">OpenBSD/armv7:</font></h3>
930:
931: <ul style="list-style-type: none">
932: <li>
933: Write a system specific miniroot to an SD card and boot from it after connecting
934: to the serial console. Refer to INSTALL.armv7 for more details.
935: <p>
936: </ul>
937:
938: <h3><font color="#e00000">OpenBSD/hppa:</font></h3>
939:
940: <ul style="list-style-type: none">
941: <li>
942: Boot over the network by following the instructions in INSTALL.hppa or the
943: <a href="hppa.html#install">hppa platform page</a>.
944: </ul>
945:
946: <h3><font color="#e00000">OpenBSD/i386:</font></h3>
947:
948: <ul style="list-style-type: none">
949: <li>
950: If your machine can boot from CD, you can write <i>install62.iso</i> or
951: <i>cd62.iso</i> to a CD and boot from it.
952: You may need to adjust your BIOS options first.
953: <p>
954: <li>
955: If your machine can boot from USB, you can write <i>install62.fs</i> or
956: <i>miniroot62.fs</i> to a USB stick and boot from it.
957: <p>
958: <li>
959: If you can't boot from a CD, floppy disk, or USB,
960: you can install across the network using PXE as described in
961: the included INSTALL.i386 document.
962: <p>
963: <li>
964: If you are planning on dual booting OpenBSD with another OS, you will need to
965: read INSTALL.i386.
966: </ul>
967:
968: <h3><font color="#e00000">OpenBSD/landisk:</font></h3>
969:
970: <ul style="list-style-type: none">
971: <li>
972: Write <i>miniroot62.fs</i> to the start of the CF
973: or disk, and boot normally.
974: </ul>
975:
976: <h3><font color="#e00000">OpenBSD/loongson:</font></h3>
977:
978: <ul style="list-style-type: none">
979: <li>
980: Write <i>miniroot62.fs</i> to a USB stick and boot bsd.rd from it
981: or boot bsd.rd via tftp.
982: Refer to the instructions in INSTALL.loongson for more details.
983: </ul>
984:
985: <h3><font color="#e00000">OpenBSD/luna88k:</font></h3>
986:
987: <ul style="list-style-type: none">
988: <li>
989: Copy `boot' and `bsd.rd' to a Mach or UniOS partition, and boot the bootloader
990: from the PROM, and then bsd.rd from the bootloader.
991: Refer to the instructions in INSTALL.luna88k for more details.
992: </ul>
993:
994: <h3><font color="#e00000">OpenBSD/macppc:</font></h3>
995:
996: <ul style="list-style-type: none">
997: <li>
998: Burn the image from a mirror site to a CDROM, and power on your machine
999: while holding down the <i>C</i> key until the display turns on and
1000: shows <i>OpenBSD/macppc boot</i>.
1001: <p>
1002: <li>
1003: Alternatively, at the Open Firmware prompt, enter <i>boot cd:,ofwboot
1004: /6.2/macppc/bsd.rd</i>
1005: </ul>
1006:
1007: <h3><font color="#e00000">OpenBSD/octeon:</font></h3>
1008:
1009: <ul style="list-style-type: none">
1010: <li>
1011: After connecting a serial port, boot bsd.rd over the network via DHCP/tftp.
1012: Refer to the instructions in INSTALL.octeon for more details.
1013: </ul>
1014:
1015: <h3><font color="#e00000">OpenBSD/sgi:</font></h3>
1016:
1017: <ul style="list-style-type: none">
1018: <li>
1019: To install, burn cd62.iso on a CD-R, put it in the CD drive of your
1020: machine and select <i>Install System Software</i> from the System Maintenance
1021: menu. Indigo/Indy/Indigo2 (R4000) systems will not boot automatically from
1022: CD-ROM, and need a proper invocation from the PROM prompt.
1023: Refer to the instructions in INSTALL.sgi for more details.
1024:
1025: <p>
1026: <li>
1027: If your machine doesn't have a CD drive, you can setup a DHCP/tftp network
1028: server, and boot using "bootp()/bsd.rd.IP##" using the kernel matching your
1029: system type. Refer to the instructions in INSTALL.sgi for more details.
1030: </ul>
1031:
1032: <h3><font color="#e00000">OpenBSD/sparc64:</font></h3>
1033:
1034: <ul style="list-style-type: none">
1035: <li>
1036: Burn the image from a mirror site to a CDROM, boot from it, and type
1037: <i>boot cdrom</i>.
1038: <p>
1039: <li>
1040: If this doesn't work, or if you don't have a CDROM drive, you can write
1041: <i>floppy62.fs</i> or <i>floppyB62.fs</i>
1042: (depending on your machine) to a floppy and boot it with <i>boot
1043: floppy</i>. Refer to INSTALL.sparc64 for details.
1044: <p>
1045: <li>
1046: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install
1047: will most likely fail.
1048: <p>
1049: <li>
1050: You can also write <i>miniroot62.fs</i> to the swap partition on
1051: the disk and boot with <i>boot disk:b</i>.
1052: <p>
1053: <li>
1054: If nothing works, you can boot over the network as described in INSTALL.sparc64.
1055: </ul>
1056:
1057: <hr>
1058:
1059: <h3 id="upgrade"><font color="#0000e0">How to upgrade</font></h3>
1060:
1061: If you already have an OpenBSD 6.1 system, and do not want to reinstall,
1062: upgrade instructions and advice can be found in the
1063: <a href="faq/upgrade62.html">Upgrade Guide</a>.
1064: <p>
1065:
1066: <hr>
1067:
1068: <h3 id="sourcecode"><font color="#0000e0">Notes about the source code</font></h3>
1069:
1070: <tt>src.tar.gz</tt> contains a source archive starting at <tt>/usr/src</tt>.
1071: This file contains everything you need except for the kernel sources,
1072: which are in a separate archive.
1073: To extract:
1074:
1075: <blockquote><pre>
1076: # <b>mkdir -p /usr/src</b>
1077: # <b>cd /usr/src</b>
1078: # <b>tar xvfz /tmp/src.tar.gz</b>
1079: </pre></blockquote>
1080:
1081: <tt>sys.tar.gz</tt> contains a source archive starting at <tt>/usr/src/sys</tt>.
1082: This file contains all the kernel sources you need to rebuild kernels.
1083: To extract:
1084:
1085: <blockquote><pre>
1086: # <b>mkdir -p /usr/src/sys</b>
1087: # <b>cd /usr/src</b>
1088: # <b>tar xvfz /tmp/sys.tar.gz</b>
1089: </pre></blockquote>
1090:
1091: Both of these trees are a regular CVS checkout. Using these trees it
1092: is possible to get a head-start on using the anoncvs servers as
1093: described <a href="anoncvs.html">here</a>.
1094: Using these files
1095: results in a much faster initial CVS update than you could expect from
1096: a fresh checkout of the full OpenBSD source tree.
1097: <p>
1098:
1099: <hr>
1100:
1101: <h3 id="ports"><font color="#0000e0">Ports Tree</font></h3>
1102:
1103: A ports tree archive is also provided. To extract:
1104:
1105: <blockquote><pre>
1106: # <b>cd /usr</b>
1107: # <b>tar xvfz /tmp/ports.tar.gz</b>
1108: </pre></blockquote>
1109:
1110: Go read the <a href="faq/ports/index.html">ports</a> page
1111: if you know nothing about ports
1112: at this point. This text is not a manual of how to use ports.
1113: Rather, it is a set of notes meant to kickstart the user on the
1114: OpenBSD ports system.
1115: <p>
1116: The <i>ports/</i> directory represents a CVS checkout of our ports.
1117: As with our complete source tree, our ports tree is available via
1118: <a href="anoncvs.html">AnonCVS</a>.
1119: So, in order to keep up to date with the <i>-stable</i> branch, you must make
1120: the <i>ports/</i> tree available on a read-write medium and update the tree
1121: with a command like:
1122:
1123: <blockquote><pre>
1124: # <b>cd /usr/ports</b>
1.15 phessler 1125: # <b>cvs -d anoncvs@server.openbsd.org:/cvs update -Pd -rOPENBSD_6_2</b>
1.1 deraadt 1126: </pre></blockquote>
1127:
1128: [Of course, you must replace the server name here with a nearby anoncvs
1129: server.]
1130: <p>
1131: Note that most ports are available as packages on our mirrors. Updated
1132: ports for the 6.2 release will be made available if problems arise.
1133: <p>
1134: If you're interested in seeing a port added, would like to help out, or just
1135: would like to know more, the mailing list
1136: <a href="mail.html">ports@openbsd.org</a> is a good place to know.
1137: <p>
1138: </body>
1139: </html>