Annotation of www/40.html, Revision 1.70
1.1 david 1: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2: <html>
3: <head>
4: <title>OpenBSD 4.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 4.0">
9: <meta name="keywords" content="openbsd,main">
10: <meta name="distribution" content="global">
11: <meta name="copyright" content="This document copyright 2006 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>
1.46 deraadt 21: <a href="images/Pufferix.jpg">
22: <img align="left" width="227" height="343" hspace="24" vspace="30"
23: src="images/Pufferix.jpg" alt="OpenBSD 4.0 logo"></a>
1.1 david 24: <h2><font color="#0000e0">The OpenBSD 4.0 Release:</font></h2>
25: <p>
26: Released Nov 1, 2006<br>
27: Copyright 1997-2006, Theo de Raadt.<br>
28: <!-- XXX ISBN
29: <font color="#e00000">ISBN XXX </font>
30: -->
31: <!-- XXX song
32: <br>
33: <a href="lyrics.html#40">4.0 Song: "XXX"</a>
34: -->
35: <p>
36:
37: <a href="#new">What's New</a><br>
38: <a href="#install">How to install</a><br>
39: <a href="#upgrade">How to upgrade</a><br>
40: <a href="#ports">How to use the ports tree</a><br>
41: <a href="orders.html">Ordering a CD set</a><br>
42:
43: <p>
44: <h3><font color="#0000e0">
45: To get the files for this release:
46: <ul>
47: <li>Order a CDROM from our <a href="orders.html">ordering system</a>.
48: <li>See the information on <a href="ftp.html">The FTP page</a> for
49: a list of mirror machines.
50: <li>Go to the <font color="#e00000">pub/OpenBSD/4.0/</font> directory on
51: one of the mirror sites.
52: <li>Briefly read the rest of this document.
53: <li>Have a look at <a href="errata.html">The 4.0 Errata page</a> for a list
54: of bugs and workarounds.
55: <li>See a <a href="plus.html">detailed log of changes</a> between the
56: 3.9 and 4.0 releases.
57: <!-- XXX plus40.html -->
58: </ul>
59: </font></h3>
60: <br clear=all>
61:
62: <strong>Note:</strong> All applicable copyrights and credits can be found
63: in the applicable file sources found in the files src.tar.gz, sys.tar.gz,
64: XF4.tar.gz, or in the files fetched via ports.tar.gz. The distribution
65: files used to build packages from the ports.tar.gz file are not included on
66: the CDROM because of lack of space.
67: <p>
68:
69: <a name="new"></a>
70: <hr>
71: <p>
72: <h3><font color="#0000e0">What's New</font></h3>
73: <p>
74: This is a partial list of new features and systems included in OpenBSD 4.0.
75: For a comprehensive list, see the <a href="plus.html">changelog</a> leading
76: to 4.0.
77: <!-- XXX plus40.html -->
78: <p>
79:
80: <ul>
81:
1.66 deraadt 82: <li>New/extended platforms:
1.11 jsg 83: <ul>
84: <li><a href="armish.html">OpenBSD/armish</a>.<br>
1.66 deraadt 85: Various ARM-based appliances, using the Redboot boot loader, currently
86: only supporting the Thecus N2100 and IOData HDL-G.
87: <li><a href="sparc64.html">OpenBSD/sparc64</a>.<br>
88: UltraSPARC III based machines are now supported!
89: <li><a href="zaurus.html">OpenBSD/zaurus</a>.<br>
90: Support for the Zaurus SL-C3200.
1.11 jsg 91: </ul>
92: <p>
93:
1.1 david 94: <li>Improved hardware support, including:
95: <ul>
1.30 niallo 96: <li>New <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=msk&sektion=4">msk(4)</a> driver for Marvell/SysKonnect Yukon-2 Gigabit Ethernet.
97: <li>New <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=bnx&sektion=4">bnx(4)</a> driver for Broadcom NetXtreme II Gigabit Ethernet.
98: <li>New <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=xge&sektion=4">xge(4)</a> driver for Neterion Xframe/Xframe II 10Gb Ethernet.
99: <li>New <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=rum&sektion=4">rum(4)</a> driver for Ralink Technology 2nd gen USB IEEE 802.11a/b/g wireless.
100: <li>New <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=acx&sektion=4">acx(4)</a> driver for Texas Instruments ACX100/ACX111 IEEE 802.11a/b/g wireless.
1.42 brad 101: <li>New <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=pgt&sektion=4">pgt(4)</a> driver for Connexant/Intersil Prism GT Full-MAC IEEE 802.11a/b/g wireless.
102: <li>New <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=uath&sektion=4">uath(4)</a> driver for Atheros USB IEEE 802.11a/b/g wireless.
1.30 niallo 103: <li>New binary blob free <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=wpi&sektion=4">wpi(4)</a> driver for Intel PRO/Wireless 3945ABG IEEE 802.11a/b/g wireless.
1.62 marco 104: <li>New <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=arc&sektion=4">arc(4)</a> driver for Areca Technology Corporation SATA RAID; including RAID management via <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=bio&sektion=4">bio(4)</a>.
105: <li>New <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=mfi&sektion=4">mfi(4)</a> driver for LSI Logic & Dell MegaRAID SAS RAID; including RAID management via <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=bio&sektion=4">bio(4)</a>.
1.30 niallo 106: <li>New <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=azalia&sektion=4">azalia(4)</a> driver for generic High Definition Audio.
1.46 deraadt 107: <li>New SD/MMC/SDIO drivers (<a href="http://www.openbsd.org/cgi-bin/man.cgi?query=sdhc&sektion=4">sdhc(4)</a>, <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=sdmmc&sektion=4">sdmmc(4)</a>), currently supporting SD memory cards as fake SCSI <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=sd&sektion=4">sd(4)</a> drives.
1.30 niallo 108: <li>New <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=udcf&sektion=4">udcf(4)</a> driver for Gude ADS Expert mouseCLOCK DCF77/HBG time signal station receivers.
109: <li>New <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=uslcom&sektion=4">uslcom(4)</a> driver for Silicon Laboratories CP2101/CP2102 based USB serial adapters.
110: <li>New <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ucycom&sektion=4">ucycom(4)</a> driver for Cypress microcontroller based USB serial adapters.
111: <li>New <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=uark&sektion=4">uark(4)</a> driver for Arkmicro Technologies ARK3116 based USB serial adapters.
112: <li>New <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=umsm&sektion=4">umsm(4)</a> driver for Qualcomm MSM EVDO based modems.
1.21 jsg 113: <li>New Dallas/Maxim 1-Wire bus support, including:
114: <ul>
115: <li>New <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=gpioow&sektion=4">gpioow(4)</a> driver for 1-Wire bus bit-banging through GPIO pin
116: <li>New <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=onewire&sektion=4">onewire(4)</a> 1-Wire bus driver
117: <li>New <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=owid&sektion=4">owid(4)</a> 1-Wire ID family driver
118: <li>New <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=owtemp&sektion=4">owtemp(4)</a> 1-Wire temperature family driver
119: </ul>
1.30 niallo 120: <li>New <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=isagpio&sektion=4">isagpio(4)</a> driver for ISA I/O mapped as GPIO.
1.49 mbalmer 121: <li>New <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=nmea&sektion=4">nmea(4)</a>
122: line discipline for NMEA 0183 (GPS) devices. The new
123: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=nmeaattach&sektion=8">nmeaattach(8)</a>
124: utility can be used to receive NMEA 0183 data and provide the time
125: received as a timedelta sensor to be used by, for example,
126: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ntpd&sektion=8">ntpd(8)</a>.
1.37 jsg 127: <li>New VAX framebuffer drivers:
128: <ul>
129: <li>New <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=lcg&sektion=4&arch=vax">lcg(4)</a> driver for VAXstation 4000/60 and VLC color frame buffers
130: <li>New <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=lcspx&sektion=4&arch=vax">lcspx(4)</a> driver for Low-Cost SPX color frame buffers
131: <li>New <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=gpx&sektion=4&arch=vax">gpx(4)</a> driver for GPX color frame buffers
132: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=smg&sektion=4&arch=vax">smg(4)</a> driver for Small Monochrome Graphics frame buffers heavily updated to be a modern <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=wscons&sektion=4">wscons(4)</a> driver
133: </ul>
1.52 miod 134: <li>Support for VAX-based Digital VXT2000 and VXT2000+ terminals.
1.30 niallo 135: <li>The <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=bge&sektion=4">bge(4)</a> driver supporting newer chipsets, such as the Broadcom BCM5754, BCM5755, BCM5786, and BCM5787.
136: <li>The <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=em&sektion=4">em(4)</a> driver supporting newer chipsets, such as the Intel ESB2 and ICH8.
137: <li>The <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=nfe&sektion=4">nfe(4)</a> driver supporting newer chipsets, such as the NVIDIA MCP61 and MCP65.
138: <li>The <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=re&sektion=4">re(4)</a> driver supporting newer chipsets, such as the Realtek RT8101E, RT8168, and RT8169SC.
139: <li>The <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=dc&sektion=4">dc(4)</a> driver supporting newer chipsets, such as the ADMtek ADM9511 and ADM9513.
1.6 brad 140: <li>The <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=pciide&sektion=4">pciide(4)</a> driver supporting newer chipsets, such as:
141: <ul>
1.38 jsg 142: <li>ATI IXP300 SATA, IXP600 IDE
143: <li>Intel 6321ESB IDE/SATA, 82801G SATA, and 82801H SATA
144: <li>IT Express IT8211F IDE
145: <li>NVIDIA MCP61 SATA, MCP65 SATA
1.6 brad 146: <li>Promise PDC205xx SATA
147: <li>ServerWorks SATA
1.38 jsg 148: <li>VIA VT8237A SATA
1.6 brad 149: </ul>
1.31 brad 150: <li>The <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=mpt&sektion=4">mpt(4)</a> driver has been replaced with <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=mpi&sektion=4">mpi(4)</a>, a more stable driver that supports more hardware.
1.64 fkr 151: <li>The <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=com&sektion=4">com(4)</a> driver now supports pcmcia and cardbus cards on macppc.
1.30 niallo 152: <li>Working interrupt routing on Sun Netra t1 105, Ultra 60 and possibly other <a href="sparc64.html">sparc64</a> systems.
153: <li>Work around broken VIA and NVIDIA MPBIOSes, fixes interrupt routing with GENERIC.MP on several systems.
154: <li>Initial <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=bio&sektion=4">bio(4)</a> support for Compaq/HP <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ciss&sektion=4">ciss(4)</a> Smart ARRAY 5/6 SAS/SCSI RAID controllers.
1.61 deraadt 155: <li>Improved speed control on some systems:
156: <ul>
1.60 dim 157: <li>New SpeedStep detection code, also adds support for VIA C7-M, and several newer Pentium M's.</li>
158: <li>Support SpeedStep in rudimentary fashion on most unknown CPU's that advertise the feature.</li>
1.61 deraadt 159: <li>Zaurus can be moved into slower speeds now too.
160: <li>PowerNow K7 and K8 support is now working reliably.
161: </ul>
162: <li>Support for Intel 945G/GM video chipsets (on i386).</li>
1.68 kettenis 163: <li>Support for additional I2C sensors:
164: <ul>
165: <li>The <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=adt&sektion=4">adt(4)</a> driver now supports the National Semiconductor LM9600, SMSC EMC6D10x and SMSC SCH5017 chips.
166: <li>The <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=admtemp&sektion=4">admtemp(4)</a> driver now supports the Analog Devices ADM1023, Genesys Logic GL523SM and Global Mixed-mode Technology G781 chips.
167: </ul>
1.1 david 168: </ul>
169: <p>
170:
171: <li>New tools:
172: <ul>
1.28 niallo 173: <li>GNU RCS has been replaced with <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=rcs&sektion=1">OpenRCS</a>.
1.1 david 174: </ul>
175: <p>
176:
177: <li>New functionality:
178: <ul>
1.32 naddy 179: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ipsecctl&sektion=8">ipsecctl(8)</a> has been greatly extended and completely supersedes ipsecadm(8).
1.70 ! ray 180: <li>IPsec now supports road warrior setups, using hostnames as source identifiers instead of IP addresses.
1.15 steven 181: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ftp&sektion=1">ftp(1)</a> now supports HTTPS.
1.18 steven 182: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=cdio&sektion=1">cdio(1)</a> can now perform track-at-once burning and rewritable blanking.
1.29 niallo 183: <li>spppcontrol(8) and wicontrol(8) functionality has been merged into
1.17 steven 184: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ifconfig&sektion=8">ifconfig(8)</a>.
1.16 steven 185: <li>gcc(1) provides a new warning, -Wstack-larger-than-N, to report functions
186: which are too greedy in stack variables, see
187: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=gcc-local&sektion=1">gcc-local(1)</a> for details.
1.30 niallo 188: <li>An in-kernel <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=getcwd&sektion=3">getcwd(3)</a> implementation.
1.49 mbalmer 189: <li>A new system call <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=adjfreq&sektion=2">adjfreq(2)</a>
1.12 otto 190: to allow <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ntpd&sektion=8">ntpd(8)</a>
191: to adjust the tick rate of the system clock automatically.
1.37 jsg 192: <li>Support for X11 on VAX has been added
1.30 niallo 193: <li>Virtual Allocation Table (VAT) support for <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=mount_udf&sektion=8">UDF</a>.
1.16 steven 194: <li>C99 functions
195: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=round&sektion=3">round(3)</a>,
196: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=roundf&sektion=3">roundf(3)</a>,
197: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=trunc&sektion=3">trunc(3)</a>, and
198: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=truncf&sektion=3">truncf(3)</a>
199: have been added to libm, the math library.
1.34 djm 200: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=pf&sektion=4">pf(4)</a>
201: now supports Unicast Reverse Path Forwarding (uRPF) checks for simplified
1.35 aanriot 202: ingress filtering.
1.34 djm 203: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=bpf&sektion=4">bpf(4)</a>
204: can now ignore packets based on their direction (inbound/outbound) using the
1.35 aanriot 205: BIOCSDIRFILT ioctl.
1.36 martin 206: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=pdisk&sektion=8&arch=mac68k">pdisk(8)</a>
207: can now set up slices on HFS(DPME) partitioned disks on mac68k.
1.55 reyk 208: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=sasyncd&sektion=8">sasyncd(8)</a>
1.47 ian 209: communicates with its
1.46 deraadt 210: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=isakmpd&sektion=8">isakmpd(8)</a>,
211: telling it to run active or passive. This makes IPsec failover setups much more robust.
1.58 stevesk 212: <li>New dissectors have been added to
1.55 reyk 213: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=tcpdump&sektion=8">tcpdump(8)</a>:
214: <ul>
1.56 reyk 215: <li>Cisco's VQP (VLAN Query Protocol)
216: <li>IEEE 802.1AB LLDP (Link Layer Discovery Protocol)
1.55 reyk 217: </ul>
218: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=trunk&sektion=4">trunk(4)</a> now
219: supports the new loadbalance mode to balance outgoing traffic based on hashed protocol header
220: information.
1.62 marco 221: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=bioctl&sektion=8">bioctl(8)</a> has been extended to provide runtime information on rebuilds, scrubs and initialization.
1.63 ray 222: <li>New sysctls to check the system vendor, product, version, and UUID.
1.65 claudio 223: <li>Equal cost multipath routing support. Needs to be enabled by a sysctl.
1.67 drahn 224: <li>Prebind, a secure implementation of prelinking, has been added to
225: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ldconfig&sektion=8" >ldconfig(8)</a>,
226: it speeds up launching of shared binaries. Prebind is compatible with
227: address space randomization, unlink prelink.
1.1 david 228: </ul>
229: <p>
230:
231: <li>Assorted improvements and code cleanup:
232: <ul>
1.13 otto 233: <li>Much better time keeping for multiprocessor <a href="i386.html">OpenBSD/i386</a>
234: systems.
235: <li>Much improved implementation of <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=telldir&sektion=3">telldir(3)</a>
236: and friends.
1.53 ray 237: <li>Replacement of many
1.34 djm 238: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=malloc&sektion=3">malloc(3)</a>
239: calls that follow a pattern prone to integer overflow with safer constructs.
1.44 mpf 240: <li>Improved failover handling in
241: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=carp&sektion=4">carp(4)</a>:
242: <ul>
243: <li>Extend the carp protocol with the demotion counter to act smarter on multiple failures.
244: <li>Group failovers now work without carp running preempt mode.
245: <li>Demotion can now be controlled via interface groups.
246: </ul>
1.54 krw 247: <li>
248: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=chio&sektion=1">chio(1)</a>
249: is now a useful tool for controlling tape changers.
250: <li>Much improved
251: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=st&sektion=4">st(4)</a>
252: device setup, tape handling and error processing.
253: <li>Many
254: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=dhclient&sektion=8">dhclient(8)</a>
255: fixes, including 'alias' handling and improved interface initialization.
256: <li>
257: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=scsi&sektion=8">scsi(4)</a>
258: devices detect the correct SCSI version.
259: <li>More
260: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=umass&sektion=4">umass(4)</a>
261: devices properly detected.
262: <li>Improved detection of fibre channel devices and devices in SCSI enclosures.
1.56 reyk 263: <li>The new RSSI header has been added to the <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ieee80211_radiotap&sektion=9">ieee80211_radiotap(9)</a>
264: framework as a replacement for ANTSIGNAL headers.
1.54 krw 265: </ul>
266: <p>
267:
268: <li>Install/Upgrade process changes
269: <ul>
270: <li>Host specific site files add easy customization for individual hosts
271: <li>X Window aperture support, where available, now defaults to off
1.1 david 272: </ul>
273: <p>
274:
1.56 reyk 275: <li>New functionality for
276: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=hostapd&sektion=8">hostapd(8)</a>,
277: the Host Access Point Daemon:
278: <ul>
279: <li>IP based roaming to build wireless networks without the requirement
280: of a single broadcast domain.
281: <li>New event rules to match optional elements of radiotap headers:
282: signal percentage, transmit rate and channel frequency.
283: <li>Various bug fixes and improvements.
284: </ul>
285: <p>
286:
1.1 david 287: <li>OpenSSH 4.4:
288: <ul>
1.40 dtucker 289: <li>Conditional configuration in <a href=
290: "http://www.openbsd.org/cgi-bin/man.cgi?query=sshd_config&sektion=5"
291: >sshd_config(5)</a> using the <b>Match</b> directive. This allows some
292: configuration options to be selectively overridden if specific criteria
293: (based on user, group, hostname and/or address) are met.
294: <li>Add support for Diffie-Hellman group exchange key agreement with a
295: final hash of SHA256.
296: <li>Added a <b>ForceCommand</b> directive to <a href=
297: "http://www.openbsd.org/cgi-bin/man.cgi?query=sshd_config&sektion=5"
298: >sshd_config(5)</a>, similar to the command="..." option in
299: ~/.ssh/authorized_keys.
300: <li>Added a <b>PermitOpen</b> directive to <a href=
301: "http://www.openbsd.org/cgi-bin/man.cgi?query=sshd_config&sektion=5"
302: >sshd_config(5)</a>, similar to the permitopen="..." option in
303: authorized_keys, to allow control over the port-forwardings that a
304: user is allowed to establish.
305: <li>Added an <b>ExitOnForwardFailure</b> option to cause ssh(1) to exit (with
306: a non-zero exit code) when requested port forwardings could not be
307: established.
308: <li>Added optional logging of transactions to <a href=
309: "http://www.openbsd.org/cgi-bin/man.cgi?query=sftp-server&sektion=8"
310: >sftp-server(8)</a>.
311: <li><a href="http://www.openbsd.org/cgi-bin/man.cgi?query=ssh&sektion=1"
312: >ssh(1)</a> will now record port numbers for hosts stored in
313: ~/.ssh/authorized_keys when a non-standard port has been requested.
314: <li>Extended the <a href=
315: "http://www.openbsd.org/cgi-bin/man.cgi?query=sshd_config&sektion=5"
316: >sshd_config(5)</a> "SubSystem" directive to allow the
317: specification of commandline arguments.
318: <li>Many manpage fixes and improvements
1.1 david 319: </ul>
320: <p>
321:
322: <li>OpenBGPD 4.0:
323: <ul>
1.48 henning 324: <li>new nexthop selection logic ignoring bgpd routes, helps in complex setups
325: with ospfd
326: <li>add a "detailed" show rib view to bgpctl, including communities
327: <li>allow requesting a route refresh from a peer that supports it
328: <li>have bgpd always report back the result of an operation to bgpctl, so
329: the operator can spot errors quicker
330: <li>allow bgpd to manipulate carp demotion counters based on session states,
331: gives even greater failover support
332: <li>support restarting sessions that reached max-prefix after a given time
333: <li>bgpctl can now show all routes received from a neighbor before filters
334: were applied, and routes sent to neighbors
335: <li>assorted fixes and improvements, as usual
1.1 david 336: </ul>
337: <p>
338:
1.41 norby 339: <li>OpenOSPFD 4.0:
1.1 david 340: <ul>
1.41 norby 341: <li>Track uptime of the daemon itself.
342: <li>Track uptime of all ospf enabled interfaces.
343: <li>Adjust logging behaviour to prevent unwanted logging.
344: <li>Delay LSA updates when removing and adding - prevent flapping.
345: <li>Fix plaintext authentication.
1.43 brad 346: <li>Improve the output of 'ospfctl show interfaces'.
1.41 norby 347: <li>Support rtlabels when redistributing routes.
1.1 david 348: </ul>
349: <p>
1.41 norby 350:
1.50 henning 351: <li>OpenNTPD 4.0:
1.49 mbalmer 352: <ul>
1.50 henning 353: <li>support timedelta sensors, such as DCF77 receivers supported by
354: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=udcf&sektion=4">udcf(4)</a>
355: and GPS receivers supported by
356: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=nmea&sektion=4">nmea(4)</a>.
357: <li>Adjust the kernel tick frequency, using
358: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=adjfreq&sektion=2">adjfreq(3)</a>,
359: improving accuracy on many machines.
360: <li>allow for weight to be added to sensors or servers, so that one can
361: weight timedelta sensors higher than ntp peers
1.49 mbalmer 362: </ul>
363: <p>
1.1 david 364:
1.9 steven 365: <li>Over 3700 ports, 3400 pre-built packages, improved package tools.
1.57 espie 366: <li>Full support for pkg_add(1) over ssh(1), using one single connection.
1.1 david 367: <!-- XXX update numbers -->
368: <p>
369:
370: <li>As usual, steady improvements in manual pages and other documentation.
371: <p>
372:
373: <li>The system includes the following major components from outside suppliers:
374: <ul>
375: <li>X.Org 6.9.0 (+ patches, and i386 contains XFree86 3.3.6 servers
376: (+ patches) for legacy chipsets not supported by X.Org)
377: <li>Gcc 2.95.3
378: (+ <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=gcc-local&sektion=1">patches</a>)
379: and 3.3.5
380: (+ <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=gcc-local&sektion=1">patches</a>)
381: <li>Perl 5.8.8 (+ patches)
382: <li>Apache 1.3.29, mod_ssl 2.8.16, DSO support (+ patches)
383: <li>OpenSSL 0.9.7j (+ patches)
384: <li>Groff 1.15
385: <li>Sendmail 8.13.8, with libmilter
1.26 david 386: <li>Bind 9.3.2-P1 (+ patches)
1.1 david 387: <li>Lynx 2.8.5rel.4 with HTTPS and IPv6 support (+ patches)
388: <li>Sudo 1.6.8p9
389: <li>Ncurses 5.2
390: <li>Latest KAME IPv6
1.24 biorn 391: <li>Heimdal 0.7.2 (+ patches)
1.1 david 392: <li>Arla 0.35.7
393: <li>Binutils 2.15 (+ patches)
1.69 kettenis 394: <li>Gdb 6.3 (+ patches)
1.1 david 395: <!-- XXX double check versions -->
396: </ul>
397: <p>
398:
399: </ul>
400:
401: <a name="install"></a>
402: <hr>
403: <p>
404: <h3><font color="#0000e0">How to install</font></h3>
405: <p>
406: Following this are the instructions which you would have on a piece of
407: paper if you had purchased a CDROM set instead of doing an alternate
408: form of install. The instructions for doing an FTP (or other style
409: of) install are very similar; the CDROM instructions are left intact
410: so that you can see how much easier it would have been if you had
411: purchased a CDROM instead.
412: <p>
413:
414: <hr>
415: Please refer to the following files on the three CDROMs or FTP mirror for
416: extensive details on how to install OpenBSD 4.0 on your machine:
417: <p>
418: <ul>
419: <li>CD1:4.0/i386/INSTALL.i386
420: <p>
421: <li>CD2:4.0/amd64/INSTALL.amd64
422: <li>CD2:4.0/macppc/INSTALL.macppc
423: <p>
424: <li>CD3:4.0/sparc/INSTALL.sparc
425: <li>CD3:4.0/sparc64/INSTALL.sparc64
426: <p>
427: <li>FTP:.../OpenBSD/4.0/alpha/INSTALL.alpha
1.33 brad 428: <li>FTP:.../OpenBSD/4.0/armish/INSTALL.armish
1.1 david 429: <li>FTP:.../OpenBSD/4.0/cats/INSTALL.cats
430: <li>FTP:.../OpenBSD/4.0/hp300/INSTALL.hp300
431: <li>FTP:.../OpenBSD/4.0/hppa/INSTALL.hppa
432: <li>FTP:.../OpenBSD/4.0/luna88k/INSTALL.luna88k
433: <li>FTP:.../OpenBSD/4.0/mac68k/INSTALL.mac68k
434: <li>FTP:.../OpenBSD/4.0/mvme68k/INSTALL.mvme68k
435: <li>FTP:.../OpenBSD/4.0/mvme88k/INSTALL.mvme88k
436: <li>FTP:.../OpenBSD/4.0/sgi/INSTALL.sgi
437: <li>FTP:.../OpenBSD/4.0/vax/INSTALL.vax
438: <li>FTP:.../OpenBSD/4.0/zaurus/INSTALL.zaurus
439: </ul>
440: <hr>
441:
442: <p>
443: Quick installer information for people familiar with OpenBSD, and the
444: use of the "disklabel -E" command. If you are at all confused when
445: installing OpenBSD, read the relevant INSTALL.* file as listed above!
446: <p>
447:
448: <h3><font color="#e00000">OpenBSD/i386:</font></h3>
449: <ul>
450: Play with your BIOS options to enable booting from a CD. The OpenBSD/i386
451: release is on CD1. If your BIOS does not support booting from CD, you will need
452: to create a boot floppy to install from. To create a boot floppy write
453: <i>CD1:4.0/i386/floppy40.fs</i> to a floppy and boot via the floppy drive.
454:
455: <p>
456: Use <i>CD1:4.0/i386/floppyB40.fs</i> instead for greater SCSI controller
457: support, or <i>CD1:4.0/i386/floppyC40.fs</i> for better laptop support.
458:
459: <p>
460: If you can't boot from a CD or a floppy disk,
461: you can install across the network using PXE as described in
462: the included INSTALL.i386 document.
463:
464: <p>
465: If you are planning on dual booting OpenBSD with another OS, you will need to
466: read INSTALL.i386.
467:
468: <p>
469: To make a boot floppy under MS-DOS, use the "rawrite" utility located
470: at <i>CD1:4.0/tools/rawrite.exe</i>. To make the boot floppy under a Unix OS,
471: use the
472: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=dd&sektion=1">dd(1)</a>
473: utility. The following is an example usage of
474: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=dd&sektion=1">dd(1)</a>,
475: where the device could be "floppy", "rfd0c", or
476: "rfd0a".
477:
478: <ul><pre>
479: # <strong>dd if=<file> of=/dev/<device> bs=32k</strong>
480: </pre></ul>
481:
482: <p>
483: Make sure you use properly formatted perfect floppies with NO BAD BLOCKS or
484: your install will most likely fail. For more information on creating a boot
485: floppy and installing OpenBSD/i386 please refer to
486: <a href="faq/faq4.html#MkFlop">FAQ 4.3.1</a>.
487: </ul>
488:
489: <p>
490: <h3><font color="#e00000">OpenBSD/amd64:</font></h3>
491: <ul>
492: The 4.0 release of OpenBSD/amd64 is located on CD2.
493: Boot from the CD to begin the install - you may need to adjust
494: your BIOS options first.
495: If you can't boot from the CD, you can create a boot floppy to install from.
496: To do this, write <i>CD2:4.0/amd64/floppy40.fs</i> to a floppy, then
497: boot from the floppy drive.
498:
499: <p>
500: If you can't boot from a CD or a floppy disk,
501: you can install across the network using PXE as described in the included
502: INSTALL.amd64 document.
503:
504: <p>
505: If you are planning to dual boot OpenBSD with another OS, you will need to
506: read INSTALL.amd64.
507: </ul>
508:
509: <p>
510: <h3><font color="#e00000">OpenBSD/macppc:</font></h3>
511: <ul>
512: Put CD2 in your CDROM drive and poweron your machine while holding down the
513: <i>C</i> key until the display turns on and shows <i>OpenBSD/macppc boot</i>.
514:
515: <p>
516: Alternatively, at the Open Firmware prompt, enter <i>boot cd:,ofwboot
517: /4.0/macppc/bsd.rd</i>
518: </ul>
519:
520: <p>
521: <h3><font color="#e00000">OpenBSD/sparc:</font></h3>
522: <ul>
523: The 4.0 release of OpenBSD/sparc is located on CD3. To boot off of this CD you
524: can use one of the two commands listed below, depending on the version of your
525: ROM.
526:
527: <ul><pre>
528: ok <strong>boot cdrom 4.0/sparc/bsd.rd</strong>
529: or
530: > <strong>b sd(0,6,0)4.0/sparc/bsd.rd</strong>
531: </pre></ul>
532:
533: <p>
534: If your SPARC system does not have a CD drive, you can alternatively boot from floppy.
535: To do so you need to write <i>CD3:4.0/sparc/floppy40.fs</i> to a floppy.
536: For more information see <a href="faq/faq4.html#MkFlop">FAQ 4.3.1</a>.
537: To boot from the floppy use one of the two commands listed below,
538: depending on the version of your ROM.
539:
540: <ul><pre>
541: ok <strong>boot floppy</strong>
542: or
543: > <strong>b fd()</strong>
544: </pre></ul>
545:
546: <p>
547: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install
548: will most likely fail.
549:
550: <p>
551: If your SPARC system doesn't have a floppy drive nor a CD drive, you can either
552: setup a bootable tape, or install via network, as told in the
553: INSTALL.sparc file.
554: </ul>
555:
556: <p>
557: <h3><font color="#e00000">OpenBSD/sparc64:</font></h3>
558: <ul>
559: Put CD3 in your CDROM drive and type <i>boot cdrom</i>.
560:
561: <p>
562: If this doesn't work, or if you don't have a CDROM drive, you can write
563: <i>CD3:4.0/sparc64/floppy40.fs</i> or <i>CD3:4.0/sparc64/floppyB40.fs</i>
564: (depending on your machine) to a floppy and boot it with <i>boot
565: floppy</i>. Refer to INSTALL.sparc64 for details.
566:
567: <p>
568: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install
569: will most likely fail.
570:
571: <p>
572: You can also write <i>CD3:4.0/sparc64/miniroot40.fs</i> to the swap partition on
573: the disk and boot with <i>boot disk:b</i>.
574:
575: <p>
576: If nothing works, you can boot over the network as described in INSTALL.sparc64.
577: </ul>
578:
579: <p>
580: <h3><font color="#e00000">OpenBSD/alpha:</font></h3>
581: <ul>
582: <p>Write <i>FTP:4.0/alpha/floppy40.fs</i> or
583: <i>FTP:4.0/alpha/floppyB40.fs</i> (depending on your machine) to a diskette and
584: enter <i>boot dva0</i>. Refer to INSTALL.alpha for more details.
585:
586: <p>
587: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install
588: will most likely fail.
589:
590: </ul>
591:
592: <p>
593: <h3><font color="#e00000">OpenBSD/armish:</font></h3>
594: <ul>
595: <p>
1.67 drahn 596: After connecting a serial port, Thecus can boot directly from the network
597: either tftp or http. Configure the network using fconfig, reset,
598: then load bsd.rd, see INSTALL.armish for specific details.
599: IOData HDL-G can only boot from an EXT-2 parititon. Boot into linux
600: and copy 'boot' and bsd.rd into the first partition on wd0 (hda1)
601: then load and run bsd.rd, preserving the wd0i (hda1) ext2fs partition.
602: More details are available in INSTALL.armish.
1.1 david 603: </ul>
604:
605: <p>
606: <h3><font color="#e00000">OpenBSD/cats:</font></h3>
607: <ul>
608: <p>
609: After updating the firmware to at least ABLE 1.95 if necessary, boot
610: <i>FTP:4.0/cats/bsd.rd</i> from an ABLE-supported device (such as a CD-ROM
611: or an existing FFS or EXT2FS partition).
612: </ul>
613:
614: <p>
615: <h3><font color="#e00000">OpenBSD/hp300:</font></h3>
616: <ul>
617: <p>
618: Boot over the network by following the instructions in INSTALL.hp300.
619: </ul>
620:
621: <p>
622: <h3><font color="#e00000">OpenBSD/hppa:</font></h3>
623: <ul>
624: <p>
625: Boot over the network by following the instructions in INSTALL.hppa or the
626: <a href="hppa.html#install">hppa platform page</a>.
627: </ul>
628:
629: <p>
630: <h3><font color="#e00000">OpenBSD/luna88k:</font></h3>
631: <ul>
632: <p>
633: Copy bsd.rd to a Mach or UniOS partition, and boot it from the PROM.
634: Alternatively, you can create a bootable tape and boot from it. Refer to
635: the instructions in INSTALL.luna88k for more details.
636: </ul>
637:
638: <p>
639: <h3><font color="#e00000">OpenBSD/mac68k:</font></h3>
640: <ul>
641: <p>
642: Boot MacOS as normal and extract the Macside "BSD/Mac68k Booter" utility from
643: <i>FTP:4.0/mac68k/utils</i> onto your hard disk. Configure the "BSD/Mac68k
644: Booter" with the location of your bsd.rd kernel and boot into the installer.
645: Refer to the instructions in INSTALL.mac68k for more details.
646: </ul>
647:
648: <p>
649: <h3><font color="#e00000">OpenBSD/mvme68k:</font></h3>
650: <ul>
651: <p>
652: You can create a bootable installation tape or boot over the network.<br>
653: The network boot requires a MVME68K BUG version that supports the <i>NIOT</i>
654: and <i>NBO</i> debugger commands. Follow the instructions in INSTALL.mvme68k
655: for more details.
656: </ul>
657:
658: <p>
659: <h3><font color="#e00000">OpenBSD/mvme88k:</font></h3>
660: <ul>
661: <p>
662: You can create a bootable installation tape or boot over the network.<br>
663: The network boot requires a MVME88K BUG version that supports the <i>NIOT</i>
664: and <i>NBO</i> debugger commands. Follow the instructions in INSTALL.mvme88k
665: for more details.
666: </ul>
667:
668: <p>
669: <h3><font color="#e00000">OpenBSD/sgi:</font></h3>
670: <ul>
671: <p>
672: Burn cd40.iso on a CD-R, put it in the CD drive of your machine and
673: select <i>Install System Software</i> from the System Maintenance menu.
674:
675: <p>
676: If your machine doesn't have a CD drive, you can
677: setup a DHCP/tftp network server, and boot using "bootp()/bsd.rd".
678: Refer to the instructions in INSTALL.sgi for more details.
679: </ul>
680:
681: <p>
682: <h3><font color="#e00000">OpenBSD/vax:</font></h3>
683: <ul>
684: Boot over the network via mopbooting as described in INSTALL.vax.
685: </ul>
686:
687: <p>
688: <h3><font color="#e00000">OpenBSD/zaurus:</font></h3>
689: <ul>
690: <p>
691: Using the Linux built-in graphical ipkg installer, install the
692: openbsd40_arm.ipk package. Reboot, then run it. Read INSTALL.zaurus
693: for a few important details.
694: </ul>
695:
696: <p>
697: <h3><font color="#e00000">Notes about the source code:</font></h3>
698: <ul>
699: src.tar.gz contains a source archive starting at /usr/src. This file
700: contains everything you need except for the kernel sources, which are
701: in a separate archive. To extract:
702: <p>
703: <ul><pre>
704: # <strong>mkdir -p /usr/src</strong>
705: # <strong>cd /usr/src</strong>
706: # <strong>tar xvfz /tmp/src.tar.gz</strong>
707: </pre></ul>
708: <p>
709: sys.tar.gz contains a source archive starting at /usr/src/sys.
710: This file contains all the kernel sources you need to rebuild kernels.
711: To extract:
712: <p>
713: <ul><pre>
714: # <strong>mkdir -p /usr/src/sys</strong>
715: # <strong>cd /usr/src</strong>
716: # <strong>tar xvfz /tmp/sys.tar.gz</strong>
717: </pre></ul>
718: <p>
719: Both of these trees are a regular CVS checkout. Using these trees it
720: is possible to get a head-start on using the anoncvs servers as
721: described <a href="anoncvs.html">here</a>.
722: Using these files
723: results in a much faster initial CVS update than you could expect from
724: a fresh checkout of the full OpenBSD source tree.
725: <p>
726: </ul>
727:
728: <a name="upgrade"></a>
729: <hr>
730: <p>
731: <h3><font color="#0000e0">How to upgrade</font></h3>
732: <p>
733: If you already have an OpenBSD 3.9 system, and do not want to reinstall,
734: upgrade instructions and advice can be found in the
1.14 henning 735: <a href="faq/upgrade40.html">Upgrade Guide</a>.
1.1 david 736: <!-- XXX upgrade40.html -->
737:
738: <a name="ports"></a>
739: <hr>
740: <p>
741: <h3><font color="#0000e0">Ports Tree</font></h3>
742: <p>
743: A ports tree archive is also provided. To extract:
744: <p>
745: <ul><pre>
746: # <strong>cd /usr</strong>
747: # <strong>tar xvfz /tmp/ports.tar.gz</strong>
748: # <strong>cd ports</strong>
749: </pre></ul>
750: <p>
751: The <i>ports/</i> subdirectory is a checkout of the OpenBSD ports tree. Go
752: read the <a href="ports.html">ports</a> page
753: if you know nothing about ports
754: at this point. This text is not a manual of how to use ports.
755: Rather, it is a set of notes meant to kickstart the user on the
756: OpenBSD ports system.
757: <p>
758: The <i>ports/</i> directory represents a CVS (see the manpage for
759: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=cvs&apropos=0&sektion=1&manpath=OpenBSD+Current&arch=i386&format=html">
760: cvs(1)</a> if
761: you aren't familiar with CVS) checkout of our ports. As with our complete
762: source tree, our ports tree is available via anoncvs. So, in
763: order to keep current with it, you must make the <i>ports/</i> tree
764: available on a read-write medium and update the tree with a command
765: like:
766: <p>
767: <ul><pre>
768: # <strong>cd [portsdir]/; cvs -d anoncvs@server.openbsd.org:/cvs update -Pd -rOPENBSD_4_0</strong>
769: </pre></ul>
770: <p>
771: [Of course, you must replace the local directory and server name here
772: with the location of your ports collection and a nearby anoncvs
773: server.]
774: <p>
775: Note that most ports are available as packages through FTP. Updated
776: packages for the 4.0 release will be made available if problems arise.
777: <p>
778: If you're interested in seeing a port added, would like to help out, or just
779: would like to know more, the mailing list ports@openbsd.org is a good
780: place to know.
781: <p>
782:
783: <hr>
784: <a href="index.html"><img height="24" width="24" src="back.gif" border="0"
785: alt="OpenBSD"></a>
786: <a href="mailto:www@openbsd.org">www@openbsd.org</a>
787: <br><small>
1.70 ! ray 788: $OpenBSD: 40.html,v 1.69 2006/09/19 18:43:12 kettenis Exp $
1.1 david 789: </small>
790:
791: </body>
792: </html>