mirror of
https://github.com/dev-sec/ansible-collection-hardening
synced 2024-11-10 09:14:18 +00:00
Not accepting source routing for IPv6. This was already done for IPv4. (#424)
Signed-off-by: Farid Joubbi <farid@joubbi.se>
This commit is contained in:
parent
dfa89f7b47
commit
d1143a06b1
1 changed files with 2 additions and 0 deletions
|
@ -202,6 +202,8 @@ sysctl_config:
|
|||
# so disable it if not needed. | sysctl-13
|
||||
net.ipv4.conf.all.accept_source_route: 0
|
||||
net.ipv4.conf.default.accept_source_route: 0
|
||||
net.ipv6.conf.all.accept_source_route: 0
|
||||
net.ipv6.conf.default.accept_source_route: 0
|
||||
|
||||
# For non-routers: don't send redirects.
|
||||
# An attacker could use a compromised host to send invalid ICMP redirects to other
|
||||
|
|
Loading…
Reference in a new issue