4
0
Fork 0

updated for v2

Signed-off-by: Mark Bolwell <mark.bollyuk@gmail.com>
This commit is contained in:
Mark Bolwell 2024-07-24 14:05:57 +01:00
parent 3b346f7fe1
commit b5361df285
No known key found for this signature in database
GPG key ID: 997FF7FE93AEB5B9
2 changed files with 30 additions and 27 deletions

View file

@ -2,19 +2,22 @@
# IPv6 Network sysctl
{% if rhel9cis_ipv6_required %}
{% if rhel9cis_rule_3_2_1 %}
{% if rhel9cis_rule_3_3_1 %}
# CIS 3.3.1
net.ipv6.conf.all.forwarding = 0
{% endif %}
{% if rhel9cis_rule_3_3_1 %}
net.ipv6.conf.all.accept_source_route = 0
net.ipv6.conf.default.accept_source_route = 0
{% endif %}
{% if rhel9cis_rule_3_3_2 %}
{% if rhel9cis_rule_3_3_5 %}
# CIS 3.3.5
net.ipv6.conf.all.accept_redirects = 0
net.ipv6.conf.default.accept_redirects = 0
{% endif %}
{% if rhel9cis_rule_3_3_9 %}
# CIS 3.3.9
{% if rhel9cis_rule_3_3_8 %}
# CIS 3.3.8
net.ipv6.conf.all.accept_source_route = 0
net.ipv6.conf.default.accept_source_route = 0
{% endif %}
{% if rhel9cis_rule_3_3_11 %}
# CIS 3.3.11
net.ipv6.conf.all.accept_ra = 0
net.ipv6.conf.default.accept_ra = 0
{% endif %}