Page MenuHomeFreeBSD

icmp6: rate limit our echo replies
ClosedPublic

Authored by glebius on Mar 22 2024, 9:49 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Jun 26, 6:17 AM
Unknown Object (File)
May 14 2024, 9:29 PM
Unknown Object (File)
May 14 2024, 9:29 PM
Unknown Object (File)
May 12 2024, 3:55 AM
Unknown Object (File)
May 12 2024, 3:46 AM
Unknown Object (File)
Apr 23 2024, 12:13 AM
Unknown Object (File)
Apr 6 2024, 1:35 AM
Unknown Object (File)
Mar 26 2024, 5:37 PM

Details

Summary

The generation of ICMP6_ECHO_REPLY bypasses icmp6_error(), thus rate
limit was not applied.

Diff Detail

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

Event Timeline

This revision is now accepted and ready to land.Mar 23 2024, 2:21 PM
zlei added a subscriber: zlei.

Generally looks good to me.

sys/netinet6/icmp6.c
549

And do not forget to update statistic icp6s_toofreq if D44479 is abandoned.

This revision was automatically updated to reflect the committed changes.