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