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

Why do the "hardening" sysctls basically kill off IPv6 SLAAC and public IPv6? #230

Open
Prototyped opened this issue Aug 10, 2023 · 1 comment

Comments

@Prototyped
Copy link

https://raw.githubusercontent.com/drtyhlpr/rpi23-gen-image/master/files/sysctl.d/82-rpi-net-hardening.conf

This is super dodgy. It basically turns off consuming IPv6 router advertisements and limits the maximum number of IPv6 addresses to 1, which will generally just be the link-local address.

With more and more ISPs offering native IPv6 and the prospect of carrier-grade NAT being used very widely, it's valuable to have IPv6 prefixes delegated to Raspberry Pis.

I recommend nuking that set of sysctls from orbit. They should not be here by default.

@burnbabyburn
Copy link
Contributor

burnbabyburn commented Aug 30, 2023

Nothing dodgy here. Maybe just don't use ENABLE_HARDNET=true if you want ipv6 capability? The option does exactly what you proposed.
One could argue, that it the ipv6 hardening settings should be moved to the ENABLE_IPV6 option, but we're grave digging a project with the last commit in 2020 here.

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