Annotation of www/32.html, Revision 1.30
1.20 jufi 1: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
1.1 miod 2: <html>
3: <head>
1.29 deraadt 4: <title>OpenBSD 3.2</title>
1.1 miod 5: <meta name="resource-type" content="document">
1.21 jufi 6: <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
1.1 miod 7: <meta name="description" content="OpenBSD 3.2">
8: <meta name="keywords" content="openbsd,main">
9: <meta name="distribution" content="global">
10: <meta name="copyright" content="This document copyright 1999-2002 by OpenBSD.">
11: </head>
12:
1.24 david 13: <body bgcolor="#ffffff" text="#000000" link="#24248e">
1.1 miod 14:
1.17 jufi 15: <a href="index.html">
16: <img alt="[OpenBSD]" height="30" width="141" hspace="24" src="images/smalltitle.gif" border="0"></a>
1.1 miod 17: <hr>
18:
19: <p>
1.29 deraadt 20: <a href="images/MrPond.gif">
21: <img align="left" width="255" height="323" hspace="24"
22: src="images/MrPond.gif" alt="MrPond.gif"></a>
23: <h2><font color="#0000e0">OpenBSD 3.2</font></h2>
1.1 miod 24: <p>
25: Released November 1, 2002<br>
26: Copyright 1997-2002, Theo de Raadt.<br>
27: <font color="#e00000">ISBN 0-9731791-0-4</font>
1.25 deraadt 28: <br>
29: <a href="lyrics.html#32">3.2 Song: "Goldflipper"</a>
1.1 miod 30: <p>
31: <ul>
1.17 jufi 32: <li>Order a CDROM from our <a href="orders.html">ordering system</a>.
1.1 miod 33: <li>See the information on <a href="ftp.html">The FTP page</a> for
34: a list of mirror machines.
35: <li>Go to the <font color="#e00000">pub/OpenBSD/3.2/</font> directory on
36: one of the mirror sites.
37: <li>Briefly read the rest of this document.
1.23 deraadt 38: <li>Have a look at <a href="errata32.html">The 3.2 Errata page</a> for a list
1.1 miod 39: of bugs and workarounds.
1.15 miod 40: <li>See a <a href="plus32.html">detailed log of changes</a> between the
1.1 miod 41: 3.1 and 3.2 releases.
42: </ul>
43: <br clear=all>
1.30 ! deraadt 44: <p>
1.29 deraadt 45: All applicable copyrights and credits can be found in the applicable
46: file sources found in the files src.tar.gz, sys.tar.gz,
47: xenocara.tar.gz, or in the files fetched via ports.tar.gz. The
48: distribution files used to build packages from the ports.tar.gz file
49: are not included on the CDROM because of lack of space.
1.1 miod 50: <p>
51:
52: <a name="new"></a>
53: <hr>
54: <p>
55: <h3><font color="#0000e0">What's New</font></h3>
56: <p>
57: This is a partial list of new features and systems included in OpenBSD 3.2.
1.15 miod 58: For a comprehensive list, see the <a href="plus32.html">changelog</a> leading
1.1 miod 59: to 3.2.
60: <p>
61:
62: <ul>
63: <li><a href="http://www.OpenSSH.com">OpenSSH</a> (supporting both the
1.2 mpech 64: SSH1 and SSH2 protocols) is now at version 3.5. Privilege separation is
1.1 miod 65: now enabled by default for greater robustness.
66: <p>
67:
1.12 deraadt 68: <li>Non-executable stack on i386, sparc, sparc64, alpha, powerpc.
69: No-exec data and bss on sparc, sparc64, and alpha. This makes some
70: classes of future potential buffer overflows unexploitable.
71: <p>
72:
73: <li>Apache runs chroot'd by default. To disable this, see the new <b>-u</b>
74: option.
75: <p>
76:
1.13 deraadt 77: <li>A very significant reduction in setuid binaries. Many of those binaries
78: which still retain setuid have been modified so the operations needing root
1.14 deraadt 79: are done early on, and then privilege is revoked immediately after that.
1.13 deraadt 80: <p>
81:
1.11 deraadt 82: <li>Asymmetric and symmetric hardware encryption support is now enabled by
1.10 deraadt 83: default, if you have such devices in your machine.
84: <p>
85:
1.1 miod 86: <li>As usual, improvements to the documentation, notably the man pages and
87: the Web FAQ. A larger part of the website is now available in several
88: languages.
89: <p>
90:
91: <li>More complete collection and better tested set of "ports".
1.16 pvalchev 92: setuid/setgid ports have been significantly reduced as well. Many of the
93: ones that remain setuid have been modified to revoke privileges as early
94: as possible.
1.1 miod 95: <p>
96:
1.16 pvalchev 97: <li>Over 1800 pre-built and tested packages.
1.1 miod 98: <p>
99:
100: <li>Better video and X11 support for the
101: <a href="sparc.html">OpenBSD/sparc</a>,
102: <a href="sparc64.html">OpenBSD/sparc64</a> and
103: <a href="alpha.html">OpenBSD/alpha</a> ports.
104: <p>
105:
106: <li>A lot of enhancements and stability improvements to our packet filter, <a
1.21 jufi 107: href="http://www.openbsd.org/cgi-bin/man.cgi?query=pf&sektion=4">pf</a>,
1.19 miod 108: including:
1.8 henning 109: <ul>
110: <li>new "antispoof" keyword: spoofing protection made easy
111: <li>much simplified rule file language
112: <li>extended filtering capabilities
113: <li>control state table entries on a per-rule granularity
114: <li>support dynamic interface expansion. No more need to reload the ruleset
115: on IP changes.
116: </ul>
1.1 miod 117: <p>
118:
119: <li>A new tool,
1.21 jufi 120: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=systrace&sektion=4">systrace</a>,
1.1 miod 121: for controlling in detail applications behaviour and rights at the system call
122: level.
1.7 jufi 123: <p>
1.1 miod 124:
125: <li>The system includes the following major components from outside suppliers:
126: <p>
127: <ul>
1.20 jufi 128: <li>XFree86 4.2.1 (and i386 contains 3.3.X servers also, thus providing support for all chipsets)
129: <li>gcc 2.95.3 (+ patches)
130: <li>perl 5.6.1 (+ patches)
131: <li>Apache 1.3.26, mod_ssl 2.8.10, DSO support
132: <li>OpenSSL 0.9.7beta3 (+ patches)
133: <li>groff 1.15
134: <li>sendmail 8.12.6
135: <li>lynx 2.8.2rel.1 with HTTPS support added
136: <li>sudo 1.6.6
137: <li>ncurses 5.2
138: <li>Latest KAME IPv6
139: <li>KTH Kerberos 1.0.8
140: <li>Heimdal 0.4e (+ patches)
141: <li>OpenSSH 3.5
1.1 miod 142: </ul>
143: <p>
144:
145: <li>Many improvements for security and reliability (look for the red
1.15 miod 146: print in the <a href="plus32.html">complete changelog</a>).
1.1 miod 147: <p>
148: </ul>
149:
150: <a name="install"></a>
151: <hr>
152: <p>
153: <h3><font color="#0000e0">How to install</font></h3>
154: <p>
155: Following this are the instructions which you would have on a piece of
156: paper if you had purchased a CDROM set instead of doing an alternate
157: form of install. The instructions for doing an ftp (or other style
158: of) install are very similar; the CDROM instructions are left intact
159: so that you can see how much easier it would have been if you had
160: purchased a CDROM instead.
161: <p>
162:
163: <hr>
164: Please refer to the following files on the three CDROMs for extensive
165: details on how to install OpenBSD 3.2 on your machine:
166: <p>
167: <ul>
1.20 jufi 168: <li> CD1:3.2/i386/INSTALL.i386
169: <li> CD1:3.2/alpha/INSTALL.alpha
1.1 miod 170: <p>
1.20 jufi 171: <li> CD2:3.2/macppc/INSTALL.macppc
172: <li> CD2:3.2/vax/INSTALL.vax
1.1 miod 173: <p>
1.20 jufi 174: <li> CD3:3.2/sparc/INSTALL.sparc
175: <li> CD3:3.2/sparc64/INSTALL.sparc64
1.1 miod 176: </ul>
177: <hr>
178:
179: <p>
180: Quick installer information for people familiar with OpenBSD, and the
181: use of the "disklabel -E" command. If you are at all confused when
182: installing OpenBSD, read the relevant INSTALL.* file as listed above!
183: <p>
184:
185: <h3><font color="#e00000">OpenBSD/i386:</font></h3>
186: <ul>
187: Play with your BIOS options to enable booting from a CD. The OpenBSD/i386
188: release is on CD1. If your BIOS does not support booting from CD, you will need
189: to create a boot floppy to install from. To create a boot floppy write
1.3 jufi 190: <i>CD1:3.2/i386/floppy32.fs</i> to a floppy and boot via the floppy drive.
1.1 miod 191:
192: <p>
1.3 jufi 193: Use <i>CD1:3.2/i386/floppyB32.fs</i> instead for greater scsi controller
194: support, or <i>CD1:3.2/i386/floppyC32.fs</i> for better laptop support.
1.1 miod 195:
196: <p>
197: If you are planning on dual booting OpenBSD with another OS, you will need to read the included INSTALL.i386 document.
198:
199: <p>
200: To make a boot floppy under MS-DOS, use the "rawrite" utility located
1.21 jufi 201: at <i>CD:/3.2/tools/rawrite.exe</i>. To make the boot floppy under a Unix OS, use the <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=dd&sektion=1">dd(1)</a> utility. The following is an example usage of <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=dd&sektion=1">dd(1)</a>, where the device could be "floppy", "rfd0c", or "rfd0a".
1.1 miod 202:
203: <ul><pre>
204: # <strong>dd if=<file> of=/dev/<device> bs=32k</strong>
205: </pre></ul>
206:
207: <p>
208: Make sure you use properly formatted perfect floppies with NO BAD BLOCKS or your install will most likely fail. For more information on creating a boot floppy and installing OpenBSD/i386 please refer to <a href="faq/faq4.html#4.1">FAQ4.1</a>.
209: </ul>
210:
211: <p>
212: <h3><font color="#e00000">OpenBSD/alpha:</font></h3>
213: <ul>
214: At the SRM prompt, enter <i>boot -fi 3.2/alpha/bsd.rd dka6</i> where <i>dka6</i>
215: is the short name for the CDROM drive (you can check with <i>show dev</i>).
216:
1.3 jufi 217: <p>If you can't boot from CDROM, write <i>CD1:3.2/alpha/floppy32.fs</i> or
218: <i>CD1:3.2/alpha/floppyB32.fs</i> (depending on your machine) to a diskette and
1.1 miod 219: enter <i>boot dva0</i>. Refer to INSTALL.alpha for more details.
220:
221: <p>
222: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install will most likely fail.
223:
224: </ul>
225:
226: <p>
227: <h3><font color="#e00000">OpenBSD/macppc:</font></h3>
228: <ul>
229: Put the CD2 in your CDROM drive and poweron your machine while holding down the
230: <i>C</i> key until the display turns on and shows <i>OpenBSD/macppc boot</i>.
231:
232: <p>
233: Alternatively, at the Open Firmware prompt, enter <i>boot cd:,ofwboot
234: /3.2/macppc/bsd.rd</i>
235: </ul>
236:
237: <p>
238: <h3><font color="#e00000">OpenBSD/vax:</font></h3>
239: <ul>
240: Boot over the network via mopbooting as described in INSTALL.vax.
241: </ul>
242:
243: <p>
244: <h3><font color="#e00000">OpenBSD/sparc:</font></h3>
245: <ul>
246: The 3.2 release of OpenBSD/sparc is located on CD3. To boot off of this CD you can use one of the two commands listed below, depending on the version of your ROM.
247:
248: <ul><pre>
249: > <strong>boot cdrom 3.2/sparc/bsd.rd</strong>
250: or
251: > <strong>b sd(0,6,0)3.2/sparc/bsd.rd</strong>
252: </pre></ul>
253:
254: <p>
255: If your sparc does not have a CD drive, you can alternatively boot from floppy.
1.3 jufi 256: To do so you need to write "CD3:3.2/sparc/floppy32.fs" to a floppy. For more information see <a href="faq/faq4.html#4.1">FAQ4.1</a>. To boot from the floppy use one of the two commands listed below, depending on the version of your ROM.
1.1 miod 257:
258: <ul><pre>
259: > <strong>boot floppy</strong>
260: or
261: > <strong>boot fd()</strong>
262: </pre></ul>
263:
264: <p>
265: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install will most likely fail.
266:
267: <p>
268: If your sparc doesn't have a floppy drive nor a CD drive, you can either
269: setup a bootable tape, or install via network, as told in the
270: INSTALL.sparc file.
271: </ul>
272:
273: <p>
274: <h3><font color="#e00000">OpenBSD/sparc64:</font></h3>
275: <ul>
276: Put the CD3 in your CDROM drive and type <i>boot cdrom</i>.
277:
278: <p>
279: If this doesn't work, or if you don't have a CDROM drive, you can write
1.3 jufi 280: <i>CD3:3.2/sparc64/floppy32.fs</i> to a floppy and boot it with <i>boot
1.1 miod 281: floppy</i>.<br>
282: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install will most likely fail.
283:
284: <p>
1.4 henning 285: You can also write <i>CD3:3.2/sparc64/miniroot32.fs</i> to the swap partition on
1.1 miod 286: the disk and boot with <i>boot disk:b</i>.
287:
288: <p>
289: If nothing works, you can boot over the network as described in INSTALL.sparc64
290: </ul>
291:
292: <p>
293: <h3><font color="#e00000">Notes about the source code:</font></h3>
294: <ul>
295: src.tar.gz contains a source archive starting at /usr/src. This file
296: contains everything you need except for the kernel sources, which are
297: in a separate archive. To extract:
298: <p>
299: <ul><pre>
300: # <strong>mkdir -p /usr/src</strong>
301: # <strong>cd /usr/src</strong>
302: # <strong>tar xvfz /tmp/src.tar.gz</strong>
303: </pre></ul>
304: <p>
305: srcsys.tar.gz contains a source archive starting at /usr/src/sys.
306: This file contains all the kernel sources you need to rebuild kernels.
307: To extract:
308: <p>
309: <ul><pre>
310: # <strong>mkdir -p /usr/src/sys</strong>
311: # <strong>cd /usr/src</strong>
312: # <strong>tar xvfz /tmp/srcsys.tar.gz</strong>
313: </pre></ul>
314: <p>
315: Both of these trees are a regular CVS checkout. Using these trees it
316: is possible to get a head-start on using the anoncvs servers as
1.5 miod 317: described at <a href="anoncvs.html">http://www.OpenBSD.org/anoncvs.html</a>.
1.1 miod 318: Using these files
319: results in a much faster initial CVS update than you could expect from
320: a fresh checkout of the full OpenBSD source tree.
321: <p>
322: </ul>
323: <a name="ports"></a>
324: <hr>
325: <p>
326: <h3><font color="#0000e0">Ports Tree</font></h3>
327: <p>
328: A ports tree archive is also provided. To extract:
329: <p>
330: <ul><pre>
331: # <strong>cd /usr</strong>
332: # <strong>tar xvfz /tmp/ports.tar.gz</strong>
333: # <strong>cd ports</strong>
334: </pre></ul>
335: <p>
336: The <i>ports/</i> subdirectory is a checkout of the OpenBSD ports tree. Go
1.27 jasper 337: read <a href="faq/faq15.html">http://www.OpenBSD.org/faq/faq15.html</a>
1.1 miod 338: if you know nothing about ports
339: at this point. This text is not a manual of how to use ports.
340: Rather, it is a set of notes meant to kickstart the user on the
341: OpenBSD ports system.
342: <p>
343: Certainly, the OpenBSD ports system is not complete. It is doubtful it
344: will ever be. However, it is growing very fast and getting more stable.
345: Almost all ports provided with this release should build without problems
346: on most architectures (over 2000 packages build on i386, for instance).
347: <p>
348: The <i>ports/</i> directory represents a CVS (see the manpage for
1.21 jufi 349: <a href="http://www.openbsd.org/cgi-bin/man.cgi?query=cvs&apropos=0&sektion=1&manpath=OpenBSD+Current&arch=i386&format=html">
1.1 miod 350: cvs(1)</a> if
351: you aren't familiar with CVS) checkout of our ports. As with our complete
352: source tree, our ports tree is available via anoncvs. So, in
353: order to keep current with it, you must make the <i>ports/</i> tree
354: available on a read-write medium and update the tree with a command
355: like:
356: <p>
357: <ul><pre>
1.26 deraadt 358: # <strong>cd [portsdir]/; cvs -d anoncvs@server.openbsd.org:/cvs update -Pd -rOPENBSD_3_2</strong>
1.1 miod 359: </pre></ul>
360: <p>
361: [Of course, you must replace the local directory and server name here
362: with the location of your ports collection and a nearby anoncvs
363: server.]
364: <p>
365: Note that most ports are available as packages through ftp. Updated
366: packages for the 3.2 release will be made available if problems arise.
367: <p>
368: If you're interested in seeing a port added, would like to help out, or just
369: would like to know more, the mailing list ports@openbsd.org is a good
370: place to know.
371: <p>
372:
373: </body>
374: </html>