]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - RELNOTES
cdn-patch: offer option to mount /etc/keys before attaching geli devices
[FreeBSD/FreeBSD.git] / RELNOTES
1 Release notes for FreeBSD 13.0.
2
3 This file describes new user-visible features, changes and updates relevant to
4 users of binary FreeBSD releases.  Each entry should describe the change in no
5 more than several sentences and should reference manual pages where an
6 interested user can find more information.  Entries should wrap after 80
7 columns.  Each entry should begin with one or more commit IDs on one line,
8 specified as a comma separated list and/or range, followed by a colon and a
9 newline.  Entries should be separated by a newline.
10
11 Changes to this file should not be MFCed.
12
13 0644746d5091:
14         Add a new "syskrb5" mount option for Kerberized NFSv4.1/4.2 mounts.
15         Without this patch, a Kerberized NFSv4.1/4.2 mount must provide
16         a Kerberos credential for the client at mount time.
17         This patch uses a feature of NFSv4.1/4.2 called SP4_NONE, which
18         allows the state maintenance operations to be performed by any
19         authentication mechanism, so that these operations may be done via
20         AUTH_SYS instead of RPCSEC_GSS (KerberosV).  As such, no Kerberos
21         credential is required at mount time.
22         See mount_nfs(8).
23
24 b4805d577787 and many others:
25         Add support so that nfsd(8), nfsuserd(8), mountd(8), gssd(8)
26         and rpc.tlsservd(8) can be run in an appropriately configured
27         vnet prison.  The vnet prison must be on its own file system,
28         have the "allow.nfsd" jail parameter set on it and enforce_statfs
29         cannot be set to "0".  Use of UDP and pNFS server configurations
30         are not permitted.  (ie. The nfsd command line options "-u", "-p"
31         and "-m" are not supported.)
32         See jail(8), nfsd(8) and mountd(8).
33
34 68e86d5265bc,e58dfd0de589,59f5a5cb724e,6e272a78de36,4c4a4fd4a649,ba2ae2cca63a:
35         sendmail has been updated to the latest upstream version (8.17.1).
36         
37 225443828ec6..c44d097dcf92:
38         bhyve now supports more than 16 vCPUs in a guest.  By default
39         bhyve permits each guest to create the same number of vCPUs as
40         the count of physical CPUs on the host.  This limit can be
41         adjusted via the loader tunable hw.vmm.maxcpu.
42
43 1462dc95f796:
44         Kernel TLS offload now supports receive-side offload of TLS 1.3.
45
46 3ee882bf21af:
47         Change handling of the lowest address on an IPv4 (sub)net so that
48         packets are not sent as a broadcast unless this has been set as the 
49         broadcast address.  This makes the lowest address usable for a host.
50         The old behavior can be restored with the net.inet.ip.broadcast_lowest
51         sysctl.  For more information, see
52         https://datatracker.ietf.org/doc/draft-schoen-intarea-lowest-address/.
53
54 33ff39796ffe,8719e8a951b7:
55         A new rc(8) service script zfskeys allows for automatic decryption
56         of ZFS datasets encrypted with ZFS native encryption during boot.
57         See the rc.conf(5) manual page for more information.
58
59 b7a2cf0d9102 - eae02d959363:
60         Upgrade bhyve's emulation to version 1.4 of the NVMe specification
61
62 0a6760a1de32, 3f3676a71266, 580c04df4db6:
63         Add WiFi 6 support.
64
65 various:
66         Add support for the HiFive Unmatched RISC-V board.
67
68 9fb6e613373c:
69         Add a sysctl called vfs.nfsd.srvmaxio that can be used to
70         increase the NFS server's maximum I/O size from 128Kbytes
71         to any power of 2 up to 1Mbyte.  It can only be set when
72         the nfsd threads are not running and will normally require
73         an increase in kern.ipc.maxsockbuf to at least the value
74         recommended by the console log message generated when
75         setting vfs.nfsd.srvmaxio is first attempted.
76
77 9ec7dbf46b0a:
78         Add a new NFSv4.1/4.2 mount option "nconnect" that can
79         be used to specify the number of TCP connections that
80         will be used for the mount, up to a maximum of 16.
81         The first (default) TCP connection will be used for
82         all RPCs that consist of small RPC messages.
83         The RPCs that can consist of large RPC messages
84         (Read/Readdir/ReaddirPlus/Write) will be sent on the
85         additional TCP connections in a round robin fashion.
86         If either the NFS client or NFS server have multiple
87         network interfaces aggregated together or a network
88         interface that uses multiple queues, this can increase
89         NFS performance for the mount.
90
91 various:
92         One True Awk has been updated to the latest from upstream
93         (20210215). All the FreeBSD patches, but one, have now been
94         either up streamed or discarded.  Notable changes include:
95                 o Locale is no longer used for ranges
96                 o Various bugs fixed
97                 o Better compatibility with gawk and mawk
98
99         The one FreeBSD change, likely to be removed in FreeBSD 14, is that
100         we still allow hex numbers, prefixed with 0x, to be parsed and
101         interpreted as hex numbers while all other awks (including one
102         true awk now) interpret them as 0 in line with awk's historic
103         behavior.
104
105 8a04edfdcbd2:
106         Change the default minor version used for an NFSv4 mount
107         to the highest minor version supported by the NFSv4 server.
108         This default can be overridden by using the "minorversion"
109         mount option.
110
111 2c76eebca71b, 59f6f5e23c1a:
112         Add two daemons rpc.tlsclntd(8) and rpc.tlsservd(8) that provide
113         support for NFS-over-TLS as described in the Internet Draft titled
114         "Towards Remote Procedure Call Encryption By Default".
115         These daemons are only built when WITH_OPENSSL_KTLS is specified
116         and are only tested on amd64 at this time.
117         They use KTLS to encrypt/decrypt all NFS RPC message traffic, plus
118         optional verification of machine identity via X.509 certificates.
119
120 f76393a6305b6:
121         Add AES-GCM support to armv8crypto(4) providing accelerated
122         support for KTLS, IPsec, and other crypto API consumers.
123
124 074a91f746bd:
125         The aesni(4) and armv8crypto(4) devices are now included in
126         GENERIC on amd64, i386, and arm64.
127
128 2e1c94aa1fd5:
129         Add support for enforcing W^X mapping policy for user
130         processes.  The policy is not enforced by default but can be
131         enabled by setting the kern.elf32.allow_wx and
132         kern.elf64.allow_wx sysctls to 0.  Individual binaries can be
133         exempted from the policy by elfctl(1) via the wxneeded
134         feature.
135
136 4979620ece98:
137         Add AES-XTS support to armv8crypto(4) providing accelerated
138         software support for the default GELI cipher on arm64 systems.
139
140 022ca2fc7fe0:
141         Add aio_writev(2) and aio_readv(2), vectored analogues of aio_write(2)
142         and aio_read(2).
143
144 92bbfe1f0d1f:
145         The fusefs(5) protocol has been updated to 7.28.  Support for
146         FUSE_COPY_FILE_RANGE and FUSE_LSEEK is added.
147
148 r368667:
149         GDB 6.1.1 was removed.  Users of crashinfo(8) should install the
150         gdb package or devel/gdb port.
151
152 r368559:
153         The hme(4) driver was removed.
154
155 r367660:
156         Fixes the case where gssd will not startup because /usr is a separate
157         local file system that is not yet mounted.  It does not fix the case
158         where /usr is a separately mounted remote file system (such as NFS).
159         This latter case can be fixed by adding mountcritremote to the
160         REQUIRED line.  Unfortunately doing so implies that all Kerberized
161         NFS mounts in /etc/fstab will need the "late" mount option.
162         This was not done, since the requirement for "late" would introduce
163         a POLA violation.
164
165 r367423:
166         This commit added a new startup scripts variable called
167         nfsv4_server_only which uses the -R option on mountd added by r367026.
168         When nfsv4_server_only is set to "YES" in /etc/rc.conf, the NFS server
169         only handles NFSv4 and does not register with rpcbind.  As such, rpcbind
170         does not need to be running.  Useful for sites which consider rpcbind a
171         security issue.
172
173 r366267:
174         Kernel option ACPI_DMAR was renamed to IOMMU.  amd64's IOMMU subsystem
175         was split out from amd64 DMAR support and is now generic, i.e., it can
176         be used by all architectures.
177
178 r364896:
179         A series of commits ending with r364896 added NFS over TLS
180         to the kernel.  This is believed to be compatible with
181         the Internet Draft titled "Towards Remote Procedure Call Encryption
182         By Default" (expected to soon become an RFC).
183         The mount_nfs(8) and exports(5) man pages describe the mount and
184         export option(s) related to NFS over TLS.
185         For NFS over TLS to work, the rpctlscd(8) { client } or rpctlssd(8)
186         { server } must be running on a kernel built with "options KERN_TLS"
187         on an architecture where PMAP_HAS_DMAP != 0.
188
189 r364725:
190         Changes to one obscure devd event generated on resume need to
191         be documented. The old form will still be generated in 13, but not
192         in 14.
193
194 r363679:
195         Applications using regex(3), e.g. sed/grep, will no longer accept
196         redundant escapes for most ordinary characters.
197
198 r363253:
199         SCTP support has been removed from GENERIC kernel configurations.
200         The SCTP stack is now built as sctp.ko and can be dynamically loaded.
201
202 r363233:
203         Merge sendmail 8.16.1: See contrib/sendmail/RELEASE_NOTES for details.
204
205 r363180:
206         The safexcel(4) crypto offload driver has been added.
207
208 r363084:
209         nc(1) now implements SCTP mode, enabled by specifying the --sctp option.
210
211 r362681:
212         A new implementation of bc and dc has been imported. It offers
213         better standards compliance, performance, localization and comes
214         with extensive test cases that are optionally installed.
215         Use WITHOUT_GH_BC=yes to build and install the world with the
216         previous version instead of the new one, if required.
217
218 r362158, r362163:
219         struct export_args has changed so that the "user" specified for
220         the -maproot and -mapall exports(5) options may be in more than
221         16 groups.
222
223 r361884:
224         sed(1) has learned about hex escapes (e.g. \x27) and will now do the
225         right thing with them, removing the need for printf magic or obnoxious
226         escaping in many scenarios.
227
228 r361238, r361798, r361799:
229         ZFS will now unconditionally reject read(2) of a directory with EISDIR.
230         Additionally, read(2) of a directory is now rejected with EISDIR by
231         default and may be re-enabled for non-ZFS filesystems that allow it with
232         the sysctl(8) MIB 'security.bsd.allow_read_dir'.
233
234         Aliases for grep to default to '-d skip' may be desired if commonly
235         non-recursively grepping a list that includes directories and the
236         possibility of EISDIR errors in stderr is not tolerable.  Example
237         aliases, commented out, have been installed in /root/.cshrc and
238         /root/.shrc.
239
240 r361066:
241         Add exec.prepare and exec.release hooks for jail(8) and jail.conf(5).
242         exec.prepare runs before mounts, so can be used to populate new jails.
243         exec.release runs after unmounts, so can be used to remove ephemeral
244         jails.
245
246 r360920,r360923,r360924,r360927,r360928,r360931,r360933,r360936:
247         Remove support for ARC4, Blowfish, Cast, DES, Triple DES, MD5,
248         MD5-KPDK, MD5-HMAC, SHA1-KPDK, and Skipjack algorithms from
249         the kernel open cryptographic framework (OCF).
250
251 r360562:
252         Remove support for ARC4, Blowfish, Cast, DES, Triple DES,
253         MD5-HMAC, and Skipjack algorithms from /dev/crypto.
254
255 r360557:
256         Remove support for DES, Triple DES, Blowfish, Cast, and
257         Camellia ciphers from IPsec(4).  Remove support for MD5-HMAC,
258         Keyed MD5, Keyed SHA1, and RIPEMD160-HMAC from IPsec(4).
259
260 r359945:
261         Remove support for Triple DES, Blowfish, and MD5 HMAC from
262         geli(4).
263
264 r359786-r359787:
265         Remove support for DES, Triple DES, and RC4 from in-kernel GSS
266         authentication.
267
268 r357627:
269         remove elf2aout.
270
271 r357560-r357565:
272         init(8), service(8), and cron(8) will now adopt user/class environment
273         variables (excluding PATH, by default, which will be overwritten) by
274         default.  Notably, environment variables for all cron jobs and rc
275         services can now be set via login.conf(5).
276
277 r357455:
278         sparc64 has been removed from FreeBSD.
279
280 r355677:
281         Adds support for NFSv4.2 (RFC-7862) and Extended Attributes
282         (RFC-8276) to the NFS client and server.
283         NFSv4.2 is comprised of several optional features that can be supported
284         in addition to NFSv4.1. This patch adds the following optional features:
285         - posix_fadvise(POSIX_FADV_WILLNEED/POSIX_FADV_DONTNEED)
286         - posix_fallocate()
287         - intra server file range copying via the copy_file_range(2) syscall
288         --> Avoiding data tranfer over the wire to/from the NFS client.
289         - lseek(SEEK_DATA/SEEK_HOLE)
290         - Extended attribute syscalls for "user" namespace attributes as defined
291           by RFC-8276.
292         
293         For the client, NFSv4.2 is only used if the mount command line option
294         minorversion=2 is specified.
295         For the server, two new sysctls called vfs.nfsd.server_min_minorversion4
296         and vfs.nfsd.server_max_minorversion4 have been added that allow
297         sysadmins to limit the minor versions of NFSv4 supported by the nfsd
298         server.
299         Setting vfs.nfsd.server_max_minorversion4 to 0 or 1 will disable NFSv4.2
300         on the server.
301
302 r356263:
303         armv5 support has been removed from FreeBSD.
304
305 r354517:
306         iwm(4) now supports most Intel 9260, 9460 and 9560 Wi-Fi devices.
307
308 r354269:
309         sqlite3 is updated to sqlite3-3.30.1.
310
311 r352668:
312         cron(8) now supports the -n (suppress mail on succesful run) and -q
313         (suppress logging of command execution) options in the crontab format.
314         See the crontab(5) manpage for details.
315
316 r352304:
317         ntpd is no longer by default locked in memory. rlimit memlock 32
318         or rlimit memlock 0 can be used to restore this behaviour.
319
320 r351863:
321         rc.subr(8) now honors ${name}_env in all rc(8) scripts.  Previously,
322         environment variables set by a user via ${name}_env were ignored
323         if the service defined a custom *_cmd variable to control the behavior
324         of the run_rc_command function, e.g., start_cmd, instead of relying on
325         the variables like command and command_args,
326
327 r351770,r352920,r352922,r352923:
328         dd(1) now supports conv=fsync, conv=fdatasync, oflag=fsync, oflag=sync,
329         and iflag=fullblock flags, compatible with illumos and GNU.
330
331 r351522:
332         Add kernel-side support for in-kernel Transport Layer Security
333         (KTLS).  KTLS permits using sendfile(2) over sockets using
334         TLS.
335
336 r351397:
337         WPA is updated from 2.8 to 2.9.
338
339 r351361:
340         Add probes for lockmgr(9) to the lockstat DTrace provider, add
341         corresponding lockstat(1) events, and document the new probes in
342         dtrace_lockstat.4.
343
344 r351356:
345         Intel RST is a new 'feature' that remaps NVMe devices from
346         their normal location to part of the AHCI bar space.  This
347         will eliminate the need to set the BIOS SATA setting from RST
348         to AHCI causing the nvme drive to be erased before FreeBSD
349         will see the nvme drive. FreeBSD will now be able to see the
350         nvme drive now in the default config.
351
352 r351201, r351372:
353         Add a vop_stdioctl() call, so that file systems that do not support
354         holes will have a trivial implementation of lseek(SEEK_DATA/SEEK_HOLE).
355         The algorithm appears to be compatible with the POSIX draft and
356         the implementation in Linux for the case of a file system that
357         does not support holes.  Prior to this patch, lseek(2) would reply
358         -1 with errno set to ENOTTY for SEEK_DATA/SEEK_HOLE on files in
359         file systems that do not support holes.
360         r351372 maps ENOTTY to EINVAL for lseek(SEEK_DATA/SEEK_HOLE) for
361         any other cases, such as a ENOTTY return from vn_bmap_seekhole().
362
363 r350665:
364         The fuse driver has been renamed to fusefs(5) and been substantially
365         rewritten.  The new driver includes many bug fixes and performance
366         enhancements, as well as the following user-visible features:
367         * Optional kernel-side permissions checks (-o default_permissions)
368         * mknod(2), socket(2), and pipe(2) support
369         * server side locking with fcntl(2)
370         * FUSE operations are now interruptible when mounted with -o intr
371         * server side handling of UTIME_NOW during utimensat(2)
372         * mount options may be updated with "mount -u"
373         * fusefs file system may now be exported over NFS
374         * RLIMIT_FSIZE support
375         * support for fuse file systems using protocols as old as 7.4
376         
377         FUSE file system developers should also take note of the following new
378         features:
379         * The protocol level has been raised from 7.8 to 7.23
380         * kqueue support on /dev/fuse
381         * server-initiated cache invalidation via FUSE_NOTIFY_REPLY
382
383 r350471:
384         gnop(8) can now configure a delay to be applied to read and write
385         request delays.  See the -d, -q and -x parameters.
386
387 r350315, r350316:
388         Adds a Linux compatible copy_file_range(2) syscall.
389
390 r350307:
391         libcap_random(3) has been removed.  Applications can use native
392         APIs to get random data in capability mode.
393
394 r349529,r349530:
395         Add support for using unmapped mbufs with sendfile(2).
396
397 r349352:
398         nand(4) and related components have been removed.
399
400 r349349:
401         The UEFI loader now supports HTTP boot.
402
403 r349335:
404         bhyve(8) now implements a High Definition Audio (HDA) driver, allowing
405         guests to play to and record audio data from the host.
406
407 r349286:
408         swapon(8) can now erase a swap device immediately before enabling it,
409         similar to newfs(8)'s -E option.  This behaviour can be specified by
410         adding -E to swapon(8)'s command-line parameters, or by adding the
411         "trimonce" option to a swap device's /etc/fstab entry.
412
413 r347908-r347923:
414         The following network drivers have been removed: bm(4), cs(4), de(4),
415         ed(4), ep(4), ex(4), fe(4), pcn(4), sf(4), sn(4), tl(4), tx(4), txp(4),
416         vx(4), wb(4), xe(4).
417
418 r347532:
419         Wired page accounting has been split into kernel wirings and user
420         wirings (e.g., by mlock(2)).  Kernel wirings no long count towards
421         the global limit, which is renamed to vm.max_user_wired.  bhyve -S
422         allocates user-wired memory and is now subject to that limit.