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