freebsd-src/sys
Mark Johnston b7e4666d7b nfsserver: Rate-limit messages about requests from unprivileged ports
If access from unreserved ports is disabled, then a remote host can
cause an NFS server to log a message by sending a packet.  This is
useful for diagnosing problems but bad for resiliency in the case where
the server is being spammed with a large number of rejected requests.

Limit prints to once per second (racily).

Reviewed by:	rmacklem, emaste
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D44819
2024-04-17 10:36:58 -04:00
..
amd64 sysproto.h: sys/acl.h -> sys/types.h 2024-04-15 21:35:41 +01:00
arm bcm2838_xhci: add module 2024-04-09 21:11:39 -06:00
arm64 sysproto.h: sys/acl.h -> sys/types.h 2024-04-15 21:35:41 +01:00
bsm
cam CTL: Drop Format Device and Rigid Disk Geometry mode pages 2024-02-27 13:28:44 -05:00
cddl arm64: Use void pointers for arguments to arm64_get_writable_addr 2024-03-15 10:10:24 -07:00
compat sysproto.h: sys/acl.h -> sys/types.h 2024-04-15 21:35:41 +01:00
conf sys: Retire the ISCSI_INITIATOR_DEBUG option 2024-04-13 19:16:13 -07:00
contrib zfs: unbreak aarch64 build with non-gcc compilers 2024-04-17 06:44:12 +02:00
crypto
ddb sys/ddb: Add hardware breakpoint support to ddb 2024-04-12 09:32:41 +00:00
dev nvme: Eliminate intel_log_temp_stats_swapbytes 2024-04-16 21:30:19 -06:00
dts arm/nvidia: Fix DTS build 2024-03-22 07:49:54 +01:00
fs nfsserver: Rate-limit messages about requests from unprivileged ports 2024-04-17 10:36:58 -04:00
gdb sys/gdb: Support hardware breakpoints 2024-04-12 09:32:55 +00:00
geom graid: unbreak Promise RAID1 with 4+ providers 2024-02-12 14:33:43 +07:00
gnu
i386 sysproto.h: sys/acl.h -> sys/types.h 2024-04-15 21:35:41 +01:00
isa new-bus: Remove the 'rid' and 'type' arguments from BUS_RELEASE_RESOURCE 2024-03-13 15:05:54 -07:00
kern libsys: add a libsys.h 2024-04-16 17:48:07 +01:00
kgssapi
libkern
modules zfs: merge openzfs/zfs@90ba19eb7 2024-04-16 22:54:07 +02:00
net iflib: Correct indentation according to style(9) 2024-04-16 16:36:25 -04:00
net80211 net80211: amrr_init: change order of commands 2024-04-15 17:32:28 +00:00
netgraph ng_socket: Treat EEXIST from kern_kldload() as success 2024-04-09 18:04:47 +08:00
netinet tcp bbr: improve code consistency 2024-04-15 23:52:08 +02:00
netinet6 sys/netinet6/in6_pcb.c: fix compile without INET 2024-04-12 10:54:27 -06:00
netipsec sys/netipsec: fix IPSEC_SUPPORT for non-INET kernels 2024-04-12 10:30:22 -06:00
netlink linux: make linux_netlink_p->msg_from_linux be able to fail 2024-03-29 13:35:51 -07:00
netpfil pf: fix reply-to after rdr and dummynet 2024-03-28 17:06:01 +01:00
netsmb
nfs
nfsclient
nfsserver
nlm
ofed ibcore: Remove the use of NULL_IB_OBJECT 2024-04-12 17:04:23 +00:00
opencrypto
powerpc macio: Set resource map size 2024-04-10 22:05:38 -04:00
riscv NOTES: Move the VirtIO entries to the MI NOTES file 2024-04-13 19:10:27 -07:00
rpc rpc: use new macros to lock socket buffers 2024-04-09 09:17:19 -07:00
security
sys sys/acl.h: reduce header pollution 2024-04-15 21:35:41 +01:00
teken
tests callout: retire callout_async_drain() 2024-01-24 09:33:27 -08:00
tools arm_kernel_bothdr.awk: Update to latest ota 2024-04-16 21:30:17 -06:00
ufs Eliminate unnecessary UFS1 integrity checks. 2024-02-19 16:17:05 -08:00
vm vm: improve kstack_object pindex calculation to avoid pindex holes 2024-04-10 17:37:20 +02:00
x86 x86 NOTES: Move shared options from amd/i386 NOTES to x86 NOTES 2024-04-13 19:12:07 -07:00
xdr
xen x86/xen: introduce non-hypercall based emergency print 2024-02-22 11:08:03 +01:00
Makefile
README.md

FreeBSD Kernel Source:

This directory contains the source files and build glue that make up the FreeBSD kernel and its modules, including both original and contributed software.

Kernel configuration files are located in the conf/ subdirectory of each architecture. GENERIC is the configuration used in release builds. NOTES contains documentation of all possible entries. LINT is a compile-only configuration used to maximize build coverage and detect regressions.

Documentation:

Source code documentation is maintained in a set of man pages, under section 9. These pages are located in share/man/man9, from the top-level of the src tree. Consult intro(9) for an overview of existing pages.

Some additional high-level documentation of the kernel is maintained in the Architecture Handbook.

Source Roadmap:

Directory Description
amd64 AMD64 (64-bit x86) architecture support
arm 32-bit ARM architecture support
arm64 64-bit ARM (AArch64) architecture support
cam Common Access Method storage subsystem - cam(4) and ctl(4)
cddl CDDL-licensed optional sources such as DTrace
conf kernel build glue
compat Linux compatibility layer, FreeBSD 32-bit compatibility
contrib 3rd-party imported software such as OpenZFS
crypto crypto drivers
ddb interactive kernel debugger - ddb(4)
fs most filesystems, excluding UFS, NFS, and ZFS
dev device drivers and other arch independent code
gdb kernel remote GDB stub - gdb(4)
geom GEOM framework - geom(4)
i386 i386 (32-bit x86) architecture support
kern main part of the kernel
libkern libc-like and other support functions for kernel use
modules kernel module infrastructure
net core networking code
net80211 wireless networking (IEEE 802.11) - net80211(4)
netgraph graph-based networking subsystem - netgraph(4)
netinet IPv4 protocol implementation - inet(4)
netinet6 IPv6 protocol implementation - inet6(4)
netipsec IPsec protocol implementation - ipsec(4)
netpfil packet filters - ipfw(4), pf(4), and ipfilter(4)
opencrypto OpenCrypto framework - crypto(7)
powerpc PowerPC/POWER (32 and 64-bit) architecture support
riscv 64-bit RISC-V architecture support
security security facilities - audit(4) and mac(4)
sys kernel headers
tests kernel unit tests
ufs Unix File System - ffs(7)
vm virtual memory system
x86 code shared by AMD64 and i386 architectures