[Fwd: RE: ipv6 link local address]
-------- Пересылаемое сообщение --------
Quoted 6 lines
От: Nikolay S. <[email protected]>
Кому: [email protected]
Копия: [email protected]
Тема: RE: ipv6 link local address
Дата: Tue, 07 Jun 2011 18:32:56 +0400
Quoted 8 lines
В Втр, 07/06/2011 в 14:26 +0000, [email protected] пишет:
Quoted 5 lines
I'm sorry, but that didn't parse.
I won't, what?
Skb's?
Ability to filter bridged frames with ip6tables :)
Sorry again :)
You will not loose ability to filter bridged frames with ip6tables.
Quoted 53 lines
Quoted 20 lines
Bob McDowell
Network/Security Engineer
Cox HealthPlans-----Original Message-----
From: Nikolay S. [mailto:[email protected]]
Sent: Tuesday, June 07, 2011 9:24 AM
To: Bob McDowell
Cc: [email protected]
Subject: RE: ipv6 link local addressВ Втр, 07/06/2011 в 12:44 +0000, [email protected] пишет:
Quoted 5 lines
Please understand that I do want to be able to use ip6tables to filter forwarded traffic. I just do not want the interfaces speaking to anyone while they're doing their job.
Perhaps this example can explain it better than I have: http://www.sjdjweis.com/linux/bridging/
Quoted 27 lines
Quoted 2 lines
Thanks again.
You won't. skb's are passed to ip6tables from bridge based on ipv6- header, not the state of the protocol on slave device. And bridge itself does not filter incoming frames by L3-header.
Quoted 18 lines
Bob McDowell
Network/Security Engineer
Cox HealthPlans-----Original Message-----
From: Nikolay S. [mailto:[email protected]]
Sent: Tuesday, June 07, 2011 1:44 AM
To: Bob McDowell
Cc: [email protected]
Subject: Re: ipv6 link local addressYou can turn off ipv6 on interfaces. This should not prevent bridging ipv6, but will remove any ipv6 logic from them.
--
To unsubscribe from this list: send the line "unsubscribe netfilter" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Yes, right, I do also believe the filter will work. What I'd like to avoid is the potential ipv6 connections to eth0, eth1, br0, etc, should ip6tables be somehow offline or misconfigured.
Bob McDowell
Network/Security Engineer
Cox HealthPlans
-----Original Message-----
From: Nikolay S. [mailto:[email protected]]
Sent: Tuesday, June 07, 2011 9:35 AM
To: Bob McDowell
Cc: [email protected]
Subject: [Fwd: RE: ipv6 link local address]
Sorry again :)
You will not loose ability to filter bridged frames with ip6tables.
Okay, I finally figured it out. I've successfully tested ipv6 bridged-frame filtering, and all is right with the world of Bob.
My method to get the ipv6 support to go away was to set /etc/sysctl.conf like so:
-----
net.ipv6.conf.eth0.disable_ipv6 = 1
net.ipv6.conf.eth1.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 0
-----
ipv6 support is still present in the kernel, but the individual interfaces do not support. The only functionality I seem to have lost is physical interface information in the ip6tables logs, but that's not really even worth investigating at this point in time.
By the way, putting drops in mangle is a pretty nefarious way to make sure none of them bridge as well. It took me a bit of head scratching to turn that back around when I decided I was ready to test ipv6 filtering.
Anyway thanks, all, for your time.
Bob McDowell
Network/Security Engineer
Cox HealthPlans
-----Original Message-----
From: Nikolay S. [mailto:[email protected]]
Sent: Tuesday, June 07, 2011 9:35 AM
To: Bob McDowell
Cc: [email protected]
Subject: [Fwd: RE: ipv6 link local address]
-------- Пересылаемое сообщение --------
Quoted 6 lines
От: Nikolay S. <[email protected]>
Кому: [email protected]
Копия: [email protected]
Тема: RE: ipv6 link local address
Дата: Tue, 07 Jun 2011 18:32:56 +0400
Quoted 8 lines
В Втр, 07/06/2011 в 14:26 +0000, [email protected] пишет:
Quoted 5 lines
I'm sorry, but that didn't parse.
I won't, what?
Skb's?
Ability to filter bridged frames with ip6tables :)
Sorry again :)
You will not loose ability to filter bridged frames with ip6tables.
Quoted 53 lines
Quoted 20 lines
Bob McDowell
Network/Security Engineer
Cox HealthPlans-----Original Message-----
From: Nikolay S. [mailto:[email protected]]
Sent: Tuesday, June 07, 2011 9:24 AM
To: Bob McDowell
Cc: [email protected]
Subject: RE: ipv6 link local addressВ Втр, 07/06/2011 в 12:44 +0000, [email protected] пишет:
Quoted 5 lines
Please understand that I do want to be able to use ip6tables to filter forwarded traffic. I just do not want the interfaces speaking to anyone while they're doing their job.
Perhaps this example can explain it better than I have: http://www.sjdjweis.com/linux/bridging/
Quoted 27 lines
Quoted 2 lines
Thanks again.
You won't. skb's are passed to ip6tables from bridge based on ipv6- header, not the state of the protocol on slave device. And bridge itself does not filter incoming frames by L3-header.
Quoted 18 lines
Bob McDowell
Network/Security Engineer
Cox HealthPlans-----Original Message-----
From: Nikolay S. [mailto:[email protected]]
Sent: Tuesday, June 07, 2011 1:44 AM
To: Bob McDowell
Cc: [email protected]
Subject: Re: ipv6 link local addressYou can turn off ipv6 on interfaces. This should not prevent bridging ipv6, but will remove any ipv6 logic from them.
--
To unsubscribe from this list: send the line "unsubscribe netfilter" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html