Page MenuHomeFreeBSD

nfsserver: Rate-limit messages about requests from unprivileged ports
ClosedPublic

Authored by markj on Apr 16 2024, 10:58 PM.
Tags
None
Referenced Files
Unknown Object (File)
Jun 21 2024, 8:42 AM
Unknown Object (File)
Jun 9 2024, 1:53 PM
Unknown Object (File)
Jun 5 2024, 9:42 AM
Unknown Object (File)
May 31 2024, 10:46 PM
Unknown Object (File)
May 25 2024, 6:15 PM
Unknown Object (File)
May 24 2024, 12:26 AM
Unknown Object (File)
Apr 29 2024, 5:47 AM
Unknown Object (File)
Apr 26 2024, 5:15 AM
Subscribers

Details

Summary

If access from unreserved ports is disabled, then a remote host can
cause an NFS server to log a message by printing 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.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable