Skip to contentSkip to conversation

Can't add ff::/8 to ip6tables.

DISCUSSION Steve (Telsat Broadband) 2 participants 2 messages Nov 16, 2012

lore
Share & tools
lore
#0 lore raw

Hi All,

For one of my filtering rules, I'm trying to add the following rules:

ip6tables -t mangle -I AuthCheck 1 -d ff::/8 -j RETURN ip6tables -t mangle -I AuthCheck 1 -d fc::/7 -j RETURN

However, when I check the rule entries they show up as:

1 0 0 RETURN all * * ::/0
::/7
2 0 0 RETURN all * * ::/0
::/8

Which obviously doesn't catch the packets as ::/7 or ::/8 is not fc::/7 or ff::/8

This is with ip6tables version:

ip6tables v1.4.15

Cheers.
Steve.

#1 lore raw
Quoted 10 lines · Steve (Telsat Broadband)

Hi All,

For one of my filtering rules, I'm trying to add the following rules:

ip6tables -t mangle -I AuthCheck 1 -d ff::/8 -j RETURN ip6tables -t mangle -I AuthCheck 1 -d fc::/7 -j RETURN

However, when I check the rule entries they show up as ::/7, ::/8 [...] Which obviously doesn't catch the packets as ::/7 or ::/8 is not fc::/7 or ff::/8

ip6tables is absolutely correct.

  00ff:0000:0000:0000 :0000:0000:0000:0000   (ff::)
& ff00:0000:0000:0000 :0000:0000:0000:0000   (/8)
= 0000:0000:0000:0000 :0000:0000:0000:0000   (::(/8))
  00fc:0000:0000:0000 :0000:0000:0000:0000   (fc::)
& fe00:0000:0000:0000 :0000:0000:0000:0000   (/7)
= 0000:0000:0000:0000 :0000:0000:0000:0000   (::(/7))