From bcabebdb765ea88a34b82ece4a9cadf1490b7489 Mon Sep 17 00:00:00 2001 From: Patrick Meier Date: Thu, 15 May 2014 15:48:20 +0200 Subject: [PATCH] Fix: change value of log_martians to the cookbook default Signed-off-by: Patrick Meier --- integration/default/serverspec/sysctl_spec.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/integration/default/serverspec/sysctl_spec.rb b/integration/default/serverspec/sysctl_spec.rb index fff010b..41b9227 100644 --- a/integration/default/serverspec/sysctl_spec.rb +++ b/integration/default/serverspec/sysctl_spec.rb @@ -98,8 +98,9 @@ its(:value) { should eq 0 } end + # log_martians can cause a denial of service attack to the host context linux_kernel_parameter('net.ipv4.conf.all.log_martians') do - its(:value) { should eq 1 } + its(:value) { should eq 0 } end end