Annotation of www/33.html, Revision 1.47
1.27 david 1: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
1.1 miod 2: <html>
3: <head>
1.36 deraadt 4: <title>OpenBSD 3.3</title>
1.1 miod 5: <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
6: <meta name="description" content="OpenBSD 3.3">
7: <meta name="copyright" content="This document copyright 2003 by OpenBSD.">
1.47 ! tb 8: <meta name="viewport" content="width=device-width, initial-scale=1">
! 9: <link rel="stylesheet" type="text/css" href="openbsd.css">
1.42 sthen 10: <link rel="canonical" href="http://www.openbsd.org/33.html">
1.1 miod 11: </head>
12:
13: <body bgcolor="#ffffff" text="#000000" link="#24248E">
14:
1.47 ! tb 15: <h2>
1.1 miod 16: <a href="index.html">
1.47 ! tb 17: <font color="#0000ff"><i>Open</i></font><font color="#000084">BSD</font></a>
! 18: <font color="#e00000">3.3</font>
! 19: </h2>
1.1 miod 20:
1.5 deraadt 21: <a href="images/Barbarian.gif">
22: <img align="left" width="255" height="343" hspace="24"
23: src="images/Barbarian.gif" alt="OpenBSD 3.3 logo"></a>
1.1 miod 24: <p>
25:
26: Released May 1, 2003<br>
27: Copyright 1997-2003, Theo de Raadt.<br>
28: <font color="#e00000">ISBN 0-9731791-1-2</font>
1.32 deraadt 29: <br>
1.44 deraadt 30: 3.3 Song: <a href="lyrics.html#33">"Puff the Barbarian"</a>
1.1 miod 31: <p>
32: <ul>
1.41 deraadt 33: <li>Order a CDROM from our <a href="https://openbsdstore.com">ordering system</a>.
1.1 miod 34: <li>See the information on <a href="ftp.html">The FTP page</a> for
35: a list of mirror machines.
36: <li>Go to the <font color="#e00000">pub/OpenBSD/3.3/</font> directory on
37: one of the mirror sites.
1.31 david 38: <li>Have a look at <a href="errata33.html">The 3.3 Errata page</a> for a list
1.1 miod 39: of bugs and workarounds.
1.14 deraadt 40: <li>See a <a href="plus33.html">detailed log of changes</a> between the
1.1 miod 41: 3.2 and 3.3 releases.
42: </ul>
1.47 ! tb 43: All applicable copyrights and credits are in the src.tar.gz,
! 44: sys.tar.gz, xenocara.tar.gz, ports.tar.gz files, or in the
! 45: files fetched via ports.tar.gz.
! 46: <br clear="all">
1.1 miod 47:
1.47 ! tb 48: <hr>
1.1 miod 49: <a name="new"></a>
50: <p>
51: <h3><font color="#0000e0">What's New</font></h3>
52: <p>
1.47 ! tb 53: This is a partial list of new features and systems included in OpenBSD 3.3.
1.18 deraadt 54: For a comprehensive list, see the <a href="plus33.html">changelog</a> leading
1.1 miod 55: to 3.3.
56: <p>
57:
58: <ul>
59: <li>Integration of the
1.30 david 60: <a href="http://www.research.ibm.com/trl/projects/security/ssp/">ProPolice</a>
1.26 deraadt 61: stack protection technology, by Hiroaki Etoh, into the system
62: compiler. This protection is enabled by default. With this change,
63: function prologues are modified to rearrange the stack: a random
64: canary is placed before the return address, and buffer variables are
65: moved closer to the canary so that regular variables are below, and
66: harder to smash. The function epilogue then checks if the canary is
67: still intact. If it is not, the process is terminated. This change
68: makes it very hard for an attacker to modify the return address used
69: when returning from a function.
1.2 deraadt 70: <p>
1.1 miod 71:
1.22 deraadt 72: <li>W^X (pronounced: "W xor X") on architectures capable of
1.10 deraadt 73: pure execute-bit support in the MMU (sparc, sparc64, alpha,
74: hppa). This is a fine-grained memory permissions layout, ensuring that
75: memory which can be written to by application programs can not be
1.22 deraadt 76: executable at the same time and vice versa. This raises the bar on
77: potential buffer overflows and other attacks: as a result, an attacker
78: is unable to write code anywhere in memory where it can be executed.
1.26 deraadt 79: (NOTE: i386 and powerpc do not support W^X in 3.3; however, 3.3-current
80: already supports it on i386, and both these processors are expected to
1.47 ! tb 81: support this change in 3.4).
1.1 miod 82: <p>
83:
1.2 deraadt 84: <li>Still more reduction in setuid and setgid binaries, and more chroot
1.22 deraadt 85: use throughout the system. While some programs are still setuid or
86: setgid, almost all of them grab a resource and then quickly revoke
87: privilege.
1.1 miod 88: <p>
89:
1.22 deraadt 90: <li>The X window server and xconsole now use privilege separation,
91: for better security. Also, xterm has been modified to do privilege
92: revocation. xdm runs as a special user and group, to further constrain
93: what might go wrong.
1.1 miod 94: <p>
95:
96: <li>As usual, improvements to the documentation, notably the man pages and
1.7 jsyn 97: the Web FAQ. An increasingly large part of the website is available in several
1.1 miod 98: languages.
99: <p>
100:
101: <li>More complete collection and better tested set of "ports".
102: setuid/setgid ports have been significantly reduced as well. Many of the
103: ones that remain setuid have been modified to revoke privileges as early
104: as possible.
105: <p>
106:
107: <li>Over 2000 pre-built and tested packages.
108: <p>
109:
110: <li>Significant improvements to the pthread library.
111: <p>
112:
113: <li>An incredible amount of enhancements and stability improvements to
114: our packet filter, <a
1.46 sthen 115: href="http://man.openbsd.org/?query=pf&sektion=4">pf</a>,
1.8 henning 116: including:
1.1 miod 117: <ul>
1.17 deraadt 118: <li>Queue, a bandwidth management system (uses altq underneath)
1.47 ! tb 119: <li>Anchors, allowing subrulesets which can be loaded and modified independently
1.17 deraadt 120: <li>Tables, a very efficient way for large address lists in rules
121: <li>Address pools, redirect/NAT to multiple addresses and thus load balancing
122: <li>Configuration language has been made much more flexible
123: <li>TCP window scaling support
124: <li>Full CIDR support
125: <li>Early checksum verification return on invalid packets
126: <li>Performance boost: large rulesets load much faster now
1.46 sthen 127: <li><a href="http://man.openbsd.org/?query=spamd">spamd</a>,
1.22 deraadt 128: a spam deferral daemon, which SMTP connections can be redirected to.
129: This daemon handles connections based on black lists and white lists,
130: tar-pits the connections, and ensures that the spammer knows why their
131: mail has not been accepted.
1.1 miod 132: </ul>
1.11 jason 133:
134: <p>
135:
136: <li>Much improved <a href="sparc64.html">sparc64</a> support: support for
1.13 miod 137: more models and several major bugs eradicated.
1.8 henning 138:
1.1 miod 139: <p>
140:
141: <li>The system includes the following major components from outside suppliers:
142: <ul>
143: <li>XFree86 4.2.1 (and i386 contains 3.3.X servers also, thus providing support for all chipsets)
1.4 miod 144: <li>Gcc 2.95.3 (+ patches)
145: <li>Perl 5.8.0 (+ patches)
1.3 henning 146: <li>Apache 1.3.27, mod_ssl 2.8.12, DSO support (+ patches)
1.1 miod 147: <li>OpenSSL 0.9.7beta3 (+ patches)
1.4 miod 148: <li>Groff 1.15
1.24 miod 149: <li>Sendmail 8.12.9
1.4 miod 150: <li>Bind 9.2.2 (+ patches)
1.23 margarid 151: <li>Lynx 2.8.2rel.1 with HTTPS support added (+ patches)
1.4 miod 152: <li>Sudo 1.6.7
153: <li>Ncurses 5.2
1.1 miod 154: <li>Latest KAME IPv6
1.12 hin 155: <li>KTH Kerberos 1.1.1
1.1 miod 156: <li>Heimdal 0.4e (+ patches)
157: <li>OpenSSH 3.6
158: </ul>
159: <p>
160:
161: <li>Many improvements for security and reliability (look for the red
1.18 deraadt 162: print in the <a href="plus33.html">complete changelog</a>).
1.1 miod 163: <p>
1.11 jason 164: <li> and much more.
165:
1.1 miod 166: </ul>
167:
168: <a name="install"></a>
169: <hr>
170: <p>
171: <h3><font color="#0000e0">How to install</font></h3>
172: <p>
173: Following this are the instructions which you would have on a piece of
174: paper if you had purchased a CDROM set instead of doing an alternate
175: form of install. The instructions for doing an ftp (or other style
176: of) install are very similar; the CDROM instructions are left intact
177: so that you can see how much easier it would have been if you had
178: purchased a CDROM instead.
179: <p>
180:
181: <hr>
1.15 drahn 182: Please refer to the following files on the three CDROMs or ftp mirror for
183: extensive details on how to install OpenBSD 3.3 on your machine:
1.1 miod 184: <p>
185: <ul>
186: <li> CD1:3.3/i386/INSTALL.i386
187: <p>
188: <li> CD2:3.3/macppc/INSTALL.macppc
189: <li> CD2:3.3/vax/INSTALL.vax
190: <p>
191: <li> CD3:3.3/sparc/INSTALL.sparc
192: <li> CD3:3.3/sparc64/INSTALL.sparc64
1.15 drahn 193: <p>
194: <li> FTP:.../OpenBSD/3.3/alpha/INSTALL.alpha
195: <li> FTP:.../OpenBSD/3.3/hp300/INSTALL.hp300
1.20 mickey 196: <li> FTP:.../OpenBSD/3.3/hppa/INSTALL.hppa
1.15 drahn 197: <li> FTP:.../OpenBSD/3.3/mac68k/INSTALL.mac68k
198: <li> FTP:.../OpenBSD/3.3/mvme68k/INSTALL.mvme68k
1.1 miod 199: </ul>
200: <hr>
201:
202: <p>
203: Quick installer information for people familiar with OpenBSD, and the
204: use of the "disklabel -E" command. If you are at all confused when
205: installing OpenBSD, read the relevant INSTALL.* file as listed above!
206: <p>
207:
208: <h3><font color="#e00000">OpenBSD/i386:</font></h3>
209: <ul>
210: Play with your BIOS options to enable booting from a CD. The OpenBSD/i386
211: release is on CD1. If your BIOS does not support booting from CD, you will need
212: to create a boot floppy to install from. To create a boot floppy write
213: <i>CD1:3.3/i386/floppy33.fs</i> to a floppy and boot via the floppy drive.
214:
215: <p>
216: Use <i>CD1:3.3/i386/floppyB33.fs</i> instead for greater scsi controller
217: support, or <i>CD1:3.3/i386/floppyC33.fs</i> for better laptop support.
218:
219: <p>
220: If you are planning on dual booting OpenBSD with another OS, you will need to read the included INSTALL.i386 document.
221:
222: <p>
223: To make a boot floppy under MS-DOS, use the "rawrite" utility located
1.46 sthen 224: at <i>CD:/3.3/tools/rawrite.exe</i>. To make the boot floppy under a Unix OS, use the <a href="http://man.openbsd.org/?query=dd&sektion=1">dd(1)</a> utility. The following is an example usage of <a href="http://man.openbsd.org/?query=dd&sektion=1">dd(1)</a>, where the device could be "floppy", "rfd0c", or "rfd0a".
1.1 miod 225:
226: <ul><pre>
227: # <strong>dd if=<file> of=/dev/<device> bs=32k</strong>
228: </pre></ul>
229:
230: <p>
1.18 deraadt 231: 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#MkFlop">FAQ4.1</a>.
1.1 miod 232: </ul>
233:
234: <p>
235: <h3><font color="#e00000">OpenBSD/macppc:</font></h3>
236: <ul>
237: Put the CD2 in your CDROM drive and poweron your machine while holding down the
238: <i>C</i> key until the display turns on and shows <i>OpenBSD/macppc boot</i>.
239:
240: <p>
241: Alternatively, at the Open Firmware prompt, enter <i>boot cd:,ofwboot
242: /3.3/macppc/bsd.rd</i>
243: </ul>
244:
245: <p>
246: <h3><font color="#e00000">OpenBSD/vax:</font></h3>
247: <ul>
248: Boot over the network via mopbooting as described in INSTALL.vax.
249: </ul>
250:
251: <p>
252: <h3><font color="#e00000">OpenBSD/sparc:</font></h3>
253: <ul>
254: The 3.3 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:
256: <ul><pre>
257: > <strong>boot cdrom 3.3/sparc/bsd.rd</strong>
258: or
259: > <strong>b sd(0,6,0)3.3/sparc/bsd.rd</strong>
260: </pre></ul>
261:
262: <p>
263: If your sparc does not have a CD drive, you can alternatively boot from floppy.
1.18 deraadt 264: To do so you need to write "CD3:3.3/sparc/floppy33.fs" to a floppy. For more information see <a href="faq/faq4.html#MkFlop">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 265:
266: <ul><pre>
267: > <strong>boot floppy</strong>
268: or
269: > <strong>boot fd()</strong>
270: </pre></ul>
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.
279: </ul>
280:
281: <p>
282: <h3><font color="#e00000">OpenBSD/sparc64:</font></h3>
283: <ul>
284: Put the CD3 in your CDROM drive and type <i>boot cdrom</i>.
285:
286: <p>
287: If this doesn't work, or if you don't have a CDROM drive, you can write
288: <i>CD3:3.3/sparc64/floppy33.fs</i> to a floppy and boot it with <i>boot
289: floppy</i>.<br>
290: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install will most likely fail.
291:
292: <p>
293: You can also write <i>CD3:3.3/sparc64/miniroot33.fs</i> to the swap partition on
294: the disk and boot with <i>boot disk:b</i>.
295:
296: <p>
297: If nothing works, you can boot over the network as described in INSTALL.sparc64
298: </ul>
299:
300: <p>
1.15 drahn 301: <h3><font color="#e00000">OpenBSD/alpha:</font></h3>
302: <ul>
303: <p>Write <i>FTP:3.3/alpha/floppy33.fs</i> or
304: <i>FTP:3.3/alpha/floppyB33.fs</i> (depending on your machine) to a diskette and
305: enter <i>boot dva0</i>. Refer to INSTALL.alpha for more details.
306:
307: <p>
308: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install will most likely fail.
309:
310: </ul>
311:
312: <p>
313: <h3><font color="#e00000">OpenBSD/hp300:</font></h3>
314: <ul>
315: <p>
316: Boot over the network by following the instructions in INSTALL.hp300.
317: </ul>
318:
319: <p>
1.28 miod 320: <h3><font color="#e00000">OpenBSD/hppa:</font></h3>
321: <ul>
322: <p>
323: Boot over the network by following the instructions in INSTALL.hppa or the
324: <a href="hppa.html#netboot">hppa platform page</a>.
325: </ul>
326:
327: <p>
1.15 drahn 328: <h3><font color="#e00000">OpenBSD/mac68k:</font></h3>
329: <ul>
330: <p>
331: Boot MacOS as normal and partition your disk with the appropriate A/UX
332: configurations. Then, extract the Macside utilities from
1.25 nick 333: <i>FTP:3.3/mac68k/utils</i> onto your hard disk. Run Mkfs to create your
1.15 drahn 334: filesystems on the A/UX partitions you just made. Then, use the
1.25 nick 335: "BSD/Mac68k Installer" to copy all the sets in <i>FTP:3.3/mac68k/</i> onto your
336: partitions. Finally, you will be ready to configure the "BSD/Mac68k
337: Booter" with the location of your kernel and boot the system.
1.15 drahn 338: </ul>
339:
340: <p>
341: <h3><font color="#e00000">OpenBSD/mvme68k:</font></h3>
342: <ul>
343: <p>
344: You can create a bootable installation tape or boot over the network.<br>
345: The network boot requires a MVME68K BUG version that supports the <i>NIOT</i>
346: and <i>NBO</i> debugger commands. Follow the instructions in INSTALL.mvme68k
347: for more details.
348: </ul>
349:
350: <p>
1.1 miod 351: <h3><font color="#e00000">Notes about the source code:</font></h3>
352: <ul>
353: src.tar.gz contains a source archive starting at /usr/src. This file
354: contains everything you need except for the kernel sources, which are
355: in a separate archive. To extract:
356: <p>
357: <ul><pre>
358: # <strong>mkdir -p /usr/src</strong>
359: # <strong>cd /usr/src</strong>
360: # <strong>tar xvfz /tmp/src.tar.gz</strong>
361: </pre></ul>
362: <p>
1.29 pb 363: sys.tar.gz contains a source archive starting at /usr/src/sys.
1.1 miod 364: This file contains all the kernel sources you need to rebuild kernels.
365: To extract:
366: <p>
367: <ul><pre>
368: # <strong>mkdir -p /usr/src/sys</strong>
369: # <strong>cd /usr/src</strong>
1.29 pb 370: # <strong>tar xvfz /tmp/sys.tar.gz</strong>
1.1 miod 371: </pre></ul>
372: <p>
373: Both of these trees are a regular CVS checkout. Using these trees it
374: is possible to get a head-start on using the anoncvs servers as
1.18 deraadt 375: described <a href="anoncvs.html">here</a>.
1.1 miod 376: Using these files
377: results in a much faster initial CVS update than you could expect from
378: a fresh checkout of the full OpenBSD source tree.
379: <p>
380: </ul>
381: <a name="ports"></a>
382: <hr>
383: <p>
384: <h3><font color="#0000e0">Ports Tree</font></h3>
385: <p>
386: A ports tree archive is also provided. To extract:
387: <p>
388: <ul><pre>
389: # <strong>cd /usr</strong>
390: # <strong>tar xvfz /tmp/ports.tar.gz</strong>
391: # <strong>cd ports</strong>
392: </pre></ul>
393: <p>
394: The <i>ports/</i> subdirectory is a checkout of the OpenBSD ports tree. Go
1.34 jasper 395: read the <a href="faq/faq15.html">ports</a> page
1.1 miod 396: if you know nothing about ports
397: at this point. This text is not a manual of how to use ports.
398: Rather, it is a set of notes meant to kickstart the user on the
399: OpenBSD ports system.
400: <p>
401: Certainly, the OpenBSD ports system is not complete. It is doubtful it
402: will ever be. However, it is growing very fast and getting more stable.
403: Almost all ports provided with this release should build without problems
404: on most architectures (over 2000 packages build on i386, for instance).
405: <p>
1.47 ! tb 406: The <i>ports/</i> directory represents a CVS (see the manpage for
1.46 sthen 407: <a href="http://man.openbsd.org/?query=cvs&apropos=0&sektion=1&manpath=OpenBSD+Current&arch=i386&format=html">
1.47 ! tb 408: cvs(1)</a> if
! 409: you aren't familiar with CVS) checkout of our ports. As with our complete
1.1 miod 410: source tree, our ports tree is available via anoncvs. So, in
411: order to keep current with it, you must make the <i>ports/</i> tree
412: available on a read-write medium and update the tree with a command
413: like:
414: <p>
415: <ul><pre>
1.33 deraadt 416: # <strong>cd [portsdir]/; cvs -d anoncvs@server.openbsd.org:/cvs update -Pd -rOPENBSD_3_3</strong>
1.1 miod 417: </pre></ul>
418: <p>
419: [Of course, you must replace the local directory and server name here
420: with the location of your ports collection and a nearby anoncvs
421: server.]
422: <p>
423: Note that most ports are available as packages through ftp. Updated
424: packages for the 3.3 release will be made available if problems arise.
425: <p>
426: If you're interested in seeing a port added, would like to help out, or just
427: would like to know more, the mailing list ports@openbsd.org is a good
428: place to know.
429: <p>
430:
431: </body>
432: </html>