Annotation of www/50.html, Revision 1.10
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>
1.8 dcoppa 43: <li>Order a CDROM from our <a href="orders.html">ordering system</a>.
1.1 deraadt 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)
1.9 sobrado 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
1.10 ! stu 354: <li>Tcl 8.5.9 <li>Jdk 1.7
1.2 deraadt 355: <li>Mono 2.10.2 <li>Chromium 12.0.742.122
356: <li>Groff 1.21
357: </ul>
358: <p>
359:
360: <li>As usual, steady improvements in manual pages and other documentation.
361: <li>Base system and Xenocara manuals are now installed as source code,
1.6 deraadt 362: 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 363: <li>If both formatted and source versions of manuals are installed,
1.6 deraadt 364: <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 365:
366: - The system includes the following major components from outside suppliers:
367: <li>Xenocara (based on X.Org 7.6 with xserver 1.9 + patches,
368: freetype 2.4.5, fontconfig 2.8.0, Mesa 7.8.2, xterm 270,
369: xkeyboard-config 2.3 and more)
370: <li>Gcc 2.95.3 (+ patches), 3.3.5 (+ patches) and 4.2.1 (+patches)
371: <li>Perl 5.12.2 (+ patches)
372: <li>Our improved and secured version of Apache 1.3, with
373: SSL/TLS and DSO support
374: <li>OpenSSL 1.0.0a (+ patches)
375: <li>Sendmail 8.14.5, with libmilter
376: <li>Bind 9.4.2-P2 (+ patches)
377: <li>Lynx 2.8.7rel.2 with HTTPS and IPv6 support (+ patches)
378: <li>Sudo 1.7.2p8
379: <li>Ncurses 5.7
380: <li>Heimdal 0.7.2 (+ patches)
381: <li>Arla 0.35.7
382: <li>Binutils 2.15 (+ patches)
383: <li>Gdb 6.3 (+ patches)
384: </ul>
1.1 deraadt 385:
386: </ul>
387:
388: <a name="install"></a>
389: <hr>
390: <p>
391: <h3><font color="#0000e0">How to install</font></h3>
392: <p>
393: Following this are the instructions which you would have on a piece of
394: paper if you had purchased a CDROM set instead of doing an alternate
395: form of install. The instructions for doing an FTP (or other style
396: of) install are very similar; the CDROM instructions are left intact
397: so that you can see how much easier it would have been if you had
398: purchased a CDROM instead.
399: <p>
400:
401: <hr>
402: Please refer to the following files on the three CDROMs or FTP mirror for
403: extensive details on how to install OpenBSD 5.0 on your machine:
404: <p>
405: <ul>
406: <li>CD1:5.0/i386/INSTALL.i386
407: <p>
408: <li>CD2:5.0/amd64/INSTALL.amd64
409: <li>CD2:5.0/macppc/INSTALL.macppc
410: <p>
411: <li>CD3:5.0/sparc64/INSTALL.sparc64
412: <p>
413: <li>FTP:.../OpenBSD/5.0/alpha/INSTALL.alpha
414: <li>FTP:.../OpenBSD/5.0/armish/INSTALL.armish
415: <li>FTP:.../OpenBSD/5.0/hp300/INSTALL.hp300
416: <li>FTP:.../OpenBSD/5.0/hppa/INSTALL.hppa
417: <li>FTP:.../OpenBSD/5.0/landisk/INSTALL.landisk
418: <li>FTP:.../OpenBSD/5.0/loongson/INSTALL.loongson
419: <li>FTP:.../OpenBSD/5.0/mvme68k/INSTALL.mvme68k
420: <li>FTP:.../OpenBSD/5.0/mvme88k/INSTALL.mvme88k
421: <li>FTP:.../OpenBSD/5.0/sgi/INSTALL.sgi
422: <li>FTP:.../OpenBSD/5.0/socppc/INSTALL.socppc
423: <li>FTP:.../OpenBSD/5.0/sparc/INSTALL.sparc
424: <li>FTP:.../OpenBSD/5.0/vax/INSTALL.vax
425: <li>FTP:.../OpenBSD/5.0/zaurus/INSTALL.zaurus
426: </ul>
427: <hr>
428:
429: <p>
430: Quick installer information for people familiar with OpenBSD, and the
431: use of the "disklabel -E" command. If you are at all confused when
432: installing OpenBSD, read the relevant INSTALL.* file as listed above!
433: <p>
434:
435: <h3><font color="#e00000">OpenBSD/i386:</font></h3>
436: <ul>
437: Play with your BIOS options to enable booting from a CD. The OpenBSD/i386
438: release is on CD1. If your BIOS does not support booting from CD, you will need
439: to create a boot floppy to install from. To create a boot floppy write
440: <i>CD1:5.0/i386/floppy50.fs</i> to a floppy and boot via the floppy drive.
441:
442: <p>
443: Use <i>CD1:5.0/i386/floppyB50.fs</i> instead for greater SCSI controller
444: support, or <i>CD1:5.0/i386/floppyC50.fs</i> for better laptop support.
445:
446: <p>
447: If you can't boot from a CD or a floppy disk,
448: you can install across the network using PXE as described in
449: the included INSTALL.i386 document.
450:
451: <p>
452: If you are planning on dual booting OpenBSD with another OS, you will need to
453: read INSTALL.i386.
454:
455: <p>
456: To make a boot floppy under MS-DOS, use the "rawrite" utility located
457: at <i>CD1:5.0/tools/rawrite.exe</i>. To make the boot floppy under a Unix OS,
458: use the
459: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=dd&sektion=1">dd(1)</a>
460: utility. The following is an example usage of
461: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=dd&sektion=1">dd(1)</a>,
462: where the device could be "floppy", "rfd0c", or
463: "rfd0a".
464:
465: <ul><pre>
466: # <strong>dd if=<file> of=/dev/<device> bs=32k</strong>
467: </pre></ul>
468:
469: <p>
470: Make sure you use properly formatted perfect floppies with NO BAD BLOCKS or
471: your install will most likely fail. For more information on creating a boot
472: floppy and installing OpenBSD/i386 please refer to
473: <a href="faq/faq4.html#MkFlop">FAQ 4.3.2</a>.
474: </ul>
475:
476: <p>
477: <h3><font color="#e00000">OpenBSD/amd64:</font></h3>
478: <ul>
479: The 5.0 release of OpenBSD/amd64 is located on CD2.
480: Boot from the CD to begin the install - you may need to adjust
481: your BIOS options first.
482: If you can't boot from the CD, you can create a boot floppy to install from.
483: To do this, write <i>CD2:5.0/amd64/floppy50.fs</i> to a floppy, then
484: boot from the floppy drive.
485:
486: <p>
487: If you can't boot from a CD or a floppy disk,
488: you can install across the network using PXE as described in the included
489: INSTALL.amd64 document.
490:
491: <p>
492: If you are planning to dual boot OpenBSD with another OS, you will need to
493: read INSTALL.amd64.
494: </ul>
495:
496: <p>
497: <h3><font color="#e00000">OpenBSD/macppc:</font></h3>
498: <ul>
499: Put CD2 in your CDROM drive and poweron your machine while holding down the
500: <i>C</i> key until the display turns on and shows <i>OpenBSD/macppc boot</i>.
501:
502: <p>
503: Alternatively, at the Open Firmware prompt, enter <i>boot cd:,ofwboot
504: /5.0/macppc/bsd.rd</i>
505: </ul>
506:
507: <p>
508: <h3><font color="#e00000">OpenBSD/sparc64:</font></h3>
509: <ul>
510: Put CD3 in your CDROM drive and type <i>boot cdrom</i>.
511:
512: <p>
513: If this doesn't work, or if you don't have a CDROM drive, you can write
514: <i>CD3:5.0/sparc64/floppy50.fs</i> or <i>CD3:5.0/sparc64/floppyB50.fs</i>
515: (depending on your machine) to a floppy and boot it with <i>boot
516: floppy</i>. Refer to INSTALL.sparc64 for details.
517:
518: <p>
519: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install
520: will most likely fail.
521:
522: <p>
523: You can also write <i>CD3:5.0/sparc64/miniroot50.fs</i> to the swap partition on
524: the disk and boot with <i>boot disk:b</i>.
525:
526: <p>
527: If nothing works, you can boot over the network as described in INSTALL.sparc64.
528: </ul>
529:
530: <p>
531: <h3><font color="#e00000">OpenBSD/alpha:</font></h3>
532: <ul>
533: <p>Write <i>FTP:5.0/alpha/floppy50.fs</i> or
534: <i>FTP:5.0/alpha/floppyB50.fs</i> (depending on your machine) to a diskette and
535: enter <i>boot dva0</i>. Refer to INSTALL.alpha for more details.
536:
537: <p>
538: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install
539: will most likely fail.
540:
541: </ul>
542:
543: <p>
544: <h3><font color="#e00000">OpenBSD/armish:</font></h3>
545: <ul>
546: <p>
547: After connecting a serial port, Thecus can boot directly from the network
548: either tftp or http. Configure the network using fconfig, reset,
549: then load bsd.rd, see INSTALL.armish for specific details.
550: IOData HDL-G can only boot from an EXT-2 partition. Boot into linux
551: and copy 'boot' and bsd.rd into the first partition on wd0 (hda1)
552: then load and run bsd.rd, preserving the wd0i (hda1) ext2fs partition.
553: More details are available in INSTALL.armish.
554: </ul>
555:
556: <p>
557: <h3><font color="#e00000">OpenBSD/hp300:</font></h3>
558: <ul>
559: <p>
560: Boot over the network by following the instructions in INSTALL.hp300.
561: </ul>
562:
563: <p>
564: <h3><font color="#e00000">OpenBSD/hppa:</font></h3>
565: <ul>
566: <p>
567: Boot over the network by following the instructions in INSTALL.hppa or the
568: <a href="hppa.html#install">hppa platform page</a>.
569: </ul>
570:
571: <p>
572: <h3><font color="#e00000">OpenBSD/landisk:</font></h3>
573: <ul>
574: <p>
575: Write <i>miniroot50.fs</i> to the start of the CF
576: or disk, and boot normally.
577: </ul>
578:
579: <p>
580: <h3><font color="#e00000">OpenBSD/loongson:</font></h3>
581: <ul>
582: <p>
583: Write <i>miniroot50.fs</i> to a USB stick and boot bsd.rd from it
584: or boot bsd.rd via tftp.
585: Refer to the instructions in INSTALL.loongson for more details.
586: </ul>
587: <p>
588:
589: <p>
590: <h3><font color="#e00000">OpenBSD/mvme68k:</font></h3>
591: <ul>
592: <p>
593: You can create a bootable installation tape or boot over the network.<br>
594: The network boot requires a MVME68K BUG version that supports the <i>NIOT</i>
595: and <i>NBO</i> debugger commands. Follow the instructions in INSTALL.mvme68k
596: for more details.
597: </ul>
598:
599: <p>
600: <h3><font color="#e00000">OpenBSD/mvme88k:</font></h3>
601: <ul>
602: <p>
603: You can create a bootable installation tape or boot over the network.<br>
604: The network boot requires a MVME88K BUG version that supports the <i>NIOT</i>
605: and <i>NBO</i> debugger commands. Follow the instructions in INSTALL.mvme88k
606: for more details.
607: </ul>
608:
609: <p>
610: <h3><font color="#e00000">OpenBSD/sgi:</font></h3>
611: <ul>
612: <p>
613: To install on an O2, burn cd50.iso on a CD-R, put it in the CD drive of your
614: machine and select <i>Install System Software</i> from the System Maintenance
615: menu.
616:
617: <p>
618: On other systems, or if your machine doesn't have a CD drive, you can
619: setup a DHCP/tftp network server, and boot using "bootp()/bsd.rd.IP##" using
620: the kernel matching your system type.
621: Refer to the instructions in INSTALL.sgi for more details.
622: </ul>
623:
624: <p>
625: <h3><font color="#e00000">OpenBSD/socppc:</font></h3>
626: <ul>
627: <p>
628: After connecting a serial port, boot over the network via DHCP/tftp.
629: Refer to the instructions in INSTALL.socppc for more details.
630: </ul>
631:
632: <p>
633: <h3><font color="#e00000">OpenBSD/sparc:</font></h3>
634: <ul>
635: Boot from one of the provided install ISO images, using one of the two
636: commands listed below, depending on the version of your ROM.
637:
638: <ul><pre>
639: ok <strong>boot cdrom 5.0/sparc/bsd.rd</strong>
640: or
641: > <strong>b sd(0,6,0)5.0/sparc/bsd.rd</strong>
642: </pre></ul>
643:
644: <p>
645: If your SPARC system does not have a CD drive, you can alternatively boot from floppy.
646: To do so you need to write <i>floppy50.fs</i> to a floppy.
647: For more information see <a href="faq/faq4.html#MkFlop">FAQ 4.3.2</a>.
648: To boot from the floppy use one of the two commands listed below,
649: depending on the version of your ROM.
650:
651: <ul><pre>
652: ok <strong>boot floppy</strong>
653: or
654: > <strong>b fd()</strong>
655: </pre></ul>
656:
657: <p>
658: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install
659: will most likely fail.
660:
661: <p>
662: If your SPARC system doesn't have a floppy drive nor a CD drive, you can either
663: setup a bootable tape, or install via network, as told in the
664: INSTALL.sparc file.
665: </ul>
666:
667: <p>
668: <h3><font color="#e00000">OpenBSD/vax:</font></h3>
669: <ul>
670: Boot over the network via mopbooting as described in INSTALL.vax.
671: </ul>
672:
673: <p>
674: <h3><font color="#e00000">OpenBSD/zaurus:</font></h3>
675: <ul>
676: <p>
677: Using the Linux built-in graphical ipkg installer, install the
678: openbsd50_arm.ipk package. Reboot, then run it. Read INSTALL.zaurus
679: for a few important details.
680: </ul>
681:
682: <p>
683: <h3><font color="#e00000">Notes about the source code:</font></h3>
684: <ul>
685: src.tar.gz contains a source archive starting at /usr/src. This file
686: contains everything you need except for the kernel sources, which are
687: in a separate archive. To extract:
688: <p>
689: <ul><pre>
690: # <strong>mkdir -p /usr/src</strong>
691: # <strong>cd /usr/src</strong>
692: # <strong>tar xvfz /tmp/src.tar.gz</strong>
693: </pre></ul>
694: <p>
695: sys.tar.gz contains a source archive starting at /usr/src/sys.
696: This file contains all the kernel sources you need to rebuild kernels.
697: To extract:
698: <p>
699: <ul><pre>
700: # <strong>mkdir -p /usr/src/sys</strong>
701: # <strong>cd /usr/src</strong>
702: # <strong>tar xvfz /tmp/sys.tar.gz</strong>
703: </pre></ul>
704: <p>
705: Both of these trees are a regular CVS checkout. Using these trees it
706: is possible to get a head-start on using the anoncvs servers as
707: described <a href="anoncvs.html">here</a>.
708: Using these files
709: results in a much faster initial CVS update than you could expect from
710: a fresh checkout of the full OpenBSD source tree.
711: <p>
712: </ul>
713:
714: <a name="upgrade"></a>
715: <hr>
716: <p>
717: <h3><font color="#0000e0">How to upgrade</font></h3>
718: <p>
719: If you already have an OpenBSD 4.9 system, and do not want to reinstall,
720: upgrade instructions and advice can be found in the
721: <a href="faq/upgrade50.html">Upgrade Guide</a>.
722:
723: <a name="ports"></a>
724: <hr>
725: <p>
726: <h3><font color="#0000e0">Ports Tree</font></h3>
727: <p>
728: A ports tree archive is also provided. To extract:
729: <p>
730: <ul><pre>
731: # <strong>cd /usr</strong>
732: # <strong>tar xvfz /tmp/ports.tar.gz</strong>
733: # <strong>cd ports</strong>
734: </pre></ul>
735: <p>
736: The <i>ports/</i> subdirectory is a checkout of the OpenBSD ports tree. Go
737: read the <a href="faq/ports/index.html">ports</a> page
738: if you know nothing about ports
739: at this point. This text is not a manual of how to use ports.
740: Rather, it is a set of notes meant to kickstart the user on the
741: OpenBSD ports system.
742: <p>
743: The <i>ports/</i> directory represents a CVS (see the manpage for
744: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=cvs&apropos=0&sektion=1&manpath=OpenBSD+Current&arch=i386">
745: cvs(1)</a> if
746: you aren't familiar with CVS) checkout of our ports. As with our complete
747: source tree, our ports tree is available via anoncvs. So, in
748: order to keep current with it, you must make the <i>ports/</i> tree
749: available on a read-write medium and update the tree with a command
750: like:
751: <p>
752: <ul><pre>
1.4 nick 753: # <strong>cd [portsdir]/; cvs -d anoncvs@server.openbsd.org:/cvs update -Pd -rOPENBSD_5_0</strong>
1.1 deraadt 754: </pre></ul>
755: <p>
756: [Of course, you must replace the local directory and server name here
757: with the location of your ports collection and a nearby anoncvs
758: server.]
759: <p>
760: Note that most ports are available as packages through FTP. Updated
761: packages for the 5.0 release will be made available if problems arise.
762: <p>
763: If you're interested in seeing a port added, would like to help out, or just
764: would like to know more, the mailing list ports@openbsd.org is a good
765: place to know.
766: <p>
767:
768: <hr>
769: <a href="index.html"><img height="24" width="24" src="back.gif" border="0"
770: alt="OpenBSD"></a>
771: <a href="mailto:www@openbsd.org">www@openbsd.org</a>
772: <br><small>
1.10 ! stu 773: $OpenBSD: 50.html,v 1.9 2011/11/02 09:50:20 sobrado Exp $
1.1 deraadt 774: </small>
775:
776: </body>
777: </html>