Annotation of www/57.html, Revision 1.112
1.109 bentley 1: <!doctype html>
2: <html lang=en id=release>
3: <meta charset=utf-8>
4:
1.1 deraadt 5: <title>OpenBSD 5.7</title>
6: <meta name="description" content="OpenBSD 5.7">
1.98 deraadt 7: <meta name="viewport" content="width=device-width, initial-scale=1">
8: <link rel="stylesheet" type="text/css" href="openbsd.css">
1.100 tb 9: <link rel="canonical" href="https://www.openbsd.org/57.html">
1.1 deraadt 10:
1.109 bentley 11: <h2 id=OpenBSD>
1.1 deraadt 12: <a href="index.html">
1.109 bentley 13: <i>Open</i><b>BSD</b></a>
14: 5.7
1.98 deraadt 15: </h2>
1.1 deraadt 16:
1.109 bentley 17: <table>
18: <tr>
19: <td>
1.57 deraadt 20: <a href="images/bluefish.jpg">
1.109 bentley 21: <img width="227" height="343" src="images/bluefish.jpg" alt="Bluefish"></a>
22: <td>
1.88 deraadt 23: Released May 1, 2015<br>
1.1 deraadt 24: Copyright 1997-2015, Theo de Raadt.<br>
1.109 bentley 25: <cite class=isbn>ISBN 978-0-9881561-5-9</cite>
1.1 deraadt 26: <br>
1.92 deraadt 27: 5.7 Song: <a href="lyrics.html#57">"Source Fish"</a>
1.108 deraadt 28: <br>
29: <br>
1.1 deraadt 30: <ul>
31: <li>See the information on <a href="ftp.html">the FTP page</a> for
32: a list of mirror machines.
1.109 bentley 33: <li>Go to the <code class=reldir>pub/OpenBSD/5.7/</code> directory on
1.1 deraadt 34: one of the mirror sites.
35: <li>Have a look at <a href="errata57.html">the 5.7 errata page</a> for a list
36: of bugs and workarounds.
37: <li>See a <a href="plus57.html">detailed log of changes</a> between the
38: 5.6 and 5.7 releases.
39: <p>
1.111 deraadt 40: <li><a href="https://man.openbsd.org/signify.1">signify(1)</a>
41: pubkeys for this release:<p>
1.107 deraadt 42:
1.109 bentley 43: <table class=signify>
44: <tr><td>
45: openbsd-57-base.pub:
1.107 deraadt 46: <td>
47: RWSvUZXnw9gUb70PdeSNnpSmodCyIPJEGN1wWr+6Time1eP7KiWJ5eAM
1.109 bentley 48: <tr><td>
1.107 deraadt 49: openbsd-57-fw.pub:
1.109 bentley 50: <td>
1.107 deraadt 51: RWSuRBL44FVkb2QuvtlwOJmzS9UJtbKZd7GEYcol8HPXu4On/Ct1LoZr
1.109 bentley 52: <tr><td>
1.107 deraadt 53: openbsd-57-pkg.pub:
1.109 bentley 54: <td>
1.107 deraadt 55: RWTJ1iHLn/zcvJJSbxJIEU9ChlfAlU16XoLLxmxciliOFWfTLyOv0vQs
56: </td></tr>
57: </table>
1.111 deraadt 58: </ul>
1.98 deraadt 59: <p>
60: All applicable copyrights and credits are in the src.tar.gz,
61: sys.tar.gz, xenocara.tar.gz, ports.tar.gz files, or in the
62: files fetched via ports.tar.gz.
1.109 bentley 63: </table>
1.98 deraadt 64:
65: <hr>
1.1 deraadt 66:
1.109 bentley 67: <section id=new>
68: <h3>What's New</h3>
1.1 deraadt 69: <p>
70: This is a partial list of new features and systems included in OpenBSD 5.7.
71: For a comprehensive list, see the <a href="plus57.html">changelog</a> leading
72: to 5.7.
73:
74: <ul>
75: <li>Improved hardware support, including:
76: <ul>
1.109 bentley 77: <li>New <a href="https://man.openbsd.org/OpenBSD-current/man4/xhci.4">xhci(4)</a> driver for USB 3.0 host controllers.
78: <li>New <a href="https://man.openbsd.org/OpenBSD-current/man4/umcs.4">umcs(4)</a> driver for MosChip Semiconductor 78x0 USB multiport serial adapters.
79: <li>New <a href="https://man.openbsd.org/OpenBSD-current/man4/i386/skgpio.4">skgpio(4)</a> driver for Soekris net6501 GPIO and LEDs.
80: <li>New <a href="https://man.openbsd.org/OpenBSD-current/man4/uslhcom.4">uslhcom(4)</a> driver for Silicon Labs CP2110 USB HID based UART.
81: <li>New <a href="https://man.openbsd.org/OpenBSD-current/man4/nep.4">nep(4)</a> driver for Sun Neptune 10Gb Ethernet devices.
82: <li>New <a href="https://man.openbsd.org/OpenBSD-current/man4/iwm.4">iwm(4)</a> driver for Intel 7260, 7265, and 3160 wifi cards.
83: <li>The <a href="https://man.openbsd.org/OpenBSD-current/man4/rtsx.4">rtsx(4)</a> driver now supports RTS5227 and RTL8411B card readers.
84: <li>The <a href="https://man.openbsd.org/OpenBSD-current/man4/bge.4">bge(4)</a> driver now supports jumbo frames on various additional BCM57xx chipsets.
85: <li>The <a href="https://man.openbsd.org/OpenBSD-current/man4/ciss.4">ciss(4)</a> driver now supports HP Gen9 Smart Array/Smart HBA devices.
86: <li>The <a href="https://man.openbsd.org/OpenBSD-current/man4/mpi.4">mpi(4)</a> and <a href="https://man.openbsd.org/OpenBSD-current/man4/mfi.4">mfi(4)</a> drivers now have mpsafe interrupt handlers running without the big lock.
87: <li>The <a href="https://man.openbsd.org/OpenBSD-current/man4/ppb.4">ppb(4)</a> driver now supports PCI bridges that support subtractive decoding (fixes PCMCIA behind the ATI SB400 PCI bridge), and devices with 64-bit BARs behind PCI-PCI bridges as seen on SPARC T5-2 systems.
88: <li>The <a href="https://man.openbsd.org/OpenBSD-current/man4/puc.4">puc(4)</a> driver now supports Winchiphead CH382 devices.
89: <li>The <a href="https://man.openbsd.org/OpenBSD-current/man4/sdmmc.4">sdmmc(4)</a> driver now supports eMMC storage devices larger than 2GB.
90: <li>The <a href="https://man.openbsd.org/OpenBSD-current/man4/sdhc.4">sdhc(4)</a> driver can properly resume on Ricoh controllers.
91: <li>The <a href="https://man.openbsd.org/OpenBSD-current/man4/sdhc.4">sdhc(4)</a> driver now supports Ricoh R5U822 and R5U823 card readers.
92: <li>The <a href="https://man.openbsd.org/OpenBSD-current/man4/mfii.4">mfii(4)</a> driver now supports the Megaraid 3008 (Fury) and 3108 (Invader) cards.
93: <li>The <a href="https://man.openbsd.org/OpenBSD-current/man4/myx.4">myx(4)</a> driver runs less code under the big lock.
94: <li>The <a href="https://man.openbsd.org/OpenBSD-current/man4/msk.4">msk(4)</a> driver now supports Yukon Prime, Yukon Optima 2, Yukon 88E8079, and various EC U and Supreme chipsets.
95: <li>The <a href="https://man.openbsd.org/OpenBSD-current/man4/umass.4">umass(4)</a> driver now supports Archos 24y Vision devices.
96: <li>The <a href="https://man.openbsd.org/OpenBSD-current/man4/athn.4">athn(4)</a> driver now supports Atheros UB94 devices.
97: <li>The <a href="https://man.openbsd.org/OpenBSD-current/man4/azalia.4">azalia(4)</a> driver now supports Realtek ALC885 codecs and Bay Trail HD Audio devices.
98: <li>The <a href="https://man.openbsd.org/OpenBSD-current/man4/ix.4">ix(4)</a> driver now supports onboard Ethernet devices in SPARC T5 machines.
99: <li>The <a href="https://man.openbsd.org/OpenBSD-current/man4/upd.4">upd(4)</a> driver now handles UPSes with broken report descriptors.
100: <li>The <a href="https://man.openbsd.org/OpenBSD-current/man4/ums.4">ums(4)</a> driver now supports the USB Tablet device emulated by Qemu.
101: <li>The <a href="https://man.openbsd.org/OpenBSD-current/man4/umsm.4">umsm(4)</a> driver now supports MEDION S4222 devices.
102: <li>The <a href="https://man.openbsd.org/OpenBSD-current/man4/pciide.4">pciide(4)</a> driver now supports Intel C610 chipsets.
103: <li>The <a href="https://man.openbsd.org/OpenBSD-current/man4/ukbd.4">ukbd(4)</a> driver now supports "wellspring" Apple keyboards.
104: <li>The <a href="https://man.openbsd.org/OpenBSD-current/man4/pms.4">pms(4)</a> driver now supports click-and-drag with Elantech v4 touchpads.
105: <li>The <a href="https://man.openbsd.org/OpenBSD-current/man4/umodem.4">umodem(4)</a> driver now supports Arduino Leonardo devices.
106: <li>The <a href="https://man.openbsd.org/OpenBSD-current/man4/sk.4">sk(4)</a> driver now supports receive ring scaling.
1.71 dlg 107: <li>Replaced custom jumbo allocators in
1.109 bentley 108: <a href="https://man.openbsd.org/OpenBSD-current/man4/sk.4">sk(4)</a>,
109: <a href="https://man.openbsd.org/OpenBSD-current/man4/nge.4">nge(4)</a>,
110: <a href="https://man.openbsd.org/OpenBSD-current/man4/lge.4">lge(4)</a>, and
111: <a href="https://man.openbsd.org/OpenBSD-current/man4/ti.4">ti(4)</a> with
112: <a href="https://man.openbsd.org/OpenBSD-current/man9/MCLGETI.9">MCLGETI(9)</a>.
113: <li>Wireless network scanning problems with the <a href="https://man.openbsd.org/OpenBSD-current/man4/iwn.4">iwn(4)</a> driver have been fixed.
114: <li>Support for RS* IGP Radeon devices in the <a href="https://man.openbsd.org/OpenBSD-current/man4/radeondrm.4">radeondrm(4)</a> driver has been fixed.
1.66 deraadt 115: <li>PowerMac7,2 and PowerMac7,3 can now boot with a multiprocessor kernel.
1.4 stsp 116: </ul>
117: <p>
118:
119: <li>Removed hardware support:
120: <ul>
1.109 bentley 121: <li>The <a href="https://man.openbsd.org/OpenBSD-5.6/man4/lofn.4">lofn(4)</a> and <a href="https://man.openbsd.org/OpenBSD-5.6/man4/nofn.4">nofn(4)</a> drivers for Hifn crypto accelerator devices have been removed.
122: <li>The <a href="https://man.openbsd.org/OpenBSD-5.6/man4/art.4">art(4)</a> driver for Accoom Networks Artery T1/E1 devices has been removed.
123: <li>The <a href="https://man.openbsd.org/OpenBSD-5.6/man4/urio.4">urio(4)</a> driver for Diamond Multimedia Rio MP3 players has been removed.
1.1 deraadt 124: </ul>
125: <p>
126:
127: <li>Generic network stack improvements:
128: <ul>
1.66 deraadt 129: <li>The routing table is now used for most of the address lookup operations superseding the RB-tree and IPv4 address list.
1.52 lteo 130: <li>The SipHash algorithm is now used for PCB hashing,
1.109 bentley 131: <a href="https://man.openbsd.org/OpenBSD-current/man4/trunk.4">trunk(4)</a> loadbalancing,
132: <a href="https://man.openbsd.org/OpenBSD-current/man4/pf.4">pf(4)</a> and
133: <a href="https://man.openbsd.org/OpenBSD-current/man4/bridge.4">bridge(4)</a>.
1.52 lteo 134: <li>Traffic destinated to link-local IPv6 addresses can now be seen with
1.109 bentley 135: <a href="https://man.openbsd.org/OpenBSD-current/man8/tcpdump.8">tcpdump(8)</a>.
136: <li>A <a href="https://man.openbsd.org/carp.4">carp(4)</a> now needs to be configured with an explicit <em>carpdev</em> parent interface.
1.69 dlg 137: <li>The
1.109 bentley 138: <a href="https://man.openbsd.org/OpenBSD-current/man9/mbuf.9">mbuf(9)</a>
1.69 dlg 139: layer has been made mpsafe.
140: <li>Introduce mbuf_list and mbuf_queue structures and APIs.
1.71 dlg 141: <li>Support changing the IPv6 input queue length via
1.109 bentley 142: <a href="https://man.openbsd.org/sysctl.1">sysctl(1)</a> and net.inet6.ip6.ifq.
1.1 deraadt 143: </ul>
1.44 deraadt 144: <p>
1.1 deraadt 145:
1.10 rpe 146: <li>Installer improvements:
147: <ul>
1.109 bentley 148: <li>The <code>etc</code> and <code>xetc</code> sets are now part of <code>base</code> and
149: <code>xbase</code> and are not distributed separately anymore. They are extracted
150: from <code>base</code> and <code>xbase</code> during installation and upgrades.<br>
151: <b>Note that this includes the <code>rc</code> and <code>rc.conf</code> files!</b>
1.10 rpe 152: <li>The installer now supports
1.109 bentley 153: <a href="https://man.openbsd.org/OpenBSD-current/man4/trunk.4">trunk(4)</a>
1.10 rpe 154: interfaces during upgrades.
155: <li>The discovery of the responsefile location for unattended installation and
1.66 deraadt 156: upgrades has been extended to be more flexible.
1.10 rpe 157: <ul>
1.66 deraadt 158: <li>Ask for the location if DHCP discovery fails for location or mode.
159: <li>Provide a default URL if the 'next-server' DHCP option is found.
1.109 bentley 160: <li>Use <code>/auto_install.conf</code> or <code>/auto_upgrade.conf</code> if present.
1.66 deraadt 161: <li>Automatically start the installer in unattended mode if either one of these
1.10 rpe 162: files is present when the system boots.
163: </ul>
1.29 krw 164: <li>Ignore hostname.if.* files when upgrading.
165: <li>Configure all physical interfaces before any dynamic interface types (e.g. trunks, vlans) when upgrading.
1.35 krw 166: <li>
1.109 bentley 167: <a href="https://man.openbsd.org/fdisk.8">fdisk(8)</a> now zeros out GPT signatures found when writing out an MBR that has been re-initialized and has no EFI or EFISYS partition.
1.36 krw 168: <li>Fixed manipulation of 'ro' and 'rw' fstab options to avoid damage to other options that happen to contain 'ro' or 'rw'.
1.66 deraadt 169: <li>The ramdisk binary (one binary contains all the commands) is now compiled without optimization and security features. The benefit is a substantial saving in space, allowing more features in the future.
1.10 rpe 170: </ul>
171: <p>
172:
1.1 deraadt 173: <li>Routing daemons and other userland network improvements:
174: <ul>
1.109 bentley 175: <li>nginx has been removed from base – use the package if you need it.
1.68 deraadt 176: <li>sliplogin has been removed.
1.109 bentley 177: <li>Sendmail has been removed from base – use the package if you need it.
1.37 sthen 178: <li>IPv6 router solicitations are now sent by the kernel ("inet6 autoconf"); rtsol(8) and rtsold(8) are no longer necessary and have been removed.
1.109 bentley 179: <li>Enhancements and bugfixes in <a href="https://man.openbsd.org/arp.8">arp(8)</a> and <a href="https://man.openbsd.org/ndp.8">ndp(8)</a>
180: <li>The effects of the AI_ADDRCONFIG flag on <a href="https://man.openbsd.org/getaddrinfo.3">getaddrinfo(3)</a> results are limited to DNS queries. This avoids erratic behavior with transient network problems, "raw" addresses and localhost entries in <a href="https://man.openbsd.org/hosts.5">/etc/hosts</a>.
181: <li><a href="https://man.openbsd.org/gethostbyname.3">gethostbyname(3)</a> now no longer fails when more than 16 addresses/aliases are returned. The original pre-asr limit of 35 has been restored, with additional results being truncated.
182: <li><a href="https://man.openbsd.org/tftp.1">tftp(1)</a> now supports sending or receiving files larger than 65536 blocks in size.
183: <li><a href="https://man.openbsd.org/tpd&sec=8">ntpd(8)</a> now supports authenticated TLS constraints.
1.1 deraadt 184: </ul>
185: <p>
186:
187: <li>Security improvements:
188: <ul>
1.66 deraadt 189: <li>Stricter enforcement of W^X in the kernel address space, especially on architectures with the right featureset (amd64, in particular, has seen substantial improvements).
1.27 tedu 190: <li>Support for loadable kernel modules has been removed.
1.32 lteo 191: <li>procfs has been removed.
1.109 bentley 192: <li>Comprehensive audit of the tree to use the <a href="https://man.openbsd.org/reallocarray.3">reallocarray(3)</a> idiom throughout.
193: <li>Many conversions from <a href="https://man.openbsd.org/select.2">select(2)</a> to <a href="https://man.openbsd.org/poll.2">poll(2)</a>.
1.44 deraadt 194: <li>/var/tmp is now a symbolic link to /tmp, as a first step towards reducing the "fill it up" attack surface against the /var partition.
1.109 bentley 195: <li><a href="https://man.openbsd.org/memcpy.3">memcpy(3)</a> with overlapping arguments now aborts a program (with a syslog report), allowing these problems to be found. Overlapping copies should use <a href="https://man.openbsd.org/memmove.3">memmove(3)</a>. Sometime after 5.7 release, having learned more about the situation and repairing instances that are discovered by users during release use, we will go back to the optimized version.
1.44 deraadt 196: <li>Change
1.109 bentley 197: <a href="https://man.openbsd.org/rand.3">rand(3)</a>,
198: <a href="https://man.openbsd.org/random.3">random(3)</a>,
199: <a href="https://man.openbsd.org/drand48.3">drand48(3)</a>,
200: <a href="https://man.openbsd.org/lrand48.3">lrand48(3)</a>,
201: <a href="https://man.openbsd.org/mrand48.3">mrand48(3)</a>,
202: <a href="https://man.openbsd.org/srand48.3">srand48(3)</a>
1.44 deraadt 203: to return non-deterministic strong random values by default, sourced from
1.109 bentley 204: <a href="https://man.openbsd.org/arc4random.3">arc4random(3)</a>.
1.44 deraadt 205: New functions
1.109 bentley 206: <a href="https://man.openbsd.org/srand_deterministic.3">srand_deterministic(3)</a>,
207: <a href="https://man.openbsd.org/srandom_deterministic.3">srandom_deterministic(3)</a>,
208: <a href="https://man.openbsd.org/seed48_deterministic.3">seed48_deterministic(3)</a> and
209: <a href="https://man.openbsd.org/lcong48_deterministic.3">lcong48_deterministic(3)</a>
1.79 deraadt 210: are added for cases where determinism needs to be requested.
1.66 deraadt 211: <li>At resume (or unhibernate) time, use a variety of methods to reseed the random number generator. This also works on VMs which wake up (if a wakeup event is seen).
1.57 deraadt 212: <li>All architectures have been transitioned to static PIE, meaning the statically linked binaries in /bin and /sbin now have randomly located text segments.
1.44 deraadt 213: <li>Allow larger .openbsd.randomdata ELF segments.
1.109 bentley 214: <li>Sync kernel AES code and <a href="https://man.openbsd.org/ssh.1">ssh(1)</a> AES code to the one shipped with OpenSSL/LibreSSL.
215: <li>Removed <a href="https://man.openbsd.org/passwd.1">passwd(1)</a> support for all password ciphers except <a href="https://man.openbsd.org/blowfish.3">blowfish(3)</a>.
216: <li>Use sha512 instead of md5 for <a href="https://man.openbsd.org/tcp.4">tcp(4)</a> initial sequence number.
1.56 benno 217: <li>Use sha512 instead of md5 in the random number generator.
1.109 bentley 218: <li>Delete secret or secret-derived data in many base utilities with <a href="https://man.openbsd.org/explicit_bzero.3">explicit_bzero(3)</a>.
1.1 deraadt 219: </ul>
220: <p>
221:
222: <li>Assorted improvements:
223: <ul>
1.109 bentley 224: <li>New <a href="https://man.openbsd.org/rcctl.8">rcctl(8)</a> utility to control daemons.
225: <li><a href="https://man.openbsd.org/fw_update.1">fw_update(1)</a> has been rewritten to be faster and smarter.
226: <li>Cleanup <a href="https://man.openbsd.org/event.3">libevent(3)</a>,
1.19 bluhm 227: the compatibility layer for other operating systems has been removed.
228: The API is still compatible with upstream libevent 1.4.15-stable.
1.109 bentley 229: <li><a href="https://man.openbsd.org/openssl.1">openssl(1)</a>
1.66 deraadt 230: s_client now supports a -proxy parameter for connecting over an HTTP proxy.
1.27 tedu 231: <li>gzsig has been removed.
1.72 tedu 232: <li>Switch to fast assembly versions of some libc functions on amd64.
1.109 bentley 233: <li>Frequency scaling has been moved from <a href="https://man.openbsd.org/apmd.1">apmd(8)</a> to the kernel with an improved algorithm.
1.66 deraadt 234: <li>Switch last workq API uses to
1.109 bentley 235: <a href="https://man.openbsd.org/taskq_create.9">taskq</a> API and remove all traces of workq.
1.31 krw 236: <li>Use
1.109 bentley 237: <a href="https://man.openbsd.org/services.5">services(5)</a> names in the default pf rules in force during startup.
1.35 krw 238: <li>
1.109 bentley 239: <a href="https://man.openbsd.org/what.1">what(1)</a> now correctly displays $OpenBSD$ expansions.
1.35 krw 240: <li>
1.109 bentley 241: <a href="https://man.openbsd.org/dhcpd.8">dhcpd(8)</a> now removes addresses from its pf table a single time when they expire, rather than at every timeout after the expiry.
1.31 krw 242: <li>
1.109 bentley 243: <a href="https://man.openbsd.org/dhcpd.8">dhcpd(8)</a> now ensures that the pf table process exits when the main process does.
1.31 krw 244: <li>
1.109 bentley 245: <a href="https://man.openbsd.org/dhcpd.8">dhcpd(8)</a> has more informative log entries for DHCPACKs issued in response to DHCPINFORM messages.
1.36 krw 246: <li>Added POSIX types blkcnt_t (int64) and blksize_t (int32), and used them for st_blocks (formerly int64_t) and st_blksize (formerly u_int32_t) in struct stat.
1.38 tedu 247: <li>Improved typography for
1.109 bentley 248: <a href="https://man.openbsd.org/banner.6">banner(6)</a>.
249: <li>Allow <a href="https://man.openbsd.org/hangman.6">hangman</a>
1.91 tedu 250: to play against any ELF file.
1.40 krw 251: <li>
1.109 bentley 252: <a href="https://man.openbsd.org/dhclient.8">dhclient(8)</a> adjusts MTU when the interface-mtu DHCP option is provided.
1.40 krw 253: <li>Various memory leaks in
1.109 bentley 254: <a href="https://man.openbsd.org/dhclient.8">dhclient(8)</a> plugged, providing more stability for long running (in terms of time or renewals) instances.
1.40 krw 255: <li>The
1.109 bentley 256: <a href="https://man.openbsd.org/dhclient.8">dhclient(8)</a>
1.40 krw 257: command line options -q (quiet) and -d (don't daemonize) are now mutually exclusive.
1.66 deraadt 258: <li>The communication between the privileged and unprivileged
1.109 bentley 259: <a href="https://man.openbsd.org/dhclient.8">dhclient(8)</a> processes was reworked to further minimize information sharing.
1.40 krw 260: <li>
1.109 bentley 261: <a href="https://man.openbsd.org/dhclient.8">dhclient(8)</a> ensures lease timeouts (renew, rebind, expire) are sane and uses default values closer to RFC suggestions.
1.40 krw 262: <li>
1.109 bentley 263: <a href="https://man.openbsd.org/dhclient.8">dhclient(8)</a> no longer crashes when a lease expires and cannot be renewed or replaced.
1.40 krw 264: <li>
1.109 bentley 265: <a href="https://man.openbsd.org/dhclient.8">dhclient(8)</a> improved tracking network interface link states.
1.40 krw 266: <li>Improved network error tracking and accounting in
1.109 bentley 267: <a href="https://man.openbsd.org/dhclient.8">dhclient(8)</a>.
1.40 krw 268: <li>Private number conversion functions in
1.109 bentley 269: <a href="https://man.openbsd.org/dhclient.8">dhclient(8)</a> eliminated in favour of standard library functions.
1.66 deraadt 270: <li>Further signal race cleanups in
1.109 bentley 271: <a href="https://man.openbsd.org/ftp.1">ftp(1)</a>.
1.44 deraadt 272: <li>BIND has been retired, encouraging use of
1.109 bentley 273: <a href="https://man.openbsd.org/nsd.8">nsd(8)</a> and
274: <a href="https://man.openbsd.org/unbound.8">unbound(8)</a>.
1.44 deraadt 275: <li>Significant namespace cleanup in the /usr/include files, especially related to <sys/param.h> and <limits.h>.
1.109 bentley 276: <li><a href="https://man.openbsd.org/softraid.4">softraid(4)</a> RAID1 and CRYPTO volumes are now bootable on the sparc64 platform.
277: <li><a href="https://man.openbsd.org/relayd.8">relayd(8)</a> now uses "TLS" rather than "SSL" terminology to reflect the deprecation of the latter.
278: <li><a href="https://man.openbsd.org/relayd.8">relayd(8)</a> now supports the random and source-hash modes with redirections.
279: <li><a href="https://man.openbsd.org/relayd.8">relayd(8)</a> now supports the <a href="https://cvsweb.openbsd.org/src/share/snmp/OPENBSD-RELAYD-MIB.txt?rev=1.1">OPENBSD-RELAYD-MIB</a> via agentx with <a href="https://man.openbsd.org/snmpd.8">snmpd(8)</a>.
280: <li>Added interfaces for setting the close-on-exec flag and/or non-blocking mode on new file descriptors: <a href="https://man.openbsd.org/pipe2.2">pipe2(2)</a>, <a href="https://man.openbsd.org/dup3.2">dup3(2)</a>, <a href="https://man.openbsd.org/accept4.2">accept4(2)</a>, <a href="https://man.openbsd.org/mkostemp.3">mkostemp(3)</a>, <a href="https://man.openbsd.org/mkostemps.3">mkostemps(3)</a>, the <code>SOCK_CLOEXEC</code> and <code>SOCK_NONBLOCK</code> flags for <a href="https://man.openbsd.org/socket.2">socket(2)</a> and <a href="https://man.openbsd.org/socketpair.2">socketpair(2)</a>, and the <code>MSG_CMSG_CLOEXEC</code> flag for <a href="https://man.openbsd.org/recvmsg.2">recvmsg(2)</a>. In addition, <a href="https://man.openbsd.org/posix_spawn_file_actions_adddup2.3">posix_spawn_file_actions_adddup2(3)</a> now always clears the close-on-exec flag.
281: <li>Added interfaces for setting the close-on-exec flag on new FILE handles and for requesting exclusive creation via the the 'e' and 'x' mode letters for <a href="https://man.openbsd.org/fopen.3">fopen(3)</a>, <a href="https://man.openbsd.org/fdopen.3">fdopen(3)</a>, <a href="https://man.openbsd.org/freopen.3">freopen(3)</a>, and <a href="https://man.openbsd.org/popen.3">popen(3)</a>.
1.50 guenther 282: <li>Many library functions and programs changed to use the above for safety or simplicity.
1.109 bentley 283: <li>Added <a href="https://man.openbsd.org/chflagsat.2">chflagsat(2)</a>, <a href="https://man.openbsd.org/sockatmark.3">sockatmark(3)</a>, and <a href="https://man.openbsd.org/stravis.3">stravis(3)</a>.
284: <li>Merged performance and safety fixes for <a href="https://man.openbsd.org/fts.3">fts(3)</a> from FreeBSD.
285: <li>Merged fixes for file descriptor leaks in various <a href="https://man.openbsd.org/rpc.3">rpc(3)</a> functions from NetBSD.
286: <li>Added a <code>kern.global_ptrace</code> <a href="https://man.openbsd.org/sysctl.1">sysctl(1)</a> to disable, by default, the ability to <a href="https://man.openbsd.org/ptrace.2">ptrace(2)</a> processes that aren't your descendent.
287: <li><a href="https://man.openbsd.org/kdump.1">kdump(1)</a> now always displays both the numeric and the textual forms for users, groups, timestamps, and sysctl ids, eliminating the <code>-r</code> option. It also auto-selects between decimal and hex format for arguments, renders more types of flags, and is more robust when parsing corrupt ktrace files.
288: <li><a href="https://man.openbsd.org/chmod.1">chmod(1)</a>/<a href="https://man.openbsd.org/chgrp.1">chgrp(1)</a>/<a href="https://man.openbsd.org/chown.8">chown(8)</a> now comply with POSIX's requirements when they encounter symlinks when the <code>-R</code> option is used, and are safe from race conditions when doing so.
289: <li>The <a href="https://man.openbsd.org/dmesg.8">dmesg(8)</a> utility can now display the console message buffer in addition to the system message buffer.
290: <li><a href="https://man.openbsd.org/inetd.8">inetd(8)</a> now uses libevent instead of
291: <a href="https://man.openbsd.org/select.3">select(3)</a>.
1.70 dlg 292: <li>Reworking of the kernel
1.109 bentley 293: <a href="https://man.openbsd.org/OpenBSD-current/man9/pool.9">pool(9)</a>
1.70 dlg 294: implementation to provide mpsafety and pave the way for performance improvements.
1.71 dlg 295: <li>Removed the
1.109 bentley 296: <a href="https://man.openbsd.org/OpenBSD-5.6/man9/workq_add_task.9">workq API</a>
1.71 dlg 297: after replacing it with the
1.109 bentley 298: <a href="https://man.openbsd.org/OpenBSD-current/man9/task_add.9">task API</a>.
1.71 dlg 299: <li>Add support for creating kernel threads that cannot sleep to
1.109 bentley 300: <a href="https://man.openbsd.org/OpenBSD-5.6/man9/taskq_create.9">taskq_create(9)</a>.
1.110 deraadt 301: <li>Completed the implementation of the atomic (eg,
1.109 bentley 302: <a href="https://man.openbsd.org/OpenBSD-current/man9/atomic_cas_uint.9">atomic_cas_uint(9)</a>,
303: <a href="https://man.openbsd.org/OpenBSD-current/man9/atomic_swap_uint.9">atomic_swap_uint(9)</a>,
304: <a href="https://man.openbsd.org/OpenBSD-current/man9/atomic_add_int.9">atomic_add_int(9)</a>,
305: <a href="https://man.openbsd.org/OpenBSD-current/man9/atomic_sub_int.9">atomic_sub_int(9)</a>,
306: <a href="https://man.openbsd.org/OpenBSD-current/man9/atomic_inc_int.9">atomic_inc_int(9)</a>, and
307: <a href="https://man.openbsd.org/OpenBSD-current/man9/atomic_dec_int.9">atomic_dec_int(9)</a>)
1.71 dlg 308: and membar
1.109 bentley 309: (<a href="https://man.openbsd.org/OpenBSD-current/man9/membar_sync.9">membar_sync(9)</a>)
1.71 dlg 310: APIs across all supported architectures.
1.46 reyk 311: </ul>
312: <p>
313:
1.109 bentley 314: <li>OpenBSD <a href="https://man.openbsd.org/httpd.8">httpd(8)</a>:
1.46 reyk 315: <ul>
1.66 deraadt 316: <li>SSLv2/3 is not supported anymore; renamed all occurrences of "SSL" to "TLS".
1.46 reyk 317: <li>Various TLS improvements with better support for ECDHE/DHE forward secrecy.
318: <li>Improved support for virtual hosts by supporting name- and IP- based aliases.
1.109 bentley 319: <li>Added support for basic authentication by checking against files created with <a href="https://man.openbsd.org/htpasswd.1">htpasswd(1)</a>.
1.46 reyk 320: <li>Added support for custom error codes, blocking and dropping of connections.
321: <li>Added support for redirections and macros in specified target URLs.
322: <li>Added the "root strip" option to sanitize PATH_INFO for some CGI scripts.
323: <li>Added an option to specify an alternative log directory instead of /var/www/logs.
1.109 bentley 324: <li>Various FastCGI improvements; <a href="https://man.openbsd.org/httpd.8">httpd(8)</a> is now compatible with many well-known web applications.
1.46 reyk 325: <li>Various other fixes and improvements.
326: </ul>
327: <p>
328:
329: <li>OpenSMTPD 5.4.4:
330: <ul>
1.66 deraadt 331: <li>SSLv3 is not supported anymore.
1.59 gilles 332: <li>Added support for a new message and headers parser.
333: <li>Added support for append-domain.
334: <li>Restricted address lookups to configured address families.
335: <li>Domain is no longer required when mailing a local user.
336: <li>Various other fixes and improvements.
1.1 deraadt 337: </ul>
338: <p>
339:
1.3 sobrado 340: <li>OpenSSH 6.8
1.1 deraadt 341: <ul>
342: <li>Potentially-incompatible changes:
343: <ul>
1.109 bentley 344: <li><a href="https://man.openbsd.org/sshd.8">sshd(8)</a>:
345: <code>UseDNS</code> now defaults to 'no'. Configurations that match
1.3 sobrado 346: against the client host name (via
1.109 bentley 347: <a href="https://man.openbsd.org/sshd_config.5">sshd_config(5)</a>
348: or <code>authorized_keys</code>) may need to re-enable it or convert to
1.3 sobrado 349: matching against addresses.
1.1 deraadt 350: </ul>
351: <li>New/changed features:
352: <ul>
1.3 sobrado 353: <li>Much of OpenSSH's internal code has been re-factored to be more
354: library-like. These changes are mostly not user-visible, but
355: have greatly improved OpenSSH's testability and internal layout.
1.109 bentley 356: <li>Add <code>FingerprintHash</code> option to
357: <a href="https://man.openbsd.org/ssh.1">ssh(1)</a>
1.3 sobrado 358: and
1.109 bentley 359: <a href="https://man.openbsd.org/sshd.8">sshd(8)</a>,
1.3 sobrado 360: and equivalent command-line flags to the other tools to control
361: algorithm used for key fingerprints. The default changes from MD5
362: to SHA256 and format from hex to base64. Fingerprints now have the
363: hash algorithm prepended. Please note that visual host keys will also
364: be different.
1.109 bentley 365: <li><a href="https://man.openbsd.org/ssh.1">ssh(1)</a>,
366: <a href="https://man.openbsd.org/sshd.8">sshd(8)</a>:
1.34 sobrado 367: Experimental host key rotation support. Add a protocol extension
1.28 sobrado 368: for a server to inform a client of all its available host keys after
369: authentication has completed. The client may record the keys in
1.109 bentley 370: <code>known_hosts</code>, allowing it to upgrade to better host key
1.28 sobrado 371: algorithms and a server to gracefully rotate its keys. The client
1.109 bentley 372: side of this is controlled by a <code>UpdateHostkeys</code> config option
1.28 sobrado 373: (default off).
1.109 bentley 374: <li><a href="https://man.openbsd.org/ssh.1">ssh(1)</a>:
1.3 sobrado 375: Add a
1.109 bentley 376: <a href="https://man.openbsd.org/ssh_config.5">ssh_config(5)</a>
377: <code>HostbasedKeyType</code> option to control which host public key types
1.3 sobrado 378: are tried during host-based authentication.
1.109 bentley 379: <li><a href="https://man.openbsd.org/ssh.1">ssh(1)</a>,
380: <a href="https://man.openbsd.org/sshd.8">sshd(8)</a>:
1.3 sobrado 381: fix connection-killing host key mismatch errors when
1.109 bentley 382: <a href="https://man.openbsd.org/sshd.8">sshd(8)</a>
1.3 sobrado 383: offers multiple ECDSA keys of different lengths.
1.109 bentley 384: <li><a href="https://man.openbsd.org/ssh.1">ssh(1)</a>:
1.3 sobrado 385: when host name canonicalisation is enabled, try to parse host names
386: as addresses before looking them up for canonicalisation. Fixes
387: bz#2074 and avoiding needless DNS lookups in some cases.
1.109 bentley 388: <li><a href="https://man.openbsd.org/ssh-keygen.1">ssh-keygen(1)</a>,
389: <a href="https://man.openbsd.org/sshd.8">sshd(8)</a>:
1.3 sobrado 390: <i>Key Revocation Lists</i> (KRLs) no longer require OpenSSH to be
391: compiled with OpenSSL support.
1.109 bentley 392: <li><a href="https://man.openbsd.org/ssh.1">ssh(1)</a>,
393: <a href="https://man.openbsd.org/ssh-keysign.8">ssh-keysign(8)</a>:
1.3 sobrado 394: Make ed25519 keys work for host based authentication.
1.109 bentley 395: <li><a href="https://man.openbsd.org/sshd.8">sshd(8)</a>:
1.3 sobrado 396: SSH protocol v.1 workaround for the Meyer, et al., <i>Bleichenbacher
397: Side Channel Attack</i>. Fake up a bignum key before RSA decryption.
1.109 bentley 398: <li><a href="https://man.openbsd.org/sshd.8">sshd(8)</a>:
1.3 sobrado 399: Remember which public keys have been used for authentication and
400: refuse to accept previously-used keys. This allows
1.109 bentley 401: <code>AuthenticationMethods=publickey,publickey</code> to require that
1.3 sobrado 402: users authenticate using two <i>different</i> public keys.
1.109 bentley 403: <li><a href="https://man.openbsd.org/sshd.8">sshd(8)</a>:
1.3 sobrado 404: add
1.109 bentley 405: <a href="https://man.openbsd.org/sshd_config.5">sshd_config(5)</a>
406: <code>HostbasedAcceptedKeyTypes</code> and <code>PubkeyAcceptedKeyTypes</code>
1.3 sobrado 407: options to allow
1.109 bentley 408: <a href="https://man.openbsd.org/sshd.8">sshd(8)</a>
1.3 sobrado 409: to control what public key types will be accepted. Currently defaults
410: to all.
1.109 bentley 411: <li><a href="https://man.openbsd.org/sshd.8">sshd(8)</a>:
1.3 sobrado 412: Don't count partial authentication success as a failure against
1.109 bentley 413: <code>MaxAuthTries</code>.
414: <li><a href="https://man.openbsd.org/ssh.1">ssh(1)</a>:
415: Add <code>RevokedHostKeys</code> option for the client to allow text-file
1.3 sobrado 416: or KRL-based revocation of host keys.
1.109 bentley 417: <li><a href="https://man.openbsd.org/ssh-keygen.1">ssh-keygen(1)</a>,
418: <a href="https://man.openbsd.org/sshd.8">sshd(8)</a>:
1.3 sobrado 419: Permit KRLs that revoke certificates by serial number or key ID without
420: scoping to a particular CA.
1.109 bentley 421: <li><a href="https://man.openbsd.org/ssh.1">ssh(1)</a>:
1.3 sobrado 422: Add a "Match canonical" criteria that allows
1.109 bentley 423: <a href="https://man.openbsd.org/ssh_config.5">ssh_config(5)</a>
424: <code>Match</code> blocks to trigger only in the second config pass.
425: <li><a href="https://man.openbsd.org/ssh.1">ssh(1)</a>:
426: Add a <code>-G</code> option to
427: <a href="https://man.openbsd.org/ssh.1">ssh(1)</a>
1.3 sobrado 428: that causes it to parse its configuration and dump the result to
1.109 bentley 429: stdout, similar to "<code>sshd -T</code>".
430: <li><a href="https://man.openbsd.org/ssh.1">ssh(1)</a>:
431: Allow <code>Match</code> criteria to be negated
432: (e.g. "<code>Match !host</code>").
1.3 sobrado 433: <li>The regression test suite has been extended to cover more OpenSSH
434: features. The unit tests have been expanded and now cover key
435: exchange.
1.1 deraadt 436: </ul>
437: <li>The following significant bugs have been fixed in this release:
438: <ul>
1.109 bentley 439: <li><a href="https://man.openbsd.org/ssh-keyscan.1">ssh-keyscan(1)</a>:
440: <a href="https://man.openbsd.org/ssh-keyscan.1">ssh-keyscan(1)</a>
1.3 sobrado 441: has been made much more robust again servers that hang or violate
442: the SSH protocol.
1.109 bentley 443: <li><a href="https://man.openbsd.org/ssh.1">ssh(1)</a>,
444: <a href="https://man.openbsd.org/ssh-keygen.1">ssh-keygen(1)</a>:
1.3 sobrado 445: Fix regression bz#2306: Key path names were being lost as comment
446: fields.
1.109 bentley 447: <li><a href="https://man.openbsd.org/ssh.1">ssh(1)</a>:
1.3 sobrado 448: Allow
1.109 bentley 449: <a href="https://man.openbsd.org/ssh_config.5">ssh_config(5)</a>
450: <code>Port</code> options set in the second config parse phase to be
1.3 sobrado 451: applied (they were being ignored). (bz#2286)
1.109 bentley 452: <li><a href="https://man.openbsd.org/ssh.1">ssh(1)</a>:
453: Tweak config re-parsing with host canonicalisation—make the
1.3 sobrado 454: second pass through the config files always run when host name
455: canonicalisation is enabled (and not whenever the host name changes).
456: (bz#2267)
1.109 bentley 457: <li><a href="https://man.openbsd.org/ssh.1">ssh(1)</a>:
1.3 sobrado 458: Fix passing of wildcard forward bind addresses when connection
459: multiplexing is in use. (bz#2324)
1.109 bentley 460: <li><a href="https://man.openbsd.org/ssh-keygen.1">ssh-keygen(1)</a>:
1.3 sobrado 461: Fix broken private key conversion from non-OpenSSH formats. (bz#2345)
1.109 bentley 462: <li><a href="https://man.openbsd.org/ssh-keygen.1">ssh-keygen(1)</a>:
1.3 sobrado 463: Fix KRL generation bug when multiple CAs are in use.
464: <li>Various fixes to manual pages. (bz#2273, bz#2288 and bz#2316)
1.1 deraadt 465: </ul>
466: </ul>
467: <p>
468:
469: <li>LibreSSL
470: <ul>
1.73 sobrado 471: <li>User-visible features:
472: <ul>
1.109 bentley 473: <li>Reluctantly add server-side support for <code>TLS_FALLBACK_SCSV</code>.
1.73 sobrado 474: <li>Import <i>BoringSSL</i>'s crypto bytestring and crypto bytebuilder
475: APIs.
476: <li>Jettison DTLS over SCTP.
477: <li>Move
1.109 bentley 478: <a href="https://man.openbsd.org/openssl.1">openssl(1)</a>
479: from <code>/usr/sbin/openssl</code> to <code>/usr/bin/openssl</code>.
1.73 sobrado 480: <li>Two important cipher suites, GOST and Camellia, have been reworked
481: or reenabled, providing better interoperability with systems around
482: the world.
483: <li>libtls: New API for loading CA chains directly from memory instead
484: of a file, allowing verification with privilege separation in a
1.109 bentley 485: <a href="https://man.openbsd.org/chroot.8">chroot(8)</a>
1.73 sobrado 486: without direct access to CA certificate files.
487: <li>libtls: Ciphers default to TLSv1.2 with AEAD and PFS.
488: <li>libtls: Improved error handling and message generation.
1.109 bentley 489: <li>Added <code>X509_STORE_load_mem</code> API for loading certificates from
1.73 sobrado 490: memory. This facilitates accessing certificates from a chrooted
491: environment.
492: <li>New AEAD "MAC alias" allows configuring TLSv1.2 AEAD ciphers by
493: using 'TLSv1.2+AEAD' as the cipher selection string.
494: <li>New
1.109 bentley 495: <a href="https://man.openbsd.org/openssl.1">openssl(1)</a>
496: command '<code>certhash</code>' replaces the <code>c_rehash</code> script.
1.73 sobrado 497: <li><i>Application-Layer Protocol Negotiation</i> (ALPN) support.
498: </ul>
499: <li>Code improvements:
500: <ul>
501: <li>Dead and disabled code removal including MD5, Netscape workarounds,
502: non-POSIX IO, SCTP, RFC 3779 support, "#if 0" sections, and more.
503: <li>The ASN1 macros are expanded to aid readability and maintainability.
504: <li>Various NULL pointer asserts removed in favor of letting the
505: OS/signal handler catch them.
506: <li>Dozens of issues found with the <i>Coverity scanner</i> fixed.
507: </ul>
508: <li>Security updates:
509: <ul>
510: <li>Fix a Bleichenbacher style timing oracle with bad PKCS padding.
511: <li>Fix memory leaks.
512: <li>Address POODLE attack by disabling SSLv3 by default.
513: <li>SHA256 Camellia cipher suites for TLS 1.2 from RFC 5932.
514: <li>Earlier libtls support for non-blocking sockets and randomized
515: session ID contexts.
516: <li>Ensure the stack is marked non-executable for assembly sections.
517: <li>Multiple CVEs fixed including CVE-2014-3506, CVE-2014-3507,
518: CVE-2014-3508, CVE-2014-3509, CVE-2014-3510, CVE-2014-3511,
519: CVE-2014-3570, CVE-2014-3572, CVE-2014-8275, CVE-2015-0205
520: and CVE-2015-0206.
521: </ul>
1.1 deraadt 522: </ul>
523: <p>
1.33 schwarze 524: <li>mandoc 1.13.3:
1.1 deraadt 525: <ul>
1.109 bentley 526: <li><a href="https://man.openbsd.org/man.1">man(1)</a>,
527: <a href="https://man.openbsd.org/apropos.1">apropos(1)</a>, and
528: <a href="https://man.openbsd.org/mandoc.1">mandoc(1)</a>
1.33 schwarze 529: now have a unified user interface, all with the same options,
530: and are in fact all implemented by the same binary program.
1.109 bentley 531: <li>For <a href="https://man.openbsd.org/man.1">man(1)</a>,
1.33 schwarze 532: this implies new options -l and -IKOTW,
533: and it now finds manual pages by the names in their NAME sections
534: even if they lack matching file names.
1.109 bentley 535: <li>For <a href="https://man.openbsd.org/apropos.1">apropos(1)</a>,
1.33 schwarze 536: this implies new options -acfhklw and -IKOTW.
1.109 bentley 537: <li>For <a href="https://man.openbsd.org/mandoc.1">mandoc(1)</a>,
1.33 schwarze 538: this implies new options -acfhkl.
1.109 bentley 539: <li><a href="https://man.openbsd.org/mandoc.1">mandoc(1)</a>
1.33 schwarze 540: now automatically detects and transparently accepts input encoded
541: in utf-8 and iso-8859-1, and provides a new option -K to explicitly
542: specify the input encoding.
1.109 bentley 543: <li>The <a href="https://man.openbsd.org/mandoc.1">mandoc(1)</a>
1.33 schwarze 544: default output mode now is -Tlocale rather than -Tascii.
1.109 bentley 545: <li><a href="https://man.openbsd.org/eqn.7">eqn(7)</a>
1.33 schwarze 546: now supports in-line equations,
547: and terminal rendering of equations is considerably improved.
1.109 bentley 548: <li><a href="https://man.openbsd.org/mandoc.1">mandoc(1)</a> -Thtml
1.33 schwarze 549: now generates polyglot HTML5 and renders
1.109 bentley 550: <a href="https://man.openbsd.org/eqn.7">eqn(7)</a>
1.33 schwarze 551: using MathML.
1.109 bentley 552: <li><a href="https://man.openbsd.org/mandoc.1">mandoc(1)</a>
1.33 schwarze 553: can no longer fail with fatal errors, no matter how broken the input
554: file may be, and the -Wfatal message level no longer has any effect.
555: A new diagnostic level -Wunsupp is provided. Besides, many
556: diagnostic messages are now more specific.
557: <li>Many crashes were fixed that Jonathan Gray found with the
558: American Fuzzy Lop (afl).
1.1 deraadt 559: </ul>
560:
561: <p>
1.17 bluhm 562: <li>Syslogd:
563: <ul>
1.109 bentley 564: <li>OpenBSD <a href="https://man.openbsd.org/syslogd.8">syslogd(8)</a>
1.52 lteo 565: is based on
1.109 bentley 566: <a href="https://man.openbsd.org/event.3">libevent</a>
1.52 lteo 567: now.
1.17 bluhm 568: <li>Sending and receiving UDP messages works with both IPv4 and IPv6.
569: <li>Syslog messages can also be sent over TCP or TLS.
1.20 bluhm 570: The syntax to specify the loghost is documented in
1.109 bentley 571: <a href="https://man.openbsd.org/syslog.conf.5">syslog.conf(5)</a>.
1.20 bluhm 572: <li>Sending over TCP and TLS is reliable.
573: If a connection terminates, syslogd tries to reconnect.
574: When the message buffer in memory gets full, the number of dropped
575: messages is counted and logged.
1.66 deraadt 576: <li>With TLS, the x509 certificate of the syslog server is verified.
1.17 bluhm 577: <li>The maximum message size has been increased according to newer RFC.
578: </ul>
579: <p>
1.1 deraadt 580: <li>Ports and packages:
581: <ul>
1.58 sthen 582: <li>Over 9,000 ports.
1.1 deraadt 583: </ul>
584: <p>
585: <li>Many pre-built packages for each architecture:
1.109 bentley 586: <ul style="column-count: 4">
1.58 sthen 587: <li>i386: 8722
1.86 sthen 588: <li>sparc64: 8184
589: <li>alpha: 6811
1.85 sthen 590: <li>sh: 0
1.58 sthen 591: <li>amd64: 8745
1.86 sthen 592: <li>powerpc: 8286
593: <li>m88k: 1148
594: <li>sparc: 4026
1.85 sthen 595: <li>arm: 0
1.86 sthen 596: <li>hppa: 6718
597: <li>vax: 1550
1.82 deraadt 598: <li>mips64: 1595
599: <li>mips64el: 6914
1.109 bentley 600: </ul>
1.1 deraadt 601: <p>
602:
603: <li>Some highlights:
1.109 bentley 604: <ul style="column-count: 2">
1.67 sthen 605: <li>Chromium 40.0.2214.115
606: <li>Emacs 21.4 and 24.4
607: <li>GCC 4.8.4 and 4.9.2
608: <li>GHC 7.8.4
609: <li>GNOME 3.14.2
610: <li>Go 1.4.1
611: <li>Groff 1.22.3
612: <li>JDK 1.7.0.71
613: <li>KDE 3.5.10 and 4.14.3
614: <li>LLVM/Clang 3.5 (20140228)
615: <li>LibreOffice 4.3.5.2
616: <li>MariaDB 10.0.16
617: <li>Mono 3.12.0
618: <li>Mozilla Firefox 31.4.0esr and 35.0.1
619: <li>Mozilla Thunderbird 31.4.0
620: <li>Node.js 0.10.35
621: <li>OpenLDAP 2.3.43 and 2.4.40
622: <li>PHP 5.3.29, 5.4.38, 5.5.22 and 5.6.5
623: <li>Postfix 2.11.4
624: <li>PostgreSQL 9.4.1
625: <li>Python 2.7.9 and 3.4.2
626: <li>R 3.1.2
627: <li>Ruby 1.8.7.374, 1.9.3.551, 2.0.0.598, 2.1.5, and 2.2.0
1.81 nick 628: <li>Sendmail 8.15.1
1.67 sthen 629: <li>Tcl/Tk 8.5.16 and 8.6.2
630: <li>TeX Live 2013
631: <li>Vim 7.4.475
632: <li>Xfce 4.10
1.109 bentley 633: </ul>
1.1 deraadt 634: <p>
635:
636: <li>As usual, steady improvements in manual pages and other documentation.
637: <p>
638:
639: <li>The system includes the following major components from outside suppliers:
640: <ul>
1.2 lteo 641: <li>Xenocara (based on X.Org 7.7 with xserver 1.16.4 + patches,
642: freetype 2.5.5, fontconfig 2.11.1, Mesa 10.2.9, xterm 314,
643: xkeyboard-config 2.13 and more)
1.1 deraadt 644: <li>Gcc 4.2.1 (+ patches) and 3.3.6 (+ patches)
1.2 lteo 645: <li>Perl 5.20.1 (+ patches)
646: <li>SQLite 3.8.6 (+ patches)
647: <li>NSD 4.1.1
1.22 brad 648: <li>Unbound 1.5.2
1.1 deraadt 649: <li>Sudo 1.7.2p8
650: <li>Ncurses 5.7
651: <li>Binutils 2.15 (+ patches)
652: <li>Gdb 6.3 (+ patches)
653: <li>Less 458 (+ patches)
654: <li>Awk Aug 10, 2011 version
655: </ul>
656: </ul>
1.109 bentley 657: </section>
1.1 deraadt 658:
659: <hr>
1.109 bentley 660:
661: <section id=install>
662: <h3>How to install</h3>
1.1 deraadt 663: <p>
664: Following this are the instructions which you would have on a piece of
665: paper if you had purchased a CDROM set instead of doing an alternate
1.16 rpe 666: form of install. The instructions for doing an HTTP (or other style
1.1 deraadt 667: of) install are very similar; the CDROM instructions are left intact
668: so that you can see how much easier it would have been if you had
669: purchased a CDROM instead.
670: <p>
671:
672: <hr>
1.16 rpe 673: Please refer to the following files on the three CDROMs or mirror site for
1.1 deraadt 674: extensive details on how to install OpenBSD 5.7 on your machine:
675: <p>
676: <ul>
1.101 tb 677: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/5.7/alpha/INSTALL.alpha">
1.1 deraadt 678: .../OpenBSD/5.7/alpha/INSTALL.alpha (on CD1)</a>
1.101 tb 679: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/5.7/i386/INSTALL.i386">
1.1 deraadt 680: .../OpenBSD/5.7/i386/INSTALL.i386 (on CD1)</a>
1.101 tb 681: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/5.7/hppa/INSTALL.hppa">
1.1 deraadt 682: .../OpenBSD/5.7/hppa/INSTALL.hppa (on CD1)</a>
683: <p>
1.101 tb 684: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/5.7/amd64/INSTALL.amd64">
1.1 deraadt 685: .../OpenBSD/5.7/amd64/INSTALL.amd64 (on CD2)</a>
1.101 tb 686: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/5.7/macppc/INSTALL.macppc">
1.1 deraadt 687: .../OpenBSD/5.7/macppc/INSTALL.macppc (on CD2)</a>
688: <p>
1.101 tb 689: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/5.7/sparc64/INSTALL.sparc64">
1.1 deraadt 690: .../OpenBSD/5.7/sparc64/INSTALL.sparc64 (on CD3)</a>
1.101 tb 691: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/5.7/sparc/INSTALL.sparc">
1.1 deraadt 692: .../OpenBSD/5.7/sparc/INSTALL.sparc (on CD3)</a>
693: <p>
1.101 tb 694: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/5.7/alpha/INSTALL.alpha">
1.95 deraadt 695: .../OpenBSD/5.7/alpha/INSTALL.alpha</a>
1.101 tb 696: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/5.7/armish/INSTALL.armish">
1.1 deraadt 697: .../OpenBSD/5.7/armish/INSTALL.armish</a>
1.101 tb 698: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/5.7/aviion/INSTALL.aviion">
1.1 deraadt 699: .../OpenBSD/5.7/aviion/INSTALL.aviion</a>
1.101 tb 700: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/5.7/hppa/INSTALL.hppa">
1.95 deraadt 701: .../OpenBSD/5.7/hppa/INSTALL.hppa</a>
1.101 tb 702: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/5.7/landisk/INSTALL.landisk">
1.1 deraadt 703: .../OpenBSD/5.7/landisk/INSTALL.landisk</a>
1.101 tb 704: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/5.7/loongson/INSTALL.loongson">
1.1 deraadt 705: .../OpenBSD/5.7/loongson/INSTALL.loongson</a>
1.101 tb 706: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/5.7/luna88k/INSTALL.luna88k">
1.1 deraadt 707: .../OpenBSD/5.7/luna88k/INSTALL.luna88k</a>
1.101 tb 708: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/5.7/macppc/INSTALL.macppc">
1.95 deraadt 709: .../OpenBSD/5.7/macppc/INSTALL.macppc</a>
1.101 tb 710: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/5.7/octeon/INSTALL.octeon">
1.1 deraadt 711: .../OpenBSD/5.7/octeon/INSTALL.octeon</a>
1.101 tb 712: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/5.7/sgi/INSTALL.sgi">
1.1 deraadt 713: .../OpenBSD/5.7/sgi/INSTALL.sgi</a>
1.101 tb 714: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/5.7/socppc/INSTALL.socppc">
1.1 deraadt 715: .../OpenBSD/5.7/socppc/INSTALL.socppc</a>
1.101 tb 716: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/5.7/sparc/INSTALL.sparc">
1.95 deraadt 717: .../OpenBSD/5.7/sparc/INSTALL.sparc</a>
1.101 tb 718: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/5.7/vax/INSTALL.vax">
1.1 deraadt 719: .../OpenBSD/5.7/vax/INSTALL.vax</a>
1.101 tb 720: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/5.7/zaurus/INSTALL.zaurus">
1.1 deraadt 721: .../OpenBSD/5.7/zaurus/INSTALL.zaurus</a>
722: </ul>
1.111 deraadt 723: </section>
724:
1.1 deraadt 725: <hr>
726:
1.109 bentley 727: <section id=quickinstall>
1.1 deraadt 728: <p>
729: Quick installer information for people familiar with OpenBSD, and the
730: use of the "disklabel -E" command. If you are at all confused when
731: installing OpenBSD, read the relevant INSTALL.* file as listed above!
1.109 bentley 732:
733: <h3>OpenBSD/i386:</h3>
734:
1.1 deraadt 735: <p>
1.26 tedu 736: The OpenBSD/i386 release is on CD1.
737: Boot from the CD to begin the install - you may need to adjust
738: your BIOS options first.
1.1 deraadt 739:
740: <p>
1.49 bcallah 741: If your machine can boot from USB, you can write <i>install57.fs</i> or
742: <i>miniroot57.fs</i> to a USB stick and boot from it.
743:
744: <p>
745: If you can't boot from a CD, floppy disk, or USB,
1.1 deraadt 746: you can install across the network using PXE as described in
747: the included INSTALL.i386 document.
748:
749: <p>
750: If you are planning on dual booting OpenBSD with another OS, you will need to
751: read INSTALL.i386.
752:
1.109 bentley 753: <h3>OpenBSD/amd64:</h3>
1.1 deraadt 754:
755: <p>
1.26 tedu 756: The OpenBSD/amd64 release is on CD2.
1.1 deraadt 757: Boot from the CD to begin the install - you may need to adjust
758: your BIOS options first.
759:
760: <p>
1.49 bcallah 761: If your machine can boot from USB, you can write <i>install57.fs</i> or
762: <i>miniroot57.fs</i> to a USB stick and boot from it.
763:
764: <p>
765: If you can't boot from a CD, floppy disk, or USB,
1.1 deraadt 766: you can install across the network using PXE as described in the included
767: INSTALL.amd64 document.
768:
769: <p>
770: If you are planning to dual boot OpenBSD with another OS, you will need to
771: read INSTALL.amd64.
1.109 bentley 772:
773: <h3>OpenBSD/macppc:</h3>
1.1 deraadt 774:
775: <p>
1.16 rpe 776: Burn the image from a mirror site to a CDROM, and power on your machine
1.1 deraadt 777: while holding down the <i>C</i> key until the display turns on and
778: shows <i>OpenBSD/macppc boot</i>.
779:
780: <p>
781: Alternatively, at the Open Firmware prompt, enter <i>boot cd:,ofwboot
782: /5.7/macppc/bsd.rd</i>
1.109 bentley 783:
784: <h3>OpenBSD/sparc64:</h3>
1.1 deraadt 785:
786: <p>
1.87 deraadt 787: <b>
788: <a href="errata57.html#001_sparc64_miniroot">5.7 Errata 001</a>:
789: Unfortunately, 5.7 cannot boot from CDROM on some machines due
1.110 deraadt 790: a bootloader bug.
1.87 deraadt 791: </b>
1.109 bentley 792:
793: <p>
1.1 deraadt 794: Put CD3 in your CDROM drive and type <i>boot cdrom</i>.
795:
796: <p>
797: If this doesn't work, or if you don't have a CDROM drive, you can write
798: <i>CD3:5.7/sparc64/floppy57.fs</i> or <i>CD3:5.7/sparc64/floppyB57.fs</i>
799: (depending on your machine) to a floppy and boot it with <i>boot
800: floppy</i>. Refer to INSTALL.sparc64 for details.
801:
802: <p>
803: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install
804: will most likely fail.
805:
806: <p>
807: You can also write <i>CD3:5.7/sparc64/miniroot57.fs</i> to the swap partition on
808: the disk and boot with <i>boot disk:b</i>.
809:
810: <p>
811: If nothing works, you can boot over the network as described in INSTALL.sparc64.
1.109 bentley 812:
813: <h3>OpenBSD/alpha:</h3>
1.1 deraadt 814:
815: <p>
1.111 deraadt 816: Write <i>5.7/alpha/floppy57.fs</i> or
817: <i>5.7/alpha/floppyB57.fs</i> (depending on your machine) to a diskette and
1.1 deraadt 818: enter <i>boot dva0</i>. Refer to INSTALL.alpha for more details.
819:
820: <p>
821: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install
822: will most likely fail.
823:
1.109 bentley 824: <h3>OpenBSD/armish:</h3>
1.1 deraadt 825:
826: <p>
827: After connecting a serial port, Thecus can boot directly from the network
828: either tftp or http. Configure the network using fconfig, reset,
829: then load bsd.rd, see INSTALL.armish for specific details.
830: IOData HDL-G can only boot from an EXT-2 partition. Boot into linux
831: and copy 'boot' and bsd.rd into the first partition on wd0 (hda1)
832: then load and run bsd.rd, preserving the wd0i (hda1) ext2fs partition.
833: More details are available in INSTALL.armish.
1.109 bentley 834:
835: <h3>OpenBSD/hppa:</h3>
1.1 deraadt 836:
837: <p>
838: Boot over the network by following the instructions in INSTALL.hppa or the
839: <a href="hppa.html#install">hppa platform page</a>.
840:
1.109 bentley 841: <h3>OpenBSD/landisk:</h3>
842:
1.1 deraadt 843: <p>
844: Write <i>miniroot57.fs</i> to the start of the CF
845: or disk, and boot normally.
1.109 bentley 846:
847: <h3>OpenBSD/loongson:</h3>
1.1 deraadt 848:
849: <p>
850: Write <i>miniroot57.fs</i> to a USB stick and boot bsd.rd from it
851: or boot bsd.rd via tftp.
852: Refer to the instructions in INSTALL.loongson for more details.
853:
1.109 bentley 854: <h3>OpenBSD/luna88k:</h3>
855:
1.1 deraadt 856: <p>
1.109 bentley 857: Copy 'boot' and 'bsd.rd' to a Mach or UniOS partition, and boot the bootloader
1.1 deraadt 858: from the PROM, and the bsd.rd from the bootloader.
859: Refer to the instructions in INSTALL.luna88k for more details.
1.109 bentley 860:
861: <h3>OpenBSD/octeon:</h3>
1.1 deraadt 862:
863: <p>
864: After connecting a serial port, boot bsd.rd over the network via DHCP/tftp.
865: Refer to the instructions in INSTALL.octeon for more details.
866:
1.109 bentley 867: <h3>OpenBSD/sgi:</h3>
868:
1.1 deraadt 869: <p>
870: To install, burn cd57.iso on a CD-R, put it in the CD drive of your
871: machine and select <i>Install System Software</i> from the System Maintenance
872: menu. Indigo/Indy/Indigo2 (R4000) systems will not boot automatically from
873: CD-ROM, and need a proper invocation from the PROM prompt.
874: Refer to the instructions in INSTALL.sgi for more details.
875:
876: <p>
877: If your machine doesn't have a CD drive, you can setup a DHCP/tftp network
878: server, and boot using "bootp()/bsd.rd.IP##" using the kernel matching your
879: system type. Refer to the instructions in INSTALL.sgi for more details.
1.109 bentley 880:
881: <h3>OpenBSD/socppc:</h3>
1.1 deraadt 882:
883: <p>
884: After connecting a serial port, boot over the network via DHCP/tftp.
885: Refer to the instructions in INSTALL.socppc for more details.
1.109 bentley 886:
887: <h3>OpenBSD/sparc:</h3>
1.1 deraadt 888:
889: <p>
890: Boot from one of the provided install ISO images, using one of the two
891: commands listed below, depending on the version of your ROM.
892:
1.109 bentley 893: <blockquote><pre>
894: ok <kbd>boot cdrom 5.7/sparc/bsd.rd</kbd>
1.1 deraadt 895: or
1.109 bentley 896: > <kbd>b sd(0,6,0)5.7/sparc/bsd.rd</kbd>
897: </pre></blockquote>
1.1 deraadt 898:
899: <p>
900: If your SPARC system does not have a CD drive, you can alternatively boot from floppy.
901: To do so you need to write <i>floppy57.fs</i> to a floppy.
1.99 tj 902: For more information see <a href="faq/faq4.html#MkFlop">this page</a>.
1.1 deraadt 903: To boot from the floppy use one of the two commands listed below,
904: depending on the version of your ROM.
905:
1.109 bentley 906: <blockquote><pre>
907: ok <kbd>boot floppy</kbd>
1.1 deraadt 908: or
1.109 bentley 909: > <kbd>b fd()</kbd>
910: </pre></blockquote>
1.1 deraadt 911:
912: <p>
913: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install
914: will most likely fail.
915:
916: <p>
917: If your SPARC system doesn't have a floppy drive nor a CD drive, you can either
918: setup a bootable tape, or install via network, as told in the
919: INSTALL.sparc file.
1.109 bentley 920:
921: <h3>OpenBSD/vax:</h3>
1.1 deraadt 922:
923: <p>
924: Boot over the network via mopbooting as described in INSTALL.vax.
1.109 bentley 925:
926: <h3>OpenBSD/zaurus:</h3>
1.1 deraadt 927:
928: <p>
929: Using the Linux built-in graphical ipkg installer, install the
930: openbsd57_arm.ipk package. Reboot, then run it. Read INSTALL.zaurus
931: for a few important details.
1.109 bentley 932: </section>
933:
1.15 rpe 934: <hr>
1.109 bentley 935:
936: <section id=upgrade>
937: <h3>How to upgrade</h3>
1.15 rpe 938: <p>
939: If you already have an OpenBSD 5.6 system, and do not want to reinstall,
940: upgrade instructions and advice can be found in the
941: <a href="faq/upgrade57.html">Upgrade Guide</a>.
1.109 bentley 942: </section>
1.15 rpe 943:
944: <hr>
1.111 deraadt 945:
1.109 bentley 946: <section id=sourcecode>
947: <h3>Notes about the source code</h3>
1.1 deraadt 948: <p>
949: src.tar.gz contains a source archive starting at /usr/src. This file
950: contains everything you need except for the kernel sources, which are
951: in a separate archive. To extract:
1.109 bentley 952: <blockquote><pre>
953: # <kbd>mkdir -p /usr/src</kbd>
954: # <kbd>cd /usr/src</kbd>
955: # <kbd>tar xvfz /tmp/src.tar.gz</kbd>
956: </pre></blockquote>
1.1 deraadt 957: <p>
958: sys.tar.gz contains a source archive starting at /usr/src/sys.
959: This file contains all the kernel sources you need to rebuild kernels.
960: To extract:
1.109 bentley 961: <blockquote><pre>
962: # <kbd>mkdir -p /usr/src/sys</kbd>
963: # <kbd>cd /usr/src</kbd>
1.111 deraadt 964: # <kbd>tar xvfz /tmp/sys.tar.gz</kbd>
1.109 bentley 965: </pre></blockquote>
1.1 deraadt 966: <p>
967: Both of these trees are a regular CVS checkout. Using these trees it
968: is possible to get a head-start on using the anoncvs servers as
969: described <a href="anoncvs.html">here</a>.
970: Using these files
971: results in a much faster initial CVS update than you could expect from
972: a fresh checkout of the full OpenBSD source tree.
1.109 bentley 973: </section>
1.1 deraadt 974:
975: <hr>
1.109 bentley 976:
977: <section id=ports>
978: <h3>Ports Tree</h3>
1.1 deraadt 979: <p>
980: A ports tree archive is also provided. To extract:
1.109 bentley 981: <blockquote><pre>
982: # <kbd>cd /usr</kbd>
983: # <kbd>tar xvfz /tmp/ports.tar.gz</kbd>
984: </pre></blockquote>
1.1 deraadt 985: <p>
1.18 rpe 986: Go read the <a href="faq/ports/index.html">ports</a> page
1.1 deraadt 987: if you know nothing about ports
988: at this point. This text is not a manual of how to use ports.
989: Rather, it is a set of notes meant to kickstart the user on the
990: OpenBSD ports system.
991: <p>
992: The <i>ports/</i> directory represents a CVS (see the manpage for
1.112 ! bentley 993: <a href="https://man.openbsd.org/cvs.1">cvs(1)</a> if
1.1 deraadt 994: you aren't familiar with CVS) checkout of our ports. As with our complete
995: source tree, our ports tree is available via
996: <a href="anoncvs.html">AnonCVS</a>.
1.104 tj 997: So, in order to keep up to date with the -stable branch, you must make
1.12 rpe 998: the <i>ports/</i> tree available on a read-write medium and update the tree
999: with a command like:
1.109 bentley 1000: <blockquote><pre>
1.111 deraadt 1001: # <kbd>cd /usr/ports</kbd>
1002: # <kbd>cvs -d anoncvs@server.openbsd.org:/cvs update -Pd -rOPENBSD_5_7</kbd>
1.109 bentley 1003: </pre></blockquote>
1.1 deraadt 1004: <p>
1005: [Of course, you must replace the server name here with a nearby anoncvs
1006: server.]
1007: <p>
1.16 rpe 1008: Note that most ports are available as packages on our mirrors. Updated
1.9 jca 1009: ports for the 5.7 release will be made available if problems arise.
1.1 deraadt 1010: <p>
1011: If you're interested in seeing a port added, would like to help out, or just
1012: would like to know more, the mailing list
1013: <a href="mail.html">ports@openbsd.org</a> is a good place to know.
1.109 bentley 1014: </section>