LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices



Reply
 
Search this Thread
Old 11-16-2012, 05:49 AM   #1
systemlordanubis
Member
 
Registered: Jun 2010
Distribution: Debian, Ubuntu, Win
Posts: 126

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?

Thanks
Anubis.
 
Old 11-18-2012, 05:39 PM   #2
wildwizard
Member
 
Registered: Apr 2009
Location: Oz
Distribution: slackware64-14.0
Posts: 755

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

Original Poster
Rep: Reputation: 16
Doh!!

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

Thanks
Anubis.
 
  


Reply


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 02:58 AM
What is this -> SRC=0.0.0.0 DST=255.255.255.255 LEN=328 TOS=0x00 PREC=0x00 TTL=128 ID carves Linux - Networking 5 08-17-2008 10:26 PM
xscreensaver hangs on entering a wrong password on fedora 2 kcn_viper Linux - General 0 12-25-2004 06:33 PM
pppoe.so sending sessions packets with wrong src mac ppp_guy Linux - Networking 1 03-05-2004 05:07 PM
Building new kernel in /usr/src/linux is WRONG? jisse Linux - Software 3 09-14-2003 05:57 AM


All times are GMT -5. The time now is 08:43 AM.

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