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

Annotation of www/34.html, Revision 1.11

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