You are not logged in.

#1 2022-08-07 20:01:22

TedK
Member
Registered: 2022-08-07
Posts: 3

[SOLVED] ipv6 is disabled but wireshark detects a lot of ipv6 traffic

I've followed arch wiki to disable my ipv6.

In /etc/dhcpcd.conf I've put

noipv6rs
noipv6

In /etc/sysctl.d/40-ipv6.conf I've placed

net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.eno1.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1
net.ipv6.conf.wlan0.disable_ipv6 = 1

...and in case that didn't help, with grub, I've set kernel parameter

ipv6.disable=1

big_smile

Also, in NetworkManager I've disabled IPv6 and even in /etc/default/ufw I've set IPV6=no... just for good measure. smile
Rebooted my computer and checked if the ipv6 was gone.
When I type

cat /sys/module/ipv6/parameters/disable  

it returns 1
and /proc/sys/net has no ipv6 folder, only ipv4... thus, I thought, I was successful in disabling ipv6.

However, when I started wireshark, I got an overwhelming amount of ipv6 traffic.
I'm guessing that the traffic is between my computer and my router...

But, whatever the case may be there, shouldn't ipv6 traffic be nonexistent at this point?
So is my ipv6 actually disabled? Can anyone suggest a way to disable ipv6?

I am using fresh installation of Arch linux, with linux 5.18.16 kernel (btw, I have the same issue with linux-lts-5.15.59 kernel), dhcpcd 9.4.1-1, networkmanager 1.38.2-2, wireshark 3.6.7-1.

Last edited by TedK (2022-08-09 15:21:29)

Offline

#2 2022-08-08 19:14:44

seth
Member
Registered: 2012-09-03
Posts: 51,047

Re: [SOLVED] ipv6 is disabled but wireshark detects a lot of ipv6 traffic

Did you check the wireshark dump on what those packages actually are?
Source and destination and nature and maybe content and whether that's actually IPv6 traffic?

Since you mention your router and no offense meant, but you're not confusing MACs for IPv6 addresses, are you?

Offline

#3 2022-08-09 15:02:50

TedK
Member
Registered: 2022-08-07
Posts: 3

Re: [SOLVED] ipv6 is disabled but wireshark detects a lot of ipv6 traffic

seth wrote:

Since you mention your router and no offense meant, but you're not confusing MACs for IPv6 addresses, are you?

smile LOL!
No.

seth wrote:

Did you check the wireshark dump on what those packages actually are?
Source and destination and nature and maybe content and whether that's actually IPv6 traffic?

All ipv6 packages are exclusively Neighbor Solicitation. Source - router, destination - my computer.
Also, ipv6 packages are only detected when the router is connected to the internet.
When I use wireless, ipv6 traffic is still present, but far less frequent.

I've checked, router is in ipv4 mode (and within its settings, that are available to me, there are no ipv6 configs)
I've connected my computer to my phone (via hotspot), and there is no ipv6 traffic present.
So I think it would be safe to assume that this is not an Arch linux issue...

Last edited by TedK (2022-08-09 15:03:55)

Offline

#4 2022-08-09 15:18:08

seth
Member
Registered: 2012-09-03
Posts: 51,047

Re: [SOLVED] ipv6 is disabled but wireshark detects a lot of ipv6 traffic

All ipv6 packages are exclusively Neighbor Solicitation. Source - router, destination - my computer.

That's not preventable - even if you're dropping them in iptables, they'll first have to arrive.

So I think it would be safe to assume that this is not an Arch linux issue...

Correct.
Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

Offline

#5 2022-08-09 15:27:34

TedK
Member
Registered: 2022-08-07
Posts: 3

Re: [SOLVED] ipv6 is disabled but wireshark detects a lot of ipv6 traffic

seth wrote:

So I think it would be safe to assume that this is not an Arch linux issue...

Correct.

Thanks.

seth wrote:

Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

Sorry... I've fixed it now.

Offline

Board footer

Powered by FluxBB