Annotation of www/60.html, Revision 1.47
1.1 deraadt 1: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2: <html>
3: <head>
4: <title>OpenBSD 6.0</title>
5: <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
6: <meta name="description" content="OpenBSD 6.0">
7: <meta name="copyright" content="This document copyright 2016 by OpenBSD.">
8: <meta name="viewport" content="width=device-width, initial-scale=1">
9: <link rel="stylesheet" type="text/css" href="openbsd.css">
1.2 deraadt 10: <link rel="canonical" href="http://www.openbsd.org/60.html">
1.1 deraadt 11: </head>
12:
13: <body bgcolor="#ffffff" text="#000000" link="#24248E">
14:
15: <h2>
16: <a href="index.html">
17: <i><font color="#0000ff">Open</font></i><font color="#000084">BSD</font></a>
18: <font color="#e00000">6.0</font>
19: </h2>
20:
21: <a href="images/puff.jpg">
22: <img alt="Puff" align="left" width="227" height="343" hspace="24" src="images/puff.jpg"></a>
1.24 deraadt 23: To be released Sep 1, 2016<br>
1.1 deraadt 24: Copyright 1997-2016, Theo de Raadt.<br>
25: <font color="#e00000">ISBN 978-0-9881561-8-0</font>
26: <br>
1.34 deraadt 27: 6.0 Songs:
1.40 deraadt 28: <a href="lyrics.html#60a">"Another Smash of the Stack"</a>,
1.43 deraadt 29: <a href="lyrics.html#60b">"Black Hat"</a>,
30: <a href="lyrics.html#60c">"Money"</a><br>
31:
32:
33:
34: (plus 3 more...)
1.1 deraadt 35:
36: <ul>
37: <li>Order a CDROM from our <a href="https://openbsdstore.com">ordering system</a>.
38: <li>See the information on <a href="ftp.html">the FTP page</a> for
39: a list of mirror machines.
40: <li>Go to the <font color="#e00000">pub/OpenBSD/6.0/</font> directory on
41: one of the mirror sites.
42: <li>Have a look at <a href="errata60.html">the 6.0 errata page</a> for a list
43: of bugs and workarounds.
44: <li>See a <a href="plus60.html">detailed log of changes</a> between the
45: 5.9 and 6.0 releases.
46: <p>
1.6 schwarze 47: <li><a href="http://man.openbsd.org/signify.1">signify(1)</a>
1.1 deraadt 48: pubkeys for this release:<br>
49: <pre>
50: base: RWSho3oKSqgLQy+NpIhFXZJDtkE65tzlmtC24mStf8DoJd2OPMgna4u8
51: fw: RWRWf7GJKFvJTWEMIaw9wld0DujiqL1mlrC6HisE6i78C+2SRArV1Iyo
52: pkg: RWQHIajRlT2mX7tmRgb6oN6mfJu3AgQ/TU38acrWABO8lz90dR3rNmey
53: </pre>
54: <p>
55: All applicable copyrights and credits are in the src.tar.gz,
56: sys.tar.gz, xenocara.tar.gz, ports.tar.gz files, or in the
57: files fetched via ports.tar.gz.
58: </ul>
59: <br clear=all>
60:
61: <hr>
62:
63: <h3 id="new"><font color="#0000e0">What's New</font></h3>
64:
65: This is a partial list of new features and systems included in OpenBSD 6.0.
66: For a comprehensive list, see the <a href="plus60.html">changelog</a> leading
67: to 6.0.
68:
69: <ul>
1.27 jsg 70: <li>New/extended platforms:
71: <ul>
1.28 deraadt 72: <li><a href="armv7.html">armv7</a>:
1.27 jsg 73: <ul>
74: <li>EFI bootloader added, kernels are now loaded from FFS instead
75: of FAT or EXT filesystems, without U-Boot headers.
76: <li>A single kernel and ramdisk are now used for all SoCs.
77: <li>Hardware is dynamically enumerated via Flattened Device
78: Tree (FDT) instead of via static tables based on board id numbers.
79: <li>Miniroot installer images include U-Boot 2016.07 with support for
80: EFI payloads.
81: </ul>
1.28 deraadt 82: <li><a href="vax.html">vax</a>:
83: <ul>
84: <li>Removed.
85: </ul>
1.27 jsg 86: </ul>
87: <p>
88:
1.1 deraadt 89: <li>Improved hardware support, including:
90: <ul>
1.25 jsg 91: <li>New <a href="http://man.openbsd.org/?query=bytgpio">bytgpio(4)</a>
92: driver for the Intel Bay Trail GPIO controller.
93: <li>New <a href="http://man.openbsd.org/?query=chvgpio">chvgpio(4)</a>
94: driver for the Intel Cherry View GPIO controller.
95: <li>New <a href="http://man.openbsd.org/?query=maxrtc">maxrtc(4)</a>
96: driver for the Maxim DS1307 real time clock.
97: <li>New <a href="http://man.openbsd.org/?query=nvme">nvme(4)</a>
98: driver for the Non-Volatile Memory Express (NVMe) host controller interface.
99: <li>New <a href="http://man.openbsd.org/?query=pcfrtc">pcfrtc(4)</a>
100: driver for the NXP PCF8523 real time clock.
101: <li>New <a href="http://man.openbsd.org/?query=umb">umb(4)</a>
102: driver for the Mobile Broadband Interface Model (MBIM).
103: <li>New <a href="http://man.openbsd.org/?query=ure">ure(4)</a>
104: driver for RealTek RTL8152 based 10/100 USB Ethernet devices.
105: <li>New <a href="http://man.openbsd.org/?query=utvfu">utvfu(4)</a>
106: driver for audio/video capture devices based on the Fushicai USBTV007.
107: <li>The <a href="http://man.openbsd.org/?query=iwm">iwm(4)</a> driver
108: supports more models, notably the Intel Wireless 3165 and 8260.
109: <li>Support for I2C HID devices with GPIO signalled interrupts has
110: been added to <a href="http://man.openbsd.org/?query=dwiic">dwiic(4)</a>.
1.26 jsg 111: <li>Support for larger bus widths, high speed modes, and DMA
112: transfers has been added to
113: <a href="http://man.openbsd.org/?query=sdmmc">sdmmc(4)</a>,
114: <a href="http://man.openbsd.org/?query=sdhc">sdhc(4)</a>, and
115: <a href="http://man.openbsd.org/?query=imxesdhc&sektion=4&arch=armv7">imxesdhc(4)</a>.
1.31 visa 116: <li>Support for EHCI and OHCI compliant USB controllers on Octeon II SoCs.
117: <li>Many USB device drivers have been enabled on OpenBSD/octeon.
1.1 deraadt 118: <li>...
119: </ul>
120: <p>
121:
122: <li>SMP network stack improvements:
123: <ul>
1.31 visa 124: <li>The Tx queue of the
125: <a href="http://man.openbsd.org/?query=cnmac">cnmac(4)</a>
126: driver can now be processed in parallel of the rest of the kernel.
1.1 deraadt 127: <li>...
128: </ul>
129: <p>
130:
1.30 stsp 131: <li>IEEE 802.11 wireless stack improvements:
1.1 deraadt 132: <ul>
1.30 stsp 133: <li>The HT block ack receive buffer logic follows the algorithm given
134: in the 802.11-2012 spec more closely.
135: <li>The <a href="http://man.openbsd.org/?query=iwn">iwn(4)</a> driver now
136: keeps track of HT protection changes while associated to an 11n AP.
137: <li>The wireless stack and several drivers make more aggressive use
138: of RTS/CTS to avoid interference from legacy devices and hidden nodes.
1.1 deraadt 139: </ul>
140: <p>
141:
142: <li>Generic network stack improvements:
143: <ul>
1.33 vgross 144: <li>The prio field on VLAN headers is now correctly set
145: on each fragment of an IPv4 packet going out on a
146: <a href="http://man.openbsd.org/vlan.4">vlan(4)</a>
147: interface.
1.42 lteo 148: <li>Enabled device cloning for
149: <a href="http://man.openbsd.org/bpf.4">bpf(4)</a>.
150: This allows the system to have just one bpf device node in /dev
151: that services all bpf consumers (up to 1024).
1.1 deraadt 152: <li>...
153: </ul>
154: <p>
155:
156: <li>Installer improvements:
157: <ul>
1.47 ! krw 158: <li>updated list of restricted usercodes
! 159: <li>install.sh and upgrade.sh merged into install.sub
! 160: <li>update automatically runs <a href="http://man.openbsd.org/sysmerge">sysmerge(8)</a>
! 161: in batch mode before
! 162: <a href="http://man.openbsd.org/fw_update">fw_update(1)</a>
! 163: <li>questions and answers are logged in a format that can be used as a
! 164: response file for use by
! 165: <a href="http://man.openbsd.org/autoinstall">autoinstall(8)</a>
! 166: <li>/usr/local is set to wxallowed during install
1.1 deraadt 167: </ul>
168: <p>
169:
170: <li>Routing daemons and other userland network improvements:
171: <ul>
1.11 schwarze 172: <li>Add routing table support to
173: <a href="http://man.openbsd.org/rc.d.8">rc.d(8)</a> and
174: <a href="http://man.openbsd.org/rcctl.8">rcctl(8)</a>.
1.12 schwarze 175: <li>Let <a href="http://man.openbsd.org/nc.1">nc(1)</a>
176: support service names in addition to port numbers.
177: <li>Add <tt>-M</tt> and <tt>-m</tt> TTL flags to
178: <a href="http://man.openbsd.org/nc.1">nc(1)</a>.
179: <li>Add <tt>AF_UNIX</tt> support to
1.13 schwarze 180: <a href="http://man.openbsd.org/tcpbench.1">tcpbench(1)</a>.
1.32 visa 181: <li>Fixed a regression in
182: <a href="http://man.openbsd.org/rarpd.8">rarpd(8)</a>.
183: The daemon could hang if it was idle for a long time.
1.33 vgross 184: <li>Added the <tt>llprio</tt> option in
185: <a href="http://man.openbsd.org/ifconfig.8">ifconfig(8)</a>.
1.42 lteo 186: <li>Multiple programs that use
187: <a href="http://man.openbsd.org/bpf.4">bpf(4)</a>
188: have been modified to take advantage of
189: <a href="http://man.openbsd.org/bpf.4">bpf(4)</a>
190: device cloning by opening <tt>/dev/bpf0</tt> instead of looping
191: through <tt>/dev/bpf*</tt> devices. These programs include
192: <a href="http://man.openbsd.org/arp.8">arp(8)</a>,
193: <a href="http://man.openbsd.org/dhclient.8">dhclient(8)</a>,
194: <a href="http://man.openbsd.org/dhcpd.8">dhcpd(8)</a>,
195: <a href="http://man.openbsd.org/dhcrelay.8">dhcrelay(8)</a>,
196: <a href="http://man.openbsd.org/hostapd.8">hostapd(8)</a>,
197: <a href="http://man.openbsd.org/mopd.8">mopd(8)</a>,
198: <a href="http://man.openbsd.org/npppd.8">npppd(8)</a>,
199: <a href="http://man.openbsd.org/rarpd.8">rarpd(8)</a>,
200: <a href="http://man.openbsd.org/rbootd.8">rbootd(8)</a>, and
201: <a href="http://man.openbsd.org/tcpdump.8">tcpdump(8)</a>.
202: The <a href="http://man.openbsd.org/pcap.3">libpcap</a> library
203: has also been modified accordingly.
1.1 deraadt 204: <li>...
205: </ul>
206: <p>
207:
208: <li>Security improvements:
209: <ul>
1.3 guenther 210: <li><tt>W^X</tt> is now strictly enforced by default;
211: a program can only violate it if the executable is marked with
1.38 tb 212: <tt>PT_OPENBSD_WXNEEDED</tt> and is located on a filesystem
1.6 schwarze 213: mounted with the <tt>wxallowed</tt>
214: <a href="http://man.openbsd.org/mount.8">mount(8)</a> option.
1.36 deraadt 215: Because there are still too many ports which violate W^X, the
216: installer mounts the <tt>/usr/local</tt> filesystem with
217: <tt>wxallowed</tt>. This allows the base system to be more
1.37 tb 218: secure as long as <tt>/usr/local</tt> is a separate filesystem.
1.36 deraadt 219: If you use no W^X violating programs, consider manually
220: revoking that option.
1.6 schwarze 221: <li>The <a href="http://man.openbsd.org/setjmp.3">setjmp(3)</a>
1.3 guenther 222: family of functions now apply XOR cookies to stack and return-address
223: values in the jmpbuf on amd64, hppa, i386, mips64, and powerpc.
1.28 deraadt 224: <li>SROP mitigation: <a href="http://man.openbsd.org/sigreturn.2">sigreturn(2)</a>
1.3 guenther 225: can now only be used by the kernel-provided signal trampoline,
226: with a cookie to detect attempts to reuse it.
1.22 tom 227: <li>To deter code reuse exploits, <a href="http://man.openbsd.org/rc.8">rc(8)</a>
228: re-links libc.so on startup, placing the objects in a random order.
1.11 schwarze 229: <li>In the <a href="http://man.openbsd.org/getpwnam.3">getpwnam(3)</a>
230: family of functions, stop opening the shadow database by default.
1.12 schwarze 231: <li>Allow <a href="http://man.openbsd.org/tcpdump.8">tcpdump(8)</a>
232: <tt>-r</tt> to be started without root privileges.
1.11 schwarze 233: <li>Remove
234: <a href="http://man.openbsd.org/OpenBSD-5.9/systrace">systrace</a>.
235: <li>Remove Linux emulation support.
1.17 tedu 236: <li>Remove support for the usermount option.
1.19 tedu 237: <li>The TCP SYN cache reseeds its random hash function from
1.14 bluhm 238: time to time.
1.19 tedu 239: This prevents an attacker from calculating the distribution
1.14 bluhm 240: of the hash function with a timing attack.
241: <li>To work against SYN flooding attacks the administrator can
242: change the size of the hash array now.
1.16 schwarze 243: <a href="http://man.openbsd.org/netstat.1">netstat(1)</a>
1.14 bluhm 244: <tt>-s -p tcp</tt> shows the relevant information to tune
1.15 bluhm 245: the SYN cache with
1.16 schwarze 246: <a href="http://man.openbsd.org/sysctl.8">sysctl(8)</a>
1.15 bluhm 247: <tt>net.inet.tcp</tt>.
1.33 vgross 248: <li>The administrator can require root privileges for binding to some TCP
249: and UDP ports with
250: <a href="http://man.openbsd.org/sysctl.8">sysctl(8)</a>
251: <tt>net.inet.tcp.rootonly</tt> and
252: <a href="http://man.openbsd.org/sysctl.8">sysctl(8)</a>
253: <tt>net.inet.udp.rootonly</tt>.
1.1 deraadt 254: <li>...
255: </ul>
256: <p>
257:
258: <li>Assorted improvements:
259: <ul>
1.3 guenther 260: <li>The thread library can now be loaded into a single-threaded process.
261: <li>Improved symbol handling and standards compliance in libc.
262: For example, defining an <tt>open()</tt> function will no longer
263: interfere with the operation of
1.6 schwarze 264: <a href="http://man.openbsd.org/fopen.3">fopen(3)</a>.
1.3 guenther 265: <li><tt>PT_TLS</tt> sections are now supported in initially loaded object.
266: <li>Improved handling of "no paths" and "empty path" in
1.6 schwarze 267: <a href="http://man.openbsd.org/fts.3">fts(3)</a>.
1.12 schwarze 268: <li>In <a href="http://man.openbsd.org/pcap.3">pcap(3)</a>,
269: provide the functions <tt>pcap_free_datalinks()</tt>
270: and <tt>pcap_offline_filter()</tt>.
271: <li>Many bugfixes and structural cleanup in the
272: <a href="http://man.openbsd.org/editline">editline(3)</a> library.
273: <li>Remove ancient
274: <a href="http://man.openbsd.org/OpenBSD-5.9/dbm.3">dbm(3)</a>
275: functions;
276: <a href="http://man.openbsd.org/ndbm.3">ndbm(3)</a> remains.
1.17 tedu 277: <li>Add <tt>setenv</tt> keyword for more powerful environment handling in
1.12 schwarze 278: <a href="http://man.openbsd.org/doas.conf.5">doas.conf(5)</a>.
279: <li>Add <tt>-g</tt> and <tt>-p</tt> options to
280: <a href="http://man.openbsd.org/aucat.1">aucat.1</a>
281: for time positioning.
282: <li>Rewrite <a href="http://man.openbsd.org/audioctl.1">audioctl(1)</a>
283: with a simpler user interface.
284: <li>Add <tt>-F</tt> option to
285: <a href="http://man.openbsd.org/install.1">install(1)</a>
286: to <a href="http://man.openbsd.org/fsync.2">fsync(2)</a>
287: the file before closing it.
1.6 schwarze 288: <li><a href="http://man.openbsd.org/kdump.1">kdump(1)</a>
289: now dumps <tt>pollfd</tt> structures.
1.12 schwarze 290: <li>Improve various details of
291: <a href="http://man.openbsd.org/ksh.1">ksh(1)</a> POSIX compliance.
292: <li><a href="http://man.openbsd.org/mknod.8">mknod(8)</a> rewritten in a
293: <a href="http://man.openbsd.org/pledge.2">pledge(2)</a>-friendly
294: style and to support creating multiple devices at once.
295: <li>Implement <a href="http://man.openbsd.org/rcctl.8">rcctl(8)</a>
296: <tt>get all</tt> and <tt>getdef all</tt>.
297: <li>Implement the <a href="http://man.openbsd.org/rcs.1">rcs(1)</a>
298: <tt>-I</tt> (interactive) flag.
1.11 schwarze 299: <li>In <a href="http://man.openbsd.org/rcs.1">rcs(1)</a>,
300: implement Mdocdate keyword substitution.
301: <li>In <a href="http://man.openbsd.org/top.1">top(1)</a>,
302: allow to filter process arguments if they are being displayed.
303: <li>Added UTF-8 support to
304: <a href="http://man.openbsd.org/fold.1">fold(1)</a> and
305: <a href="http://man.openbsd.org/rev.1">rev(1)</a>.
306: <li>Enable UTF-8 by default in
307: <a href="http://man.openbsd.org/xterm.1">xterm(1)</a> and
308: <a href="http://man.openbsd.org/pod2man.1">pod2man(1)</a>.
309: <li>Filter out non-ASCII characters in
310: <a href="http://man.openbsd.org/wall.1">wall(1)</a>.
1.12 schwarze 311: <li>Handle the <a href="http://man.openbsd.org/?apropos=1&query=Ev%3DCOLUMNS">COLUMNS</a>
312: environment variable consistently across many programs.
1.14 bluhm 313: <li>The options <tt>-c</tt> and <tt>-k</tt> allow to provide
314: TLS client certificates for
315: <a href="http://man.openbsd.org/syslogd.8">syslogd(8)</a>
316: on the sending side.
1.18 tedu 317: With that the receiving side can verify log messages
1.14 bluhm 318: are authentic.
319: Note that syslogd does not have this check feature yet.
320: <li>When the klog buffer overflows, syslogd will write a log
321: message to show that some entries is missing.
1.31 visa 322: <li>On OpenBSD/octeon, CPU cache write buffering is enabled
323: to improve performance.
1.35 espie 324: <li><a href="http://man.openbsd.org/pkg_add.1">pkg_add(1)</a> and
325: <a href="http://man.openbsd.org/pkg_info.1">pkg_info(1)</a> now
326: understand a notion of branch to ease selection of some popular
327: packages such as python or php, e.g., say
328: <tt>pkg_add python%3.4</tt> to select the <tt>3.4</tt> branch,
329: and use <tt>pkg_info -zm</tt> to get a fuzzy listing with branch
330: selection suitable for <tt>pkg_add -l</tt>.
1.45 krw 331: <li><a href="http://man.openbsd.org/?query=fdisk">fdisk(8)</a> and
332: <a href="http://man.openbsd.org/?query=pdisk">pdisk(8)</a>
333: immediately exit unless passed a character special device
334: <li><a href="http://man.openbsd.org/?query=st">st(4)</a>
335: correctly tracks the current block count for variable sized blocks
336: <li><a href="http://man.openbsd.org/?query=fsck_ext2fs">fsck_ext2fs(8)</a>
337: works again
338: <li><a href="http://man.openbsd.org/?query=softraid">softraid(4)</a> volumes
339: can be constructed with disks that have a sector size other than 512 bytes
340: <li><a href="http://man.openbsd.org/?query=dhclient">dhclient(8)</a>
341: DECLINE's and discards unused OFFER's.
342: <li><a href="http://man.openbsd.org/?query=dhclient">dhclient(8)</a>
343: immediately exits if its interface (e.g. a
344: <a href="http://man.openbsd.org/?query=bridge">bridge(4)</a>)
345: returns EAFNOSUPPORT when a packet is sent.
346: <li><a href="http://man.openbsd.org/?query=httpd">httpd(8)</a> returns
347: 400 Bad Request for HTTP v0.9 requests.
348: <li>ffs2's lazy node initialization avoids treating random disk data as
349: an inode
350: <li><a href="http://man.openbsd.org/?query=fcntl">fcntl(2)</a> invocations
351: in base programs use the idiom fcntl(n,F_GETFL) instead of fcntl(n,F_GETFL,0)
352: <li><a href="http://man.openbsd.org/?query=socket">socket(2)</a> and
353: <a href="http://man.openbsd.org/?query=accept4">accept4(2)</a> invocations
354: in base programs use SOCK_NONBLOCK to eliminate the need for a separate
355: <a href="http://man.openbsd.org/?query=fcntl">fcntl(2)</a>.
1.47 ! krw 356: <li>tmpfs not enabled by default
1.1 deraadt 357: </ul>
358: <p>
359:
1.28 deraadt 360: <li>OpenSMTPD 5.9.1
1.1 deraadt 361: <ul>
362: <li>...
363: </ul>
364: <p>
365:
1.28 deraadt 366: <li>OpenSSH 7.3
1.1 deraadt 367: <ul>
368: <li>Security:
369: <ul>
1.39 sobrado 370: <li><a href="http://man.openbsd.org/sshd.8">sshd(8)</a>:
371: Mitigate a potential denial-of-service attack against the system's
372: <a href="http://man.openbsd.org/crypt.3">crypt(3)</a>
373: function via
374: <a href="http://man.openbsd.org/sshd.8">sshd(8)</a>.
375: An attacker could send very long passwords that would cause
376: excessive CPU use in
377: <a href="http://man.openbsd.org/crypt.3">crypt(3)</a>.
378: <a href="http://man.openbsd.org/sshd.8">sshd(8)</a>
379: now refuses to accept password authentication requests of length
380: greater than 1024 characters.
381: <li><a href="http://man.openbsd.org/sshd.8">sshd(8)</a>:
382: Mitigate timing differences in password authentication that could be
383: used to discern valid from invalid account names when long passwords
384: were sent and particular password hashing algorithms are in use on
385: the server. CVE-2016-6210.
386: <li><a href="http://man.openbsd.org/ssh.1">ssh(1)</a>,
387: <a href="http://man.openbsd.org/sshd.8">sshd(8)</a>:
388: Fix observable timing weakness in the <i>CBC padding oracle
389: countermeasures</i>. Note that CBC ciphers are disabled by default
390: and only included for legacy compatibility.
391: <li><a href="http://man.openbsd.org/ssh.1">ssh(1)</a>,
392: <a href="http://man.openbsd.org/sshd.8">sshd(8)</a>:
393: Improve ordering ordering of MAC verification for
394: <i>Encrypt-then-MAC</i> (EtM) mode transport MAC algorithms to
395: verify the MAC before decrypting any ciphertext. This removes the
396: possibility of timing differences leaking facts about the plaintext,
397: though no such leakage is known.
1.1 deraadt 398: </ul>
399: <li>New/changed features:
400: <ul>
1.39 sobrado 401: <li><a href="http://man.openbsd.org/ssh.1">ssh(1)</a>:
402: Add a <tt>ProxyJump</tt> option and corresponding <tt>-J</tt>
403: command-line flag to allow simplified indirection through a one or
404: more SSH bastions or "jump hosts".
405: <li><a href="http://man.openbsd.org/ssh.1">ssh(1)</a>:
406: Add an <tt>IdentityAgent</tt> option to allow specifying specific
407: agent sockets instead of accepting one from the environment.
408: <li><a href="http://man.openbsd.org/ssh.1">ssh(1)</a>:
409: Allow <tt>ExitOnForwardFailure</tt> and <tt>ClearAllForwardings</tt>
410: to be optionally overridden when using <tt>ssh -W</tt>. (bz#2577)
411: <li><a href="http://man.openbsd.org/ssh.1">ssh(1)</a>,
412: <a href="http://man.openbsd.org/sshd.8">sshd(8)</a>:
413: Implement support for the IUTF8 terminal mode as per
414: <i>draft-sgtatham-secsh-iutf8-00</i>.
415: <li><a href="http://man.openbsd.org/ssh.1">ssh(1)</a>,
416: <a href="http://man.openbsd.org/sshd.8">sshd(8)</a>:
417: Add support for additional <i>fixed Diffie-Hellman 2K</i>, <i>4K</i>
418: and <i>8K</i> groups from <i>draft-ietf-curdle-ssh-kex-sha2-03</i>.
419: <li><a href="http://man.openbsd.org/ssh-keygen.1">ssh-keygen(1)</a>,
420: <a href="http://man.openbsd.org/ssh.1">ssh(1)</a>,
421: <a href="http://man.openbsd.org/sshd.8">sshd(8)</a>:
422: support SHA256 and SHA512 RSA signatures in certificates.
423: <li><a href="http://man.openbsd.org/ssh.1">ssh(1)</a>:
424: Add an <tt>Include</tt> directive for
425: <a href="http://man.openbsd.org/ssh_config.5">ssh_config(5)</a>
426: files.
427: <li><a href="http://man.openbsd.org/ssh.1">ssh(1)</a>:
428: Permit UTF-8 characters in pre-authentication banners sent from the
429: server. (bz#2058)
1.1 deraadt 430: </ul>
431: <li>The following significant bugs have been fixed in this release:
432: <ul>
1.11 schwarze 433: <li>In <a href="http://man.openbsd.org/scp.1">scp(1)</a>
1.39 sobrado 434: and <a href="http://man.openbsd.org/sftp.1">sftp(1)</a>,
435: prevent screwing up terminal settings by escaping bytes
436: not forming ASCII or UTF-8 characters.
437: <li><a href="http://man.openbsd.org/ssh.1">ssh(1)</a>,
438: <a href="http://man.openbsd.org/sshd.8">sshd(8)</a>:
439: Reduce the syslog level of some relatively common protocol events
440: from <tt>LOG_CRIT</tt>. (bz#2585)
441: <li><a href="http://man.openbsd.org/sshd.8">sshd(8)</a>:
442: Refuse <tt>AuthenticationMethods=""</tt> in configurations and accept
443: <tt>AuthenticationMethods=any</tt> for the default behaviour of not
444: requiring multiple authentication. (bz#2398)
445: <li><a href="http://man.openbsd.org/sshd.8">sshd(8)</a>:
446: Remove obsolete and misleading <tt>"POSSIBLE BREAK-IN ATTEMPT!"</tt>
447: message when forward and reverse DNS don't match. (bz#2585)
448: <li><a href="http://man.openbsd.org/ssh.1">ssh(1)</a>:
449: Close <tt>ControlPersist</tt> background process stderr except in
450: debug mode or when logging to syslog. (bz#1988)
451: <li>misc: Make PROTOCOL description for
452: <i>direct-streamlocal@openssh.com</i> channel open messages match
453: deployed code. (bz#2529)
454: <li><a href="http://man.openbsd.org/ssh.1">ssh(1)</a>:
455: Deduplicate <tt>LocalForward</tt> and <tt>RemoteForward</tt> entries
456: to fix failures when both <tt>ExitOnForwardFailure</tt> and
457: <tt>hostname</tt> canonicalisation are enabled. (bz#2562)
458: <li><a href="http://man.openbsd.org/sshd.8">sshd(8)</a>:
459: Remove fallback from moduli to obsolete "primes" file that was
460: deprecated in 2001. (bz#2559)
461: <li><a href="http://man.openbsd.org/sshd_config.5">sshd_config(5)</a>:
462: Correct description of <tt>UseDNS</tt>: it affects ssh hostname
463: processing for <tt>authorized_keys</tt>, not <tt>known_hosts</tt>.
464: (bz#2554)
465: <li><a href="http://man.openbsd.org/ssh.1">ssh(1)</a>:
466: Fix authentication using lone certificate keys in an agent without
467: corresponding private keys on the filesystem. (bz#2550)
468: <li><a href="http://man.openbsd.org/sshd.8">sshd(8)</a>:
469: Send <tt>ClientAliveInterval</tt> pings when a time-based
470: <tt>RekeyLimit</tt> is set; previously keepalive packets were not
471: being sent. (bz#2252)
1.1 deraadt 472: </ul>
473: </ul>
474: <p>
1.5 sobrado 475:
476: <li>OpenNTPD 6.0
477: <ul>
478: <li>When a single "constraint" is specified, try all returned addresses
479: until one succeeds, rather than the first returned address.
480: <li>Relaxed the constraint error margin to be proportional to the number
481: of NTP peers, avoid constant reconnections when there is a bad NTP
482: peer.
483: <li>Removed disabled
1.6 schwarze 484: <a href="http://man.openbsd.org/hotplug.4">hotplug(4)</a>
1.5 sobrado 485: sensor support.
486: <li>Added support for detecting crashes in constraint subprocesses.
487: <li>Moved the execution of constraints from the ntp process to the
488: parent process, allowing for better privilege separation since the
489: ntp process can be further restricted.
490: <li>Added
1.6 schwarze 491: <a href="http://man.openbsd.org/pledge.2">pledge(2)</a>
1.5 sobrado 492: support.
493: <li>Fixed high CPU usage when the network is down.
494: <li>Fixed various memory leaks.
495: <li>Switched to RMS for jitter calculations.
496: <li>Unified logging functions with other OpenBSD base programs.
497: <li>Set <tt>MOD_MAXERROR</tt> to avoid unsynced time status when using
498: ntp_adjtime.
499: <li>Fixed HTTP Timestamp header parsing to use
1.6 schwarze 500: <a href="http://man.openbsd.org/strptime.3">strptime(3)</a>
1.5 sobrado 501: in a more portable fashion.
502: <li>Hardened TLS for
1.6 schwarze 503: <a href="http://man.openbsd.org/ntpd.8">ntpd(8)</a>
1.5 sobrado 504: constraints, enabling server name verification.
505: </ul>
506: <p>
507:
1.4 sobrado 508: <li>LibreSSL 2.4.2
1.1 deraadt 509: <ul>
510: <li>User-visible features:
511: <ul>
1.4 sobrado 512: <li>Fixed some broken manpage links in the install target.
513: <li><tt>cert.pem</tt> has been reorganized and synced with Mozilla's
514: certificate store.
515: <li>Reliability fix, correcting an error when parsing certain ASN.1
516: elements over 16k in size.
517: <li>Implemented the IETF <i>ChaCha20-Poly1305</i> cipher suites.
518: <li>Fixed password prompts from
1.6 schwarze 519: <a href="http://man.openbsd.org/openssl.1">openssl(1)</a>
1.4 sobrado 520: to properly handle ^C.
1.1 deraadt 521: </ul>
522: <li>Code improvements:
523: <ul>
1.4 sobrado 524: <li>Fixed an <i>nginx</i> compatibility issue by adding an
525: '<tt>install_sw</tt>' build target.
526: <li>Changed default
1.6 schwarze 527: <a href="http://man.openbsd.org/EVP_AEAD_CTX_init.3">EVP_aead_chacha20_poly1305(3)</a>
1.4 sobrado 528: implementation to the IETF version, which is now the default.
529: <li>Reworked error handling in <tt>libtls</tt> so that configuration
530: errors are more visible.
531: <li>Added missing error handling around
1.6 schwarze 532: <a href="http://man.openbsd.org/bn_wexpand.3">bn_wexpand(3)</a>
1.4 sobrado 533: calls.
534: <li>Added
1.6 schwarze 535: <a href="http://man.openbsd.org/explicit_bzero.3">explicit_bzero(3)</a>
1.4 sobrado 536: calls for freed ASN.1 objects.
537: <li>Fixed <tt>X509_*set_object</tt> functions to return 0 on allocation
538: failure.
539: <li>Deprecated internal use of
1.6 schwarze 540: <a href="http://man.openbsd.org/EVP_EncryptInit">EVP_[Cipher|Encrypt|Decrypt]_Final</a>.
1.4 sobrado 541: <li>Fixed a problem that prevents the DSA signing algorithm from running
542: in constant time even if the flag <tt>BN_FLG_CONSTTIME</tt> is set.
543: <li>Fixed several issues in the OCSP code that could result in the
544: incorrect generation and parsing of OCSP requests. This remediates
545: a lack of error checking on time parsing in these functions, and
546: ensures that only <tt>GENERALIZEDTIME</tt> formats are accepted for
547: OCSP, as per <i>RFC 6960</i>.
548: </ul>
1.22 tom 549: <li>The following CVEs have been fixed:
1.4 sobrado 550: <ul>
551: <li><tt>CVE-2016-2105</tt>—EVP_EncodeUpdate overflow.
552: <li><tt>CVE-2016-2106</tt>—EVP_EncryptUpdate overflow.
553: <li><tt>CVE-2016-2107</tt>—padding oracle in AES-NI CBC MAC check.
554: <li><tt>CVE-2016-2108</tt>—memory corruption in the ASN.1 encoder.
555: <li><tt>CVE-2016-2109</tt>—ASN.1 BIO excessive memory allocation.
1.1 deraadt 556: </ul>
557: </ul>
558: <p>
559:
560: <li>Ports and packages:
1.35 espie 561: <dl>
562: <dt>New proot(1) tool in the ports tree for building packages in a chroot.
563: </dl>
1.1 deraadt 564: <dl>
565: <dt>Many pre-built packages for each architecture:
566: </dl>
567: <!-- number of FTP packages minus SHA256, SHA256.sig, index.txt -->
568: <table border=0 cellspacing=0 cellpadding=2 width="95%">
569: <tr>
570: <td valign="top" width="25%">
571: <ul>
1.46 landry 572: <li>alpha: 7422
1.41 deraadt 573: <li>amd64: 9433
574: <li>hppa: 6346
1.1 deraadt 575: </ul></td><td valign=top width="25%"><ul>
1.41 deraadt 576: <li>i386: 9394
1.1 deraadt 577: <li>mips64: xxxx
578: <li>mips64el: xxxx
579: </ul></td><td valign=top width="25%"><ul>
580: <li>powerpc: xxxx
1.46 landry 581: <li>sparc64: 8570
1.1 deraadt 582: </ul></td></tr></table>
583: <p>
584:
585: <dl>
586: <dt>Some highlights:
587: </dl>
588: <table border=0 cellspacing=0 cellpadding=2 width="95%">
589: <tr>
1.7 schwarze 590: <td valign="top" width="50%"><ul>
591: <li>Afl 2.19b
592: <li>Chromium 51.0.2704.106
593: <li>Emacs 21.4 and 24.5
594: <li>GCC 4.9.3
595: <li>GHC 7.10.3
596: <li>Gimp 2.8.16
1.9 jasper 597: <li>GNOME 3.20.2
1.7 schwarze 598: <li>Go 1.6.3
599: <li>Groff 1.22.3
600: <li>JDK 7u80 and 8u72
1.9 jasper 601: <li>KDE 3.5.10 and 4.14.3 (plus KDE4 core updates)
1.7 schwarze 602: <li>LLVM/Clang 3.8.0
603: <li>LibreOffice 5.1.4.2
604: <li>Lua 5.1.5, 5.2.4, and 5.3.3
605: <li>MariaDB 10.0.25
606: <li>Mono 4.4.0.182
607: <li>Mozilla Firefox 45.2.0esr and 47.0.1
608: </ul></td><td valign=top width="50%"><ul>
609: <li>Mozilla Thunderbird 45.2.0
610: <li>Mutt 1.6.2
611: <li>Node.js 4.4.5
1.45 krw 612: <li>Ocaml 4.3.0
1.7 schwarze 613: <li>OpenLDAP 2.3.43 and 2.4.44
614: <li>PHP 5.5.37, 5.6.23, and 7.0.8
615: <li>Postfix 3.1.1 and 3.2-20160515
616: <li>PostgreSQL 9.5.3
617: <li>Python 2.7.12, 3.4.5, and 3.5.2
618: <li>R 3.3.1
619: <li>Ruby 1.8.7.374, 2.0.0.648, 2.1.9, 2.2.5, and 2.3.1
620: <li>Rust 1.9.0-20160608
621: <li>Sendmail 8.15.2
622: <li>Sudo 1.8.17.1
623: <li>Tcl/Tk 8.5.18 and 8.6.4
624: <li>TeX Live 2015
625: <li>Vim 7.4.1467
626: <li>Xfce 4.12
627: </ul></td></tr></table>
1.1 deraadt 628: <p>
629:
630: <li>As usual, steady improvements in manual pages and other documentation.
631: <p>
632:
633: <li>The system includes the following major components from outside suppliers:
634: <ul>
1.8 schwarze 635: <li>Xenocara (based on X.Org 7.7 with xserver 1.18.3 + patches,
636: freetype 2.6.3, fontconfig 2.11.1, Mesa 11.2.2, xterm 322,
637: xkeyboard-config 2.18 and more)
1.34 deraadt 638: <li>GCC 4.2.1 (+ patches) and 3.3.6 (+ patches)
1.8 schwarze 639: <li>Perl 5.20.3 (+ patches)
640: <li>SQLite 3.9.2 (+ patches)
641: <li>NSD 4.1.10
642: <li>Unbound 1.5.9
643: <li>Ncurses 5.7
644: <li>Binutils 2.17 (+ patches)
645: <li>Gdb 6.3 (+ patches)
646: <li>Awk Aug 10, 2011 version
1.12 schwarze 647: <li>Expat 2.1.1
1.1 deraadt 648: </ul>
649: </ul>
650:
651: <hr>
652:
653: <h3 id="install"><font color="#0000e0">How to install</font></h3>
654:
655: Following this are the instructions which you would have on a piece of
656: paper if you had purchased a CDROM set instead of doing an alternate
657: form of install. The instructions for doing an HTTP (or other style
658: of) install are very similar; the CDROM instructions are left intact
659: so that you can see how much easier it would have been if you had
660: purchased a CDROM instead.
661: <p>
662:
663: <hr>
664: <p>
665: Please refer to the following files on the three CDROMs or mirror site for
666: extensive details on how to install OpenBSD 6.0 on your machine:
667:
668: <ul>
669: <li><a href="http://ftp.openbsd.org/pub/OpenBSD/6.0/alpha/INSTALL.alpha">
670: .../OpenBSD/6.0/alpha/INSTALL.alpha (on CD1)</a>
671: <li><a href="http://ftp.openbsd.org/pub/OpenBSD/6.0/i386/INSTALL.i386">
672: .../OpenBSD/6.0/i386/INSTALL.i386 (on CD1)</a>
673: <li><a href="http://ftp.openbsd.org/pub/OpenBSD/6.0/hppa/INSTALL.hppa">
674: .../OpenBSD/6.0/hppa/INSTALL.hppa (on CD1)</a>
675: <p>
676: <li><a href="http://ftp.openbsd.org/pub/OpenBSD/6.0/amd64/INSTALL.amd64">
677: .../OpenBSD/6.0/amd64/INSTALL.amd64 (on CD2)</a>
678: <li><a href="http://ftp.openbsd.org/pub/OpenBSD/6.0/macppc/INSTALL.macppc">
679: .../OpenBSD/6.0/macppc/INSTALL.macppc (on CD2)</a>
680: <p>
681: <li><a href="http://ftp.openbsd.org/pub/OpenBSD/6.0/sparc64/INSTALL.sparc64">
682: .../OpenBSD/6.0/sparc64/INSTALL.sparc64 (on CD3)</a>
683: <p>
684: <li><a href="http://ftp.openbsd.org/pub/OpenBSD/6.0/armv7/INSTALL.armv7">
685: .../OpenBSD/6.0/armv7/INSTALL.armv7</a>
686: <li><a href="http://ftp.openbsd.org/pub/OpenBSD/6.0/hppa/INSTALL.hppa">
687: .../OpenBSD/6.0/hppa/INSTALL.hppa</a>
688: <li><a href="http://ftp.openbsd.org/pub/OpenBSD/6.0/landisk/INSTALL.landisk">
689: .../OpenBSD/6.0/landisk/INSTALL.landisk</a>
690: <li><a href="http://ftp.openbsd.org/pub/OpenBSD/6.0/loongson/INSTALL.loongson">
691: .../OpenBSD/6.0/loongson/INSTALL.loongson</a>
692: <li><a href="http://ftp.openbsd.org/pub/OpenBSD/6.0/luna88k/INSTALL.luna88k">
693: .../OpenBSD/6.0/luna88k/INSTALL.luna88k</a>
694: <li><a href="http://ftp.openbsd.org/pub/OpenBSD/6.0/octeon/INSTALL.octeon">
695: .../OpenBSD/6.0/octeon/INSTALL.octeon</a>
696: <li><a href="http://ftp.openbsd.org/pub/OpenBSD/6.0/sgi/INSTALL.sgi">
697: .../OpenBSD/6.0/sgi/INSTALL.sgi</a>
698: <li><a href="http://ftp.openbsd.org/pub/OpenBSD/6.0/socppc/INSTALL.socppc">
699: .../OpenBSD/6.0/socppc/INSTALL.socppc</a>
700: <li><a href="http://ftp.openbsd.org/pub/OpenBSD/6.0/zaurus/INSTALL.zaurus">
701: .../OpenBSD/6.0/zaurus/INSTALL.zaurus</a>
702: </ul>
703:
704:
705: <hr>
706:
707: <p>
1.6 schwarze 708: Quick installer information for people familiar with OpenBSD, and the use of
709: the "<a href="http://man.openbsd.org/disklabel.8">disklabel</a> -E" command.
710: If you are at all confused when installing OpenBSD, read the relevant
711: INSTALL.* file as listed above!
1.1 deraadt 712:
713: <h3><font color="#e00000">OpenBSD/i386:</font></h3>
714:
715: <ul style="list-style-type: none">
716: <li>
717: The OpenBSD/i386 release is on CD1.
718: Boot from the CD to begin the install - you may need to adjust
719: your BIOS options first.
720: <p>
721: <li>
722: If your machine can boot from USB, you can write <i>install60.fs</i> or
723: <i>miniroot60.fs</i> to a USB stick and boot from it.
724: <p>
725: <li>
726: If you can't boot from a CD, floppy disk, or USB,
727: you can install across the network using PXE as described in
728: the included INSTALL.i386 document.
729: <p>
730: <li>
731: If you are planning on dual booting OpenBSD with another OS, you will need to
732: read INSTALL.i386.
733: </ul>
734:
735: <h3><font color="#e00000">OpenBSD/amd64:</font></h3>
736:
737: <ul style="list-style-type: none">
738: <li>
739: The OpenBSD/amd64 release is on CD2.
740: Boot from the CD to begin the install - you may need to adjust
741: your BIOS options first.
742: <p>
743: <li>
744: If your machine can boot from USB, you can write <i>install60.fs</i> or
745: <i>miniroot60.fs</i> to a USB stick and boot from it.
746: <p>
747: <li>
748: If you can't boot from a CD, floppy disk, or USB,
749: you can install across the network using PXE as described in the included
750: INSTALL.amd64 document.
751: <p>
752: <li>
753: If you are planning to dual boot OpenBSD with another OS, you will need to
754: read INSTALL.amd64.
755: </ul>
756:
757: <h3><font color="#e00000">OpenBSD/macppc:</font></h3>
758:
759: <ul style="list-style-type: none">
760: <li>
761: Burn the image from a mirror site to a CDROM, and power on your machine
762: while holding down the <i>C</i> key until the display turns on and
763: shows <i>OpenBSD/macppc boot</i>.
764: <p>
765: <li>
766: Alternatively, at the Open Firmware prompt, enter <i>boot cd:,ofwboot
767: /6.0/macppc/bsd.rd</i>
768: </ul>
769:
770: <h3><font color="#e00000">OpenBSD/sparc64:</font></h3>
771:
772: <ul style="list-style-type: none">
773: <li>
774: Put CD3 in your CDROM drive and type <i>boot cdrom</i>.
775: <p>
776: <li>
777: If this doesn't work, or if you don't have a CDROM drive, you can write
778: <i>CD3:6.0/sparc64/floppy60.fs</i> or <i>CD3:6.0/sparc64/floppyB60.fs</i>
779: (depending on your machine) to a floppy and boot it with <i>boot
780: floppy</i>. Refer to INSTALL.sparc64 for details.
781: <p>
782: <li>
783: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install
784: will most likely fail.
785: <p>
786: <li>
787: You can also write <i>CD3:6.0/sparc64/miniroot60.fs</i> to the swap partition on
788: the disk and boot with <i>boot disk:b</i>.
789: <p>
790: <li>
791: If nothing works, you can boot over the network as described in INSTALL.sparc64.
792: </ul>
793:
794: <h3><font color="#e00000">OpenBSD/alpha:</font></h3>
795:
796: <ul style="list-style-type: none">
797: <li>
798: Write <i>FTP:6.0/alpha/floppy60.fs</i> or
799: <i>FTP:6.0/alpha/floppyB60.fs</i> (depending on your machine) to a diskette and
800: enter <i>boot dva0</i>. Refer to INSTALL.alpha for more details.
801: <p>
802: <li>
803: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install
804: will most likely fail.
805: </ul>
806:
807: <h3><font color="#e00000">OpenBSD/armv7:</font></h3>
808:
809: <ul style="list-style-type: none">
810: <li>
1.29 jsg 811: Write a system specific miniroot to an SD card and boot from it after connecting
812: to the serial console. Refer to INSTALL.armv7 for more details.
1.1 deraadt 813: <p>
814: </ul>
815:
816: <h3><font color="#e00000">OpenBSD/hppa:</font></h3>
817:
818: <ul style="list-style-type: none">
819: <li>
820: Boot over the network by following the instructions in INSTALL.hppa or the
821: <a href="hppa.html#install">hppa platform page</a>.
822: </ul>
823:
824: <h3><font color="#e00000">OpenBSD/landisk:</font></h3>
825:
826: <ul style="list-style-type: none">
827: <li>
828: Write <i>miniroot60.fs</i> to the start of the CF
829: or disk, and boot normally.
830: </ul>
831:
832: <h3><font color="#e00000">OpenBSD/loongson:</font></h3>
833:
834: <ul style="list-style-type: none">
835: <li>
836: Write <i>miniroot60.fs</i> to a USB stick and boot bsd.rd from it
837: or boot bsd.rd via tftp.
838: Refer to the instructions in INSTALL.loongson for more details.
839: </ul>
840:
841: <h3><font color="#e00000">OpenBSD/luna88k:</font></h3>
842:
843: <ul style="list-style-type: none">
844: <li>
845: Copy `boot' and `bsd.rd' to a Mach or UniOS partition, and boot the bootloader
846: from the PROM, and then bsd.rd from the bootloader.
847: Refer to the instructions in INSTALL.luna88k for more details.
848: </ul>
849:
850: <h3><font color="#e00000">OpenBSD/octeon:</font></h3>
851:
852: <ul style="list-style-type: none">
853: <li>
854: After connecting a serial port, boot bsd.rd over the network via DHCP/tftp.
855: Refer to the instructions in INSTALL.octeon for more details.
856: </ul>
857:
858: <h3><font color="#e00000">OpenBSD/sgi:</font></h3>
859:
860: <ul style="list-style-type: none">
861: <li>
862: To install, burn cd60.iso on a CD-R, put it in the CD drive of your
863: machine and select <i>Install System Software</i> from the System Maintenance
864: menu. Indigo/Indy/Indigo2 (R4000) systems will not boot automatically from
865: CD-ROM, and need a proper invocation from the PROM prompt.
866: Refer to the instructions in INSTALL.sgi for more details.
867:
868: <p>
869: <li>
870: If your machine doesn't have a CD drive, you can setup a DHCP/tftp network
871: server, and boot using "bootp()/bsd.rd.IP##" using the kernel matching your
872: system type. Refer to the instructions in INSTALL.sgi for more details.
873: </ul>
874:
875: <h3><font color="#e00000">OpenBSD/socppc:</font></h3>
876:
877: <ul style="list-style-type: none">
878: <li>
879: After connecting a serial port, boot over the network via DHCP/tftp.
880: Refer to the instructions in INSTALL.socppc for more details.
881: </ul>
882:
883: <h3><font color="#e00000">OpenBSD/zaurus:</font></h3>
884:
885: <ul style="list-style-type: none">
886: <li>
887: Using the Linux built-in graphical ipkg installer, install the
888: openbsd60_arm.ipk package. Reboot, then run it. Read INSTALL.zaurus
889: for a few important details.
890: </ul>
891:
892: <hr>
893:
894: <h3 id="upgrade"><font color="#0000e0">How to upgrade</font></h3>
895:
896: If you already have an OpenBSD 5.9 system, and do not want to reinstall,
897: upgrade instructions and advice can be found in the
898: <a href="faq/upgrade60.html">Upgrade Guide</a>.
899: <p>
900:
901: <hr>
902:
903: <h3 id="sourcecode"><font color="#0000e0">Notes about the source code</font></h3>
904:
1.6 schwarze 905: <tt>src.tar.gz</tt> contains a source archive starting at <tt>/usr/src</tt>.
906: This file contains everything you need except for the kernel sources,
907: which are in a separate archive.
908: To extract:
1.1 deraadt 909:
910: <blockquote><pre>
911: # <b>mkdir -p /usr/src</b>
912: # <b>cd /usr/src</b>
913: # <b>tar xvfz /tmp/src.tar.gz</b>
914: </pre></blockquote>
915:
1.6 schwarze 916: <tt>sys.tar.gz</tt> contains a source archive starting at <tt>/usr/src/sys</tt>.
1.1 deraadt 917: This file contains all the kernel sources you need to rebuild kernels.
918: To extract:
919:
920: <blockquote><pre>
921: # <b>mkdir -p /usr/src/sys</b>
922: # <b>cd /usr/src</b>
923: # <b>tar xvfz /tmp/sys.tar.gz</b>
924: </pre></blockquote>
925:
926: Both of these trees are a regular CVS checkout. Using these trees it
927: is possible to get a head-start on using the anoncvs servers as
928: described <a href="anoncvs.html">here</a>.
929: Using these files
930: results in a much faster initial CVS update than you could expect from
931: a fresh checkout of the full OpenBSD source tree.
932: <p>
933:
934: <hr>
935:
936: <h3 id="ports"><font color="#0000e0">Ports Tree</font></h3>
937:
938: A ports tree archive is also provided. To extract:
939:
940: <blockquote><pre>
941: # <b>cd /usr</b>
942: # <b>tar xvfz /tmp/ports.tar.gz</b>
943: </pre></blockquote>
944:
945: Go read the <a href="faq/ports/index.html">ports</a> page
946: if you know nothing about ports
947: at this point. This text is not a manual of how to use ports.
948: Rather, it is a set of notes meant to kickstart the user on the
949: OpenBSD ports system.
950: <p>
1.6 schwarze 951: The <i>ports/</i> directory represents a CVS checkout of our ports.
952: As with our complete source tree, our ports tree is available via
1.1 deraadt 953: <a href="anoncvs.html">AnonCVS</a>.
954: So, in order to keep up to date with the <i>-stable</i> branch, you must make
955: the <i>ports/</i> tree available on a read-write medium and update the tree
956: with a command like:
957:
958: <blockquote><pre>
959: # <b>cd /usr/ports</b>
960: # <b>cvs -d anoncvs@server.openbsd.org:/cvs update -Pd -rOPENBSD_6_0</b>
961: </pre></blockquote>
962:
963: [Of course, you must replace the server name here with a nearby anoncvs
964: server.]
965: <p>
966: Note that most ports are available as packages on our mirrors. Updated
967: ports for the 6.0 release will be made available if problems arise.
968: <p>
969: If you're interested in seeing a port added, would like to help out, or just
970: would like to know more, the mailing list
971: <a href="mail.html">ports@openbsd.org</a> is a good place to know.
972: <p>
973: </body>
974: </html>