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