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