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

Annotation of www/34.html, Revision 1.9

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