-
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
SLES and OEL errors when ipv6 is disabled #82
Comments
|
@STetzel thanks for this bug report! Any reason why are not using cc @bitvijays |
|
@artem-sidorenko |
|
@STetzel its weird. Do you have maybe some references here? |
|
@artem-sidorenko yeah your right but we have also OEL5 systems ;-) |
|
<custom_item> I also find that it is better not to start something when it is not necessary. Therefore, if the module is not loaded why should we set parameters for it. |
|
Regarding OEL5, it looks like its EOL, so that should not be the reason to support it :-) Still if I share the similar view like RH guys (and I faced a lot of problems by removing the ipv6 module completely), I think the use case is still valid and some people might have another view or maybe reasons to do it this way. Maybe we could make the ipv6 sysctl flags dependent on the global @atomic111 @chris-rock @bitvijays whats your view on this problem? |
|
@artem-sidorenko Looks alright to me. Just to make sure we are on the same page. You meant that "We should check /etc/modprobe.conf file and see if there's a entry of "install ipv6 /bin/true". If it's there, ignore ipv6 check right? |
|
Hello,
Why do not you check if /proc/net/if_inet6 exists as „file“ ? look http://mirrors.deepspace6.net/Linux+IPv6-HOWTO/proc-net.html <http://mirrors.deepspace6.net/Linux+IPv6-HOWTO/proc-net.html>
[ -f /proc/net/if_inet6 ] && echo 'IPv6 ready system!' || echo 'No IPv6 support found! Compile the kernel or load the modul!!'
regards Sascha (STetzel)
/proc/net/if_inet6 exist !
… Am 06.06.2017 um 02:49 schrieb Vijay Kumar ***@***.***>:
@artem-sidorenko <https://github.com/artem-sidorenko> Looks alright to me. Just to make sure we are on the same page. You meant that "We should check /etc/modprobe.conf file and see if there's a entry of "install ipv6 /bin/true". If it's there, ignore ipv6 check right?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <#82 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AAgG6g1zbFIp1zfW57PHF4HovAoHVIBcks5sBKIOgaJpZM4NpQ0c>.
|
|
Hello, any news about this ?!? Regards Sascha (Stetzel) |
@STetzel I personally do not like such intelligent logic in the security and automation area, often they produce hidden errors which are hard to troubleshoot and to understand. I still think a configuration flag here is good enough and its more reliable than logic with any autodetection behavior. Via config flag you could configure your expected behavior (e.g. ipv6 hardening is enabled), in worst case (e.g. unexpected state of the system where ipv6 module is not present) your puppet run will fail and make the problem visible
@bitvijays No, I think we could introduce here another option |
|
@artem-sidorenko manage_ipv6 sounds good to me. It seems to be a way better approach! Cheers, |
|
@artem-sidorenko, @bitvijays you are right it is the best approach! regards Sascha (Stetzel) |
|
@STetzel Would it be alright for you to create a Pull request? @artem-sidorenko Should we go-ahead with this? |
|
@bitvijays totally fine for me, I'll implement a similar thing for chef-os-hardening :) |
|
Added Pullrequest #87 |
|
it works ;-) |
We disable ipv6 on our SLES and OEL systems using
install ipv6 /bin/truein /etc/modprobe.d/ipv6Is it possible before the ipv6 configurations to check whether ipv6 is activated at all?
For example, if the /proc/net/if_inet6 file exists !
The text was updated successfully, but these errors were encountered: