Skip to content

Commit 8f028d0

Browse files
committed
Setting net.ipv4.conf.all.arp_ignore = 2 is used as a secure default in
many places now and should be a valid option Signed-off-by: Michael Geiger <info@mgeiger.de>
1 parent 150f365 commit 8f028d0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

controls/sysctl_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@
107107
desc 'Reply only if the target IP address is local address configured on the incoming interface.'
108108
only_if { !container_execution }
109109
describe kernel_parameter('net.ipv4.conf.all.arp_ignore') do
110-
its(:value) { should eq 1 }
110+
its(:value) { should cmp(/(1|2)/) }
111111
end
112112
end
113113

0 commit comments

Comments
 (0)