LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   ip6tables adds wrong address when entering src/dst as ff::/8 (https://www.linuxquestions.org/questions/linux-networking-3/ip6tables-adds-wrong-address-when-entering-src-dst-as-ff-8-a-4175437410/)

systemlordanubis 11-16-2012 04:49 AM

ip6tables adds wrong address when entering src/dst as ff::/8
 
Hi All,

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

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


Does anyone else get the same problem?

Thanks
Anubis.

wildwizard 11-18-2012 04:39 PM

You need to give it as fc00::/7 not fc::/7

systemlordanubis 11-20-2012 04:39 PM

Doh!!

Thanks WildWizard, should have had a bit more coffee that day!! Silly mistake.

Thanks
Anubis.


All times are GMT -5. The time now is 07:50 PM.