fix(system_baseline): refuse ICMP redirects on every interface #511
Notifications
Due Date
No due date set.
Reference: Mortis/Kamino#511
Reference in new issue
Block a user
What to build
A host hardened by
system_baselinedoes not accept ICMP redirects on any interface, over IPv4 or IPv6.Today the profiles set
net.ipv4.conf.all.accept_redirects=0only. With forwarding off, the kernel accepts redirects on an interface when eitherallor the interface's own value is 1. Interfaces inherit their value fromdefault, which is 1 on a stock host, so they still accept redirects.Setting
defaultto 0 only affects interfaces created afterwards. Interfaces that already exist need their own value changed too.Acceptance criteria
accept_redirectsforallanddefault, over IPv4 and IPv6, andsecure_redirectsforallanddefaultover IPv4.Blocked by