HomeFreeBSD

nfsserver: Rate-limit messages about requests from unprivileged ports

Description

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

Details

Provenance
markjAuthored on Apr 17 2024, 2:36 PM
Reviewer
rmacklem
Differential Revision
D44819: nfsserver: Rate-limit messages about requests from unprivileged ports
Parents
rGb6a477600851: nuageinit: start the script after zfs
Branches
Unknown
Tags
Unknown