Annotation of www/34.html, Revision 1.12
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
1.8 david 43: a list of mirror machines.
1.1 david 44: <li>Go to the <font color="#e00000">pub/OpenBSD/3.4/</font> directory on
1.8 david 45: one of the mirror sites.
1.1 david 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
1.8 david 48: of bugs and workarounds.
1.1 david 49: <li>See a <a href="plus.html">detailed log of changes</a> between the
1.8 david 50: 3.3 and 3.4 releases.
1.1 david 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
1.8 david 93: find common mistakes in the use of library functions such as
1.4 avsm 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.12 ! deraadt 111: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=strcpy">strcpy(3)</a>,
! 112: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=strcat">strcat(3)</a>,
! 113: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=sprintf">sprintf(3)</a>,
1.8 david 114: and
1.12 ! deraadt 115: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=vsprintf">vsprintf(3)</a>
1.4 avsm 116: being replaced with safer, bounded alternatives such as
1.12 ! deraadt 117: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=strlcpy">strlcpy(3)</a>,
! 118: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=strlcat">strlcat(3)</a>,
! 119: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=snprintf">snprintf(3)</a>,
! 120: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=vsnprintf">vsnprintf(3)</a>,
! 121: and
! 122: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=asprintf">asprintf(3)</a>.
1.1 david 123: <p>
124:
125: <li>Support for
126: <a href="http://www.research.ibm.com/trl/projects/security/ssp/">
127: ProPolice</a> stack protection in the kernel has been added.
128: <p>
129:
130: <li>Manual pages have been greatly cleaned up and improved.
131: <p>
132:
1.8 david 133: <li>The ports tree now supports building programs under
134: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=systrace">
135: systrace(1)</a>, preventing the possibility of applications harming the
136: system at compile-time via trojaned configuration scripts or otherwise.
1.1 david 137: <p>
138:
1.3 jason 139: <li>More licenses fixes, including the removal of the advertising clause
1.6 tedu 140: for large parts of the source tree.
141: <p>
142:
1.11 deraadt 143: <li>Replacement of GNU diff/diff3, grep/egrep/fgrep/zgrep/zegrep/zfgrep,
144: and gzip/zcat/gunzip/gzcat/zcmp/zmore/zdiff/zforce/gzexe/znew
145: with BSD licensed equivalents.
1.6 tedu 146: <p>
147:
148: <li>Addition of read-only support for NTFS file systems.
149: <p>
150:
151: <li>Reliability improvements to layered file systems, enabling NULLFS to
152: work again.
153: <p>
154:
155: <li>Improvements to the linux emulator enabling more applications to run.
156: <p>
157:
158: <li>Restructuring of Kerberos libraries for easier management.
1.3 jason 159: <p>
160:
1.1 david 161: <li>Over 2400 tested packages.
162: <p>
163:
164: <li>A large number of bug fixes, changes, and optimizations to our packet filter
165: including:
166: <ul>
1.9 dhartmei 167: <li>packet tagging (e.g. filter on tags added by bridge based on MAC address)
1.10 frantzen 168: <li>stateful TCP normalization (prevent uptime calculation and NAT detection)
1.9 dhartmei 169: <li>passive OS detection (filter or redirect connections based on source OS)
170: <li>SYN proxy (protect servers against SYN flood attacks)
171: <li>adaptive state timeouts (prevent state table overflows under attack)
1.1 david 172: </ul>
173: <p>
174:
175: <li>The system includes the following major components from outside suppliers:
176: <ul>
1.7 david 177: <li>XFree86 4.3.0 (+ patches, and i386 contains 3.3.X servers also, thus
178: providing support for all chipsets)
1.1 david 179: <li>Gcc 2.95.3 (+ patches)
180: <li>Perl 5.8.0 (+ patches)
181: <li>Apache 1.3.28, mod_ssl 2.8.15, DSO support (+ patches)
182: <li>OpenSSL 0.9.7beta3 (+ patches)
183: <li>Groff 1.15
184: <li>Sendmail 8.12.9
185: <li>Bind 9.2.2 (+ patches)
1.5 avsm 186: <li>Lynx 2.8.4rel.1 with HTTPS and IPv6 support (+ patches)
1.1 david 187: <li>Sudo 1.6.7p5
188: <li>Ncurses 5.2
189: <li>Latest KAME IPv6
190: <li>Heimdal 0.6rc1 (+ patches)
191: <li>Arla-current
192: <li>OpenSSH 3.7
193: </ul>
194: <p>
195:
196: <p>
197: <li>Many improvements for security and reliability (look for the red
198: print in the <a href="plus.html">complete changelog</a>).
199: <p>
200: <li> and much more.
201:
202: </ul>
203:
204: <a name="install"></a>
205: <hr>
206: <p>
207: <h3><font color="#0000e0">How to install</font></h3>
208: <p>
209: Following this are the instructions which you would have on a piece of
210: paper if you had purchased a CDROM set instead of doing an alternate
211: form of install. The instructions for doing an ftp (or other style
212: of) install are very similar; the CDROM instructions are left intact
213: so that you can see how much easier it would have been if you had
214: purchased a CDROM instead.
215: <p>
216:
217: <hr>
218: Please refer to the following files on the three CDROMs or ftp mirror for
219: extensive details on how to install OpenBSD 3.4 on your machine:
220: <p>
221: <ul>
1.8 david 222: <li>CD1:3.4/i386/INSTALL.i386
1.1 david 223: <p>
1.8 david 224: <li>CD2:3.4/macppc/INSTALL.macppc
225: <li>CD2:3.4/vax/INSTALL.vax
1.1 david 226: <p>
1.8 david 227: <li>CD3:3.4/sparc/INSTALL.sparc
228: <li>CD3:3.4/sparc64/INSTALL.sparc64
1.1 david 229: <p>
1.8 david 230: <li>FTP:.../OpenBSD/3.4/alpha/INSTALL.alpha
231: <li>FTP:.../OpenBSD/3.4/hp300/INSTALL.hp300
232: <li>FTP:.../OpenBSD/3.4/hppa/INSTALL.hppa
233: <li>FTP:.../OpenBSD/3.4/mac68k/INSTALL.mac68k
234: <li>FTP:.../OpenBSD/3.4/mvme68k/INSTALL.mvme68k
1.1 david 235: </ul>
236: <hr>
237:
238: <p>
239: Quick installer information for people familiar with OpenBSD, and the
240: use of the "disklabel -E" command. If you are at all confused when
241: installing OpenBSD, read the relevant INSTALL.* file as listed above!
242: <p>
243:
244: <h3><font color="#e00000">OpenBSD/i386:</font></h3>
245: <ul>
246: Play with your BIOS options to enable booting from a CD. The OpenBSD/i386
247: release is on CD1. If your BIOS does not support booting from CD, you will need
248: to create a boot floppy to install from. To create a boot floppy write
249: <i>CD1:3.4/i386/floppy34.fs</i> to a floppy and boot via the floppy drive.
250:
251: <p>
252: Use <i>CD1:3.4/i386/floppyB34.fs</i> instead for greater scsi controller
253: support, or <i>CD1:3.4/i386/floppyC34.fs</i> for better laptop support.
254:
255: <p>
1.2 david 256: If you are planning on dual booting OpenBSD with another OS, you will need to
257: read the included INSTALL.i386 document.
1.1 david 258:
259: <p>
260: To make a boot floppy under MS-DOS, use the "rawrite" utility located
1.2 david 261: at <i>CD:/3.4/tools/rawrite.exe</i>. To make the boot floppy under a Unix OS,
262: use the <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=
263: dd&sektion=1">dd(1)</a> utility. The following is an example usage of
264: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=dd&sektion=1">dd(1)
265: </a>, where the device could be "floppy", "rfd0c", or
266: "rfd0a".
1.1 david 267:
268: <ul><pre>
269: # <strong>dd if=<file> of=/dev/<device> bs=32k</strong>
270: </pre></ul>
271:
272: <p>
1.2 david 273: Make sure you use properly formatted perfect floppies with NO BAD BLOCKS or
274: your install will most likely fail. For more information on creating a boot
275: floppy and installing OpenBSD/i386 please refer to
276: <a href="faq/faq4.html#MkFlop">FAQ4.1</a>.
1.1 david 277: </ul>
278:
279: <p>
280: <h3><font color="#e00000">OpenBSD/macppc:</font></h3>
281: <ul>
282: Put the CD2 in your CDROM drive and poweron your machine while holding down the
283: <i>C</i> key until the display turns on and shows <i>OpenBSD/macppc boot</i>.
284:
285: <p>
286: Alternatively, at the Open Firmware prompt, enter <i>boot cd:,ofwboot
287: /3.4/macppc/bsd.rd</i>
288: </ul>
289:
290: <p>
291: <h3><font color="#e00000">OpenBSD/vax:</font></h3>
292: <ul>
293: Boot over the network via mopbooting as described in INSTALL.vax.
294: </ul>
295:
296: <p>
297: <h3><font color="#e00000">OpenBSD/sparc:</font></h3>
298: <ul>
1.2 david 299: The 3.4 release of OpenBSD/sparc is located on CD3. To boot off of this CD you
300: can use one of the two commands listed below, depending on the version of your
301: ROM.
1.1 david 302:
303: <ul><pre>
1.8 david 304: > <strong>boot cdrom 3.4/sparc/bsd.rd</strong>
1.1 david 305: or
1.8 david 306: > <strong>boot sd(0,6,0)3.4/sparc/bsd.rd</strong>
1.1 david 307: </pre></ul>
308:
309: <p>
310: If your sparc does not have a CD drive, you can alternatively boot from floppy.
1.2 david 311: To do so you need to write "CD3:3.4/sparc/floppy34.fs" to a floppy.
312: For more information see <a href="faq/faq4.html#MkFlop">FAQ4.1</a>. To boot from
313: the floppy use one of the two commands listed below, depending on the version of
314: your ROM.
1.1 david 315:
316: <ul><pre>
1.8 david 317: > <strong>boot floppy</strong>
1.1 david 318: or
1.8 david 319: > <strong>boot fd()</strong>
1.1 david 320: </pre></ul>
321:
322: <p>
1.2 david 323: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install
324: will most likely fail.
1.1 david 325:
326: <p>
327: If your sparc doesn't have a floppy drive nor a CD drive, you can either
328: setup a bootable tape, or install via network, as told in the
329: INSTALL.sparc file.
330: </ul>
331:
332: <p>
333: <h3><font color="#e00000">OpenBSD/sparc64:</font></h3>
334: <ul>
335: Put the CD3 in your CDROM drive and type <i>boot cdrom</i>.
336:
337: <p>
338: If this doesn't work, or if you don't have a CDROM drive, you can write
339: <i>CD3:3.4/sparc64/floppy34.fs</i> to a floppy and boot it with <i>boot
340: floppy</i>.<br>
1.2 david 341: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install
342: will most likely fail.
1.1 david 343:
344: <p>
345: You can also write <i>CD3:3.4/sparc64/miniroot34.fs</i> to the swap partition on
346: the disk and boot with <i>boot disk:b</i>.
347:
348: <p>
349: If nothing works, you can boot over the network as described in INSTALL.sparc64
350: </ul>
351:
352: <p>
353: <h3><font color="#e00000">OpenBSD/alpha:</font></h3>
354: <ul>
355: <p>Write <i>FTP:3.4/alpha/floppy34.fs</i> or
356: <i>FTP:3.4/alpha/floppyB34.fs</i> (depending on your machine) to a diskette and
357: enter <i>boot dva0</i>. Refer to INSTALL.alpha for more details.
358:
359: <p>
1.2 david 360: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install
361: will most likely fail.
1.1 david 362:
363: </ul>
364:
365: <p>
366: <h3><font color="#e00000">OpenBSD/hp300:</font></h3>
367: <ul>
368: <p>
369: Boot over the network by following the instructions in INSTALL.hp300.
370: </ul>
371:
372: <p>
373: <h3><font color="#e00000">OpenBSD/hppa:</font></h3>
374: <ul>
375: <p>
376: Boot over the network by following the instructions in INSTALL.hppa or the
377: <a href="hppa.html#netboot">hppa platform page</a>.
378: </ul>
379:
380: <p>
381: <h3><font color="#e00000">OpenBSD/mac68k:</font></h3>
382: <ul>
383: <p>
384: Boot MacOS as normal and partition your disk with the appropriate A/UX
385: configurations. Then, extract the Macside utilities from
386: <i>FTP:3.4/mac68k/utils</i> onto your hard disk. Run Mkfs to create your
387: filesystems on the A/UX partitions you just made. Then, use the
388: "BSD/Mac68k Installer" to copy all the sets in <i>FTP:3.4/mac68k/</i> onto your
389: partitions. Finally, you will be ready to configure the "BSD/Mac68k
390: Booter" with the location of your kernel and boot the system.
391: </ul>
392:
393: <p>
394: <h3><font color="#e00000">OpenBSD/mvme68k:</font></h3>
395: <ul>
396: <p>
397: You can create a bootable installation tape or boot over the network.<br>
398: The network boot requires a MVME68K BUG version that supports the <i>NIOT</i>
399: and <i>NBO</i> debugger commands. Follow the instructions in INSTALL.mvme68k
400: for more details.
401: </ul>
402:
403: <p>
404: <h3><font color="#e00000">Notes about the source code:</font></h3>
405: <ul>
406: src.tar.gz contains a source archive starting at /usr/src. This file
407: contains everything you need except for the kernel sources, which are
408: in a separate archive. To extract:
409: <p>
410: <ul><pre>
411: # <strong>mkdir -p /usr/src</strong>
412: # <strong>cd /usr/src</strong>
413: # <strong>tar xvfz /tmp/src.tar.gz</strong>
414: </pre></ul>
415: <p>
416: sys.tar.gz contains a source archive starting at /usr/src/sys.
417: This file contains all the kernel sources you need to rebuild kernels.
418: To extract:
419: <p>
420: <ul><pre>
421: # <strong>mkdir -p /usr/src/sys</strong>
422: # <strong>cd /usr/src</strong>
423: # <strong>tar xvfz /tmp/sys.tar.gz</strong>
424: </pre></ul>
425: <p>
426: Both of these trees are a regular CVS checkout. Using these trees it
427: is possible to get a head-start on using the anoncvs servers as
428: described <a href="anoncvs.html">here</a>.
429: Using these files
430: results in a much faster initial CVS update than you could expect from
431: a fresh checkout of the full OpenBSD source tree.
432: <p>
433: </ul>
434: <a name="ports"></a>
435: <hr>
436: <p>
437: <h3><font color="#0000e0">Ports Tree</font></h3>
438: <p>
439: A ports tree archive is also provided. To extract:
440: <p>
441: <ul><pre>
442: # <strong>cd /usr</strong>
443: # <strong>tar xvfz /tmp/ports.tar.gz</strong>
444: # <strong>cd ports</strong>
445: </pre></ul>
446: <p>
447: The <i>ports/</i> subdirectory is a checkout of the OpenBSD ports tree. Go
448: read the <a href="ports.html">ports</a> page
449: if you know nothing about ports
450: at this point. This text is not a manual of how to use ports.
451: Rather, it is a set of notes meant to kickstart the user on the
452: OpenBSD ports system.
453: <p>
454: Certainly, the OpenBSD ports system is not complete. It is doubtful it
455: will ever be. However, it is growing very fast and getting more stable.
456: Almost all ports provided with this release should build without problems
457: on most architectures (over 2400 packages build on i386, for instance).
458: <p>
459: The <i>ports/</i> directory represents a CVS (see the manpage for
460: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=cvs&apropos=0&sektion=1&manpath=OpenBSD+Current&arch=i386&format=html">
461: cvs(1)</a> if
462: you aren't familiar with CVS) checkout of our ports. As with our complete
463: source tree, our ports tree is available via anoncvs. So, in
464: order to keep current with it, you must make the <i>ports/</i> tree
465: available on a read-write medium and update the tree with a command
466: like:
467: <p>
468: <ul><pre>
469: # <strong>cd [portsdir]/; cvs -d anoncvsserver.openbsd.org:/cvs update -Pd -rOPENBSD_3_4</strong>
470: </pre></ul>
471: <p>
472: [Of course, you must replace the local directory and server name here
473: with the location of your ports collection and a nearby anoncvs
474: server.]
475: <p>
476: Note that most ports are available as packages through ftp. Updated
477: packages for the 3.4 release will be made available if problems arise.
478: <p>
479: If you're interested in seeing a port added, would like to help out, or just
480: would like to know more, the mailing list ports@openbsd.org is a good
481: place to know.
482: <p>
483:
484: <hr>
485: <a href="index.html"><img height="24" width="24" src="back.gif" border="0"
486: alt="OpenBSD"></a>
487: <a href="mailto:www@openbsd.org">www@openbsd.org</a>
488: <br><small>
1.12 ! deraadt 489: $OpenBSD: 34.html,v 1.11 2003/09/04 16:24:30 deraadt Exp $
1.1 david 490: </small>
491:
492: </body>
493: </html>