Comments (7)
Hi @eumel8 , thanks for this information ... setting net.ipv4.conf.all.arp_ignore
to 1
has been the default now for a long time, this change is setting it to 2
instead of 1
. But the default for puppet-os-hardening was always >0
...
I fear that if we change this default now to 0
we'll break much more - and setting this value is a security recommendation.
from puppet-os-hardening.
I think having arp_ignore
on 1
or 2
is one of the targets of this role, because we deal with os hardening. We should never set it to 0
by default, but provide the user a good solution to adjust this setting. That is currently possible.
From an internal viewpoint, our baseline (https://github.com/dev-sec/linux-baseline/blob/8ee448e3e220ad2d2e19db3e508ffb14c9550daf/controls/sysctl_spec.rb#L104) checks if this sysctl is set to 1
and the Ansible implementation also uses 1
. I think we should strive to be somewhat feature equivalent in our implementations. So we should decide if we set the default to 2
in the baseline and subsequently in all implementations from us.
from puppet-os-hardening.
I share your view, we should open a discussion on this value ... maybe I was a bit too fast implementing the defaults of my company here, sorry.
Independent of this the baseline should honor that both values are secure and used in the wild, therefore I pushed this PR :-)
from puppet-os-hardening.
@mcgege indeed, arp_ignore = 1 was the default and it seems it worked so far on older installations. With a value of 2 it's definitly broken. I understand the security recommendation, from user perspective a global option like kubernetes_cluster = true
would be nice.
At the moment we have set in our cluster:
class { 'os_hardening':
umask => '027',
enable_ipv4_forwarding => true,
arp_restricted => false,
}
from puppet-os-hardening.
@eumel8 I'd now revert to the old default of arp_ignore = 1
and introduce a new switch arp_ignore_samenet
to enforce the more strict value 2
with #256
from puppet-os-hardening.
New release 2.2.10 is out, please try
from puppet-os-hardening.
@mcgege many thanks, works now as expected.
only arp_ignore_samenet => true
breaks now calico CNI because net.ipv4.conf.all.arp_ignore = 2
instead 1
from puppet-os-hardening.
Related Issues (20)
- Fix Travis tests HOT 1
- Add support for Puppet 7 HOT 1
- Duplicate declaration HOT 1
- Dead links result in an error HOT 1
- tcp Timestamp comment is wrong, value can also be improved in some cases. HOT 1
- enable_log_martians to false are logged HOT 6
- New warning - max_files - exceeds the default soft limit 1000 HOT 1
- Backwards incompatible breaking change in PR279 HOT 4
- Changelog generator broken
- Add the ability to override /etc/shadow permissions
- existing users do not change there "chage" values if they are already existing
- ignore_max_files_warnings does not work HOT 1
- Remove accidental paste in pam_passwdqc.erb
- Dependency Dashboard
- enable_core_dump parameter is boolean, should allow at least 3 values
- sysctl changes are not permanent HOT 1
- modern version of stdlib HOT 2
- Puppet 8x compatibility HOT 6
- os_hardening 2.4.0: system_umask confusion: String or Integer?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from puppet-os-hardening.