Skip to content
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

net.ipv6.conf.default.accept_ra #56

Closed
igoraj opened this issue May 19, 2015 · 3 comments
Closed

net.ipv6.conf.default.accept_ra #56

igoraj opened this issue May 19, 2015 · 3 comments

Comments

@igoraj
Copy link
Contributor

igoraj commented May 19, 2015

I just wanted to check if there is some special reason why this module only sets accept_ra on 'all', but not also on 'default'?

https://github.com/hardening-io/puppet-os-hardening/blob/master/manifests/sysctl.pp#L66-67

I can submit PR for this.

@arlimus
Copy link
Member

arlimus commented May 26, 2015

Ah, great catch! One more to add to the test-suite.

Thank you @igoraj ! A PR is very welcome :)

@igoraj
Copy link
Contributor Author

igoraj commented May 27, 2015

@arlimus i've checked spec/classes/sysctl_spec.rb but it seems there is no checking for net.ipv6.conf.all.accept_ra so i didn't add any for net.ipv6.conf.default.accept_ra either.

does it even make sense to put those inside as there is no ability to change them through some param?

arlimus added a commit that referenced this issue May 27, 2015
add net.ipv6.conf.default.accept_ra. closes #56
@arlimus
Copy link
Member

arlimus commented May 27, 2015

Good catch, as you said, if there's no paramter to change it (at the moment), we can leave it out of local specs.

However we run all our repos through serverspec tests, to make sure parameters are actually set at the end of everything. Looking through the code, accept_ra is an oversight there as well (which led to this issue here), so I'll add it.

arlimus added a commit to dev-sec/linux-baseline that referenced this issue May 28, 2015
arlimus added a commit to dev-sec/linux-baseline that referenced this issue Oct 15, 2015
arlimus added a commit to dev-sec/linux-baseline that referenced this issue Oct 15, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants