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