Annotation of www/60.html, Revision 1.84
1.79 bentley 1: <!doctype html>
2: <html lang=en id=release>
3: <meta charset=utf-8>
4:
1.1 deraadt 5: <title>OpenBSD 6.0</title>
6: <meta name="description" content="OpenBSD 6.0">
7: <meta name="viewport" content="width=device-width, initial-scale=1">
8: <link rel="stylesheet" type="text/css" href="openbsd.css">
1.48 tb 9: <link rel="canonical" href="https://www.openbsd.org/60.html">
1.1 deraadt 10:
1.79 bentley 11: <h2 id=OpenBSD>
1.1 deraadt 12: <a href="index.html">
1.79 bentley 13: <i>Open</i><b>BSD</b></a>
14: 6.0
1.1 deraadt 15: </h2>
16:
1.79 bentley 17: <table>
18: <tr>
19: <td>
1.1 deraadt 20: <a href="images/puff.jpg">
1.79 bentley 21: <img alt="Puff" width="227" height="343" src="images/puff.jpg"></a>
22: <td>
1.72 deraadt 23: Released Sep 1, 2016<br>
1.1 deraadt 24: Copyright 1997-2016, Theo de Raadt.<br>
1.79 bentley 25: <cite class=isbn>ISBN 978-0-9881561-8-0</cite>
1.1 deraadt 26: <br>
1.63 jung 27: 6.0 Songs:
1.40 deraadt 28: <a href="lyrics.html#60a">"Another Smash of the Stack"</a>,
1.43 deraadt 29: <a href="lyrics.html#60b">"Black Hat"</a>,
30: <a href="lyrics.html#60c">"Money"</a><br>
31:
32:
33:
1.64 deraadt 34: <a href="lyrics.html#60d">"Comfortably Dumb (the misc song)"</a>,
1.72 deraadt 35: <a href="lyrics.html#60e">"Mother"</a>,
36: <a href="lyrics.html#60f">"Goodbye"</a>.
1.78 deraadt 37: <br>
1.1 deraadt 38: <ul>
39: <li>See the information on <a href="ftp.html">the FTP page</a> for
40: a list of mirror machines.
1.79 bentley 41: <li>Go to the <code class=reldir>pub/OpenBSD/6.0/</code> directory on
1.1 deraadt 42: one of the mirror sites.
43: <li>Have a look at <a href="errata60.html">the 6.0 errata page</a> for a list
44: of bugs and workarounds.
45: <li>See a <a href="plus60.html">detailed log of changes</a> between the
46: 5.9 and 6.0 releases.
47: <p>
1.74 tb 48: <li><a href="https://man.openbsd.org/signify.1">signify(1)</a>
1.77 deraadt 49: pubkeys for this release:<p>
50:
1.79 bentley 51: <table class=signify>
52: <tr><td>
53: openbsd-61-base.pub:
1.77 deraadt 54: <td>
55: RWSho3oKSqgLQy+NpIhFXZJDtkE65tzlmtC24mStf8DoJd2OPMgna4u8
1.79 bentley 56: <tr><td>
1.77 deraadt 57: openbsd-61-fw.pub:
1.79 bentley 58: <td>
1.77 deraadt 59: RWRWf7GJKFvJTWEMIaw9wld0DujiqL1mlrC6HisE6i78C+2SRArV1Iyo
1.79 bentley 60: <tr><td>
1.77 deraadt 61: openbsd-61-pkg.pub:
1.79 bentley 62: <td>
1.77 deraadt 63: RWQHIajRlT2mX7tmRgb6oN6mfJu3AgQ/TU38acrWABO8lz90dR3rNmey
64: </table>
1.81 deraadt 65: </ul>
1.1 deraadt 66: <p>
67: All applicable copyrights and credits are in the src.tar.gz,
68: sys.tar.gz, xenocara.tar.gz, ports.tar.gz files, or in the
1.83 deraadt 69: files fetched via <code>ports.tar.gz</code>.
1.79 bentley 70: </table>
1.1 deraadt 71:
72: <hr>
73:
1.79 bentley 74: <section id=new>
75: <h3>What's New</h3>
76: <p>
1.1 deraadt 77: This is a partial list of new features and systems included in OpenBSD 6.0.
78: For a comprehensive list, see the <a href="plus60.html">changelog</a> leading
79: to 6.0.
80:
81: <ul>
1.27 jsg 82: <li>New/extended platforms:
83: <ul>
1.28 deraadt 84: <li><a href="armv7.html">armv7</a>:
1.27 jsg 85: <ul>
86: <li>EFI bootloader added, kernels are now loaded from FFS instead
87: of FAT or EXT filesystems, without U-Boot headers.
88: <li>A single kernel and ramdisk are now used for all SoCs.
89: <li>Hardware is dynamically enumerated via Flattened Device
90: Tree (FDT) instead of via static tables based on board id numbers.
91: <li>Miniroot installer images include U-Boot 2016.07 with support for
92: EFI payloads.
93: </ul>
1.28 deraadt 94: <li><a href="vax.html">vax</a>:
95: <ul>
96: <li>Removed.
97: </ul>
1.27 jsg 98: </ul>
99:
1.1 deraadt 100: <li>Improved hardware support, including:
101: <ul>
1.79 bentley 102: <li>New <a href="https://man.openbsd.org/bytgpio">bytgpio(4)</a>
1.25 jsg 103: driver for the Intel Bay Trail GPIO controller.
1.79 bentley 104: <li>New <a href="https://man.openbsd.org/chvgpio">chvgpio(4)</a>
1.25 jsg 105: driver for the Intel Cherry View GPIO controller.
1.79 bentley 106: <li>New <a href="https://man.openbsd.org/maxrtc">maxrtc(4)</a>
1.25 jsg 107: driver for the Maxim DS1307 real time clock.
1.79 bentley 108: <li>New <a href="https://man.openbsd.org/nvme">nvme(4)</a>
1.25 jsg 109: driver for the Non-Volatile Memory Express (NVMe) host controller interface.
1.79 bentley 110: <li>New <a href="https://man.openbsd.org/pcfrtc">pcfrtc(4)</a>
1.25 jsg 111: driver for the NXP PCF8523 real time clock.
1.79 bentley 112: <li>New <a href="https://man.openbsd.org/umb">umb(4)</a>
1.25 jsg 113: driver for the Mobile Broadband Interface Model (MBIM).
1.79 bentley 114: <li>New <a href="https://man.openbsd.org/ure">ure(4)</a>
1.25 jsg 115: driver for RealTek RTL8152 based 10/100 USB Ethernet devices.
1.79 bentley 116: <li>New <a href="https://man.openbsd.org/utvfu">utvfu(4)</a>
1.25 jsg 117: driver for audio/video capture devices based on the Fushicai USBTV007.
1.79 bentley 118: <li>The <a href="https://man.openbsd.org/iwm">iwm(4)</a> driver
1.57 stsp 119: now supports Intel Wireless 3165 and 8260 devices, and works more
120: reliably in RAMDISK kernels.
1.25 jsg 121: <li>Support for I2C HID devices with GPIO signalled interrupts has
1.79 bentley 122: been added to <a href="https://man.openbsd.org/dwiic">dwiic(4)</a>.
1.26 jsg 123: <li>Support for larger bus widths, high speed modes, and DMA
124: transfers has been added to
1.79 bentley 125: <a href="https://man.openbsd.org/sdmmc">sdmmc(4)</a>,
126: <a href="https://man.openbsd.org/rtsx">rtsx(4)</a>,
127: <a href="https://man.openbsd.org/sdhc">sdhc(4)</a>, and
128: <a href="https://man.openbsd.org/imxesdhc">imxesdhc(4)</a>.
1.31 visa 129: <li>Support for EHCI and OHCI compliant USB controllers on Octeon II SoCs.
130: <li>Many USB device drivers have been enabled on OpenBSD/octeon.
1.54 stsp 131: <li>Improved support for hardware-reduced ACPI implementations.
1.57 stsp 132: <li>Improved support for ACPI 5.0 implementations.
1.58 stsp 133: <li>AES-NI crypto is now done without holding the kernel lock.
1.54 stsp 134: <li>Improved AGP support on PowerPC G5 machines.
135: <li>Added support for the SD card slot in Intel Bay Trail SoCs.
1.79 bentley 136: <li>The <a href="https://man.openbsd.org/ichiic">ichiic(4)</a> driver
1.57 stsp 137: now ignores the SMBALERT# interrupt to prevent an interrupt storm
138: with buggy BIOS implementations.
1.54 stsp 139: <li>Device attachment problems with the
1.79 bentley 140: <a href="https://man.openbsd.org/axen">axen(4)</a> driver have
1.54 stsp 141: been fixed.
1.79 bentley 142: <li>The <a href="https://man.openbsd.org/ral">ral(4)</a> driver
1.54 stsp 143: is more stable under load with RT2860 devices.
144: <li>Problems with dead keyboards after resume have been fixed in the
1.79 bentley 145: <a href="https://man.openbsd.org/pckbd">pckbd(4)</a> driver.
146: <li>The <a href="https://man.openbsd.org/rtsx">rtsx(4)</a> driver
1.54 stsp 147: now supports RTS522A devices.
148: <li>Initial support for MSI-X has been added.
1.57 stsp 149: <li>Support MSI-X in the
1.79 bentley 150: <a href="https://man.openbsd.org/virtio">virtio(4)</a> driver.
1.54 stsp 151: <li>Added a workaround for hardware DMA overruns to the
1.74 tb 152: <a href="https://man.openbsd.org/man4/dc.4">dc(4)</a> driver.
1.79 bentley 153: <li>The <a href="https://man.openbsd.org/acpitz">acpitz(4)</a> driver
1.54 stsp 154: now spins the fan down after cooling if ACPI uses hysteresis for
155: active cooling.
1.79 bentley 156: <li>The <a href="https://man.openbsd.org/xhci">xhci(4)</a> driver
1.54 stsp 157: now performs handoff from an xHCI-capable BIOS correctly.
1.57 stsp 158: <li>Support for multi-touch input has been added to the
1.79 bentley 159: <a href="https://man.openbsd.org/wsmouse">wsmouse(4)</a> driver.
160: <li>The <a href="https://man.openbsd.org/uslcom">uslcom(4)</a> driver
1.57 stsp 161: now supports the serial console of Aruba 7xxx wireless controllers.
1.79 bentley 162: <li>The <a href="https://man.openbsd.org/re">re(4)</a> driver
1.57 stsp 163: now works around broken LED configurations in APU1 EEPROMs.
1.79 bentley 164: <li>The <a href="https://man.openbsd.org/ehci">ehci(4)</a> driver
1.57 stsp 165: now works around problems with ATI USB controllers (e.g. SB700).
1.79 bentley 166: <li>The <a href="https://man.openbsd.org/xen">xen(4)</a> driver
1.62 stsp 167: now supports domU configuration under Qubes OS.
1.1 deraadt 168: </ul>
169:
1.30 stsp 170: <li>IEEE 802.11 wireless stack improvements:
1.1 deraadt 171: <ul>
1.30 stsp 172: <li>The HT block ack receive buffer logic follows the algorithm given
173: in the 802.11-2012 spec more closely.
1.79 bentley 174: <li>The <a href="https://man.openbsd.org/iwn">iwn(4)</a> driver now
1.30 stsp 175: keeps track of HT protection changes while associated to an 11n AP.
176: <li>The wireless stack and several drivers make more aggressive use
177: of RTS/CTS to avoid interference from legacy devices and hidden nodes.
1.79 bentley 178: <li>The <a href="https://man.openbsd.org/netstat">netstat(1)</a> -W
1.57 stsp 179: command now shows information about 802.11n events.
180: <li>In hostap mode, do not reuse association IDs of nodes which are
181: still cached. Fixes a problem where an access point using the
1.79 bentley 182: <a href="https://man.openbsd.org/ral">ral(4)</a> driver
1.57 stsp 183: would get stuck at 1 Mbps because Tx rate accounting happened
184: on the wrong node object.
1.1 deraadt 185: </ul>
186:
187: <li>Generic network stack improvements:
188: <ul>
1.49 mpi 189: <li>The routing table is now based on
190: <a href="http://www.hariguchi.org/art/art.pdf">ART</a> offering a
191: faster lookup.
192: <li>The number of route lookup per packet has been reduced to 1 in the
193: forwarding path.
194: <li>The prio field on VLAN headers is now correctly set on each fragment
195: of an IPv4 packet going out on a
1.74 tb 196: <a href="https://man.openbsd.org/vlan.4">vlan(4)</a> interface.
1.42 lteo 197: <li>Enabled device cloning for
1.74 tb 198: <a href="https://man.openbsd.org/bpf.4">bpf(4)</a>.
1.42 lteo 199: This allows the system to have just one bpf device node in /dev
200: that services all bpf consumers (up to 1024).
1.59 stsp 201: <li>The Tx queue of the
1.79 bentley 202: <a href="https://man.openbsd.org/cnmac">cnmac(4)</a>
1.59 stsp 203: driver can now be processed in parallel of the rest of the kernel.
204: <li>Network input path is now run in thread context.
1.1 deraadt 205: </ul>
206:
207: <li>Installer improvements:
208: <ul>
1.47 krw 209: <li>updated list of restricted usercodes
210: <li>install.sh and upgrade.sh merged into install.sub
1.74 tb 211: <li>update automatically runs <a href="https://man.openbsd.org/sysmerge">sysmerge(8)</a>
1.47 krw 212: in batch mode before
1.74 tb 213: <a href="https://man.openbsd.org/fw_update">fw_update(1)</a>
1.47 krw 214: <li>questions and answers are logged in a format that can be used as a
215: response file for use by
1.74 tb 216: <a href="https://man.openbsd.org/autoinstall">autoinstall(8)</a>
1.79 bentley 217: <li><code>/usr/local</code> is set to <code>wxallowed</code> during install
1.1 deraadt 218: </ul>
219:
220: <li>Routing daemons and other userland network improvements:
221: <ul>
1.11 schwarze 222: <li>Add routing table support to
1.74 tb 223: <a href="https://man.openbsd.org/rc.d.8">rc.d(8)</a> and
224: <a href="https://man.openbsd.org/rcctl.8">rcctl(8)</a>.
225: <li>Let <a href="https://man.openbsd.org/nc.1">nc(1)</a>
1.12 schwarze 226: support service names in addition to port numbers.
1.79 bentley 227: <li>Add <code>-M</code> and <code>-m</code> TTL flags to
1.74 tb 228: <a href="https://man.openbsd.org/nc.1">nc(1)</a>.
1.79 bentley 229: <li>Add <code>AF_UNIX</code> support to
1.74 tb 230: <a href="https://man.openbsd.org/tcpbench.1">tcpbench(1)</a>.
1.32 visa 231: <li>Fixed a regression in
1.74 tb 232: <a href="https://man.openbsd.org/rarpd.8">rarpd(8)</a>.
1.32 visa 233: The daemon could hang if it was idle for a long time.
1.79 bentley 234: <li>Added the <code>llprio</code> option in
1.74 tb 235: <a href="https://man.openbsd.org/ifconfig.8">ifconfig(8)</a>.
1.42 lteo 236: <li>Multiple programs that use
1.74 tb 237: <a href="https://man.openbsd.org/bpf.4">bpf(4)</a>
1.42 lteo 238: have been modified to take advantage of
1.74 tb 239: <a href="https://man.openbsd.org/bpf.4">bpf(4)</a>
1.79 bentley 240: device cloning by opening <code>/dev/bpf0</code> instead of looping
241: through <code>/dev/bpf*</code> devices. These programs include
1.74 tb 242: <a href="https://man.openbsd.org/arp.8">arp(8)</a>,
243: <a href="https://man.openbsd.org/dhclient.8">dhclient(8)</a>,
244: <a href="https://man.openbsd.org/dhcpd.8">dhcpd(8)</a>,
245: <a href="https://man.openbsd.org/dhcrelay.8">dhcrelay(8)</a>,
246: <a href="https://man.openbsd.org/hostapd.8">hostapd(8)</a>,
247: <a href="https://man.openbsd.org/mopd.8">mopd(8)</a>,
248: <a href="https://man.openbsd.org/npppd.8">npppd(8)</a>,
249: <a href="https://man.openbsd.org/rarpd.8">rarpd(8)</a>,
250: <a href="https://man.openbsd.org/rbootd.8">rbootd(8)</a>, and
251: <a href="https://man.openbsd.org/tcpdump.8">tcpdump(8)</a>.
252: The <a href="https://man.openbsd.org/pcap.3">libpcap</a> library
1.42 lteo 253: has also been modified accordingly.
1.1 deraadt 254: </ul>
255:
256: <li>Security improvements:
257: <ul>
1.79 bentley 258: <li><code>W^X</code> is now strictly enforced by default;
1.3 guenther 259: a program can only violate it if the executable is marked with
1.79 bentley 260: <code>PT_OPENBSD_WXNEEDED</code> and is located on a filesystem
261: mounted with the <code>wxallowed</code>
1.74 tb 262: <a href="https://man.openbsd.org/mount.8">mount(8)</a> option.
1.36 deraadt 263: Because there are still too many ports which violate W^X, the
1.79 bentley 264: installer mounts the <code>/usr/local</code> filesystem with
265: <code>wxallowed</code>. This allows the base system to be more
266: secure as long as <code>/usr/local</code> is a separate filesystem.
1.36 deraadt 267: If you use no W^X violating programs, consider manually
268: revoking that option.
1.74 tb 269: <li>The <a href="https://man.openbsd.org/setjmp.3">setjmp(3)</a>
1.3 guenther 270: family of functions now apply XOR cookies to stack and return-address
271: values in the jmpbuf on amd64, hppa, i386, mips64, and powerpc.
1.74 tb 272: <li>SROP mitigation: <a href="https://man.openbsd.org/sigreturn.2">sigreturn(2)</a>
1.3 guenther 273: can now only be used by the kernel-provided signal trampoline,
274: with a cookie to detect attempts to reuse it.
1.74 tb 275: <li>To deter code reuse exploits, <a href="https://man.openbsd.org/rc.8">rc(8)</a>
1.63 jung 276: re-links libc.so on startup, placing the objects in a random order.
1.74 tb 277: <li>In the <a href="https://man.openbsd.org/getpwnam.3">getpwnam(3)</a>
1.63 jung 278: family of functions, stop opening the shadow database by default.
1.74 tb 279: <li>Allow <a href="https://man.openbsd.org/tcpdump.8">tcpdump(8)</a>
1.79 bentley 280: <code>-r</code> to be started without root privileges.
1.11 schwarze 281: <li>Remove
1.74 tb 282: <a href="https://man.openbsd.org/OpenBSD-5.9/systrace">systrace</a>.
1.11 schwarze 283: <li>Remove Linux emulation support.
1.17 tedu 284: <li>Remove support for the usermount option.
1.19 tedu 285: <li>The TCP SYN cache reseeds its random hash function from
1.14 bluhm 286: time to time.
1.19 tedu 287: This prevents an attacker from calculating the distribution
1.14 bluhm 288: of the hash function with a timing attack.
289: <li>To work against SYN flooding attacks the administrator can
290: change the size of the hash array now.
1.74 tb 291: <a href="https://man.openbsd.org/netstat.1">netstat(1)</a>
1.79 bentley 292: <code>-s -p tcp</code> shows the relevant information to tune
1.15 bluhm 293: the SYN cache with
1.74 tb 294: <a href="https://man.openbsd.org/sysctl.8">sysctl(8)</a>
1.79 bentley 295: <code>net.inet.tcp</code>.
1.33 vgross 296: <li>The administrator can require root privileges for binding to some TCP
297: and UDP ports with
1.74 tb 298: <a href="https://man.openbsd.org/sysctl.8">sysctl(8)</a>
1.79 bentley 299: <code>net.inet.tcp.rootonly</code> and
1.74 tb 300: <a href="https://man.openbsd.org/sysctl.8">sysctl(8)</a>
1.79 bentley 301: <code>net.inet.udp.rootonly</code>.
1.57 stsp 302: <li>Remove a function pointer from the
1.74 tb 303: <a href="https://man.openbsd.org/mbuf.9">mbuf(9)</a> data structure
1.57 stsp 304: and use an index into an array of acceptable functions instead.
1.1 deraadt 305: </ul>
306:
307: <li>Assorted improvements:
308: <ul>
1.3 guenther 309: <li>The thread library can now be loaded into a single-threaded process.
310: <li>Improved symbol handling and standards compliance in libc.
1.79 bentley 311: For example, defining an <code>open()</code> function will no longer
1.3 guenther 312: interfere with the operation of
1.74 tb 313: <a href="https://man.openbsd.org/fopen.3">fopen(3)</a>.
1.79 bentley 314: <li><code>PT_TLS</code> sections are now supported in initially loaded object.
1.3 guenther 315: <li>Improved handling of "no paths" and "empty path" in
1.74 tb 316: <a href="https://man.openbsd.org/fts.3">fts(3)</a>.
317: <li>In <a href="https://man.openbsd.org/pcap.3">pcap(3)</a>,
1.79 bentley 318: provide the functions <code>pcap_free_datalinks()</code>
319: and <code>pcap_offline_filter()</code>.
1.12 schwarze 320: <li>Many bugfixes and structural cleanup in the
1.74 tb 321: <a href="https://man.openbsd.org/editline">editline(3)</a> library.
1.12 schwarze 322: <li>Remove ancient
1.74 tb 323: <a href="https://man.openbsd.org/OpenBSD-5.9/dbm.3">dbm(3)</a>
1.12 schwarze 324: functions;
1.74 tb 325: <a href="https://man.openbsd.org/ndbm.3">ndbm(3)</a> remains.
1.79 bentley 326: <li>Add <code>setenv</code> keyword for more powerful environment handling in
1.74 tb 327: <a href="https://man.openbsd.org/doas.conf.5">doas.conf(5)</a>.
1.79 bentley 328: <li>Add <code>-g</code> and <code>-p</code> options to
1.74 tb 329: <a href="https://man.openbsd.org/aucat.1">aucat.1</a>
1.12 schwarze 330: for time positioning.
1.74 tb 331: <li>Rewrite <a href="https://man.openbsd.org/audioctl.1">audioctl(1)</a>
1.12 schwarze 332: with a simpler user interface.
1.79 bentley 333: <li>Add <code>-F</code> option to
1.74 tb 334: <a href="https://man.openbsd.org/install.1">install(1)</a>
335: to <a href="https://man.openbsd.org/fsync.2">fsync(2)</a>
1.12 schwarze 336: the file before closing it.
1.74 tb 337: <li><a href="https://man.openbsd.org/kdump.1">kdump(1)</a>
1.79 bentley 338: now dumps <code>pollfd</code> structures.
1.12 schwarze 339: <li>Improve various details of
1.74 tb 340: <a href="https://man.openbsd.org/ksh.1">ksh(1)</a> POSIX compliance.
341: <li><a href="https://man.openbsd.org/mknod.8">mknod(8)</a> rewritten in a
342: <a href="https://man.openbsd.org/pledge.2">pledge(2)</a>-friendly
1.12 schwarze 343: style and to support creating multiple devices at once.
1.74 tb 344: <li>Implement <a href="https://man.openbsd.org/rcctl.8">rcctl(8)</a>
1.79 bentley 345: <code>get all</code> and <code>getdef all</code>.
1.74 tb 346: <li>Implement the <a href="https://man.openbsd.org/rcs.1">rcs(1)</a>
1.79 bentley 347: <code>-I</code> (interactive) flag.
1.74 tb 348: <li>In <a href="https://man.openbsd.org/rcs.1">rcs(1)</a>,
1.63 jung 349: implement Mdocdate keyword substitution.
1.74 tb 350: <li>In <a href="https://man.openbsd.org/top.1">top(1)</a>,
1.63 jung 351: allow to filter process arguments if they are being displayed.
1.11 schwarze 352: <li>Added UTF-8 support to
1.74 tb 353: <a href="https://man.openbsd.org/fold.1">fold(1)</a> and
354: <a href="https://man.openbsd.org/rev.1">rev(1)</a>.
1.11 schwarze 355: <li>Enable UTF-8 by default in
1.74 tb 356: <a href="https://man.openbsd.org/xterm.1">xterm(1)</a> and
357: <a href="https://man.openbsd.org/pod2man.1">pod2man(1)</a>.
1.11 schwarze 358: <li>Filter out non-ASCII characters in
1.74 tb 359: <a href="https://man.openbsd.org/wall.1">wall(1)</a>.
360: <li>Handle the <a href="https://man.openbsd.org/?apropos=1&query=Ev%3DCOLUMNS">COLUMNS</a>
1.12 schwarze 361: environment variable consistently across many programs.
1.79 bentley 362: <li>The options <code>-c</code> and <code>-k</code> allow to provide
1.14 bluhm 363: TLS client certificates for
1.74 tb 364: <a href="https://man.openbsd.org/syslogd.8">syslogd(8)</a>
1.14 bluhm 365: on the sending side.
1.18 tedu 366: With that the receiving side can verify log messages
1.14 bluhm 367: are authentic.
368: Note that syslogd does not have this check feature yet.
369: <li>When the klog buffer overflows, syslogd will write a log
370: message to show that some entries is missing.
1.31 visa 371: <li>On OpenBSD/octeon, CPU cache write buffering is enabled
372: to improve performance.
1.74 tb 373: <li><a href="https://man.openbsd.org/pkg_add.1">pkg_add(1)</a> and
374: <a href="https://man.openbsd.org/pkg_info.1">pkg_info(1)</a> now
1.80 deraadt 375: understand a notion of branch to ease selection of some popular
1.35 espie 376: packages such as python or php, e.g., say
1.79 bentley 377: <code>pkg_add python%3.4</code> to select the <code>3.4</code> branch,
378: and use <code>pkg_info -zm</code> to get a fuzzy listing with branch
379: selection suitable for <code>pkg_add -l</code>.
380: <li><a href="https://man.openbsd.org/fdisk">fdisk(8)</a> and
381: <a href="https://man.openbsd.org/pdisk">pdisk(8)</a>
1.45 krw 382: immediately exit unless passed a character special device
1.79 bentley 383: <li><a href="https://man.openbsd.org/st">st(4)</a>
1.45 krw 384: correctly tracks the current block count for variable sized blocks
1.79 bentley 385: <li><a href="https://man.openbsd.org/fsck_ext2fs">fsck_ext2fs(8)</a>
1.45 krw 386: works again
1.79 bentley 387: <li><a href="https://man.openbsd.org/softraid">softraid(4)</a> volumes
1.45 krw 388: can be constructed with disks that have a sector size other than 512 bytes
1.79 bentley 389: <li><a href="https://man.openbsd.org/dhclient">dhclient(8)</a>
1.45 krw 390: DECLINE's and discards unused OFFER's.
1.79 bentley 391: <li><a href="https://man.openbsd.org/dhclient">dhclient(8)</a>
1.45 krw 392: immediately exits if its interface (e.g. a
1.79 bentley 393: <a href="https://man.openbsd.org/bridge">bridge(4)</a>)
1.45 krw 394: returns EAFNOSUPPORT when a packet is sent.
1.79 bentley 395: <li><a href="https://man.openbsd.org/httpd">httpd(8)</a> returns
1.45 krw 396: 400 Bad Request for HTTP v0.9 requests.
397: <li>ffs2's lazy node initialization avoids treating random disk data as
398: an inode
1.79 bentley 399: <li><a href="https://man.openbsd.org/fcntl">fcntl(2)</a> invocations
1.45 krw 400: in base programs use the idiom fcntl(n,F_GETFL) instead of fcntl(n,F_GETFL,0)
1.79 bentley 401: <li><a href="https://man.openbsd.org/socket">socket(2)</a> and
402: <a href="https://man.openbsd.org/accept4">accept4(2)</a> invocations
1.45 krw 403: in base programs use SOCK_NONBLOCK to eliminate the need for a separate
1.79 bentley 404: <a href="https://man.openbsd.org/fcntl">fcntl(2)</a>.
1.47 krw 405: <li>tmpfs not enabled by default
1.50 tb 406: <li>the in-kernel semantics of
1.74 tb 407: <a href="https://man.openbsd.org/pledge">pledge(2)</a>
1.50 tb 408: were improved in numerous ways.
409: Highlights include:
1.79 bentley 410: a new <code>chown</code> promise that allows pledged programs to set
1.50 tb 411: setugid attributes,
1.79 bentley 412: a stricter enforcement of the <code>recvfd</code> promise and
1.74 tb 413: <a href="https://man.openbsd.org/chroot.2">chroot(2)</a> is no longer
1.66 tb 414: allowed for pledged programs.
1.50 tb 415: <li>a number of
1.74 tb 416: <a href="https://man.openbsd.org/pledge">pledge(2)</a>-related bugs
1.50 tb 417: (missing promises, unintended changes of behavior, crashes) were fixed,
418: notably in
1.74 tb 419: <a href="https://man.openbsd.org/gzip">gzip(1)</a>,
420: <a href="https://man.openbsd.org/nc">nc(1)</a>,
421: <a href="https://man.openbsd.org/sed">sed(1)</a>,
422: <a href="https://man.openbsd.org/skeyinit">skeyinit(1)</a>,
423: <a href="https://man.openbsd.org/stty">stty(1)</a>,
1.50 tb 424: and various disk-related utilities, such as
1.74 tb 425: <a href="https://man.openbsd.org/disklabel">disklabel(8)</a> and
426: <a href="https://man.openbsd.org/fdisk">fdisk(8)</a>.
1.61 stsp 427: <li>Block size calculation errors in the
1.79 bentley 428: <a href="https://man.openbsd.org/audio">audio(4)</a> driver
1.61 stsp 429: have been fixed.
1.79 bentley 430: <li>The <a href="https://man.openbsd.org/usb">usb(4)</a> driver
1.61 stsp 431: now caches vendor and product IDs. Fixes an issue where
1.79 bentley 432: <a href="https://man.openbsd.org/usbdevs">usbdevs(8)</a> called
1.61 stsp 433: in a loop would cause a USB mass storage device to halt operation.
1.79 bentley 434: <li>The <a href="https://man.openbsd.org/rsu">rsu(4)</a> and
435: <a href="https://man.openbsd.org/ural">ural(4)</a> drivers
1.61 stsp 436: are now working again after they were accidentally broken in 5.9.
1.1 deraadt 437: </ul>
438:
1.56 lteo 439: <li>OpenSMTPD 6.0.0
1.1 deraadt 440: <ul>
1.56 lteo 441: <li>Security:
442: <ul>
443: <li>Implement the fork+exec pattern in
1.74 tb 444: <a href="https://man.openbsd.org/smtpd">smtpd(8)</a>.
1.56 lteo 445: <li>Fix a logic issue in the SMTP state machine that can lead to
446: an invalid state and result in a crash.
447: <li>Plug a file-pointer leak that can lead to resource exhaustion
1.63 jung 448: and result in a crash.
1.56 lteo 449: <li>Use automatic DH parameters instead of fixed ones.
450: <li>Disable DHE by default since it is computationally expensive
1.63 jung 451: and a potential DoS vector.
1.56 lteo 452: </ul>
453: <li>The following improvements were brought in this release:
454: <ul>
1.79 bentley 455: <li>Add the <code>-r</code> option to the
1.74 tb 456: <a href="https://man.openbsd.org/smtpd">smtpd(8)</a>
1.56 lteo 457: enqueuer for compatibility with mailx.
458: <li>Add missing date or message-id when listening on the submit
1.63 jung 459: port.
1.56 lteo 460: <li>Fix "smtpctl show queue" reporting "invalid" envelope state.
461: <li>Rework the format of the "Received" header so that the TLS
462: part does not violate the RFC.
463: <li>Increase the number of connections a local address is
464: allowed to establish, and decrease the delay between
465: transactions in the same session.
1.63 jung 466: <li>Fix LMTP delivery to servers returning continuation lines.
1.68 lteo 467: <li>Further improve the still experimental filter API and fix
1.63 jung 468: various related issues.
469: <li>Start improving and unifying the format of log messages.
470: <li>Fix several documentation discrepancies and typos in the man
471: pages.
1.56 lteo 472: </ul>
1.1 deraadt 473: </ul>
474:
1.28 deraadt 475: <li>OpenSSH 7.3
1.1 deraadt 476: <ul>
477: <li>Security:
478: <ul>
1.74 tb 479: <li><a href="https://man.openbsd.org/sshd.8">sshd(8)</a>:
1.39 sobrado 480: Mitigate a potential denial-of-service attack against the system's
1.74 tb 481: <a href="https://man.openbsd.org/crypt.3">crypt(3)</a>
1.39 sobrado 482: function via
1.74 tb 483: <a href="https://man.openbsd.org/sshd.8">sshd(8)</a>.
1.39 sobrado 484: An attacker could send very long passwords that would cause
485: excessive CPU use in
1.74 tb 486: <a href="https://man.openbsd.org/crypt.3">crypt(3)</a>.
487: <a href="https://man.openbsd.org/sshd.8">sshd(8)</a>
1.39 sobrado 488: now refuses to accept password authentication requests of length
489: greater than 1024 characters.
1.74 tb 490: <li><a href="https://man.openbsd.org/sshd.8">sshd(8)</a>:
1.39 sobrado 491: Mitigate timing differences in password authentication that could be
492: used to discern valid from invalid account names when long passwords
493: were sent and particular password hashing algorithms are in use on
494: the server. CVE-2016-6210.
1.74 tb 495: <li><a href="https://man.openbsd.org/ssh.1">ssh(1)</a>,
496: <a href="https://man.openbsd.org/sshd.8">sshd(8)</a>:
1.39 sobrado 497: Fix observable timing weakness in the <i>CBC padding oracle
498: countermeasures</i>. Note that CBC ciphers are disabled by default
499: and only included for legacy compatibility.
1.74 tb 500: <li><a href="https://man.openbsd.org/ssh.1">ssh(1)</a>,
501: <a href="https://man.openbsd.org/sshd.8">sshd(8)</a>:
1.66 tb 502: Improve ordering of MAC verification for
1.39 sobrado 503: <i>Encrypt-then-MAC</i> (EtM) mode transport MAC algorithms to
504: verify the MAC before decrypting any ciphertext. This removes the
505: possibility of timing differences leaking facts about the plaintext,
506: though no such leakage is known.
1.1 deraadt 507: </ul>
508: <li>New/changed features:
509: <ul>
1.74 tb 510: <li><a href="https://man.openbsd.org/ssh.1">ssh(1)</a>:
1.79 bentley 511: Add a <code>ProxyJump</code> option and corresponding <code>-J</code>
1.39 sobrado 512: command-line flag to allow simplified indirection through a one or
513: more SSH bastions or "jump hosts".
1.74 tb 514: <li><a href="https://man.openbsd.org/ssh.1">ssh(1)</a>:
1.79 bentley 515: Add an <code>IdentityAgent</code> option to allow specifying specific
1.39 sobrado 516: agent sockets instead of accepting one from the environment.
1.74 tb 517: <li><a href="https://man.openbsd.org/ssh.1">ssh(1)</a>:
1.79 bentley 518: Allow <code>ExitOnForwardFailure</code> and <code>ClearAllForwardings</code>
519: to be optionally overridden when using <code>ssh -W</code>. (bz#2577)
1.74 tb 520: <li><a href="https://man.openbsd.org/ssh.1">ssh(1)</a>,
521: <a href="https://man.openbsd.org/sshd.8">sshd(8)</a>:
1.39 sobrado 522: Implement support for the IUTF8 terminal mode as per
523: <i>draft-sgtatham-secsh-iutf8-00</i>.
1.74 tb 524: <li><a href="https://man.openbsd.org/ssh.1">ssh(1)</a>,
525: <a href="https://man.openbsd.org/sshd.8">sshd(8)</a>:
1.39 sobrado 526: Add support for additional <i>fixed Diffie-Hellman 2K</i>, <i>4K</i>
527: and <i>8K</i> groups from <i>draft-ietf-curdle-ssh-kex-sha2-03</i>.
1.74 tb 528: <li><a href="https://man.openbsd.org/ssh-keygen.1">ssh-keygen(1)</a>,
529: <a href="https://man.openbsd.org/ssh.1">ssh(1)</a>,
530: <a href="https://man.openbsd.org/sshd.8">sshd(8)</a>:
1.39 sobrado 531: support SHA256 and SHA512 RSA signatures in certificates.
1.74 tb 532: <li><a href="https://man.openbsd.org/ssh.1">ssh(1)</a>:
1.79 bentley 533: Add an <code>Include</code> directive for
1.74 tb 534: <a href="https://man.openbsd.org/ssh_config.5">ssh_config(5)</a>
1.39 sobrado 535: files.
1.74 tb 536: <li><a href="https://man.openbsd.org/ssh.1">ssh(1)</a>:
1.39 sobrado 537: Permit UTF-8 characters in pre-authentication banners sent from the
538: server. (bz#2058)
1.1 deraadt 539: </ul>
540: <li>The following significant bugs have been fixed in this release:
541: <ul>
1.74 tb 542: <li>In <a href="https://man.openbsd.org/scp.1">scp(1)</a>
543: and <a href="https://man.openbsd.org/sftp.1">sftp(1)</a>,
1.39 sobrado 544: prevent screwing up terminal settings by escaping bytes
1.63 jung 545: not forming ASCII or UTF-8 characters.
1.74 tb 546: <li><a href="https://man.openbsd.org/ssh.1">ssh(1)</a>,
547: <a href="https://man.openbsd.org/sshd.8">sshd(8)</a>:
1.39 sobrado 548: Reduce the syslog level of some relatively common protocol events
1.79 bentley 549: from <code>LOG_CRIT</code>. (bz#2585)
1.74 tb 550: <li><a href="https://man.openbsd.org/sshd.8">sshd(8)</a>:
1.79 bentley 551: Refuse <code>AuthenticationMethods=""</code> in configurations and accept
552: <code>AuthenticationMethods=any</code> for the default behaviour of not
1.39 sobrado 553: requiring multiple authentication. (bz#2398)
1.74 tb 554: <li><a href="https://man.openbsd.org/sshd.8">sshd(8)</a>:
1.79 bentley 555: Remove obsolete and misleading <code>"POSSIBLE BREAK-IN ATTEMPT!"</code>
1.39 sobrado 556: message when forward and reverse DNS don't match. (bz#2585)
1.74 tb 557: <li><a href="https://man.openbsd.org/ssh.1">ssh(1)</a>:
1.79 bentley 558: Close <code>ControlPersist</code> background process stderr except in
1.39 sobrado 559: debug mode or when logging to syslog. (bz#1988)
560: <li>misc: Make PROTOCOL description for
561: <i>direct-streamlocal@openssh.com</i> channel open messages match
562: deployed code. (bz#2529)
1.74 tb 563: <li><a href="https://man.openbsd.org/ssh.1">ssh(1)</a>:
1.79 bentley 564: Deduplicate <code>LocalForward</code> and <code>RemoteForward</code> entries
565: to fix failures when both <code>ExitOnForwardFailure</code> and
566: <code>hostname</code> canonicalisation are enabled. (bz#2562)
1.74 tb 567: <li><a href="https://man.openbsd.org/sshd.8">sshd(8)</a>:
1.39 sobrado 568: Remove fallback from moduli to obsolete "primes" file that was
569: deprecated in 2001. (bz#2559)
1.74 tb 570: <li><a href="https://man.openbsd.org/sshd_config.5">sshd_config(5)</a>:
1.79 bentley 571: Correct description of <code>UseDNS</code>: it affects ssh hostname
572: processing for <code>authorized_keys</code>, not <code>known_hosts</code>.
1.39 sobrado 573: (bz#2554)
1.74 tb 574: <li><a href="https://man.openbsd.org/ssh.1">ssh(1)</a>:
1.39 sobrado 575: Fix authentication using lone certificate keys in an agent without
576: corresponding private keys on the filesystem. (bz#2550)
1.74 tb 577: <li><a href="https://man.openbsd.org/sshd.8">sshd(8)</a>:
1.79 bentley 578: Send <code>ClientAliveInterval</code> pings when a time-based
579: <code>RekeyLimit</code> is set; previously keepalive packets were not
1.39 sobrado 580: being sent. (bz#2252)
1.1 deraadt 581: </ul>
582: </ul>
1.5 sobrado 583:
584: <li>OpenNTPD 6.0
585: <ul>
586: <li>When a single "constraint" is specified, try all returned addresses
587: until one succeeds, rather than the first returned address.
588: <li>Relaxed the constraint error margin to be proportional to the number
589: of NTP peers, avoid constant reconnections when there is a bad NTP
590: peer.
591: <li>Removed disabled
1.74 tb 592: <a href="https://man.openbsd.org/hotplug.4">hotplug(4)</a>
1.5 sobrado 593: sensor support.
594: <li>Added support for detecting crashes in constraint subprocesses.
595: <li>Moved the execution of constraints from the ntp process to the
596: parent process, allowing for better privilege separation since the
597: ntp process can be further restricted.
598: <li>Fixed high CPU usage when the network is down.
599: <li>Fixed various memory leaks.
600: <li>Switched to RMS for jitter calculations.
601: <li>Unified logging functions with other OpenBSD base programs.
1.79 bentley 602: <li>Set <code>MOD_MAXERROR</code> to avoid unsynced time status when using
1.5 sobrado 603: ntp_adjtime.
604: <li>Fixed HTTP Timestamp header parsing to use
1.74 tb 605: <a href="https://man.openbsd.org/strptime.3">strptime(3)</a>
1.5 sobrado 606: in a more portable fashion.
607: <li>Hardened TLS for
1.74 tb 608: <a href="https://man.openbsd.org/ntpd.8">ntpd(8)</a>
1.5 sobrado 609: constraints, enabling server name verification.
610: </ul>
611:
1.4 sobrado 612: <li>LibreSSL 2.4.2
1.1 deraadt 613: <ul>
614: <li>User-visible features:
615: <ul>
1.4 sobrado 616: <li>Fixed some broken manpage links in the install target.
1.79 bentley 617: <li><code>cert.pem</code> has been reorganized and synced with Mozilla's
1.4 sobrado 618: certificate store.
619: <li>Reliability fix, correcting an error when parsing certain ASN.1
620: elements over 16k in size.
621: <li>Implemented the IETF <i>ChaCha20-Poly1305</i> cipher suites.
622: <li>Fixed password prompts from
1.74 tb 623: <a href="https://man.openbsd.org/openssl.1">openssl(1)</a>
1.4 sobrado 624: to properly handle ^C.
1.1 deraadt 625: </ul>
626: <li>Code improvements:
627: <ul>
1.4 sobrado 628: <li>Fixed an <i>nginx</i> compatibility issue by adding an
1.79 bentley 629: '<code>install_sw</code>' build target.
1.4 sobrado 630: <li>Changed default
1.74 tb 631: <a href="https://man.openbsd.org/EVP_AEAD_CTX_init.3">EVP_aead_chacha20_poly1305(3)</a>
1.4 sobrado 632: implementation to the IETF version, which is now the default.
1.79 bentley 633: <li>Reworked error handling in <code>libtls</code> so that configuration
1.4 sobrado 634: errors are more visible.
635: <li>Added missing error handling around
1.74 tb 636: <a href="https://man.openbsd.org/bn_wexpand.3">bn_wexpand(3)</a>
1.4 sobrado 637: calls.
638: <li>Added
1.74 tb 639: <a href="https://man.openbsd.org/explicit_bzero.3">explicit_bzero(3)</a>
1.4 sobrado 640: calls for freed ASN.1 objects.
1.79 bentley 641: <li>Fixed <code>X509_*set_object</code> functions to return 0 on allocation
1.4 sobrado 642: failure.
643: <li>Deprecated internal use of
1.74 tb 644: <a href="https://man.openbsd.org/EVP_EncryptInit">EVP_[Cipher|Encrypt|Decrypt]_Final</a>.
1.4 sobrado 645: <li>Fixed a problem that prevents the DSA signing algorithm from running
1.79 bentley 646: in constant time even if the flag <code>BN_FLG_CONSTTIME</code> is set.
1.4 sobrado 647: <li>Fixed several issues in the OCSP code that could result in the
648: incorrect generation and parsing of OCSP requests. This remediates
649: a lack of error checking on time parsing in these functions, and
1.79 bentley 650: ensures that only <code>GENERALIZEDTIME</code> formats are accepted for
1.4 sobrado 651: OCSP, as per <i>RFC 6960</i>.
652: </ul>
1.22 tom 653: <li>The following CVEs have been fixed:
1.4 sobrado 654: <ul>
1.79 bentley 655: <li><code>CVE-2016-2105</code>—EVP_EncodeUpdate overflow.
656: <li><code>CVE-2016-2106</code>—EVP_EncryptUpdate overflow.
657: <li><code>CVE-2016-2107</code>—padding oracle in AES-NI CBC MAC check.
658: <li><code>CVE-2016-2108</code>—memory corruption in the ASN.1 encoder.
659: <li><code>CVE-2016-2109</code>—ASN.1 BIO excessive memory allocation.
1.1 deraadt 660: </ul>
661: </ul>
662:
1.79 bentley 663: <li><p>Ports and packages:
664: <p>New proot(1) tool in the ports tree for building packages in a chroot.
665: <p>Many pre-built packages for each architecture:
1.1 deraadt 666: <!-- number of FTP packages minus SHA256, SHA256.sig, index.txt -->
1.79 bentley 667: <ul style="column-count: 3">
1.46 landry 668: <li>alpha: 7422
1.41 deraadt 669: <li>amd64: 9433
670: <li>hppa: 6346
671: <li>i386: 9394
1.65 deraadt 672: <li>mips64: 7921
1.69 naddy 673: <li>mips64el: 7767
1.67 naddy 674: <li>powerpc: 8318
1.46 landry 675: <li>sparc64: 8570
1.79 bentley 676: </ul>
1.1 deraadt 677:
1.79 bentley 678: <p>Some highlights:
679: <ul style="column-count: 2">
1.7 schwarze 680: <li>Afl 2.19b
681: <li>Chromium 51.0.2704.106
682: <li>Emacs 21.4 and 24.5
683: <li>GCC 4.9.3
684: <li>GHC 7.10.3
685: <li>Gimp 2.8.16
1.9 jasper 686: <li>GNOME 3.20.2
1.7 schwarze 687: <li>Go 1.6.3
688: <li>Groff 1.22.3
689: <li>JDK 7u80 and 8u72
1.9 jasper 690: <li>KDE 3.5.10 and 4.14.3 (plus KDE4 core updates)
1.7 schwarze 691: <li>LLVM/Clang 3.8.0
692: <li>LibreOffice 5.1.4.2
693: <li>Lua 5.1.5, 5.2.4, and 5.3.3
694: <li>MariaDB 10.0.25
695: <li>Mono 4.4.0.182
696: <li>Mozilla Firefox 45.2.0esr and 47.0.1
697: <li>Mozilla Thunderbird 45.2.0
698: <li>Mutt 1.6.2
699: <li>Node.js 4.4.5
1.45 krw 700: <li>Ocaml 4.3.0
1.7 schwarze 701: <li>OpenLDAP 2.3.43 and 2.4.44
702: <li>PHP 5.5.37, 5.6.23, and 7.0.8
703: <li>Postfix 3.1.1 and 3.2-20160515
704: <li>PostgreSQL 9.5.3
705: <li>Python 2.7.12, 3.4.5, and 3.5.2
706: <li>R 3.3.1
707: <li>Ruby 1.8.7.374, 2.0.0.648, 2.1.9, 2.2.5, and 2.3.1
708: <li>Rust 1.9.0-20160608
709: <li>Sendmail 8.15.2
710: <li>Sudo 1.8.17.1
711: <li>Tcl/Tk 8.5.18 and 8.6.4
712: <li>TeX Live 2015
713: <li>Vim 7.4.1467
714: <li>Xfce 4.12
1.79 bentley 715: </ul>
1.1 deraadt 716:
717: <li>As usual, steady improvements in manual pages and other documentation.
718:
719: <li>The system includes the following major components from outside suppliers:
720: <ul>
1.8 schwarze 721: <li>Xenocara (based on X.Org 7.7 with xserver 1.18.3 + patches,
722: freetype 2.6.3, fontconfig 2.11.1, Mesa 11.2.2, xterm 322,
723: xkeyboard-config 2.18 and more)
1.34 deraadt 724: <li>GCC 4.2.1 (+ patches) and 3.3.6 (+ patches)
1.8 schwarze 725: <li>Perl 5.20.3 (+ patches)
726: <li>SQLite 3.9.2 (+ patches)
727: <li>NSD 4.1.10
728: <li>Unbound 1.5.9
729: <li>Ncurses 5.7
730: <li>Binutils 2.17 (+ patches)
731: <li>Gdb 6.3 (+ patches)
732: <li>Awk Aug 10, 2011 version
1.12 schwarze 733: <li>Expat 2.1.1
1.1 deraadt 734: </ul>
735: </ul>
1.79 bentley 736: </section>
1.1 deraadt 737:
738: <hr>
739:
1.79 bentley 740: <section id=install>
741: <h3>How to install</h3>
1.82 bentley 742: <p>
1.1 deraadt 743: Following this are the instructions which you would have on a piece of
744: paper if you had purchased a CDROM set instead of doing an alternate
745: form of install. The instructions for doing an HTTP (or other style
746: of) install are very similar; the CDROM instructions are left intact
747: so that you can see how much easier it would have been if you had
748: purchased a CDROM instead.
749:
750: <hr>
751: <p>
752: Please refer to the following files on the three CDROMs or mirror site for
753: extensive details on how to install OpenBSD 6.0 on your machine:
754:
755: <ul>
1.73 tb 756: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/6.0/alpha/INSTALL.alpha">
1.1 deraadt 757: .../OpenBSD/6.0/alpha/INSTALL.alpha (on CD1)</a>
1.73 tb 758: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/6.0/i386/INSTALL.i386">
1.1 deraadt 759: .../OpenBSD/6.0/i386/INSTALL.i386 (on CD1)</a>
1.73 tb 760: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/6.0/hppa/INSTALL.hppa">
1.1 deraadt 761: .../OpenBSD/6.0/hppa/INSTALL.hppa (on CD1)</a>
762: <p>
1.73 tb 763: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/6.0/amd64/INSTALL.amd64">
1.1 deraadt 764: .../OpenBSD/6.0/amd64/INSTALL.amd64 (on CD2)</a>
1.73 tb 765: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/6.0/macppc/INSTALL.macppc">
1.1 deraadt 766: .../OpenBSD/6.0/macppc/INSTALL.macppc (on CD2)</a>
767: <p>
1.73 tb 768: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/6.0/sparc64/INSTALL.sparc64">
1.1 deraadt 769: .../OpenBSD/6.0/sparc64/INSTALL.sparc64 (on CD3)</a>
770: <p>
1.73 tb 771: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/6.0/armv7/INSTALL.armv7">
1.1 deraadt 772: .../OpenBSD/6.0/armv7/INSTALL.armv7</a>
1.73 tb 773: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/6.0/hppa/INSTALL.hppa">
1.1 deraadt 774: .../OpenBSD/6.0/hppa/INSTALL.hppa</a>
1.73 tb 775: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/6.0/landisk/INSTALL.landisk">
1.1 deraadt 776: .../OpenBSD/6.0/landisk/INSTALL.landisk</a>
1.73 tb 777: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/6.0/loongson/INSTALL.loongson">
1.1 deraadt 778: .../OpenBSD/6.0/loongson/INSTALL.loongson</a>
1.73 tb 779: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/6.0/luna88k/INSTALL.luna88k">
1.1 deraadt 780: .../OpenBSD/6.0/luna88k/INSTALL.luna88k</a>
1.73 tb 781: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/6.0/octeon/INSTALL.octeon">
1.1 deraadt 782: .../OpenBSD/6.0/octeon/INSTALL.octeon</a>
1.73 tb 783: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/6.0/sgi/INSTALL.sgi">
1.1 deraadt 784: .../OpenBSD/6.0/sgi/INSTALL.sgi</a>
1.73 tb 785: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/6.0/socppc/INSTALL.socppc">
1.1 deraadt 786: .../OpenBSD/6.0/socppc/INSTALL.socppc</a>
1.73 tb 787: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/6.0/zaurus/INSTALL.zaurus">
1.1 deraadt 788: .../OpenBSD/6.0/zaurus/INSTALL.zaurus</a>
789: </ul>
1.81 deraadt 790: </section>
1.1 deraadt 791:
792: <hr>
793:
1.79 bentley 794: <section id=quickinstall>
1.1 deraadt 795: <p>
1.6 schwarze 796: Quick installer information for people familiar with OpenBSD, and the use of
1.74 tb 797: the "<a href="https://man.openbsd.org/disklabel.8">disklabel</a> -E" command.
1.6 schwarze 798: If you are at all confused when installing OpenBSD, read the relevant
799: INSTALL.* file as listed above!
1.1 deraadt 800:
1.79 bentley 801: <h3>OpenBSD/i386:</h3>
1.1 deraadt 802:
1.79 bentley 803: <p>
1.1 deraadt 804: The OpenBSD/i386 release is on CD1.
805: Boot from the CD to begin the install - you may need to adjust
806: your BIOS options first.
1.79 bentley 807:
1.1 deraadt 808: <p>
809: If your machine can boot from USB, you can write <i>install60.fs</i> or
810: <i>miniroot60.fs</i> to a USB stick and boot from it.
1.79 bentley 811:
1.1 deraadt 812: <p>
813: If you can't boot from a CD, floppy disk, or USB,
814: you can install across the network using PXE as described in
815: the included INSTALL.i386 document.
1.79 bentley 816:
1.1 deraadt 817: <p>
818: If you are planning on dual booting OpenBSD with another OS, you will need to
819: read INSTALL.i386.
820:
1.79 bentley 821: <h3>OpenBSD/amd64:</h3>
1.1 deraadt 822:
1.79 bentley 823: <p>
1.1 deraadt 824: The OpenBSD/amd64 release is on CD2.
825: Boot from the CD to begin the install - you may need to adjust
826: your BIOS options first.
1.79 bentley 827:
1.1 deraadt 828: <p>
829: If your machine can boot from USB, you can write <i>install60.fs</i> or
830: <i>miniroot60.fs</i> to a USB stick and boot from it.
1.79 bentley 831:
1.1 deraadt 832: <p>
833: If you can't boot from a CD, floppy disk, or USB,
834: you can install across the network using PXE as described in the included
835: INSTALL.amd64 document.
1.79 bentley 836:
1.1 deraadt 837: <p>
838: If you are planning to dual boot OpenBSD with another OS, you will need to
839: read INSTALL.amd64.
840:
1.79 bentley 841: <h3>OpenBSD/macppc:</h3>
1.1 deraadt 842:
1.79 bentley 843: <p>
1.1 deraadt 844: Burn the image from a mirror site to a CDROM, and power on your machine
845: while holding down the <i>C</i> key until the display turns on and
846: shows <i>OpenBSD/macppc boot</i>.
1.79 bentley 847:
1.1 deraadt 848: <p>
849: Alternatively, at the Open Firmware prompt, enter <i>boot cd:,ofwboot
850: /6.0/macppc/bsd.rd</i>
851:
1.79 bentley 852: <h3>OpenBSD/sparc64:</h3>
1.1 deraadt 853:
1.79 bentley 854: <p>
1.1 deraadt 855: Put CD3 in your CDROM drive and type <i>boot cdrom</i>.
1.79 bentley 856:
1.1 deraadt 857: <p>
858: If this doesn't work, or if you don't have a CDROM drive, you can write
859: <i>CD3:6.0/sparc64/floppy60.fs</i> or <i>CD3:6.0/sparc64/floppyB60.fs</i>
860: (depending on your machine) to a floppy and boot it with <i>boot
861: floppy</i>. Refer to INSTALL.sparc64 for details.
1.79 bentley 862:
1.1 deraadt 863: <p>
864: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install
865: will most likely fail.
1.79 bentley 866:
1.1 deraadt 867: <p>
868: You can also write <i>CD3:6.0/sparc64/miniroot60.fs</i> to the swap partition on
869: the disk and boot with <i>boot disk:b</i>.
1.79 bentley 870:
1.1 deraadt 871: <p>
872: If nothing works, you can boot over the network as described in INSTALL.sparc64.
873:
1.79 bentley 874: <h3>OpenBSD/alpha:</h3>
1.1 deraadt 875:
1.79 bentley 876: <p>
1.81 deraadt 877: Write <i>6.0/alpha/floppy60.fs</i> or
878: <i>6.0/alpha/floppyB60.fs</i> (depending on your machine) to a diskette and
1.1 deraadt 879: enter <i>boot dva0</i>. Refer to INSTALL.alpha for more details.
1.79 bentley 880:
1.1 deraadt 881: <p>
882: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install
883: will most likely fail.
884:
1.79 bentley 885: <h3>OpenBSD/armv7:</h3>
1.1 deraadt 886:
1.79 bentley 887: <p>
1.29 jsg 888: Write a system specific miniroot to an SD card and boot from it after connecting
889: to the serial console. Refer to INSTALL.armv7 for more details.
1.1 deraadt 890:
1.79 bentley 891: <h3>OpenBSD/hppa:</h3>
1.1 deraadt 892:
1.79 bentley 893: <p>
1.1 deraadt 894: Boot over the network by following the instructions in INSTALL.hppa or the
895: <a href="hppa.html#install">hppa platform page</a>.
896:
1.79 bentley 897: <h3>OpenBSD/landisk:</h3>
1.1 deraadt 898:
1.79 bentley 899: <p>
1.1 deraadt 900: Write <i>miniroot60.fs</i> to the start of the CF
901: or disk, and boot normally.
902:
1.79 bentley 903: <h3>OpenBSD/loongson:</h3>
1.1 deraadt 904:
1.79 bentley 905: <p>
1.1 deraadt 906: Write <i>miniroot60.fs</i> to a USB stick and boot bsd.rd from it
907: or boot bsd.rd via tftp.
908: Refer to the instructions in INSTALL.loongson for more details.
909:
1.79 bentley 910: <h3>OpenBSD/luna88k:</h3>
1.1 deraadt 911:
1.79 bentley 912: <p>
913: Copy 'boot' and 'bsd.rd' to a Mach or UniOS partition, and boot the bootloader
1.1 deraadt 914: from the PROM, and then bsd.rd from the bootloader.
915: Refer to the instructions in INSTALL.luna88k for more details.
916:
1.79 bentley 917: <h3>OpenBSD/octeon:</h3>
1.1 deraadt 918:
1.79 bentley 919: <p>
1.1 deraadt 920: After connecting a serial port, boot bsd.rd over the network via DHCP/tftp.
921: Refer to the instructions in INSTALL.octeon for more details.
922:
1.79 bentley 923: <h3>OpenBSD/sgi:</h3>
1.1 deraadt 924:
1.79 bentley 925: <p>
1.1 deraadt 926: To install, burn cd60.iso on a CD-R, put it in the CD drive of your
927: machine and select <i>Install System Software</i> from the System Maintenance
928: menu. Indigo/Indy/Indigo2 (R4000) systems will not boot automatically from
929: CD-ROM, and need a proper invocation from the PROM prompt.
930: Refer to the instructions in INSTALL.sgi for more details.
931:
932: <p>
933: If your machine doesn't have a CD drive, you can setup a DHCP/tftp network
934: server, and boot using "bootp()/bsd.rd.IP##" using the kernel matching your
935: system type. Refer to the instructions in INSTALL.sgi for more details.
936:
1.79 bentley 937: <h3>OpenBSD/socppc:</h3>
1.1 deraadt 938:
1.79 bentley 939: <p>
1.1 deraadt 940: After connecting a serial port, boot over the network via DHCP/tftp.
941: Refer to the instructions in INSTALL.socppc for more details.
942:
1.79 bentley 943: <h3>OpenBSD/zaurus:</h3>
1.1 deraadt 944:
1.79 bentley 945: <p>
1.1 deraadt 946: Using the Linux built-in graphical ipkg installer, install the
947: openbsd60_arm.ipk package. Reboot, then run it. Read INSTALL.zaurus
948: for a few important details.
1.79 bentley 949: </section>
1.1 deraadt 950:
951: <hr>
952:
1.79 bentley 953: <section id=upgrade>
954: <h3>How to upgrade</h3>
1.82 bentley 955: <p>
1.1 deraadt 956: If you already have an OpenBSD 5.9 system, and do not want to reinstall,
957: upgrade instructions and advice can be found in the
958: <a href="faq/upgrade60.html">Upgrade Guide</a>.
1.79 bentley 959: </section>
1.1 deraadt 960:
961: <hr>
962:
1.79 bentley 963: <section id=sourcecode>
964: <h3>Notes about the source code</h3>
1.82 bentley 965: <p>
1.79 bentley 966: <code>src.tar.gz</code> contains a source archive starting at <code>/usr/src</code>.
1.6 schwarze 967: This file contains everything you need except for the kernel sources,
968: which are in a separate archive.
969: To extract:
1.1 deraadt 970: <blockquote><pre>
1.81 deraadt 971: # <kbd>mkdir -p /usr/src</kbd>
972: # <kbd>cd /usr/src</kbd>
973: # <kbd>tar xvfz /tmp/src.tar.gz</kbd>
1.1 deraadt 974: </pre></blockquote>
1.82 bentley 975: <p>
1.79 bentley 976: <code>sys.tar.gz</code> contains a source archive starting at <code>/usr/src/sys</code>.
1.1 deraadt 977: This file contains all the kernel sources you need to rebuild kernels.
978: To extract:
979: <blockquote><pre>
1.81 deraadt 980: # <kbd>mkdir -p /usr/src/sys</kbd>
981: # <kbd>cd /usr/src</kbd>
982: # <kbd>tar xvfz /tmp/sys.tar.gz</kbd>
1.1 deraadt 983: </pre></blockquote>
1.82 bentley 984: <p>
1.1 deraadt 985: Both of these trees are a regular CVS checkout. Using these trees it
986: is possible to get a head-start on using the anoncvs servers as
987: described <a href="anoncvs.html">here</a>.
988: Using these files
989: results in a much faster initial CVS update than you could expect from
990: a fresh checkout of the full OpenBSD source tree.
1.79 bentley 991: </section>
1.1 deraadt 992:
993: <hr>
994:
1.79 bentley 995: <section id=ports>
996: <h3>Ports Tree</h3>
1.81 deraadt 997: <p>
1.1 deraadt 998: A ports tree archive is also provided. To extract:
999: <blockquote><pre>
1.81 deraadt 1000: # <kbd>cd /usr</kbd>
1001: # <kbd>tar xvfz /tmp/ports.tar.gz</kbd>
1.1 deraadt 1002: </pre></blockquote>
1.82 bentley 1003: <p>
1.1 deraadt 1004: Go read the <a href="faq/ports/index.html">ports</a> page
1005: if you know nothing about ports
1006: at this point. This text is not a manual of how to use ports.
1007: Rather, it is a set of notes meant to kickstart the user on the
1008: OpenBSD ports system.
1009: <p>
1.6 schwarze 1010: The <i>ports/</i> directory represents a CVS checkout of our ports.
1011: As with our complete source tree, our ports tree is available via
1.1 deraadt 1012: <a href="anoncvs.html">AnonCVS</a>.
1.75 tj 1013: So, in order to keep up to date with the -stable branch, you must make
1.1 deraadt 1014: the <i>ports/</i> tree available on a read-write medium and update the tree
1015: with a command like:
1016: <blockquote><pre>
1.81 deraadt 1017: # <kbd>cd /usr/ports</kbd>
1018: # <kbd>cvs -d anoncvs@server.openbsd.org:/cvs update -Pd -rOPENBSD_6_0</kbd>
1.1 deraadt 1019: </pre></blockquote>
1.81 deraadt 1020: <p>
1.1 deraadt 1021: [Of course, you must replace the server name here with a nearby anoncvs
1022: server.]
1023: <p>
1024: Note that most ports are available as packages on our mirrors. Updated
1025: ports for the 6.0 release will be made available if problems arise.
1026: <p>
1027: If you're interested in seeing a port added, would like to help out, or just
1028: would like to know more, the mailing list
1029: <a href="mail.html">ports@openbsd.org</a> is a good place to know.
1.79 bentley 1030: </section>