-
-
Notifications
You must be signed in to change notification settings - Fork 14.6k
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
networking.enableIPv6 is broken #87802
Comments
A temporary fix that works for me is:
|
You're working against networkmanager itself here - I assume it sets the required sysctl's when you don't explicitly disable IPv6 for that connection. Also, this is explained here: https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/configuring_and_managing_networking/disabling-ipv6-on-a-system-that-uses-networkmanager_configuring-and-managing-networking I propose disabling it for the specific network manager connections before you connect to them (instead of disabling it globally), and in the long-term, ask the IT department to actually fix the problem instead of telling people to disable IPv6 ;-) |
If that's the case then the option It's a paid (and very cheap) one so that won't do. |
Yeah, I don't think replacing it with a more drastical footgun (kernel module blacklisting, kernel cmdline) that also doesn't really work in all cases, or can possibly break other stuff would be an improvement either. Same goes for trying to patch around every possible userland that will set this too. IMHO, if someone decides to disable IPv6, this should really be a sentient decision, taking into consideration the rest of the system configuration. The manual already explains how to archieve "disabling IPv6" for an individual interface - I'd be inclined to remove the global |
PR that might fix this: #101249. Could you test it and report feedback there? |
@luis-hebendanz check with this variant:
|
@flokli my PR disables this warnings on DHCPD servers:
|
Yeah, but what's the point of |
With my Pr |
@Izorkin so #101249 (comment) isn't true? @luis-hebendanz, can you verify that PR fixes your issue then, without disabling the whole stack in kernel (which also requires a reboot on every change) |
Possible solution:
|
I marked this as stale due to inactivity. → More info |
If not changing the behavior of |
I marked this as stale due to inactivity. → More info |
This issue has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/long-loading-in-firefox/25055/5 |
This issue has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/disabling-ipv6-enableipv6-and-kernelparams/39630/1 |
Describe the bug
The option
Still allows ipv6 connections and ips on my wifi interface, this is a big security concern for people that use a vpn
service which only can route ipv4 and then your ipv6 leaks out.
Nixos source
The strange thing is that if I do a
it reports that all settings are set correctly. The weird thing is
only through a
it starts to ignore ipv6 if I instead execute a
it still accepts ipv6 ips.
I also tried to set the interface in question explicitly with
but without success.
Wifi pci device:
Drivers for that device:
Metadata
The text was updated successfully, but these errors were encountered: