diff options
author | dillon <dillon@FreeBSD.org> | 1998-12-03 20:23:21 +0000 |
---|---|---|
committer | dillon <dillon@FreeBSD.org> | 1998-12-03 20:23:21 +0000 |
commit | ed174536c85f9159d64ee64eaf7002b16279b3fd (patch) | |
tree | 368eefe11e166259d27aeca0ec8b00b285376566 /libexec/rpc.rusersd | |
parent | 7816963044a09fc6405ed92a07d6600ba0e7cd33 (diff) | |
download | FreeBSD-src-ed174536c85f9159d64ee64eaf7002b16279b3fd.zip FreeBSD-src-ed174536c85f9159d64ee64eaf7002b16279b3fd.tar.gz |
Reviewed by: freebsd-current
Add ICMP_BANDLIM option and 'net.inet.icmp.icmplim' sysctl. If option
is specified in kernel config, icmplim defaults to 100 pps. Setting it
to 0 will disable the feature. This feature limits ICMP error responses
for packets sent to bad tcp or udp ports, which does a lot to help the
machine handle network D.O.S. attacks.
The kernel will report packet rates that exceed the limit at a rate of
one kernel printf per second. There is one issue in regards to the
'tail end' of an attack... the kernel will not output the last report
until some unrelated and valid icmp error packet is return at some
point after the attack is over. This is a minor reporting issue only.
Diffstat (limited to 'libexec/rpc.rusersd')
0 files changed, 0 insertions, 0 deletions