Annotation of www/34.html, Revision 1.6
1.1 david 1: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2: <html>
3: <head>
4: <title>OpenBSD 3.4 Release</title>
5: <link rev=made href="mailto:www@openbsd.org">
6: <meta name="resource-type" content="document">
7: <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
8: <meta name="description" content="OpenBSD 3.4">
9: <meta name="keywords" content="openbsd,main">
10: <meta name="distribution" content="global">
11: <meta name="copyright" content="This document copyright 2003 by OpenBSD.">
12: </head>
13:
14: <body bgcolor="#ffffff" text="#000000" link="#24248E">
15:
16: <a href="index.html">
17: <img alt="[OpenBSD]" height="30" width="141" hspace="24" src="images/smalltitle.gif" border="0"></a>
18: <hr>
19:
20: <p>
21: <a href="images/Hood.gif">
22: <img align="left" width="255" height="343" hspace="24"
23: src="images/Hood.gif" alt="OpenBSD 3.4 logo"></a>
24: <h2><font color="#0000e0">The OpenBSD 3.4 Release:</font></h2>
25: <p>
26:
27: Released Nov 1, 2003<br>
28: Copyright 1997-2003, Theo de Raadt.<br>
29: <font color="#e00000">ISBN 0-9731791-2-0</font>
30: <p>
31:
32: <a href="#new">What's New</a><br>
33: <a href="#install">How to install</a><br>
34: <a href="#ports">How to use the ports tree</a><br>
35: <a href="orders.html">Ordering a CD set</a><br>
36:
37: <p>
38: <h3><font color="#0000e0">
39: To get the files for this release:
40: <ul>
41: <li>Order a CDROM from our <a href="orders.html">ordering system</a>.
42: <li>See the information on <a href="ftp.html">The FTP page</a> for
43: a list of mirror machines.
44: <li>Go to the <font color="#e00000">pub/OpenBSD/3.4/</font> directory on
45: one of the mirror sites.
46: <li>Briefly read the rest of this document.
47: <li>Have a look at <a href="errata.html">The 3.4 Errata page</a> for a list
48: of bugs and workarounds.
49: <li>See a <a href="plus.html">detailed log of changes</a> between the
50: 3.3 and 3.4 releases.
51: </ul>
52: </font></h3>
53: <br clear=all>
54: <br>
55: <p>
56:
57: <strong>Note:</strong> All applicable copyrights and credits can be found
58: in the applicable file sources found in the files src.tar.gz, sys.tar.gz,
59: XF4.tar.gz, or in the files fetched via ports.tar.gz. The distribution
60: files used to build packages from the ports.tar.gz file are not included on
61: the CDROM because of lack of space.
62: <p>
63:
64: <a name="new"></a>
65: <hr>
66: <p>
67: <h3><font color="#0000e0">What's New</font></h3>
68: <p>
69: This is a partial list of new features and systems included in OpenBSD 3.4.
70: For a comprehensive list, see the <a href="plus.html">changelog</a> leading
71: to 3.4.
72: <p>
73:
74: <ul>
75:
76: <li>The i386 architecture has been switched to the ELF executable format.
77: <p>
78:
1.6 ! tedu 79: <li>Further W^X improvements, including support for the i386 architecture.
! 80: Native i386 binaries have their executable segments rearranged to support
! 81: isolating code from data.
1.1 david 82: <p>
83:
1.6 ! tedu 84: <li>ld.so on ELF platforms now loads libraries in a random order for
! 85: greater resistance to attacks. The i386 architecture also has libraries
! 86: mapped at random addresses. Along with W^X, these changes increase the
! 87: difficulty of successfully exploiting an application error, such as a
! 88: buffer overflow.
1.1 david 89: <p>
90:
91: <li>A static bounds checker has been added to the compiler to perform basic
1.4 avsm 92: checks on functions which accept buffers and sizes. The checker aims to
93: find common mistakes in the use of library functions such as
94: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=strlcpy">strlcpy(3)</a>
95: or <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=sscanf">sscanf(3)</a>
96: without emitting any false positives. Running it over the source and ports
97: trees revealed over a hundred real bugs, which were fixed and submitted back
98: to the original authors where possible.
1.1 david 99: <p>
100:
1.6 ! tedu 101: <li>Privilege separation has been implemented for the syslog daemon, making
! 102: it much more robust against future errors. The child which listens to
! 103: network traffic now runs as a normal user and chroots itself, while the
! 104: parent process tracks the state of the child and performs privileged
! 105: operations on its behalf.
1.1 david 106: <p>
107:
108: <li>Many unsafe string functions have been removed from the kernel and userland
1.6 ! tedu 109: utilities. This audit is one of the most comprehensive OpenBSD has ever
! 110: done, with thousands of occurrences of
1.4 avsm 111: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=strcpy">strcpy(3)</a> and
112: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=strcat">strcat(3)</a>
113: being replaced with safer, bounded alternatives such as
114: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=strlcpy">strlcpy(3)</a> and
115: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=strlcat">strlcat(3)</a>.
116:
1.1 david 117: <p>
118:
119: <li>Support for
120: <a href="http://www.research.ibm.com/trl/projects/security/ssp/">
121: ProPolice</a> stack protection in the kernel has been added.
122: <p>
123:
124: <li>Manual pages have been greatly cleaned up and improved.
125: <p>
126:
1.4 avsm 127: <li>The ports tree now supports building programs under
128: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=systrace">systrace(1)</a>,
1.6 ! tedu 129: preventing the possibility of applications harming the system at
! 130: compile-time via trojaned configuration scripts or otherwise.
1.1 david 131: <p>
132:
1.3 jason 133: <li>More licenses fixes, including the removal of the advertising clause
1.6 ! tedu 134: for large parts of the source tree.
! 135: <p>
! 136:
! 137: <li>Replacement of GNU diff, grep, and gzip with BSD licensed equivalents.
! 138: <p>
! 139:
! 140: <li>Addition of read-only support for NTFS file systems.
! 141: <p>
! 142:
! 143: <li>Reliability improvements to layered file systems, enabling NULLFS to
! 144: work again.
! 145: <p>
! 146:
! 147: <li>Improvements to the linux emulator enabling more applications to run.
! 148: <p>
! 149:
! 150: <li>Restructuring of Kerberos libraries for easier management.
1.3 jason 151: <p>
152:
1.1 david 153: <li>Over 2400 tested packages.
154: <p>
155:
156: <li>A large number of bug fixes, changes, and optimizations to our packet filter
157: including:
158: <ul>
159: <li>packet tagging
160: <li>stateful TCP normalization
161: <li>passive OS detection
162: <li>SYN proxy
163: <li>adaptive state timeouts
164: </ul>
165: <p>
166:
167: <li>The system includes the following major components from outside suppliers:
168: <ul>
1.2 david 169: <li>XFree86 4.3.0 (and i386 contains 3.3.X servers also, thus providing support
170: for all chipsets)
1.1 david 171: <li>Gcc 2.95.3 (+ patches)
172: <li>Perl 5.8.0 (+ patches)
173: <li>Apache 1.3.28, mod_ssl 2.8.15, DSO support (+ patches)
174: <li>OpenSSL 0.9.7beta3 (+ patches)
175: <li>Groff 1.15
176: <li>Sendmail 8.12.9
177: <li>Bind 9.2.2 (+ patches)
1.5 avsm 178: <li>Lynx 2.8.4rel.1 with HTTPS and IPv6 support (+ patches)
1.1 david 179: <li>Sudo 1.6.7p5
180: <li>Ncurses 5.2
181: <li>Latest KAME IPv6
182: <li>Heimdal 0.6rc1 (+ patches)
183: <li>Arla-current
184: <li>OpenSSH 3.7
185: </ul>
186: <p>
187:
188: <p>
189: <li>Many improvements for security and reliability (look for the red
190: print in the <a href="plus.html">complete changelog</a>).
191: <p>
192: <li> and much more.
193:
194: </ul>
195:
196: <a name="install"></a>
197: <hr>
198: <p>
199: <h3><font color="#0000e0">How to install</font></h3>
200: <p>
201: Following this are the instructions which you would have on a piece of
202: paper if you had purchased a CDROM set instead of doing an alternate
203: form of install. The instructions for doing an ftp (or other style
204: of) install are very similar; the CDROM instructions are left intact
205: so that you can see how much easier it would have been if you had
206: purchased a CDROM instead.
207: <p>
208:
209: <hr>
210: Please refer to the following files on the three CDROMs or ftp mirror for
211: extensive details on how to install OpenBSD 3.4 on your machine:
212: <p>
213: <ul>
214: <li> CD1:3.4/i386/INSTALL.i386
215: <p>
216: <li> CD2:3.4/macppc/INSTALL.macppc
217: <li> CD2:3.4/vax/INSTALL.vax
218: <p>
219: <li> CD3:3.4/sparc/INSTALL.sparc
220: <li> CD3:3.4/sparc64/INSTALL.sparc64
221: <p>
222: <li> FTP:.../OpenBSD/3.4/alpha/INSTALL.alpha
223: <li> FTP:.../OpenBSD/3.4/hp300/INSTALL.hp300
224: <li> FTP:.../OpenBSD/3.4/hppa/INSTALL.hppa
225: <li> FTP:.../OpenBSD/3.4/mac68k/INSTALL.mac68k
226: <li> FTP:.../OpenBSD/3.4/mvme68k/INSTALL.mvme68k
227: </ul>
228: <hr>
229:
230: <p>
231: Quick installer information for people familiar with OpenBSD, and the
232: use of the "disklabel -E" command. If you are at all confused when
233: installing OpenBSD, read the relevant INSTALL.* file as listed above!
234: <p>
235:
236: <h3><font color="#e00000">OpenBSD/i386:</font></h3>
237: <ul>
238: Play with your BIOS options to enable booting from a CD. The OpenBSD/i386
239: release is on CD1. If your BIOS does not support booting from CD, you will need
240: to create a boot floppy to install from. To create a boot floppy write
241: <i>CD1:3.4/i386/floppy34.fs</i> to a floppy and boot via the floppy drive.
242:
243: <p>
244: Use <i>CD1:3.4/i386/floppyB34.fs</i> instead for greater scsi controller
245: support, or <i>CD1:3.4/i386/floppyC34.fs</i> for better laptop support.
246:
247: <p>
1.2 david 248: If you are planning on dual booting OpenBSD with another OS, you will need to
249: read the included INSTALL.i386 document.
1.1 david 250:
251: <p>
252: To make a boot floppy under MS-DOS, use the "rawrite" utility located
1.2 david 253: at <i>CD:/3.4/tools/rawrite.exe</i>. To make the boot floppy under a Unix OS,
254: use the <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=
255: dd&sektion=1">dd(1)</a> utility. The following is an example usage of
256: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=dd&sektion=1">dd(1)
257: </a>, where the device could be "floppy", "rfd0c", or
258: "rfd0a".
1.1 david 259:
260: <ul><pre>
261: # <strong>dd if=<file> of=/dev/<device> bs=32k</strong>
262: </pre></ul>
263:
264: <p>
1.2 david 265: Make sure you use properly formatted perfect floppies with NO BAD BLOCKS or
266: your install will most likely fail. For more information on creating a boot
267: floppy and installing OpenBSD/i386 please refer to
268: <a href="faq/faq4.html#MkFlop">FAQ4.1</a>.
1.1 david 269: </ul>
270:
271: <p>
272: <h3><font color="#e00000">OpenBSD/macppc:</font></h3>
273: <ul>
274: Put the CD2 in your CDROM drive and poweron your machine while holding down the
275: <i>C</i> key until the display turns on and shows <i>OpenBSD/macppc boot</i>.
276:
277: <p>
278: Alternatively, at the Open Firmware prompt, enter <i>boot cd:,ofwboot
279: /3.4/macppc/bsd.rd</i>
280: </ul>
281:
282: <p>
283: <h3><font color="#e00000">OpenBSD/vax:</font></h3>
284: <ul>
285: Boot over the network via mopbooting as described in INSTALL.vax.
286: </ul>
287:
288: <p>
289: <h3><font color="#e00000">OpenBSD/sparc:</font></h3>
290: <ul>
1.2 david 291: The 3.4 release of OpenBSD/sparc is located on CD3. To boot off of this CD you
292: can use one of the two commands listed below, depending on the version of your
293: ROM.
1.1 david 294:
295: <ul><pre>
296: > <strong>boot cdrom 3.4/sparc/bsd.rd</strong>
297: or
298: > <strong>b sd(0,6,0)3.4/sparc/bsd.rd</strong>
299: </pre></ul>
300:
301: <p>
302: If your sparc does not have a CD drive, you can alternatively boot from floppy.
1.2 david 303: To do so you need to write "CD3:3.4/sparc/floppy34.fs" to a floppy.
304: For more information see <a href="faq/faq4.html#MkFlop">FAQ4.1</a>. To boot from
305: the floppy use one of the two commands listed below, depending on the version of
306: your ROM.
1.1 david 307:
308: <ul><pre>
309: > <strong>boot floppy</strong>
310: or
311: > <strong>boot fd()</strong>
312: </pre></ul>
313:
314: <p>
1.2 david 315: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install
316: will most likely fail.
1.1 david 317:
318: <p>
319: If your sparc doesn't have a floppy drive nor a CD drive, you can either
320: setup a bootable tape, or install via network, as told in the
321: INSTALL.sparc file.
322: </ul>
323:
324: <p>
325: <h3><font color="#e00000">OpenBSD/sparc64:</font></h3>
326: <ul>
327: Put the CD3 in your CDROM drive and type <i>boot cdrom</i>.
328:
329: <p>
330: If this doesn't work, or if you don't have a CDROM drive, you can write
331: <i>CD3:3.4/sparc64/floppy34.fs</i> to a floppy and boot it with <i>boot
332: floppy</i>.<br>
1.2 david 333: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install
334: will most likely fail.
1.1 david 335:
336: <p>
337: You can also write <i>CD3:3.4/sparc64/miniroot34.fs</i> to the swap partition on
338: the disk and boot with <i>boot disk:b</i>.
339:
340: <p>
341: If nothing works, you can boot over the network as described in INSTALL.sparc64
342: </ul>
343:
344: <p>
345: <h3><font color="#e00000">OpenBSD/alpha:</font></h3>
346: <ul>
347: <p>Write <i>FTP:3.4/alpha/floppy34.fs</i> or
348: <i>FTP:3.4/alpha/floppyB34.fs</i> (depending on your machine) to a diskette and
349: enter <i>boot dva0</i>. Refer to INSTALL.alpha for more details.
350:
351: <p>
1.2 david 352: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install
353: will most likely fail.
1.1 david 354:
355: </ul>
356:
357: <p>
358: <h3><font color="#e00000">OpenBSD/hp300:</font></h3>
359: <ul>
360: <p>
361: Boot over the network by following the instructions in INSTALL.hp300.
362: </ul>
363:
364: <p>
365: <h3><font color="#e00000">OpenBSD/hppa:</font></h3>
366: <ul>
367: <p>
368: Boot over the network by following the instructions in INSTALL.hppa or the
369: <a href="hppa.html#netboot">hppa platform page</a>.
370: </ul>
371:
372: <p>
373: <h3><font color="#e00000">OpenBSD/mac68k:</font></h3>
374: <ul>
375: <p>
376: Boot MacOS as normal and partition your disk with the appropriate A/UX
377: configurations. Then, extract the Macside utilities from
378: <i>FTP:3.4/mac68k/utils</i> onto your hard disk. Run Mkfs to create your
379: filesystems on the A/UX partitions you just made. Then, use the
380: "BSD/Mac68k Installer" to copy all the sets in <i>FTP:3.4/mac68k/</i> onto your
381: partitions. Finally, you will be ready to configure the "BSD/Mac68k
382: Booter" with the location of your kernel and boot the system.
383: </ul>
384:
385: <p>
386: <h3><font color="#e00000">OpenBSD/mvme68k:</font></h3>
387: <ul>
388: <p>
389: You can create a bootable installation tape or boot over the network.<br>
390: The network boot requires a MVME68K BUG version that supports the <i>NIOT</i>
391: and <i>NBO</i> debugger commands. Follow the instructions in INSTALL.mvme68k
392: for more details.
393: </ul>
394:
395: <p>
396: <h3><font color="#e00000">Notes about the source code:</font></h3>
397: <ul>
398: src.tar.gz contains a source archive starting at /usr/src. This file
399: contains everything you need except for the kernel sources, which are
400: in a separate archive. To extract:
401: <p>
402: <ul><pre>
403: # <strong>mkdir -p /usr/src</strong>
404: # <strong>cd /usr/src</strong>
405: # <strong>tar xvfz /tmp/src.tar.gz</strong>
406: </pre></ul>
407: <p>
408: sys.tar.gz contains a source archive starting at /usr/src/sys.
409: This file contains all the kernel sources you need to rebuild kernels.
410: To extract:
411: <p>
412: <ul><pre>
413: # <strong>mkdir -p /usr/src/sys</strong>
414: # <strong>cd /usr/src</strong>
415: # <strong>tar xvfz /tmp/sys.tar.gz</strong>
416: </pre></ul>
417: <p>
418: Both of these trees are a regular CVS checkout. Using these trees it
419: is possible to get a head-start on using the anoncvs servers as
420: described <a href="anoncvs.html">here</a>.
421: Using these files
422: results in a much faster initial CVS update than you could expect from
423: a fresh checkout of the full OpenBSD source tree.
424: <p>
425: </ul>
426: <a name="ports"></a>
427: <hr>
428: <p>
429: <h3><font color="#0000e0">Ports Tree</font></h3>
430: <p>
431: A ports tree archive is also provided. To extract:
432: <p>
433: <ul><pre>
434: # <strong>cd /usr</strong>
435: # <strong>tar xvfz /tmp/ports.tar.gz</strong>
436: # <strong>cd ports</strong>
437: </pre></ul>
438: <p>
439: The <i>ports/</i> subdirectory is a checkout of the OpenBSD ports tree. Go
440: read the <a href="ports.html">ports</a> page
441: if you know nothing about ports
442: at this point. This text is not a manual of how to use ports.
443: Rather, it is a set of notes meant to kickstart the user on the
444: OpenBSD ports system.
445: <p>
446: Certainly, the OpenBSD ports system is not complete. It is doubtful it
447: will ever be. However, it is growing very fast and getting more stable.
448: Almost all ports provided with this release should build without problems
449: on most architectures (over 2400 packages build on i386, for instance).
450: <p>
451: The <i>ports/</i> directory represents a CVS (see the manpage for
452: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=cvs&apropos=0&sektion=1&manpath=OpenBSD+Current&arch=i386&format=html">
453: cvs(1)</a> if
454: you aren't familiar with CVS) checkout of our ports. As with our complete
455: source tree, our ports tree is available via anoncvs. So, in
456: order to keep current with it, you must make the <i>ports/</i> tree
457: available on a read-write medium and update the tree with a command
458: like:
459: <p>
460: <ul><pre>
461: # <strong>cd [portsdir]/; cvs -d anoncvsserver.openbsd.org:/cvs update -Pd -rOPENBSD_3_4</strong>
462: </pre></ul>
463: <p>
464: [Of course, you must replace the local directory and server name here
465: with the location of your ports collection and a nearby anoncvs
466: server.]
467: <p>
468: Note that most ports are available as packages through ftp. Updated
469: packages for the 3.4 release will be made available if problems arise.
470: <p>
471: If you're interested in seeing a port added, would like to help out, or just
472: would like to know more, the mailing list ports@openbsd.org is a good
473: place to know.
474: <p>
475:
476: <hr>
477: <a href="index.html"><img height="24" width="24" src="back.gif" border="0"
478: alt="OpenBSD"></a>
479: <a href="mailto:www@openbsd.org">www@openbsd.org</a>
480: <br><small>
1.6 ! tedu 481: $OpenBSD: 34.html,v 1.5 2003/09/04 05:04:08 avsm Exp $
1.1 david 482: </small>
483:
484: </body>
485: </html>