Annotation of www/70.html, Revision 1.25
1.1 benno 1: <!doctype html>
2: <html lang=en id=release>
3: <meta charset=utf-8>
4:
5: <title>OpenBSD 7.0</title>
6: <meta name="description" content="OpenBSD 7.0">
7: <meta name="viewport" content="width=device-width, initial-scale=1">
8: <link rel="stylesheet" type="text/css" href="openbsd.css">
9: <link rel="canonical" href="https://www.openbsd.org/70.html">
10:
11: <h2 id=OpenBSD>
12: <a href="index.html">
13: <i>Open</i><b>BSD</b></a>
14: 7.0
15: </h2>
16:
17: <table>
18: <tr>
19: <td>
20: <a href="images/XXX.png">
21: <img width="227" height="303" src="images/XXX-s.gif" alt="XXX"></a>
22: <td>
1.6 deraadt 23: Released Nov 1, 2021. (51st OpenBSD release)<br>
1.1 benno 24: Copyright 1997-2021, Theo de Raadt.<br>
25: <br>
26: 7.0 Song:
27: <a href="lyrics.html#70">XXX</a>.
28: <br>
29: Artwork by XXX.
30: <br>
31: <ul>
32: <li>See the information on <a href="ftp.html">the FTP page</a> for
33: a list of mirror machines.
34: <li>Go to the <code class=reldir>pub/OpenBSD/7.0/</code> directory on
35: one of the mirror sites.
36: <li>Have a look at <a href="errata70.html">the 7.0 errata page</a> for a list
37: of bugs and workarounds.
38: <li>See a <a href="plus70.html">detailed log of changes</a> between the
1.4 jsg 39: 6.9 and 7.0 releases.
1.1 benno 40: <p>
41: <li><a href="https://man.openbsd.org/signify.1">signify(1)</a>
42: pubkeys for this release:<p>
43:
44: <table class=signify>
45: <tr><td>
46: openbsd-70-base.pub:
47: <td>
48: <a href="https://ftp.openbsd.org/pub/OpenBSD/7.0/openbsd-70-base.pub">
49: RWR3KL+gSr4QZ5mOvKhcOOgGe61ogHp5PyBOj2RrmyCpqchk9A7NVPzh</a>
50: <tr><td>
51: openbsd-70-fw.pub:
1.11 deraadt 52: <td>
1.1 benno 53: RWS8nd7vy+I+fRHtnpxVBeX+P+9rBqJMPvSU6z8LYyAv5p73WcdFXs3B
54: <tr><td>
55: openbsd-70-pkg.pub:
1.11 deraadt 56: <td>
1.1 benno 57: RWR3iauEtA8/bLN/zfIQhOc5ramL/fARX72S6xw8BwAUebxik7KioCvL
58: <tr><td>
59: openbsd-70-syspatch.pub:
1.11 deraadt 60: <td>
1.1 benno 61: RWSD33kMDKsQH8j0Q8FzfYk+vsgTKiP8Q5DcrkQQtrZoWg48yxUQgLxU
62: </table>
63: </ul>
64: <p>
65: All applicable copyrights and credits are in the src.tar.gz,
66: sys.tar.gz, xenocara.tar.gz, ports.tar.gz files, or in the
67: files fetched via <code>ports.tar.gz</code>.
68: </table>
69:
70: <hr>
71:
72: <section id=new>
73: <h3>What's New</h3>
74: <p>
75: This is a partial list of new features and systems included in OpenBSD 7.0.
76: For a comprehensive list, see the <a href="plus70.html">changelog</a> leading
77: to 7.0.
78:
79: <ul>
80:
81: <li>New/extended platforms:
82: <ul>
1.3 jsg 83: <li>New <a href="riscv64.html">riscv64</a> platform for 64-bit RISC-V
84: systems.
1.1 benno 85: <li>Support for the <a href="powerpc64.html">powerpc64</a> platform was improved:
86: <ul>
87: <li>...
88: </ul>
89: <li>The arm64 platform support was improved with the following changes:
90: <ul>
91: <li>...
92: </ul>
93: </ul>
94:
95: <li>Various kernel improvements:
96: <ul>
1.25 ! benno 97: <li>Introduced /etc/<a href="https://man.openbsd.org/bsd.re-config.5">bsd.re-config(5)</a>, which can be used to configure the kernel using <a href="https://man.openbsd.org/config.8">config(8)</a>, allowing use of KARL while making changes to the GENERIC kernel.
! 98: <li>Identified TPM2.0 devices and performed the 2.0-specific "suspend" command, allowing the lenovo xlr9 and xlnano using the latest BIOS (which added S3) to resume.
! 99: <li>Added kprobes provider for <a href="https://man.openbsd.org/dt.4">dt(4)</a>.
! 100: <li>Changed the printing of the hibernate image size from bytes to megabytes.
! 101: <li>Increased hibernate writeout speed.
! 102: <li>Added "machine sysregs" command to <a href="https://man.openbsd.org/ddb.4">ddb(4)</a> on amd64.
! 103: <li>Prevented interleaved stack traces in <a href="https://man.openbsd.org/ddb.4">ddb(4)</a> from multiple CPUs.
! 104: <li>Implemented < and > operators in <a href="https://man.openbsd.org/btrace.8">btrace(8)</a> filters.
! 105: <li>Added <a href="https://man.openbsd.org/btrace.8">btrace(8)</a> display of time spent in userland when analyzing the kernel stack in the flame graph tool and fixed a parsing bug.
! 106: <li>Fixed suspend/resume of machines with certain <a href="https://man.openbsd.org/radeondrm.4">radeondrm(4)</a> hardware.
! 107: <li>Delayed installation of sensors until a device with battery support is connected, allowing <a href="https://man.openbsd.org/sensorsd.8">sensorsd(8)</a> to pick up hotplugged <a href="https://man.openbsd.org/uhidpp.4">uhidpp(4)</a> devices.
! 108: <li>In the build system, pass make flags to kernel and lib builds, making hacking on ramdisks/the installer much faster.
! 109: <li>Prevented a kernel panic after VFS shutdown.
! 110: <li>Corrected various min/max cluster numbers for FAT12/16/32 in <a href="https://man.openbsd.org/newfs_msdos.8">newfs_msdos(8)</a>.
! 111: <li>Increased the <a href="https://man.openbsd.org/setitimer.2">setitimer(2)</a> timer limit to UINT_MAX seconds.
! 112: <li>Serialized the internals of <a href="https://man.openbsd.org/kqueue.2">kqueue(2)</a> with a mutex.
! 113: <li>Added libexecinfo, a library providing backtrace functions.
! 114: <li>Relaxed media length checking to allow EFT GPT partitions to be smaller than the full disk.
! 115: <li>Enabled pool cache on <a href="https://man.openbsd.org/knote.9">knote(9)</a> pool.
! 116: <li>Fixed <a href="https://man.openbsd.org/futex.2">futex(2)</a> errno handling to match what Mesa expects and prevent failure to properly report timeouts.
! 117: <li>Fixed a kernel crash in <a href="https://man.openbsd.org/tty.4">tty(4)</a>.
! 118: <li>Disabled global page table mappings when using PCID to prevent crashes when not flushed from TLB.
! 119: <li>Increased the default buffer space on PF_UNIX sockets to 8k and made the values tuneable via <a href="https://man.openbsd.org/sysctl.2">sysctl(2)</a>.
! 120: <li>Updated en_US.UTF-8.src to Unicode 13.0.
! 121: <li>Limited the <a href="https://man.openbsd.org/printf.1">printf(1)</a> \x escape sequence to two characters.
! 122: <li>Enabled <a href="https://man.openbsd.org/dt.4">dt(4)</a> for GENERIC kernels on amd64, arm64, i386, and powerpc64.
! 123: <li>Made <a href="https://man.openbsd.org/kqueue.2">kqueue(2)</a> timer re-addition reset an existing timer to use the new timeout period.
1.1 benno 124: </ul>
125:
126: <li>SMP Improvements
127: <ul>
1.24 benno 128: <li>Made pmap_extract() mpsafe on hppa and amd64.
129: <li>Introduced CPU_IS_RUNNING() and used it in scheduler-related code to prevent waiting on non-running CPUs.
130: <li>Made anonymous object reference counting independent from the KERNEL_LOCK().
131: <li>Unlocked <a href="https://man.openbsd.org/connect.2">connect(2)</a>.
132: <li>Unlocked <a href="https://man.openbsd.org/setrtable.2">setrtable(2)</a>.
133: <li>Introduced per-CPU <a href="https://man.openbsd.org/panic.9">panic(9)</a> message buffers.
134: <li>Used so_lock to protect key management (PF_KEY) sockets.
135: <li>Unlocked <a href="https://man.openbsd.org/lseek.2">lseek(2)</a>.
136: <li>Unlocked the top part of the fault handler.
1.1 benno 137: </ul>
138:
139: <li>Direct Rendering Manager
140: <ul>
1.8 jsg 141: <li>Updated <a href="https://man.openbsd.org/drm.4">drm(4)</a>
142: to Linux 5.10.65
143: <li><a href="https://man.openbsd.org/inteldrm.4">inteldrm(4)</a>:
144: better support for Tiger Lake
145: <li><a href="https://man.openbsd.org/drm.4">amdgpu(4)</a>:
146: support for Navi 12, Navi 21 "Sienna Cichlid", Arcturus
147: <li><a href="https://man.openbsd.org/drm.4">amdgpu(4)</a>:
148: support for Cezanne "Green Sardine" Ryzen 5000 APU
1.1 benno 149: </ul>
150:
151: <li>VMM/VMD improvements
152: <ul>
1.19 benno 153: <li>Unlocked the top part of the VM fault handler on i386.
154: <li>Added a theoretical limit of 512 to the number of allocated vcpus in <a href="https://man.openbsd.org/vmm.4">vmm(4)</a>.
155: <li>Fixed <a href="https://man.openbsd.org/vmm.4">vmm(4)</a> vcpu locking issues.
156: <li>Fixed an mbuf leak in <a href="https://man.openbsd.org/xnf.4">xnf(4)</a>.
157: <li>Added <a href="https://man.openbsd.org/vmd.8">vmd(8)</a> support for variable length vionet rx descriptor chains.
158: <li>Prevented stack overflow in <a href="https://man.openbsd.org/vmd.8">vmd(8)</a> due to large dhcp packets on local interfaces.
159: <li>Allowed locking of a randomly assigned lladdr in <a href="https://man.openbsd.org/vmd.8">vmd(8)</a>.
160: <li>Skipped inspecting non-udp packets on local interfaces for <a href="https://man.openbsd.org/vmd.8">vmd(8)</a>.
161: <li>Prevented guest virtio drivers from causing stack and buffer overflows in <a href="https://man.openbsd.org/vmd.8">vmd(8)</a>.
162: <li>Fixed a race condition in <a href="https://man.openbsd.org/vmm.4">vmm(4)</a> relating to incorrect physical cpu tracking.
163: <li>Fixed <a href="https://man.openbsd.org/vmctl.8">vmctl(8)</a> client "wait" state corruption in <a href="https://man.openbsd.org/vmd.8">vmd(8)</a> when a wait is canceled and restarted, allowing multiple waiting clients.
164: <li>Added protections against guests with bad virtio drivers to <a href="https://man.openbsd.org/vmd.8">vmd(8)</a>
1.1 benno 165: </ul>
166:
167: <li>Various new userland features:
168: <ul>
1.17 benno 169: <li>Fixed <a href="https://man.openbsd.org/disklabel.8">disklabel(8)</a> generation on sparc64.
170: <li>Modified <a href="https://man.openbsd.org/doas">doas(1)</a> to retry up to 3 times on password authentication failure.
171: <li>Made all <a href="https://man.openbsd.org/vi.1">vi(1)</a> signal handler functions async-signal-safe.
172: <li>Changed <a href="https://man.openbsd.org/diff.1">diff(1)</a> to consider two files sharing the same inode identical.
173: <li>Imported <a href="https://man.openbsd.org/timeout.1">timeout(1)</a> utility from NetBSD. timeout(1) can be used to run commands with a time limit.
174: <li>Removed from0 support from <a href="https://man.openbsd.org/openrsync.1">openrsync(1)</a>.
175: <li>Added include and exclude options to <a href="https://man.openbsd.org/rsync.1">rsync(1)</a> usage message.
176: <li>Implemented reporting of supplemental groups in <a href="https://man.openbsd.org/ps.1">ps(1)</a>.
177: <li>Altered <a href="https://man.openbsd.org/passwd.1">passwd(1)</a> to use stderr for printer error and informational messages. This allows easier parsing of what passwd(1) is doing if spawned from a GUI.
178: <li>Fixed <a href="https://man.openbsd.org/iostat.8">iostat(8)</a> per-device values when <a href="https://man.openbsd.org/systat.1">systat(1)</a> is in boot time mode ('b'), not normalizing based on the sleep interval.
179: <li>Made <a href="https://man.openbsd.org/jot.1">jot(1)</a> -b, -c and -w mutually exclusive.
180: <li>Made <a href="https://man.openbsd.org/cdio.1">cdio(1)</a> discard the current input line when Ctrl-C is used during line editing and provide a fresh prompt rather than exiting the program.
181: <li>Cleaned up the <a href="https://man.openbsd.org/fdisk.8">fdisk(8)</a> MBR/GPT initialization code, making -g independent of -i, leaving four mutually exclusive initialization options (-i, -b, -u and -A) with the last option specified executed (allowing the existing -i -g to work as intended).
182: <li>Corrected <a href="https://man.openbsd.org/awk.1">awk(1)</a> -F null string behavior to ensure -F '' behaves consistently with -v FS="".
183: <li>Avoided a potential buffer overflow in backslash escaping in <a href="https://man.openbsd.org/awk.1">awk(1)</a>.
184: <li>Disallowed the use of an empty list between "while" and "do" in <a href="https://man.openbsd.org/ksh.1">ksh(1)</a>.
185: <li>Ensured the values for <a href="https://man.openbsd.org/fdisk.8">fdisk(8)</a> -b and -l are treated as 512-byte block counts.
186: <li>Added an <a href="https://man.openbsd.org/fdisk.8">fdisk(8)</a> -A option to initialize a GPT without removing special boot partitions.
187: <li>Made <a href="https://man.openbsd.org/fdisk.8">fdisk(8)</a> available to architectures other than amd64 and i386 and extended the syntax to allow specification of the boot partition type and offset.
188: <li>Adjusted density for partitions on a 4k disk in <a href="https://man.openbsd.org/newfs.8">newfs(8)</a> when fragsize and density are not passed on the command line to ensure sufficient inodes to hold a src tree on a 2G fs.
189: <li>Fixed overlap check in <a href="https://man.openbsd.org/disklabel.1">disklabel(1)</a> autoalloc code.
190: <li>Prevented base pkg tools from looking under /usr/local in general. <!-- ??? -->
191: <li>Changed <a href="https://man.openbsd.org/cwm.1">cwm(1)</a> maximization and full-screen mode toggling to keep the cursor within the window, preventing focus loss.
192: <li>Added indication of whether an <a href="https://man.openbsd.org/mg.1">mg(1)</a> function is unsuitable for a startup file.
193: <li>Added "dired-jump" command to <a href="https://man.openbsd.org/mg.1">mg(1)</a> to open a dired buffer containing the current buffer's directory location.
1.1 benno 194: </ul>
195:
1.17 benno 196: <li>OAVarious bugfixes and tweaks in userland:
1.1 benno 197: <ul>
1.17 benno 198: <li>Allowed <a href="https://man.openbsd.org/xenodm.1">xenodm(1)</a> login when ~./Xauthority does not exist.
199: <li>Disabled building all of the non-unicode fonts except for ISO8859-1.
1.1 benno 200: <li>...
201: </ul>
202:
203: <li>Improved hardware support and driver bugfixes, including:
204: <ul>
1.15 benno 205: <li>Added a workaround to <a href="https://man.openbsd.org/amdgpu.4">amdgpu(4)</a> for machines where the framebuffer size reported by the hardware is incorrect.
206: <li>Prevented <a href="https://man.openbsd.org/ucc.4">ucc(4)</a> keyboards from changing the <a href="https://man.openbsd.org/wsmux.4">wsmux(4)</a> keyboard layout.
207: <li>Silently ignored invalid requests to change the encoding of a <a href="https://man.openbsd.org/ucc.4">ucc(4)</a> keyboard.
208: <li>In <a href="https://man.openbsd.org/pchgpio.4">pchgpio(4)</a>, worked around a BIOS bug on Lenovo Thinkpads based on Intel's Tiger Lake platform to properly restore the GPIO pin used for the touchpad interrupt upon resume.
209: <li>Enabled <a href="https://man.openbsd.org/cy.4">cy(4)</a> on amd64.
210: <li>Stopped setting the highspeed bit on bcm2835-sdhci <a href="https://man.openbsd.org/sdhc.4">sdhc(4)</a> controllers, fixing <a href="https://man.openbsd.org/bwfm.4">bwfm(4)</a> wifi on the Raspberry Pi 3 Model B+.
211: <li>Added the <a href="https://man.openbsd.org/uaq.4">uaq(4)</a> driver for Aquantia AQC111U/AQC112U USB ethernet devices.
212: <li>Added the <a href="https://man.openbsd.org/aq.4">aq(4)</a> driver to support Aquantia 1/2.5/5/10Gb/s PCIe ethernet adapters.
213: <li>Added support for obtaining sense status and source slot of a media to <a href="https://man.openbsd.org/chio.1">chio(1)</a> and <a href="https://man.openbsd.org/ch.4">ch(4)</a>.
214: <li>Fixed a crash with i915 graphics by removing bogus Linux code that tried to deal with something that is impossible on OpenBSD.
215: <li>Fixed <a href="https://man.openbsd.org/dwiic.4">dwiic(4)</a> timeouts requesting data from at least one touchpad.
216: <li>Added <a href="https://man.openbsd.org/ucc.4">ucc(4)</a>, a driver for USB HID Consumer Control keyboards.
217: <li>Set the <a href="https://man.openbsd.org/uhidpp.4">uhidpp(4)</a> battery level sensor status to unknown while charging to handle devices reporting zero during charge, preventing certain <a href="https://man.openbsd.org/sensorsd.conf.5">sensorsd.conf(5)</a> actions from triggering inappropriately.
218: <li>Added Tiger Lake LP (INT34C5) support to <a href="https://man.openbsd.org/pchgpio.4">pchgpio(4)</a>.
219: <li>Fixed a panic at shutdown relating to <a href="https://man.openbsd.org/azalia.4">azalia(4)</a> on the X1 Extreme Gen 1.
220: <li>Fixed a panic reported in <a href="https://man.openbsd.org/upd.4">upd(4)</a>.
221: <li>Fixed display of incorrect patterns on LUNA's <a href="https://man.openbsd.org/wscons.4">wscons(4)</a> with 1bpp framebuffer when backspace is typed.
222: <li>Fixed an attachment problem for <a href="https://man.openbsd.org/dwctwo.4">dwctwo(4)</a> for certain devices issuing NAK interrupts during split transactions.
223: <li>Fixed <a href="https://man.openbsd.org/ix.4">ix(4)</a> with older amd64 and current riscv64 hardware if MSI is not enabled for the device.
224: <li>Synced <a href="https://man.openbsd.org/dwctwo.4">dwctwo(4)</a> with the NetBSD-current code base, enabling the USB on-board ethernet controller through <a href="https://man.openbsd.org/mue.4">mue(4)</a> and enabling the two USB uhub3 ports on the Raspberry Pi 3 Model B+.
225: <li>Added AMD 17h/6xh Root Complex to <a href="https://man.openbsd.org/ksmn.4">ksmn(4)</a>.
226: <li>Ensured the TX FIFO isn't overrun for longer transfers in <a href="https://man.openbsd.org/dwiic.4">dwiic(4)</a>.
227: <li>Implemented 64-bit DMA mode in <a href="https://man.openbsd.org/cad.4">cad(4)</a>.
228: <li>Added <a href="https://man.openbsd.org/titmp.4">titmp(4)</a>, a driver for the TI TMP451 temperature sensor.
229: <li>Added Broadcom BCM5725 to <a href="https://man.openbsd.org/brgphy.4">brgphy(4)</a>.
230: <li>Limited the workaround for AMD errata 400 ("APIC Timer Interrupt Does Not Occur in Processor C-States")to family 0fh and 10h.
231: <li>Ensured a USB mouse will attach if otherwise qualified even if the usage report does not include X and Y usages.
232: <li>Stopped fatal error in <a href="https://man.openbsd.org/amdgpu.4">amdgpu(4)</a> on failing to map visible VRAM.
233: <li>Disabled PPGTT on Intel machines with cherryview/braswell graphics to avoid memory corruption.
234: <li>Attached unsupported video devices to <a href="https://man.openbsd.org/uvideo.4">uvideo(4)</a> but not <a href="https://man.openbsd.org/video.1">video(1)</a>, rather than leaving it unmatched.
235: <li>Added a -R flag to <a href="https://man.openbsd.org/usbhidctl.1">usbhidctl(1)</a> to dump the raw report descriptor bytes.
236: <li>Added hid_get_report_desc_data() to <a href="https://man.openbsd.org/usbhid.3">usbhid(3)</a> to access raw report descriptor data.
237: <li>Fixed overflows when reading multiple bytes from AML over an i2c bus in <a href="https://man.openbsd.org/acpi.4">acpi(4)</a>.
238: <li>Fixed <a href="https://man.openbsd.org/uaudio.4">uaudio(4)</a> on certain machines such as the RPI4 by adding a pre-DMA-write barrier after data is stored to memory.
239: <li>Worked around x86 machines that advertise the "hardware reduced" ACPI feature, advertise S4 and S5 support, but fail to populate the SLEEP_CONTROL_REG and SLEEP_STATUS_REG descriptions in the FADT. This fixed the ASUS Zenbook 14.
240: <li>Added support for RTL8168FP/RTL8111FP/RTL8117 to <a href="https://man.openbsd.org/re.4">re(4)</a>.
241: <li>Enabled all Thinkpad X1 Extreme 1 speakers and atmos dolby in <a href="https://man.openbsd.org/azalia.4">azalia(4)</a>.
1.16 benno 242: <li>Fixed <a href="https://man.openbsd.org/pchgpio.4">pchgpio(4)</a> issues with dead touchpads after resume.
1.1 benno 243: </ul>
244:
245: <li>New or improved network hardware support:
246: <ul>
247: <li>...
248: </ul>
249:
250: <li>Added or improved wireless network drivers:
251: <ul>
252: <li>...
253: </ul>
254:
255: <li>IEEE 802.11 wireless stack improvements and bugfixes:
256: <ul>
257: <li>...
258: </ul>
259:
260: <li>Generic network stack improvements and bugfixes:
261: <ul>
1.22 benno 262: <li>Implemented reception of "VLAN 0 priority tagged" packets.
263: <li>Added <a href="https://man.openbsd.org/veb.4">veb(4)</a> to the list of pseudo devices that <a href="https://man.openbsd.org/ifconfig.8">ifconfig(8)</a> can create.
264: <li>Fixed an alignment fault observed on an octeon machine while <a href="https://man.openbsd.org/pppoe.4">pppoe(4)</a> negotiated a large MTU.
265: <li>Displayed provider ID for a <a href="https://man.openbsd.org/umb.4">umb(4)</a> SIM in <a href="https://man.openbsd.org/ifconfig.8">ifconfig(8)</a>.
266: <li>Corrected a potential memory leak associated with <a href="https://man.openbsd.org/pfsync.4">pfsync(4)</a> update requests.
267: <li>Introduced locks around the global <a href="https://man.openbsd.org/pf.4">pf(4)</a> state list.
268: <li>Fixed a panic due to <a href="https://man.openbsd.org/pfsync.4">pfsync(4)</a> deferral timeout handling.
269: <li>Added support for <a href="https://man.openbsd.org/pf.4">pf(4)</a> divert-to on <a href="https://man.openbsd.org/tpmr.4">tpmr(4)</a> and <a href="https://man.openbsd.org/veb.4">veb(4)</a>.
270: <li>Fixed state key reference underflow when both state keys are identical in <a href="https://man.openbsd.org/pf.4">pf(4)</a>.
271: <li>Only skipped <a href="https://man.openbsd.org/pf.4">pf(4)</a> once for packets injected by a divert-packet socket, allowing pf to still act later on a diverted packet.
1.1 benno 272: </ul>
273:
274: <li>Installer and upgrade improvements:
275: <ul>
276: <li>...
277: </ul>
278:
279: <li>Security improvements:
280: <ul>
1.16 benno 281: <li>Moved objcopy to base set to allow KARL to work on all installs.
282: <li>Added <a href="https://man.openbsd.org/unveil.2">unveil(2)</a> calls to xterm in the case where there are no exec-formatted or exec-selected resources set.
283: <li>Changed usage of %n from a syslog warning to syslog and abort for <a href="https://man.openbsd.org/printf.3">printf(3)</a> (and associated variants).
284: <li>Made kernel stop all threads when terminating via pledge_fail().
1.1 benno 285: </ul>
286:
287: <li>Routing daemons and other userland network improvements:
288: <ul>
289: <li>The <a href="https://man.openbsd.org/bgpd.8">bgpd(8)</a> daemon saw the following changes:
290: <ul>
1.14 benno 291: <!-- check against and use openbgpd/rpki-client release notes instead? -->
292: <li>Fixed a memory leak in <a href="https://man.openbsd.org/rpki-client.8">rpki-client(8)</a>.
293: <li>Adjusted <a href="https://man.openbsd.org/bgpctl.8">bgpctl(8)</a> RIB_GENERIC_ADDPATH MRT message handling to work with other MRT implementations.
294: <li>Set the <a href="https://man.openbsd.org/rpki-client.8">rpki-client(8)</a> x509 validation depth limit to 12 or double the current depth.
295: <li>Limited <a href="https://man.openbsd.org/rpki-client.8">rpki-client(8)</a> to 300 deltas to sync an RRDP repository rather than fetching a snapshot.
296: <li>Add add-path support in MRT dumps (RFC8050) to <a href="https://man.openbsd.org/bgpd.8">bgpd(8)</a>.
297: <li>Added http_proxy support to <a href="https://man.openbsd.org/rpki-client.8">rpki-client(8)</a> http handler.
298: <li>Implemented reception of multiple paths per BGP session in <a href="https://man.openbsd.org/bgpd.conf.5">bgpd.conf(5)</a> and made it possible to match on path-id in <a href="https://man.openbsd.org/bgpctl.8">bgpctl(8)</a> show rib outputs.
299: <li>Ensured MRT dumps containing add-path information will be dumped properly by <a href="https://man.openbsd.org/bgpctl.8">bgpctl(8)</a> (RFC 8050).
300: <li>Implemented Extended Optional Parameters Length for BGP OPEN Message (RFC 9072) in <a href="https://man.openbsd.org/bgpd.8">bgpd(8)</a>, allowing sending of more than 255 bytes of optional parameters.
301: <li>Defaulted to attempting RRDP first in <a href="https://man.openbsd.org/rpki-client.8">rpki-client(8)</a> -r.
302: <li>Implemented enhanced route refresh (RFC 7313) in <a href="https://man.openbsd.org/bgpd.8">bgpd(8)</a>.
303: <li>Improved <a href="https://man.openbsd.org/bgpd.8">bgpd(8)</a> graceful restart capability handling.
304: <li>Limited the number of concurrent RTR connects to 32 in <a href="https://man.openbsd.org/bgpd.8">bgpd(8)</a>.
305: <li>Added an 'expires' column to CSV & JSON output of <a href="https://man.openbsd.org/rpki-client.8">rpki-client(8)</a>.
306: <li>Added keep-alive support to the <a href="https://man.openbsd.org/rpki-client.8">rpki-client(8)</a> HTTP module.
1.1 benno 307: </ul>
308:
1.21 benno 309: <li>...other routing daemons...
1.1 benno 310:
311: <li>The <a href="https://man.openbsd.org/pf.4">pf(4)</a> packet filter and its userland utility:
312: <ul>
313: <li>...
314: </ul>
315:
316: <li>IPSEC support in the kernel and the <a href="https://man.openbsd.org/iked.8">iked(8)</a> userland daemon:
317: <ul>
1.20 benno 318: <li>Zeroed out potential passwords when freeing memory or handling parsing errors in <a href="https://man.openbsd.org/iked.8">iked(8)</a>.
319: <li>Added client-side support for DNS configuration to <a href="https://man.openbsd.org/iked.8">iked(8)</a>.
320: <li>Increased <a href="https://man.openbsd.org/iked.8">iked(8)</a> default data bytes limit for Child SAs to 4 GB, preventing excessive rekeying and lost data in high performance setups.
321: <li>Fixed races which were slowing <a href="https://man.openbsd.org/ipsec.4">ipsec(4)</a> throughput.
322: <li>Fixed an <a href="https://man.openbsd.org/iked.8">iked(8)</a> bug where no flows are added if a single address is configured in the config address instead of a pool.
323: <li>Fixed a problem in <a href="https://man.openbsd.org/iked.8">iked(8)</a> where no flows are loaded when a single config address without pool is configured.
324: <li>Added an experimental post-quantum hybrid key exchange method based on Streamlined NTRU Prime (coupled with X25519) to <a href="https://man.openbsd.org/iked.8">iked(8)</a> as sntrup761x25519.
325: <li>Fixed <a href="https://man.openbsd.org/ipsec.4">IPsec(4)</a> NAT-T to work with <a href="https://man.openbsd.org/pipex.4">pipex(4)</a>.
1.1 benno 326: </ul>
327:
328: <li>The <a href="https://man.openbsd.org/httpd.8">httpd(8)</a> webserver saw numerous improvements:
329: <ul>
330: <li>...
331: </ul>
332:
333: <li><a
334: href="https://man.openbsd.org/rpki-client.8">rpki-client(8)</a>
335: received the following new features and bugfixes:
336: <ul>
337: <li>...
338: </ul>
339:
340: <li>Changes to <a href="https://man.openbsd.org/dhclient.8">dhclient(8)</a>:
341: <ul>
342: <li>...
343: </ul>
344:
345: <li>XXX Two new daemons, <a
346: href="https://man.openbsd.org/dhcpleased.8">dhcpleased(8)</a> and <a
347: href="https://man.openbsd.org/resolvd.8">resolvd(8)</a> were added.
348: These work alongside with <a
349: href="https://man.openbsd.org/slaacd.8">slaacd(8)</a> and <a
350: href="https://man.openbsd.org/unwind.8">unwind(8)</a> to provide a
351: coherent and simple automatic configuration of network interfaces and
352: DNS resolution.<br>
353: The two daemons are not enabled by default for now, but can be tested
1.18 benno 354: by enabling them with <a href="https://man.openbsd.org/rcctl.8">rcctl(8)</a>
1.1 benno 355: <ul>
1.18 benno 356: <li>Changed <a href="https://man.openbsd.org/dhcpleased.8">dhcpleased(8)</a> client identifier transmission to match other dhcp client implementations.
357: <li>Simplified <a href="https://man.openbsd.org/dhcpleasectl.8">dhcpleasectl(8)</a> and added syntax to match <a href="https://man.openbsd.org/dhclient.8">dhclient(8)</a> (interface), allowing one to be aliased to the other.
358: <li>Retried broadcast with <a href="https://man.openbsd.org/dhcpleased.8">dhcpleased(8)</a> when the dhcp server is unreachable via unicast UDP.
359: <li>Made <a href="https://man.openbsd.org/resolvd.8">resolvd(8)</a> accept dns proposals for the loopback addresses.
360: <li>Added to <a href="https://man.openbsd.org/dhcpleased.conf.5">dhcpleased.conf(5)</a> the ability to ignore routes or nameservers from a lease and to ignore servers entirely.
361: <li>Added a new "nameserver" command to <a href="https://man.openbsd.org/route.8">route(8)</a>, sending nameserver proposals to <a href="https://man.openbsd.org/resolvd.8">resolvd(8)</a> using the dns proposal protocol over the route socket.
362: <li>Left <a href="https://man.openbsd.org/resolv.conf.5">resolv.conf(5)</a> to <a href="https://man.openbsd.org/resolvd.8">resolvd(8)</a> rather than recreating after finding nameservers.
363: <li>Made <a href="https://man.openbsd.org/dhclient.8">dhclient(8)</a> defer to <a href="https://man.openbsd.org/dhcpleased.8">dhcpleased(8)</a> when the inet autoconf flag is set. When run, dhclient will signal dhcpleased to request a new lease rather than requesting one itself.
364: <li>Fixed potential races in <a href="https://man.openbsd.org/slaacd.8">slaacd(8)</a> and <a href="https://man.openbsd.org/dhcpleased.8">dhcpleased(8)</a> when two processes are configuring the same IP.
365: <li>Added the possibility to send vendor class identifier and client identifier using <a href="https://man.openbsd.org/dhcpleased.conf.5">dhcpleased.conf(5)</a>.
366: <li>Made <a href="https://man.openbsd.org/dhcpleased.8">dhcpleased(8)</a> always configure provided routes, regardless of whether the address received in the lease is already configured.
367: <li>Made <a href="https://man.openbsd.org/slaacd.8">slaacd(8)</a> send rDNS proposals on ramdisks, allowing <a href="https://man.openbsd.org/resolvd.8">resolvd(8)</a> to learn nameservers and update /etc/resolv.conf with IPv6 resolvers.
368: <li>Used exclusive locks under /dev/ to ensure single instances of <a href="https://man.openbsd.org/resolvd.8">resolvd(8)</a>, <a href="https://man.openbsd.org/slaacd.8">slaacd(8)</a> and <a href="https://man.openbsd.org/dhcpleased.8">dhcpleased(8)</a>.
369: <li>Switched to <a href="https://man.openbsd.org/dhcpleased.8">dhcpleased(8)</a> / <a href="https://man.openbsd.org/resolvd.8">resolvd(8)</a> in base.
370: <li>Stopped attempting to install a default route with <a href="https://man.openbsd.org/route.8">route(8)</a> in <a href="https://man.openbsd.org/netstart.8">netstart(8)</a> if using inet autoconf.
371: <li>Implemented classless static routes dhcp option in <a href="https://man.openbsd.org/dhcpleased.8">dhcpleased(8)</a>.
1.1 benno 372: </ul>
373:
374: <li>Changes to snmp related tools:
375: <ul>
376: <li>...
377: </ul>
378:
379: <li>Other userland network changes:
380: <ul>
1.21 benno 381: <li>Fixed <a href="https://man.openbsd.org/acme-client.1">acme-client(1)</a> SAN generation for CSRs.
382: <li>Altered <a href="https://man.openbsd.org/slowcgi.8">slowcgi(8)</a> so it no longer sends debug logging to syslog unless debug logging is requested via the new -v flag.
383: <li>Added the ability for <a href="https://man.openbsd.org/snmpd.8">snmpd(8)</a> to send SNMPv3 traps.
384: <li>Changed the default <a href="https://man.openbsd.org/snmp.1">snmp(1)</a> version to -v3 and removed the default community.
385: <li>Allowed "any" to be used as a listen on address in <a href="https://man.openbsd.org/snmpd.conf.5">snmpd.conf(5)</a>.
386: <li>Allowed setting of the engineid in <a href="https://man.openbsd.org/snmpd.8">snmpd(8)</a>.
387: <li>Switched default <a href="https://man.openbsd.org/snmpd.8">snmpd(8)</a> and <a href="https://man.openbsd.org/snmp.1">snmp(1)</a> auth back to hmac-sha1.
388: <li>Fixed incorrect status code for expired mails resulting in a misleading bounce report in <a href="https://man.openbsd.org/smtpd.8">smtpd(8)</a>.
389: <li>Removed default communities, changed seclevel default from none to enc and only allowed SNMPv3 by default in <a href="https://man.openbsd.org/snmpd.8">snmpd(8)</a>. Changed default authentication to SHA-256 and privacy protocol to AES in <a href="https://man.openbsd.org/snmpd.8">snmpd(8)</a> and <a href="https://man.openbsd.org/snmp.1">snmp(1)</a>.
390: <li>Added TLS options cafile=(path), nosni, noverify and servername=(name) to <a href="https://man.openbsd.org/smtp.1">smtp(1)</a>.
391: <li>Allowed specification of TLS ciphers and protocols in <a href="https://man.openbsd.org/smtp.1">smtp(1)</a>.
392: <li>Prevented <a href="https://man.openbsd.org/httpd.8">httpd(8)</a> from trying to chunk encode an empty http body coming from an fcgi upstream.
393: <li>Added <a href="https://man.openbsd.org/pledge.8">pledge(8)</a> for <a href="https://man.openbsd.org/ftpd.8">ftpd(8)</a> user processes.
394: <li>Allowed router solicitations from the unspecified address (::) in <a href="https://man.openbsd.org/rad.8">rad(8)</a>.
395: <li>Used relative reference URIs in Location header on directory redirects in <a href="https://man.openbsd.org/httpd.8">httpd(8)</a>, adding support for front-ending httpd with a TLS-terminating gateway that forwards unencrypted http traffic.
1.23 benno 396: <li>Prevented a crash on strict alignment architectures of <a href="https://man.openbsd.org/tcpdump.8">tcpdump(8)</a> WireGuard printer.
397: <li>Made <a href="https://man.openbsd.org/tcpdump.8">tcpdump(8)</a> split the 802.11 sequence number field into its sequence number and fragment number components rather than printing the whole field in decimal.
398: <li>Added simple BGP enhanced route refresh message decoding to <a href="https://man.openbsd.org/tcpdump.8">tcpdump(8)</a>.
1.1 benno 399: </ul>
400: </ul>
401:
402: <li><a href="https://man.openbsd.org/tmux">tmux(1)</a> improvements and bug fixes:
403: <ul>
404: <li>...
405: </ul>
406:
407: <li>OpenSMTPD 7.0.0
408: <ul>
409: <li>...
410: </ul>
411:
1.2 jsg 412: <li>LibreSSL 3.4.0 XXX
1.1 benno 413: <ul>
414: <li>New Features
415: <ul>
416: <li>...
417: </ul>
418:
419: <li>Portable Improvements
420: <ul>
421: <li>...
422: </ul>
423:
424: <li>API and Documentation Enhancements
425: <ul>
426: <li>...
427: </ul>
428:
429: <li>Compatibility Changes
430: <ul>
431: <li>...
432: </ul>
433:
434: <li>Testing and Proactive Security
435: <ul>
436: <li>...
437: </ul>
438:
439: <li>Internal Improvements
440: <ul>
441: <li>...
442: </ul>
443:
444: <li>Bug Fixes
445: <ul>
446: <li>...
447: </ul>
448: </ul>
449:
1.13 benno 450: <li>OpenSSH 8.8 XXX <span style="color:red;">replace with release notes</span>
451: <li>Corrected <a href="https://man.openbsd.org/sshd.8">sshd(8)</a> initialization of supplemental groups when executing an AuthorizedKeysCommand or AuthorizedPrincipalsCommand helper program (not enabled by default) as a different user.
452: <li>Fixed the <a href="https://man.openbsd.org/ssh.1">ssh(1)</a> "Allocated port" debug message for unix sockets.
453: <li>Switched <a href="https://man.openbsd.org/scp.1">scp(1)</a> back to using the original scp/rcp protocol by default for release.
454: <li>Made <a href="https://man.openbsd.org/scp.1">scp(1)</a> SFTP mode (including error logging) more scp-like.
455: <li>Allowed CanonicalPermittedCNAMEs=none in <a href="https://man.openbsd.org/ssh_config.5">ssh_config(5)</a>.
456: <li>Put back the mux_ctx memleak fix for SSH_CHANNEL_MUX_CLIENT in <a href="https://man.openbsd.org/ssh.1">ssh(1)</a>.
457: <li>Stopped ignoring SIGINT in <a href="https://man.openbsd.org/sftp.1">sftp(1)</a> while waiting for input if <a href="https://man.openbsd.org/editline.3">editline(3)</a> is not used.
458: <li>Altered <a href="https://man.openbsd.org/scp">scp(1)</a> to use the SFTP protocol by default. The original scp/rcp protocol remains available via the -O flag.
459: <li>Disabled the RSA/SHA-1 signature algorithm by default in <a href="https://man.openbsd.org/ssh.1">ssh(1)</a>.
460: <li>Ensured some programs (including <a href="https://man.openbsd.org/sftp.1">sftp(1)</a>) do not ignore Ctrl-C when awaiting user input.
461: <li>Added <a href="https://man.openbsd.org/scp.1">scp(1)</a> -O and temporary -s (SFTP) flags to select the sftp protocol.
462: <li>Made <a href="https://man.openbsd.org/scp.1">scp(1)</a> -3 the default for remote-to-remote copies.
463: <li>Improved handling of ~ prefixed paths in <a href="https://man.openbsd.org/scp.1">scp(1)</a> in SFTP mode.
464: <li>Added experimental support for using the SFTP protocol for file transfers in <a href="https://man.openbsd.org/scp.1">scp(1)</a>.
465: <li>Added a ForkAfterAuthentication directive to <a href="https://man.openbsd.org/ssh_config.5">ssh_config(5)</a>, equivalent to <a href="https://man.openbsd.org/ssh.1">ssh(1)</a> -f.
466: <li>Added a StdinNull directive to <a href="https://man.openbsd.org/ssh_config.5">ssh_config(5)</a> to prevent reading from stdin, equivalent to <a href="https://man.openbsd.org/ssh.1">ssh(1)</a> -n.
467: <li>Let allowed signers files used by <a href="https://man.openbsd.org/ssh-keygen.1">ssh-keygen(1)</a> signatures support key lifetimes and verification mode to specify a signature time at which to check.
468: <li>Added a SessionType directive to <a href="https://man.openbsd.org/ssh_config.5">ssh_config(5)</a>, equivalent to the -N (no session) and -s (subsystem) command line flags.
469: <li>Allowed spaces to appear in usernames for <a href="https://man.openbsd.org/scp.1">scp(1)</a> local to remote and scp -3 remote to remote copies.
470: <li>Prevented a hang in <a href="https://man.openbsd.org/sshd.8">sshd(8)</a> when interrupted.
471: <li>Matched host certificates against host public keys in <a href="https://man.openbsd.org/sshd.8">sshd(8)</a>, allowing use of certificates with private keys held in an ssh-agent.
472: <li>Prevented a race condition which could result in <a href="https://man.openbsd.org/sshd.8">sshd(8)</a> not shutting down until the next time it receives a new connection.
473: <li>Allowed <a href="https://man.openbsd.org/ssh_config.5">ssh_config(5)</a> SetEnv to override $TERM.
474: <li>Fixed a segmentation violation in <a href="https://man.openbsd.org/ssh.1">ssh(1)</a> in an UpdateHostKezs debug() message when the update removed more host keys than remain present.
475: <li>Fixed <a href="https://man.openbsd.org/ssh.1">ssh(1)</a> to restore file descriptors to non-blocking mode on exit.
476: <li>Fixed <a href="https://man.openbsd.org/ssh.1">ssh(1)</a> started with ControlPersist incorrectly executing a shell when the -N option was specified.
477:
1.1 benno 478: <ul>
479: <li>Security fixes
480: <ul>
481: <li>...
482: </ul>
483: <li>Potentially incompatible changes
484: <ul>
485: <li>...
486: </ul>
487: <li>New Features
488: <ul>
489: <li>...
490: </ul>
491: <li>Bugfixes
492: <ul>
493: <li>...
494: </ul>
495: </ul>
496:
497: <li>Ports and packages:
498: <p>Many pre-built packages for each architecture:
499: <!-- number of FTP packages minus SHA256, SHA256.sig, index.txt -->
500: <ul style="column-count: 3">
1.10 naddy 501: <li>aarch64: 11034
1.9 naddy 502: <li>amd64: 11325
1.1 benno 503: <li>arm: ...
1.10 naddy 504: <li>i386: 10248
1.1 benno 505: <li>mips64: ...
506: <li>mips64el: ...
507: <li>powerpc: ...
1.10 naddy 508: <li>powerpc64: 9273
1.1 benno 509: <li>sparc64: ...
510: </ul>
511:
512: <p>Some highlights:
513: <ul style="column-count: 3">
1.2 jsg 514: <li>Asterisk 18.6.0
1.1 benno 515: <li>Audacity 2.4.2
1.2 jsg 516: <li>CMake 3.20.3
517: <li>Chromium 93.0.4577.82
1.1 benno 518: <li>Emacs 27.2
1.2 jsg 519: <li>FFmpeg 4.4
520: <li>GCC 8.4.0 and 11.2.0
521: <li>GHC 8.10.6
522: <li>GNOME 40.4
523: <li>Go 1.17
524: <li>JDK 8u302, 11.0.12 and 16.0.2
525: <li>KDE Applications 21.08.1
526: <li>KDE Frameworks 5.85.0
527: <li>Krita 4.4.8
528: <li>LLVM/Clang 11.1.0
1.7 jsg 529: <li>LibreOffice 7.2.1.2
1.1 benno 530: <li>Lua 5.1.5, 5.2.4 and 5.3.6
1.2 jsg 531: <li>MariaDB 10.6.4
1.1 benno 532: <li>Mono 6.12.0.122
1.2 jsg 533: <li>Mozilla Firefox 92.0 and ESR 91.1.0
1.7 jsg 534: <li>Mozilla Thunderbird 91.1.1
1.2 jsg 535: <li>Mutt 2.1.3 and NeoMutt 20210205
536: <li>Node.js 12.22.6
1.1 benno 537: <li>OCaml 4.10.0
1.2 jsg 538: <li>OpenLDAP 2.4.59
539: <li>PHP 7.3.30, 7.4.23 and 8.0.10
1.7 jsg 540: <li>Postfix 3.5.12
1.2 jsg 541: <li>PostgreSQL 13.4
542: <li>Python 2.7.18, 3.8.12 and 3.9.7
543: <li>Qt 5.15.2 and 6.0.4
544: <li>R 4.1.1
545: <li>Ruby 2.6.8, 2.7.4 and 3.0.2
546: <li>Rust 1.55.0
547: <li>SQLite 3.35.5
1.1 benno 548: <li>Shotcut 21.01.29
1.2 jsg 549: <li>Sudo 1.9.7p2
550: <li>Suricata 6.0.2
1.1 benno 551: <li>Tcl/Tk 8.5.19 and 8.6.8
552: <li>TeX Live 2020
1.2 jsg 553: <li>Vim 8.2.3394 and Neovim 0.5.0
1.1 benno 554: <li>Xfce 4.16
555: </ul>
556: <p>
557:
558: <li>As usual, steady improvements in manual pages and other documentation.
559:
560: <li>The system includes the following major components from outside suppliers:
561: <ul>
1.2 jsg 562: <li>Xenocara (based on X.Org 7.7 with xserver 1.20.13 + patches,
1.5 jsg 563: freetype 2.10.4, fontconfig 2.12.4, Mesa 21.1.8, xterm 367,
1.2 jsg 564: xkeyboard-config 2.20, fonttosfnt 1.2.2 and more)
565: <li>LLVM/Clang 11.1.0 (+ patches)
1.1 benno 566: <li>GCC 4.2.1 (+ patches) and 3.3.6 (+ patches)
567: <li>Perl 5.32.1 (+ patches)
1.2 jsg 568: <li>NSD 4.3.7
569: <li>Unbound 1.13.2
1.1 benno 570: <li>Ncurses 5.7
571: <li>Binutils 2.17 (+ patches)
572: <li>Gdb 6.3 (+ patches)
573: <li>Awk December 18, 2020 version
1.2 jsg 574: <li>Expat 2.4.1
1.12 benno 575: <li><a href="https://man.openbsd.org/drm.4">drm(4)</a> from Linux 5.10.47.
576: <li>libdrm 2.4.107
1.1 benno 577: </ul>
578:
579: </ul>
580: </section>
581:
582: <hr>
583:
584: <section id=install>
585: <h3>How to install</h3>
586: <p>
587: Please refer to the following files on the mirror site for
588: extensive details on how to install OpenBSD 7.0 on your machine:
589:
590: <ul>
591: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/7.0/alpha/INSTALL.alpha">
592: .../OpenBSD/7.0/alpha/INSTALL.alpha</a>
593: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/7.0/amd64/INSTALL.amd64">
594: .../OpenBSD/7.0/amd64/INSTALL.amd64</a>
595: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/7.0/arm64/INSTALL.arm64">
596: .../OpenBSD/7.0/arm64/INSTALL.arm64</a>
597: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/7.0/armv7/INSTALL.armv7">
598: .../OpenBSD/7.0/armv7/INSTALL.armv7</a>
599: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/7.0/hppa/INSTALL.hppa">
600: .../OpenBSD/7.0/hppa/INSTALL.hppa</a>
601: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/7.0/i386/INSTALL.i386">
602: .../OpenBSD/7.0/i386/INSTALL.i386</a>
603: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/7.0/landisk/INSTALL.landisk">
604: .../OpenBSD/7.0/landisk/INSTALL.landisk</a>
605: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/7.0/loongson/INSTALL.loongson">
606: .../OpenBSD/7.0/loongson/INSTALL.loongson</a>
607: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/7.0/luna88k/INSTALL.luna88k">
608: .../OpenBSD/7.0/luna88k/INSTALL.luna88k</a>
609: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/7.0/macppc/INSTALL.macppc">
610: .../OpenBSD/7.0/macppc/INSTALL.macppc</a>
611: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/7.0/octeon/INSTALL.octeon">
612: .../OpenBSD/7.0/octeon/INSTALL.octeon</a>
613: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/7.0/powerpc64/INSTALL.powerpc64">
614: .../OpenBSD/7.0/powerpc64/INSTALL.powerpc64</a>
1.3 jsg 615: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/7.0/riscv64/INSTALL.riscv64">
616: .../OpenBSD/7.0/riscv64/INSTALL.riscv64</a>
1.1 benno 617: <li><a href="https://ftp.openbsd.org/pub/OpenBSD/7.0/sparc64/INSTALL.sparc64">
618: .../OpenBSD/7.0/sparc64/INSTALL.sparc64</a>
619: </ul>
620: </section>
621:
622: <hr>
623:
624: <section id=quickinstall>
625: <p>
626: Quick installer information for people familiar with OpenBSD, and the use of
627: the "<a href="https://man.openbsd.org/disklabel.8">disklabel</a> -E" command.
628: If you are at all confused when installing OpenBSD, read the relevant
629: INSTALL.* file as listed above!
630:
631: <h3>OpenBSD/alpha:</h3>
632:
633: <p>
634: If your machine can boot from CD, you can write <i>install70.iso</i> or
635: <i>cd70.iso</i> to a CD and boot from it.
636: Refer to INSTALL.alpha for more details.
637:
638: <h3>OpenBSD/amd64:</h3>
639:
640: <p>
641: If your machine can boot from CD, you can write <i>install70.iso</i> or
642: <i>cd70.iso</i> to a CD and boot from it.
643: You may need to adjust your BIOS options first.
644:
645: <p>
646: If your machine can boot from USB, you can write <i>install70.img</i> or
647: <i>miniroot70.img</i> to a USB stick and boot from it.
648:
649: <p>
650: If you can't boot from a CD, floppy disk, or USB,
651: you can install across the network using PXE as described in the included
652: INSTALL.amd64 document.
653:
654: <p>
655: If you are planning to dual boot OpenBSD with another OS, you will need to
656: read INSTALL.amd64.
657:
658: <h3>OpenBSD/arm64:</h3>
659:
660: <p>
661: Write <i>install70.img</i> or <i>miniroot70.img</i> to a disk and boot from it
662: after connecting to the serial console. Refer to INSTALL.arm64 for more
663: details.
664:
665: <h3>OpenBSD/armv7:</h3>
666:
667: <p>
668: Write a system specific miniroot to an SD card and boot from it after connecting
669: to the serial console. Refer to INSTALL.armv7 for more details.
670:
671: <h3>OpenBSD/hppa:</h3>
672:
673: <p>
674: Boot over the network by following the instructions in INSTALL.hppa or the
675: <a href="hppa.html#install">hppa platform page</a>.
676:
677: <h3>OpenBSD/i386:</h3>
678:
679: <p>
680: If your machine can boot from CD, you can write <i>install70.iso</i> or
681: <i>cd70.iso</i> to a CD and boot from it.
682: You may need to adjust your BIOS options first.
683:
684: <p>
685: If your machine can boot from USB, you can write <i>install70.img</i> or
686: <i>miniroot70.img</i> to a USB stick and boot from it.
687:
688: <p>
689: If you can't boot from a CD, floppy disk, or USB,
690: you can install across the network using PXE as described in
691: the included INSTALL.i386 document.
692:
693: <p>
694: If you are planning on dual booting OpenBSD with another OS, you will need to
695: read INSTALL.i386.
696:
697: <h3>OpenBSD/landisk:</h3>
698:
699: <p>
700: Write <i>miniroot70.img</i> to the start of the CF
701: or disk, and boot normally.
702:
703: <h3>OpenBSD/loongson:</h3>
704:
705: <p>
706: Write <i>miniroot70.img</i> to a USB stick and boot bsd.rd from it
707: or boot bsd.rd via tftp.
708: Refer to the instructions in INSTALL.loongson for more details.
709:
710: <h3>OpenBSD/luna88k:</h3>
711:
712: <p>
713: Copy 'boot' and 'bsd.rd' to a Mach or UniOS partition, and boot the bootloader
714: from the PROM, and then bsd.rd from the bootloader.
715: Refer to the instructions in INSTALL.luna88k for more details.
716:
717: <h3>OpenBSD/macppc:</h3>
718:
719: <p>
720: Burn the image from a mirror site to a CDROM, and power on your machine
721: while holding down the <i>C</i> key until the display turns on and
722: shows <i>OpenBSD/macppc boot</i>.
723:
724: <p>
725: Alternatively, at the Open Firmware prompt, enter <i>boot cd:,ofwboot
726: /7.0/macppc/bsd.rd</i>
727:
728: <h3>OpenBSD/octeon:</h3>
729:
730: <p>
731: After connecting a serial port, boot bsd.rd over the network via DHCP/tftp.
732: Refer to the instructions in INSTALL.octeon for more details.
733:
734: <h3>OpenBSD/powerpc64:</h3>
735:
736: <p>
737: To install, write <i>install70.img</i> or <i>miniroot70.img</i> to a
738: USB stick, plug it into the machine and choose the <i>OpenBSD
739: install</i> menu item in Petitboot.
740: Refer to the instructions in INSTALL.powerpc64 for more details.
741:
1.3 jsg 742: <h3>OpenBSD/riscv64:</h3>
1.1 benno 743:
744: <p>
1.3 jsg 745: To install, write <i>install70.img</i> or <i>miniroot70.img</i> to a
746: USB stick, and boot with that drive plugged in.
747: Make sure you also have the microSD card plugged in that shipped with the
748: HiFive Unmatched board.
749: Refer to the instructions in INSTALL.riscv64 for more details.
1.1 benno 750:
751: <h3>OpenBSD/sparc64:</h3>
752:
753: <p>
754: Burn the image from a mirror site to a CDROM, boot from it, and type
755: <i>boot cdrom</i>.
756:
757: <p>
758: If this doesn't work, or if you don't have a CDROM drive, you can write
759: <i>floppy70.img</i> or <i>floppyB70.img</i>
760: (depending on your machine) to a floppy and boot it with <i>boot
761: floppy</i>. Refer to INSTALL.sparc64 for details.
762:
763: <p>
764: Make sure you use a properly formatted floppy with NO BAD BLOCKS or your install
765: will most likely fail.
766:
767: <p>
768: You can also write <i>miniroot70.img</i> to the swap partition on
769: the disk and boot with <i>boot disk:b</i>.
770:
771: <p>
772: If nothing works, you can boot over the network as described in INSTALL.sparc64.
773: </section>
774:
775: <hr>
776:
777: <section id=upgrade>
778: <h3>How to upgrade</h3>
779: <p>
1.4 jsg 780: If you already have an OpenBSD 6.9 system, and do not want to reinstall,
1.1 benno 781: upgrade instructions and advice can be found in the
782: <a href="faq/upgrade70.html">Upgrade Guide</a>.
783: </section>
784:
785: <hr>
786:
787: <section id=sourcecode>
788: <h3>Notes about the source code</h3>
789: <p>
790: <code>src.tar.gz</code> contains a source archive starting at <code>/usr/src</code>.
791: This file contains everything you need except for the kernel sources,
792: which are in a separate archive.
793: To extract:
794: <blockquote><pre>
795: # <kbd>mkdir -p /usr/src</kbd>
796: # <kbd>cd /usr/src</kbd>
797: # <kbd>tar xvfz /tmp/src.tar.gz</kbd>
798: </pre></blockquote>
799: <p>
800: <code>sys.tar.gz</code> contains a source archive starting at <code>/usr/src/sys</code>.
801: This file contains all the kernel sources you need to rebuild kernels.
802: To extract:
803: <blockquote><pre>
804: # <kbd>mkdir -p /usr/src/sys</kbd>
805: # <kbd>cd /usr/src</kbd>
806: # <kbd>tar xvfz /tmp/sys.tar.gz</kbd>
807: </pre></blockquote>
808: <p>
809: Both of these trees are a regular CVS checkout. Using these trees it
810: is possible to get a head-start on using the anoncvs servers as
811: described <a href="anoncvs.html">here</a>.
812: Using these files
813: results in a much faster initial CVS update than you could expect from
814: a fresh checkout of the full OpenBSD source tree.
815: </section>
816:
817: <hr>
818:
819: <section id=ports>
820: <h3>Ports Tree</h3>
821: <p>
822: A ports tree archive is also provided. To extract:
823: <blockquote><pre>
824: # <kbd>cd /usr</kbd>
825: # <kbd>tar xvfz /tmp/ports.tar.gz</kbd>
826: </pre></blockquote>
827: <p>
828: Go read the <a href="faq/ports/index.html">ports</a> page
829: if you know nothing about ports
830: at this point. This text is not a manual of how to use ports.
831: Rather, it is a set of notes meant to kickstart the user on the
832: OpenBSD ports system.
833: <p>
834: The <i>ports/</i> directory represents a CVS checkout of our ports.
835: As with our complete source tree, our ports tree is available via
836: <a href="anoncvs.html">AnonCVS</a>.
837: So, in order to keep up to date with the -stable branch, you must make
838: the <i>ports/</i> tree available on a read-write medium and update the tree
839: with a command like:
840: <blockquote><pre>
841: # <kbd>cd /usr/ports</kbd>
842: # <kbd>cvs -d anoncvs@server.openbsd.org:/cvs update -Pd -rOPENBSD_7_0</kbd>
843: </pre></blockquote>
844: <p>
845: [Of course, you must replace the server name here with a nearby anoncvs
846: server.]
847: <p>
848: Note that most ports are available as packages on our mirrors. Updated
849: ports for the 7.0 release will be made available if problems arise.
850: <p>
851: If you're interested in seeing a port added, would like to help out, or just
852: would like to know more, the mailing list
853: <a href="mail.html">ports@openbsd.org</a> is a good place to know.
854: </section>