Annotation of www/50.html, Revision 1.21
1.1 deraadt 1: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2: <html>
3: <head>
1.14 deraadt 4: <title>OpenBSD 5.0</title>
1.1 deraadt 5: <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
6: <meta name="description" content="OpenBSD 5.0">
7: <meta name="copyright" content="This document copyright 2011 by OpenBSD.">
1.19 sthen 8: <link rel="canonical" href="http://www.openbsd.org/50.html">
1.1 deraadt 9: </head>
10:
11: <body bgcolor="#ffffff" text="#000000" link="#24248E">
12:
13: <a href="index.html">
14: <img alt="[OpenBSD]" height="30" width="141" hspace="24" src="images/smalltitle.gif" border="0"></a>
1.16 deraadt 15: <p>
1.1 deraadt 16:
17: <a href="images/MAD.jpg">
1.14 deraadt 18: <img align="left" width="227" height="343" hspace="24" src="images/MAD.jpg"></a>
19: <h2><font color="#0000e0">OpenBSD 5.0</font></h2>
1.1 deraadt 20: <p>
1.7 dcoppa 21: Released Nov 1, 2011<br>
1.1 deraadt 22: Copyright 1997-2011, Theo de Raadt.<br>
23: <font color="#e00000">ISBN 978-0-9784475-8-8</font>
24: <br>
1.21 ! deraadt 25: 5.0 Song: <a href="lyrics.html#50">"What Me Worry?"</a>
1.1 deraadt 26: <p>
27: <ul>
1.18 deraadt 28: <li>Order a CDROM from our <a href="https://openbsdstore.com">ordering system</a>.
1.1 deraadt 29: <li>See the information on <a href="ftp.html">The FTP page</a> for
30: a list of mirror machines.
31: <li>Go to the <font color="#e00000">pub/OpenBSD/5.0/</font> directory on
32: one of the mirror sites.
33: <li>Have a look at <a href="errata50.html">The 5.0 Errata page</a> for a list
34: of bugs and workarounds.
35: <li>See a <a href="plus50.html">detailed log of changes</a> between the
36: 4.9 and 5.0 releases.
37: </ul>
38: <br clear=all>
1.15 deraadt 39: <p>
1.14 deraadt 40: All applicable copyrights and credits can be found in the applicable
41: file sources found in the files src.tar.gz, sys.tar.gz,
42: xenocara.tar.gz, or in the files fetched via ports.tar.gz. The
43: distribution files used to build packages from the ports.tar.gz file
44: are not included on the CDROM because of lack of space.
1.1 deraadt 45: <p>
46:
47: <a name="new"></a>
48: <hr>
49: <p>
50: <h3><font color="#0000e0">What's New</font></h3>
51: <p>
52: This is a partial list of new features and systems included in OpenBSD 5.0.
53: For a comprehensive list, see the <a href="plus50.html">changelog</a> leading
54: to 5.0.
55: <p>
56:
57: <ul>
58:
1.2 deraadt 59: <li>Improved hardware support, including:
60: <ul>
61: <li>MSI interrupts for many devices, on those architectures which can
62: support them (amd64, i386, sparc64 only so far).
1.6 deraadt 63: <li>A new <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=dma_alloc&sektion=9">dma_alloc(9)</a> API makes it easier for kernel code to allocate
1.2 deraadt 64: dma-safe memory. Many drivers (especially network drivers) and
65: subsystems (in particular scsi and the buffer cache) were adapted
66: to use this.
67: <li>As a result, big-memory support has been enabled on all possible
68: architectures.
1.6 deraadt 69: <li>The rather rare <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=bce&sektion=4">bce(4)</a> driver now copies mbufs all the time, to cope
1.2 deraadt 70: with the hardware having a 1GB limit.
1.6 deraadt 71: <li>Added <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=hds&sektion=4">hds(4)</a>, a driver for Hitachi Modular Storage SCSI devices.
72: <li>Added <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=myx&sektion=4">myx(4)</a>, a driver for the Myricom Myri-10G 10GB Ethernet devices.
1.11 miod 73: <li>Added <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=dfs&sektion=4&arch=macppc">dfs(4)</a>, a driver for Dynamic Frequency Switching on some macppc
1.2 deraadt 74: systems.
1.6 deraadt 75: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=cardbus&sektion=4">cardbus(4)</a> and <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=pcmcia&sektion=4">pcmcia(4)</a> support on sgi.
1.2 deraadt 76: <li>Suspend/resume support on Loongson Yeelong laptops.
77: </ul>
78: <p>
79:
80: <li>Generic network stack improvements:
81: <ul>
1.6 deraadt 82: <li>Added support for sending Wake on Lan packets using <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=arp&sektion=8">arp(8)</a>.
83: <li>Permit turning Wake on Lan support on/off using <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ifconfig&sektion=8">ifconfig(8)</a>.
84: <li>Added Wake on Lan support to <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=xl&sektion=4">xl(4)</a>, <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=re&sektion=4">re(4)</a>, and <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=vr&sektion=4">vr(4)</a>.
85: <li>Allow <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ftp-proxy&sektion=8">ftp-proxy(8)</a> to proxy across rdomains.
1.2 deraadt 86: <li>The IPv4 stack will no longer accept ICMP redirects when
87: acting as a router.
88: <li>By default the IPv6 stack will not process ICMP6 redirects.
1.6 deraadt 89: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=rtsol&sektion=8">rtsol(8)</a> will turn it back if -F is used.
90: <li>Reworked large parts of the <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=dhclient&sektion=8">dhclient(8)</a> options processing for better
1.2 deraadt 91: interoperability.
1.6 deraadt 92: <li>Fixed <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=carp&sektion=4">carp(4)</a> to work in IPv6 only setups.
93: <li>Make it possible to <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=bind&sektion=2">bind(2)</a> to the local network broadcast address
1.2 deraadt 94: on datagram and raw sockets.
95: <li>The default multicast reject route is now ignored if the UDP socket
96: uses the IP_MULTICAST_IF socket option.
1.6 deraadt 97: <li>Make <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=gre&sektion=4">gre(4)</a> work between systems in the same LAN.
98: <li>Removed the link1 mode special addressing mode on <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=lo&sektion=4">lo(4)</a>.
1.2 deraadt 99: <li>Kernel randomization speed and quality improved substantially.
100: </ul>
101: <p>
102:
103: <li>Routing daemons and other userland network improvements:
104: <ul>
1.6 deraadt 105: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=bgpd&sektion=8">bgpd(8)</a> no longer bumps the rlimits: the rc.d framework respects
1.2 deraadt 106: login classes which is a much better solution.
1.6 deraadt 107: <li>Correctly set the network filtersets on reload in <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=bgpd&sektion=8">bgpd(8)</a>.
1.2 deraadt 108: <li>The routing socket is now sending RTM_DESYNC messages if the
109: socketbuffer overflows.
1.6 deraadt 110: <li>Allow <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ospfd&sektion=8">ospfd(8)</a> to send out LS updates and other messages
1.2 deraadt 111: larger than the MTU.
1.6 deraadt 112: <li>Fixed nexthop calculation in <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ospfd&sektion=8">ospfd(8)</a> for directly connected P2P links.
113: <li>First bits to support opaque LSA in <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ospfd&sektion=8">ospfd(8)</a>. Only basic redistribute
1.2 deraadt 114: logic and LSDB handling for now.
1.6 deraadt 115: <li>Creating new interfaces will no longer cause a fatal error in <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ospf6d&sektion=8">ospf6d(8)</a>.
116: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ospf6d&sektion=8">ospf6d(8)</a> handles link-state changes better.
117: <li>Better loopback handling in <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ospf6d&sektion=8">ospf6d(8)</a>.
118: <li>No longer install extra multicast routes in <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ripd&sektion=8">ripd(8)</a> and <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ldpd&sektion=8">ldpd(8)</a>.
119: <li>Make <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=kqueue&sektion=2">kqueue(2)</a> work with <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=sosplice&sektion=9">sosplice(9)</a>.
120: <li>Enabled <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=sosplice&sektion=9">sosplice(9)</a> in <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=relayd&sektion=8">relayd(8)</a> for TCP.
1.2 deraadt 121: <li>Added support for divert-to which provides some benefits over
1.6 deraadt 122: rdr-to in <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=relayd&sektion=8">relayd(8)</a>.
123: <li>Fixed trap sending in <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=snmpd&sektion=8">snmpd(8)</a>.
124: <li>Make <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ping6&sektion=8">ping6(8)</a> compare minimum amount of bytes between what
1.2 deraadt 125: was received and what was sent out.
1.6 deraadt 126: <li>Make <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=traceroute&sektion=8">traceroute(8)</a> with type-of-service setted (-t) display
1.2 deraadt 127: a message if the returned packet has a different tos type.
128: <li>Added the socket splicing fields of struct socket to netstat -vP output.
129: </ul>
130: <p>
131:
1.6 deraadt 132: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=pf&sektion=4">pf(4)</a> improvements:
1.2 deraadt 133: <ul>
1.6 deraadt 134: <li>Make <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=pf&sektion=4">pf(4)</a> reassemble IPv6 fragments. In the forward case, pf
1.2 deraadt 135: refragments the packets with the same maximum size.
1.6 deraadt 136: <li>Allow <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=pf&sektion=4">pf(4)</a> to filter on the rdomain a packet belongs to.
137: <li>Make <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=pf&sektion=4">pf(4)</a> allow userland proxies to establish cross rdomain
1.2 deraadt 138: proxy sessions.
1.6 deraadt 139: <li>Added IPv6 ACK prioritization in <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=pf&sektion=4">pf(4)</a>.
1.12 nick 140: <li>Change 'set skip on <...>' to work with interface groups.
1.6 deraadt 141: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=pfsync&sektion=4">pfsync(4)</a> supports IPv6 as network protocol.
142: <li>Switched <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ftp-proxy&sektion=8">ftp-proxy(8)</a> over to divert-to instead of rdr-to.
143: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=tftp-proxy&sektion=8">tftp-proxy(8)</a> uses 'divert-to' as well.
1.2 deraadt 144: </ul>
145: <p>
146:
147: <li>SCSI improvements:
148: <ul>
149: <li>most SCSI hardware drivers now use the new iopools infrastructure.
1.6 deraadt 150: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=sci&sektion=4">scsi(4)</a> devices are now all provided with a unique devid, which
1.2 deraadt 151: is displayed during the probe process.
152: <li>ASC/ASCQ error codes and verbiage now in sync with
153: http://www.t10.org/lists/asc-num.txt.
154: <li>progress on iSCSI includes better login, better logout, preliminary
1.6 deraadt 155: FSM support in <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=iscsid&sektion=8">iscsid(8)</a>, and improved logging and debug information.
156: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=uk&sektion=4">uk(4)</a> can now safely and reliably detach an unknown SCSI device.
157: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=mpath&sektion=4">mpath(4)</a> device and kernel support is improved.
158: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=vscsi&sektion=4">vscsi(4)</a> now ensures output always goes to the correct connection.
159: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=vscsi&sektion=4">vscsi(4)</a> connections can now be reset gracefully.
160: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=scsi&sektion=4">scsi(4)</a> devices on fibre channel fabrics no longer inherit the adapter's
1.2 deraadt 161: address.
162: </ul>
163: <p>
164:
165: <li>Assorted improvements:
166: <ul>
1.6 deraadt 167: <li>For additional security, <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=security&sektion=8">security(8)</a> was rewritten in Perl.
168: <li>Mandoc 1.11.4: Now accepts <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=eqn&sektion=7">eqn(7)</a> input (no fancy formatting yet)
1.2 deraadt 169: and supports -Tutf8 output (but no utf8 input yet).
170: <li>Removed a variety of OS-compat emulation code, leaving just the Linux
171: support.
172: <li>Small improvements to Linux compat (only available on i386).
1.6 deraadt 173: <li>Improved our own <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=pkg-config&sektion=1">pkg-config(1)</a> implementation with extended comparison
1.2 deraadt 174: scheme and implementing various new options.
175: <li>The math library, libm, was fully fleshed out to support all C99 required
176: parts. Many bugs for various architectures were fixed along the way.
1.6 deraadt 177: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=malloc&sektion=3">malloc(3)</a> is a lot faster and has a few further security features (more
1.2 deraadt 178: randomization, as well as the 'S' flag to enable all paranoia checks).
179: <li>'make depend' is no longer neccessary in kernel compilation directories
180: since the dependencies are calculated automatically.
181: <li>Increased the default size of the buffer cache.
1.6 deraadt 182: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=kqueue&sektion=2">kqueue(2)</a> now works on /dev/random and spliced sockets
1.2 deraadt 183: <li>On MBR-based disks, scan through up to 256 extended partition tables
184: when looking for an OpenBSD partition table.
1.6 deraadt 185: <li>Added POSIX 2008 <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=fdopendir&sektion=3">fdopendir(3)</a> and <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=opennat&sektion=2">openat(2)</a> functions, as well as the
1.2 deraadt 186: O_CLOEXEC, O_DIRECTORY, and F_DUPFD_CLOEXEC flags.
187: <li>Improved lint format string checks and added a few other checks.
1.6 deraadt 188: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=kdump&sektion=1">kdump(1)</a> now dumps stat and sockaddr structures, sysctl mib
1.2 deraadt 189: strings, and decodes syscall flags and operation bits.
190: <li>Improved kernel pool debug checking.
191: <li>Improved correctness of signals and various syscalls when rthreads
192: are in use.
1.6 deraadt 193: <li>Kernel <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=malloc&sektion=9">malloc(9)</a> space and stacks moved to non-dma memory.
1.2 deraadt 194: <li>Fixed some shutdown/reboot hangs on NFS clients.
195: <li>UNIX-domain socket paths are now guaranteed to be NUL-terminated.
1.6 deraadt 196: <li>Added support for <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=wprintf&sektion=3">*wprintf(3)</a>, <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=wcscasecmp&sektion=3">wcs{,n}casecmp(3)</a>, and <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=wcsdup&sektion=3">wcsdup(3)</a>.
1.2 deraadt 197: <li>NULL is now a (void *).
198: </ul>
199: <p>
200:
201: <li>Install/Upgrade process changes:
202: <ul>
203: <li>Completed support for DUID disk installs, and enabled it fully.
1.6 deraadt 204: <li>Tried to make <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=sysmerge&sektion=8">sysmerge(8)</a> work in the installer, but ran into small
1.2 deraadt 205: problems and decided to disable it.
206: <li>Install non-free firmwares from the internet upon first boot, based on a
207: question in the installer.
1.6 deraadt 208: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=svnd&sektion=4">svnd(4)</a>-like behaviour became the default for <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=vnd&sektion=4">vnd(4)</a> devices. This is
1.2 deraadt 209: what is used to build the media.
210: </ul>
211: <p>
212:
1.6 deraadt 213: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=rc.d&sektion=8">rc.d(8)</a> framework improvements:
1.2 deraadt 214: <ul>
1.6 deraadt 215: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=rc.d&sektion=8">rc.d(8)</a> is now also used for the base system daemons.
1.2 deraadt 216: <li>Backward compatible with the historic way of starting daemons.
217: <li>Notify the user by appending (ok) or (failed) in interactive mode.
218: <li>Better diagnostics with the introduction of RC_DEBUG.
219: </ul>
220: <p>
221:
1.5 djm 222: <li>OpenSSH 5.9:
1.2 deraadt 223: <ul>
224: <li>New features:
225: <ul>
1.5 djm 226: <li>Introduce sandboxing of the pre-auth privsep child using an optional
227: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=sshd_config&sektion=5">sshd_config(5)</a>
228: "UsePrivilegeSeparation=sandbox" mode that enables mandatory
229: restrictions on the syscalls the privsep child can perform.
230: <li>Add new SHA256-based HMAC transport integrity modes from
231: http://www.ietf.org/id/draft-dbider-sha2-mac-for-ssh-02.txt
232: These modes are hmac-sha2-256, hmac-sha2-256-96, hmac-sha2-512,
233: and hmac-sha2-512-96, and are available by default in
234: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ssh&sektion=1">ssh(1)</a>
235: and
236: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=sshd&sektion=8">sshd(8)</a>.
237: <li>The pre-authentication
238: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=sshd&sektion=8">sshd(8)</a>
239: privilege separation slave process now logs via a socket shared with
240: the master process, avoiding the need to maintain /dev/log inside the
241: chroot.
242: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ssh&sektion=1">ssh(1)</a>
243: now warns when a server refuses X11 forwarding.
244: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=sshd_config&sektion=5">sshd_config(5)</a>'s
245: AuthorizedKeysFile now accepts multiple paths, separated by whitespace.
246: The undocumented AuthorizedKeysFile2 option is deprecated (though the
247: default for AuthorizedKeysFile includes .ssh/authorized_keys2).
248: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=sshd_config&sektion=5">sshd_config(5)</a>:
249: similarly deprecate UserKnownHostsFile2 and GlobalKnownHostsFile2 by
250: making UserKnownHostsFile and GlobalKnownHostsFile accept multiple
251: options and default to include known_hosts2.
252: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=sshd_config&sektion=5">sshd_config(5)</a>'s
253: ControlPath option now expands %L to the host portion of the
254: destination host name.
255: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=sshd_config&sektion=5">sshd_config(5)</a>
256: "Host" options now support negated Host matching.
257: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=sshd_config&sektion=5">sshd_config(5)</a>:
258: a new RequestTTY option provides control over when a TTY is requested
259: for a connection, similar to the existing -t/-tt/-T
260: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ssh&sektion=1">ssh(1)</a>
261: commandline options.
262: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ssh-keygen&sektion=1">ssh-keygen(1)</a>:
263: Add -A option. For each of the key types (rsa1, rsa, dsa and ecdsa) for
264: which host keys do not exist, generate the host keys with the default
265: key file path, an empty passphrase, default bits for the key type, and
266: default comment. This is useful for system initialisation scripts.
267: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ssh&sektion=1">ssh(1)</a>:
268: Allow graceful shutdown of multiplexing: request that a mux server
269: removes its listener socket and refuse future multiplexing requests but
270: don't kill existing connections. This may be requested using
271: "ssh -O stop ...".
272: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ssh-add&sektion=1">ssh-add(1)</a>:
273: now accepts keys piped from standard input.
1.2 deraadt 274: </ul>
275: <li>The following significant bugs have been fixed in this release:
276: <ul>
1.5 djm 277: <li>Retain key comments when loading v.2 keys. These will be visible in
278: "ssh-add -l" and other places. (bz#439)
279: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ssh&sektion=1">ssh(1)</a>
280: and
281: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=sshd&sektion=8">sshd(8)</a>:
282: set IPv6 traffic class from IPQoS (as well as IPv4 ToS/DSCP). (bz#1855)
283: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=sshd&sektion=8">sshd(8)</a>:
284: allow GSSAPI authentication to detect when a server-side failure causes
285: authentication failure and don't count such failures against
286: MaxAuthTries. (bz#1244)
287: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ssh-keysign&sektion=8">ssh-keysign(8)</a>:
288: now signs hostbased authentication challenges correctly using ECDSA
289: keys. (bz#1858)
290: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=sftp&sektion=1">sftp(1)</a>:
291: document that sftp accepts square brackets to delimit addresses
292: (useful for IPv6). (bz#1847a)
293: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ssh&sektion=1">ssh(1)</a>:
294: when using session multiplexing, the master process will change its
295: process title to reflect the control path in use and when a
296: ControlPersist-ed master is waiting to close. (bz#1883 and bz#1911)
1.9 sobrado 297: <li>Other minor bugs fixed: bz#1849, bz#1861, bz#1862, bz#1869, bz#1875,
298: bz#1878, bz#1879, bz#1892, bz#1900, bz#1905, and bz#1913.
1.2 deraadt 299: </ul>
300: </ul>
301: <p>
302:
303: <li>Over 7,200 ports, major robustness and speed improvements in package tools.
304: <li>Many pre-built packages for each architecture:
305: <table border=0 cellspacing=0 cellpadding=2 width="95%">
306: <tr>
307: <td valign="top" width="25%">
308: <ul>
309: <li>i386: 7008
310: <li>sparc64: 6456
311: <li>alpha: 6046
312: </ul></td><td valign=top width="25%"><ul>
313: <li>sh: 3721
314: <li>amd64: 6960
315: <li>powerpc: 6691
316: </ul></td><td valign=top width="25%"><ul>
317: <li>sparc: 3277
318: <li>arm: 2963
319: <li>hppa: 6125
320: </ul></td><td valign=top width="25%"><ul>
321: <li>vax: 1409
322: <li>mips64: 5689
323: <li>mips64el: 5709
324: </ul></td></tr></table>
325: <p>
326:
327: <li>Some highlights:
328: <ul>
329: <li>Gnome 2.32.2 <li>KDE 3.5.10
330: <li>Xfce 4.8.0 <li>MySQL 5.1.54
331: <li>PostgreSQL 9.0.5 <li>Postfix 2.8.4
332: <li>OpenLDAP 2.3.43 and 2.4.25 <li>Mozilla Firefox 3.5.19, 3.6.18 and 5.0
333: <li>Mozilla Thunderbird 5.0 <li>GHC 7.0.4
334: <li>LibreOffice 3.4.1.3 <li>Emacs 21.4, 22.3 and 23.3
335: <li>Vim 7.3.154 <li>PHP 5.2.17 and 5.3.6
336: <li>Python 2.4.6, 2.5.4 and 2.7.1 <li>Ruby 1.8.7.352 and 1.9.2.200
1.10 stu 337: <li>Tcl 8.5.9 <li>Jdk 1.7
1.2 deraadt 338: <li>Mono 2.10.2 <li>Chromium 12.0.742.122
339: <li>Groff 1.21
340: </ul>
341: <p>
342:
343: <li>As usual, steady improvements in manual pages and other documentation.
344: <li>Base system and Xenocara manuals are now installed as source code,
1.6 deraadt 345: making <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=grep&sektion=1">grep(1)</a> more useful in /usr/share/man/ and /usr/X11R6/man/.
1.2 deraadt 346: <li>If both formatted and source versions of manuals are installed,
1.6 deraadt 347: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=man&sektion=1">man(1)</a> automatically displays the newer version of each page.
1.2 deraadt 348:
349: - The system includes the following major components from outside suppliers:
350: <li>Xenocara (based on X.Org 7.6 with xserver 1.9 + patches,
351: freetype 2.4.5, fontconfig 2.8.0, Mesa 7.8.2, xterm 270,
352: xkeyboard-config 2.3 and more)
353: <li>Gcc 2.95.3 (+ patches), 3.3.5 (+ patches) and 4.2.1 (+patches)
354: <li>Perl 5.12.2 (+ patches)
355: <li>Our improved and secured version of Apache 1.3, with
356: SSL/TLS and DSO support
357: <li>OpenSSL 1.0.0a (+ patches)
358: <li>Sendmail 8.14.5, with libmilter
359: <li>Bind 9.4.2-P2 (+ patches)
360: <li>Lynx 2.8.7rel.2 with HTTPS and IPv6 support (+ patches)
361: <li>Sudo 1.7.2p8
362: <li>Ncurses 5.7
363: <li>Heimdal 0.7.2 (+ patches)
364: <li>Arla 0.35.7
365: <li>Binutils 2.15 (+ patches)
366: <li>Gdb 6.3 (+ patches)
367: </ul>
1.1 deraadt 368:
369: </ul>
370:
371: <a name="install"></a>
372: <hr>
373: <p>
374: <h3><font color="#0000e0">How to install</font></h3>
375: <p>
376: Following this are the instructions which you would have on a piece of
377: paper if you had purchased a CDROM set instead of doing an alternate
378: form of install. The instructions for doing an FTP (or other style
379: of) install are very similar; the CDROM instructions are left intact
380: so that you can see how much easier it would have been if you had
381: purchased a CDROM instead.
382: <p>
383:
384: <hr>
385: Please refer to the following files on the three CDROMs or FTP mirror for
386: extensive details on how to install OpenBSD 5.0 on your machine:
387: <p>
388: <ul>
389: <li>CD1:5.0/i386/INSTALL.i386
390: <p>
391: <li>CD2:5.0/amd64/INSTALL.amd64
392: <li>CD2:5.0/macppc/INSTALL.macppc
393: <p>
394: <li>CD3:5.0/sparc64/INSTALL.sparc64
395: <p>
396: <li>FTP:.../OpenBSD/5.0/alpha/INSTALL.alpha
397: <li>FTP:.../OpenBSD/5.0/armish/INSTALL.armish
398: <li>FTP:.../OpenBSD/5.0/hp300/INSTALL.hp300
399: <li>FTP:.../OpenBSD/5.0/hppa/INSTALL.hppa
400: <li>FTP:.../OpenBSD/5.0/landisk/INSTALL.landisk
401: <li>FTP:.../OpenBSD/5.0/loongson/INSTALL.loongson
402: <li>FTP:.../OpenBSD/5.0/mvme68k/INSTALL.mvme68k
403: <li>FTP:.../OpenBSD/5.0/mvme88k/INSTALL.mvme88k
404: <li>FTP:.../OpenBSD/5.0/sgi/INSTALL.sgi
405: <li>FTP:.../OpenBSD/5.0/socppc/INSTALL.socppc
406: <li>FTP:.../OpenBSD/5.0/sparc/INSTALL.sparc
407: <li>FTP:.../OpenBSD/5.0/vax/INSTALL.vax
408: <li>FTP:.../OpenBSD/5.0/zaurus/INSTALL.zaurus
409: </ul>
410: <hr>
411:
412: <p>
413: Quick installer information for people familiar with OpenBSD, and the
414: use of the "disklabel -E" command. If you are at all confused when
415: installing OpenBSD, read the relevant INSTALL.* file as listed above!
416: <p>
417:
418: <h3><font color="#e00000">OpenBSD/i386:</font></h3>
419: <ul>
420: Play with your BIOS options to enable booting from a CD. The OpenBSD/i386
421: release is on CD1. If your BIOS does not support booting from CD, you will need
422: to create a boot floppy to install from. To create a boot floppy write
423: <i>CD1:5.0/i386/floppy50.fs</i> to a floppy and boot via the floppy drive.
424:
425: <p>
426: Use <i>CD1:5.0/i386/floppyB50.fs</i> instead for greater SCSI controller
427: support, or <i>CD1:5.0/i386/floppyC50.fs</i> for better laptop support.
428:
429: <p>
430: If you can't boot from a CD or a floppy disk,
431: you can install across the network using PXE as described in
432: the included INSTALL.i386 document.
433:
434: <p>
435: If you are planning on dual booting OpenBSD with another OS, you will need to
436: read INSTALL.i386.
437:
438: <p>
439: To make a boot floppy under MS-DOS, use the "rawrite" utility located
440: at <i>CD1:5.0/tools/rawrite.exe</i>. To make the boot floppy under a Unix OS,
441: use the
442: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=dd&sektion=1">dd(1)</a>
443: utility. The following is an example usage of
444: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=dd&sektion=1">dd(1)</a>,
445: where the device could be "floppy", "rfd0c", or
446: "rfd0a".
447:
448: <ul><pre>
449: # <strong>dd if=<file> of=/dev/<device> bs=32k</strong>
450: </pre></ul>
451:
452: <p>
453: Make sure you use properly formatted perfect floppies with NO BAD BLOCKS or
454: your install will most likely fail. For more information on creating a boot
455: floppy and installing OpenBSD/i386 please refer to
456: <a href="faq/faq4.html#MkFlop">FAQ 4.3.2</a>.
457: </ul>
458:
459: <p>
460: <h3><font color="#e00000">OpenBSD/amd64:</font></h3>
461: <ul>
462: The 5.0 release of OpenBSD/amd64 is located on CD2.
463: Boot from the CD to begin the install - you may need to adjust
464: your BIOS options first.
465: If you can't boot from the CD, you can create a boot floppy to install from.
466: To do this, write <i>CD2:5.0/amd64/floppy50.fs</i> to a floppy, then
467: boot from the floppy drive.
468:
469: <p>
470: If you can't boot from a CD or a floppy disk,
471: you can install across the network using PXE as described in the included
472: INSTALL.amd64 document.
473:
474: <p>
475: If you are planning to dual boot OpenBSD with another OS, you will need to
476: read INSTALL.amd64.
477: </ul>
478:
479: <p>
480: <h3><font color="#e00000">OpenBSD/macppc:</font></h3>
481: <ul>
482: Put CD2 in your CDROM drive and poweron your machine while holding down the
483: <i>C</i> key until the display turns on and shows <i>OpenBSD/macppc boot</i>.
484:
485: <p>
486: Alternatively, at the Open Firmware prompt, enter <i>boot cd:,ofwboot
487: /5.0/macppc/bsd.rd</i>
488: </ul>
489:
490: <p>
491: <h3><font color="#e00000">OpenBSD/sparc64:</font></h3>
492: <ul>
493: Put CD3 in your CDROM drive and type <i>boot cdrom</i>.
494:
495: <p>
496: If this doesn't work, or if you don't have a CDROM drive, you can write
497: <i>CD3:5.0/sparc64/floppy50.fs</i> or <i>CD3:5.0/sparc64/floppyB50.fs</i>
498: (depending on your machine) to a floppy and boot it with <i>boot
499: floppy</i>. Refer to INSTALL.sparc64 for details.
500:
501: <p>
502: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install
503: will most likely fail.
504:
505: <p>
506: You can also write <i>CD3:5.0/sparc64/miniroot50.fs</i> to the swap partition on
507: the disk and boot with <i>boot disk:b</i>.
508:
509: <p>
510: If nothing works, you can boot over the network as described in INSTALL.sparc64.
511: </ul>
512:
513: <p>
514: <h3><font color="#e00000">OpenBSD/alpha:</font></h3>
515: <ul>
516: <p>Write <i>FTP:5.0/alpha/floppy50.fs</i> or
517: <i>FTP:5.0/alpha/floppyB50.fs</i> (depending on your machine) to a diskette and
518: enter <i>boot dva0</i>. Refer to INSTALL.alpha for more details.
519:
520: <p>
521: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install
522: will most likely fail.
523:
524: </ul>
525:
526: <p>
527: <h3><font color="#e00000">OpenBSD/armish:</font></h3>
528: <ul>
529: <p>
530: After connecting a serial port, Thecus can boot directly from the network
531: either tftp or http. Configure the network using fconfig, reset,
532: then load bsd.rd, see INSTALL.armish for specific details.
533: IOData HDL-G can only boot from an EXT-2 partition. Boot into linux
534: and copy 'boot' and bsd.rd into the first partition on wd0 (hda1)
535: then load and run bsd.rd, preserving the wd0i (hda1) ext2fs partition.
536: More details are available in INSTALL.armish.
537: </ul>
538:
539: <p>
540: <h3><font color="#e00000">OpenBSD/hp300:</font></h3>
541: <ul>
542: <p>
543: Boot over the network by following the instructions in INSTALL.hp300.
544: </ul>
545:
546: <p>
547: <h3><font color="#e00000">OpenBSD/hppa:</font></h3>
548: <ul>
549: <p>
550: Boot over the network by following the instructions in INSTALL.hppa or the
551: <a href="hppa.html#install">hppa platform page</a>.
552: </ul>
553:
554: <p>
555: <h3><font color="#e00000">OpenBSD/landisk:</font></h3>
556: <ul>
557: <p>
558: Write <i>miniroot50.fs</i> to the start of the CF
559: or disk, and boot normally.
560: </ul>
561:
562: <p>
563: <h3><font color="#e00000">OpenBSD/loongson:</font></h3>
564: <ul>
565: <p>
566: Write <i>miniroot50.fs</i> to a USB stick and boot bsd.rd from it
567: or boot bsd.rd via tftp.
568: Refer to the instructions in INSTALL.loongson for more details.
569: </ul>
570: <p>
571:
572: <p>
573: <h3><font color="#e00000">OpenBSD/mvme68k:</font></h3>
574: <ul>
575: <p>
576: You can create a bootable installation tape or boot over the network.<br>
577: The network boot requires a MVME68K BUG version that supports the <i>NIOT</i>
578: and <i>NBO</i> debugger commands. Follow the instructions in INSTALL.mvme68k
579: for more details.
580: </ul>
581:
582: <p>
583: <h3><font color="#e00000">OpenBSD/mvme88k:</font></h3>
584: <ul>
585: <p>
586: You can create a bootable installation tape or boot over the network.<br>
587: The network boot requires a MVME88K BUG version that supports the <i>NIOT</i>
588: and <i>NBO</i> debugger commands. Follow the instructions in INSTALL.mvme88k
589: for more details.
590: </ul>
591:
592: <p>
593: <h3><font color="#e00000">OpenBSD/sgi:</font></h3>
594: <ul>
595: <p>
596: To install on an O2, burn cd50.iso on a CD-R, put it in the CD drive of your
597: machine and select <i>Install System Software</i> from the System Maintenance
598: menu.
599:
600: <p>
601: On other systems, or if your machine doesn't have a CD drive, you can
602: setup a DHCP/tftp network server, and boot using "bootp()/bsd.rd.IP##" using
603: the kernel matching your system type.
604: Refer to the instructions in INSTALL.sgi for more details.
605: </ul>
606:
607: <p>
608: <h3><font color="#e00000">OpenBSD/socppc:</font></h3>
609: <ul>
610: <p>
611: After connecting a serial port, boot over the network via DHCP/tftp.
612: Refer to the instructions in INSTALL.socppc for more details.
613: </ul>
614:
615: <p>
616: <h3><font color="#e00000">OpenBSD/sparc:</font></h3>
617: <ul>
618: Boot from one of the provided install ISO images, using one of the two
619: commands listed below, depending on the version of your ROM.
620:
621: <ul><pre>
622: ok <strong>boot cdrom 5.0/sparc/bsd.rd</strong>
623: or
624: > <strong>b sd(0,6,0)5.0/sparc/bsd.rd</strong>
625: </pre></ul>
626:
627: <p>
628: If your SPARC system does not have a CD drive, you can alternatively boot from floppy.
629: To do so you need to write <i>floppy50.fs</i> to a floppy.
630: For more information see <a href="faq/faq4.html#MkFlop">FAQ 4.3.2</a>.
631: To boot from the floppy use one of the two commands listed below,
632: depending on the version of your ROM.
633:
634: <ul><pre>
635: ok <strong>boot floppy</strong>
636: or
637: > <strong>b fd()</strong>
638: </pre></ul>
639:
640: <p>
641: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install
642: will most likely fail.
643:
644: <p>
645: If your SPARC system doesn't have a floppy drive nor a CD drive, you can either
646: setup a bootable tape, or install via network, as told in the
647: INSTALL.sparc file.
648: </ul>
649:
650: <p>
651: <h3><font color="#e00000">OpenBSD/vax:</font></h3>
652: <ul>
653: Boot over the network via mopbooting as described in INSTALL.vax.
654: </ul>
655:
656: <p>
657: <h3><font color="#e00000">OpenBSD/zaurus:</font></h3>
658: <ul>
659: <p>
660: Using the Linux built-in graphical ipkg installer, install the
661: openbsd50_arm.ipk package. Reboot, then run it. Read INSTALL.zaurus
662: for a few important details.
663: </ul>
664:
665: <p>
666: <h3><font color="#e00000">Notes about the source code:</font></h3>
667: <ul>
668: src.tar.gz contains a source archive starting at /usr/src. This file
669: contains everything you need except for the kernel sources, which are
670: in a separate archive. To extract:
671: <p>
672: <ul><pre>
673: # <strong>mkdir -p /usr/src</strong>
674: # <strong>cd /usr/src</strong>
675: # <strong>tar xvfz /tmp/src.tar.gz</strong>
676: </pre></ul>
677: <p>
678: sys.tar.gz contains a source archive starting at /usr/src/sys.
679: This file contains all the kernel sources you need to rebuild kernels.
680: To extract:
681: <p>
682: <ul><pre>
683: # <strong>mkdir -p /usr/src/sys</strong>
684: # <strong>cd /usr/src</strong>
685: # <strong>tar xvfz /tmp/sys.tar.gz</strong>
686: </pre></ul>
687: <p>
688: Both of these trees are a regular CVS checkout. Using these trees it
689: is possible to get a head-start on using the anoncvs servers as
690: described <a href="anoncvs.html">here</a>.
691: Using these files
692: results in a much faster initial CVS update than you could expect from
693: a fresh checkout of the full OpenBSD source tree.
694: <p>
695: </ul>
696:
697: <a name="upgrade"></a>
698: <hr>
699: <p>
700: <h3><font color="#0000e0">How to upgrade</font></h3>
701: <p>
702: If you already have an OpenBSD 4.9 system, and do not want to reinstall,
703: upgrade instructions and advice can be found in the
704: <a href="faq/upgrade50.html">Upgrade Guide</a>.
705:
706: <a name="ports"></a>
707: <hr>
708: <p>
709: <h3><font color="#0000e0">Ports Tree</font></h3>
710: <p>
711: A ports tree archive is also provided. To extract:
712: <p>
713: <ul><pre>
714: # <strong>cd /usr</strong>
715: # <strong>tar xvfz /tmp/ports.tar.gz</strong>
716: # <strong>cd ports</strong>
717: </pre></ul>
718: <p>
719: The <i>ports/</i> subdirectory is a checkout of the OpenBSD ports tree. Go
720: read the <a href="faq/ports/index.html">ports</a> page
721: if you know nothing about ports
722: at this point. This text is not a manual of how to use ports.
723: Rather, it is a set of notes meant to kickstart the user on the
724: OpenBSD ports system.
725: <p>
726: The <i>ports/</i> directory represents a CVS (see the manpage for
727: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=cvs&apropos=0&sektion=1&manpath=OpenBSD+Current&arch=i386">
728: cvs(1)</a> if
729: you aren't familiar with CVS) checkout of our ports. As with our complete
730: source tree, our ports tree is available via anoncvs. So, in
731: order to keep current with it, you must make the <i>ports/</i> tree
732: available on a read-write medium and update the tree with a command
733: like:
734: <p>
735: <ul><pre>
1.4 nick 736: # <strong>cd [portsdir]/; cvs -d anoncvs@server.openbsd.org:/cvs update -Pd -rOPENBSD_5_0</strong>
1.1 deraadt 737: </pre></ul>
738: <p>
739: [Of course, you must replace the local directory and server name here
740: with the location of your ports collection and a nearby anoncvs
741: server.]
742: <p>
743: Note that most ports are available as packages through FTP. Updated
744: packages for the 5.0 release will be made available if problems arise.
745: <p>
746: If you're interested in seeing a port added, would like to help out, or just
747: would like to know more, the mailing list ports@openbsd.org is a good
748: place to know.
749: <p>
750:
751: </body>
752: </html>