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