View the Most Wanted LQ Wiki articles.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 11-16-2012, 04:49 AM   #1
Registered: Jun 2010
Distribution: Debian, Ubuntu, Win
Posts: 135

Rep: Reputation: 16
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?

Old 11-18-2012, 04:39 PM   #2
Registered: Apr 2009
Location: Oz
Distribution: slackware64-14.0
Posts: 849

Rep: Reputation: 258Reputation: 258Reputation: 258
You need to give it as fc00::/7 not fc::/7
Old 11-20-2012, 04:39 PM   #3
Registered: Jun 2010
Distribution: Debian, Ubuntu, Win
Posts: 135

Original Poster
Rep: Reputation: 16

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



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem reconfiguring dst address for TUN interface turbosur Linux - Networking 0 08-24-2011 01:58 AM
What is this -> SRC= DST= LEN=328 TOS=0x00 PREC=0x00 TTL=128 ID carves Linux - Networking 5 08-17-2008 09:26 PM
xscreensaver hangs on entering a wrong password on fedora 2 kcn_viper Linux - General 0 12-25-2004 05:33 PM sending sessions packets with wrong src mac ppp_guy Linux - Networking 1 03-05-2004 04:07 PM
Building new kernel in /usr/src/linux is WRONG? jisse Linux - Software 3 09-14-2003 04:57 AM

All times are GMT -5. The time now is 05:23 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration