From 39591a223e8c995841f77afdc9e98e2b4ec2557e Mon Sep 17 00:00:00 2001 From: Farid Joubbi Date: Wed, 24 Mar 2021 07:33:19 +0100 Subject: [PATCH] Disable source routing for IPv6. See c3b5a3afd01eb06d184e9cac6c1df6b85a36e13b Signed-off-by: Farid Joubbi --- controls/sysctl_spec.rb | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/controls/sysctl_spec.rb b/controls/sysctl_spec.rb index 332ab5c..8e9c685 100644 --- a/controls/sysctl_spec.rb +++ b/controls/sysctl_spec.rb @@ -167,6 +167,12 @@ describe kernel_parameter('net.ipv4.conf.default.accept_source_route') do its(:value) { should eq 0 } end + describe kernel_parameter('net.ipv6.conf.all.accept_source_route') do + its(:value) { should eq 0 } + end + describe kernel_parameter('net.ipv6.conf.default.accept_source_route') do + its(:value) { should eq 0 } + end end control 'sysctl-14' do