[BACK]Return to 32.html CVS log [TXT][DIR] Up to [local] / www

Annotation of www/32.html, Revision 1.31

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