mirror of
https://github.com/dev-sec/linux-baseline
synced 2024-11-23 11:43:02 +00:00
Merge pull request #3 from atomic111/master
Fix: change value of log_martians to the cookbook default
This commit is contained in:
commit
9cf628c952
1 changed files with 2 additions and 1 deletions
|
@ -98,8 +98,9 @@ describe 'IP V4 networking' do
|
||||||
its(:value) { should eq 0 }
|
its(:value) { should eq 0 }
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# log_martians can cause a denial of service attack to the host
|
||||||
context linux_kernel_parameter('net.ipv4.conf.all.log_martians') do
|
context linux_kernel_parameter('net.ipv4.conf.all.log_martians') do
|
||||||
its(:value) { should eq 1 }
|
its(:value) { should eq 0 }
|
||||||
end
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue