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