-
Notifications
You must be signed in to change notification settings - Fork 102
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
enable_log_martians to false are logged #277
Comments
|
Hi @hdep , I understand that log_martians was somewhere enabled in this system and then you used os_hardening with this hiera setting to disable it, right? As os_hardening is only touching |
|
Hello, Yes this is right, I think debian by default enable log_martian. |
|
After a reboot I have a weird config, log_martians are enabled : After a few minutes the config is changed : I'm considering to avoid this issue to declare |
|
Hmm ... that really looks like the system comes up with martians enabled (and therefore |
|
@hdep What should we do with this issue? Can we close this? |
|
I close the issue, here is what I deployed on all my servers : Because all my servers didn't got the same interface name (eth0, bond0...) |
Describe the bug
I use this module to disable, log martians on my system (Debian 9/10) using following hiera config :
os_hardening::enable_log_martians: falseBut my syslog still have log martians :
Here is my /etc/sysctl.conf file :
Looking at sysctl output the issue come from the key net.ipv4.conf.eth0.log_martians which is not managed by the module.
Expected behavior
I expected the system to stop logging those messages in /var/log/syslog
for this the module must managed the key net.ipv4.conf.eth0.log_martians
Actual behavior
log martian are in /var/log/syslog
Example code
OS / Environment
Debian 9
Debian 10
Puppet Version
Additional context
module version used 2.2.5
The text was updated successfully, but these errors were encountered: