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