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