You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by Mo <mo...@daoenix.com> on 2014/08/19 21:23:48 UTC
IPv6 ~ Basic Network
Hello,
Is it possible to toss in an IPv6 subnet in a basic setup?
- Mo
Re: IPv6 ~ Basic Network
Posted by Nux! <nu...@li.nux.ro>.
Wido,
You raised an interesting point. This might depend on the hardware. Need to talk again with my network guys then. :)
Cheers
Lucian
--
Sent from the Delta quadrant using Borg technology!
Nux!
www.nux.ro
----- Original Message -----
> From: "Wido den Hollander" <wi...@widodh.nl>
> To: dev@cloudstack.apache.org
> Sent: Friday, 5 September, 2014 3:52:58 PM
> Subject: Re: IPv6 ~ Basic Network
>
>
>
> On 05-09-14 12:42, Nux! wrote:
> > Hi,
> >
> > I've been thinking about this and apparently there is a big security
> > problem with this idea, at least my colleagues from the network dept tell
> > me so.
> > If you want to use the router autoconfig thingy you must - as per current
> > standards - use a /64 on the router interface and this way you expose
> > yourself to a neighbour table attack - the neighbour table in avg cisco
> > routers can hold tens of thousands of entries more or less, but it's still
> > far from the trillions of addresses in a /64. This may seem far fetched
> > but since 512k day, my colleagues don't want to take any more chances. :-)
>
> That only works if you actually spawn thousands of instances in that subnet.
>
> One of the things people told me that you could overflow the neighbour
> table by sending packets to bogus IPv6 addresses.
>
> I tried that some weeks ago on a Brocade and Extreme Networks router,
> but they both have a system of "valid neighbours" and "pending neighbours".
>
> Only when a neighbour actually responded it goes into the "valid" table
> and otherwise it is kicked out of the "pending" pretty quickly.
>
> I could not overflow any table or make them drop traffic to legitimate
> hosts.
>
> > They recommend to use DHCPv6 instead with far smaller subnets, which of
> > course complicates things quite a bit on the cloudstack side...
> >
>
> Well, we would still need DHCPv6 to hand out additional options like
> DNS, but yes. Since with the subnet + MAC you can calculate which IPv6
> address the Instance will use based on SLAAC.
>
> We can program that address into the security groups and that's the IPv6
> address the guest can use.
>
> Additional IPs is just a matter of generating a address, storing it and
> adding it to the SG.
>
> So Router Advertisements are a very easy option to use.
>
> > Any thoughts?
> >
> > Lucian
> >
> > --
> > Sent from the Delta quadrant using Borg technology!
> >
> > Nux!
> > www.nux.ro
> >
> > ----- Original Message -----
> >> From: "John Kinsella" <jl...@stratosec.co>
> >> To: dev@cloudstack.apache.org
> >> Sent: Wednesday, 20 August, 2014 11:59:27 PM
> >> Subject: Re: IPv6 ~ Basic Network
> >>
> >> Please do - we started tinkering with ipv6 ages ago, never got it to
> >> production, tho.
> >>
> >> On Aug 20, 2014, at 3:48 PM, Nux! <nu...@li.nux.ro> wrote:
> >>
> >>> Thanks Wido for the idea, then. :-)
> >>> I'll gladly share it with you guys should I come up with something that
> >>> works.
> >>>
> >>> Lucian
> >>>
> >>> --
> >>> Sent from the Delta quadrant using Borg technology!
> >>>
> >>> Nux!
> >>> www.nux.ro
> >>>
> >>>
> >>> ----- Original Message -----
> >>>> From: "Wido den Hollander" <wi...@widodh.nl>
> >>>> To: dev@cloudstack.apache.org
> >>>> Sent: Wednesday, 20 August, 2014 9:36:48 PM
> >>>> Subject: Re: IPv6 ~ Basic Network
> >>>>
> >>>>
> >>>>
> >>>> On 08/20/2014 10:07 PM, Nux! wrote:
> >>>>> Wido,
> >>>>>
> >>>>> Can you share your code for this?
> >>>>>
> >>>>
> >>>> Oh, I don't have any code. The setups I created have plain IPv6 without
> >>>> any security grouping.
> >>>>
> >>>> My previous e-mail was just to illustrate what would be required.
> >>>>
> >>>> Wido
> >>>>
> >>>>> Cheers
> >>>>>
> >>>>> --
> >>>>> Sent from the Delta quadrant using Borg technology!
> >>>>>
> >>>>> Nux!
> >>>>> www.nux.ro
> >>>>>
> >>>>
> >>
> >>
> >>
>
Re: IPv6 ~ Basic Network
Posted by Nux! <nu...@li.nux.ro>.
Hi,
Router adver autoconfig seems the only way to have IPv6 in Basic and SG zones. In Advanced zones (without security groups) there is proper support for IPv6 AFAIK.
Lucian
--
Sent from the Delta quadrant using Borg technology!
Nux!
www.nux.ro
Re: IPv6 ~ Basic Network
Posted by Mo <mo...@daoenix.com>.
At this juncture, it's impossible to implement a v6 subnet in basic mode?
On Sat, Sep 6, 2014 at 5:40 AM, Wido den Hollander <wi...@widodh.nl> wrote:
>
>
> On 05-09-14 17:18, Nux! wrote:
> > Marcus,
> >
> > It'd be nice to have this in ACS, but seems like there is an appeal to
> have this done sort of outside that. Of course, having IPv6 support in
> basic/sg zones would be ideal.
> >
>
> Indeed. It would be great to have basic IPv6 in the Basic Zones.
>
> > Anyone volunteers to write the code? :)
> >
>
> I'd love to, but I know I'd never get to it (time..). My company is
> looking for a CloudStack developer though. Once we find him this will be
> one of the things he/she will be working on.
>
> Wido
>
> > Lucian
> >
> > --
> > Sent from the Delta quadrant using Borg technology!
> >
> > Nux!
> > www.nux.ro
> >
> >
> > ----- Original Message -----
> >> From: "Marcus" <sh...@gmail.com>
> >> To: dev@cloudstack.apache.org
> >> Sent: Friday, 5 September, 2014 4:00:21 PM
> >> Subject: Re: IPv6 ~ Basic Network
> >>
> >> Hey guys, there is a functional spec for ipv6 that was started in the
> >> spring. No code is written as far as I a aware. It might be nice to
> review
> >> that and make changes to keep the spec ready, or just keep track of what
> >> cloudstack is planning so you can stay compatible if/when it lands.
> >> On Sep 5, 2014 7:53 AM, "Wido den Hollander" <wi...@widodh.nl> wrote:
> >>
> >>>
> >>>
> >>> On 05-09-14 12:42, Nux! wrote:
> >>>
> >>>> Hi,
> >>>>
> >>>> I've been thinking about this and apparently there is a big security
> >>>> problem with this idea, at least my colleagues from the network dept
> tell
> >>>> me so.
> >>>> If you want to use the router autoconfig thingy you must - as per
> current
> >>>> standards - use a /64 on the router interface and this way you expose
> >>>> yourself to a neighbour table attack - the neighbour table in avg
> cisco
> >>>> routers can hold tens of thousands of entries more or less, but it's
> still
> >>>> far from the trillions of addresses in a /64. This may seem far
> fetched
> >>>> but
> >>>> since 512k day, my colleagues don't want to take any more chances. :-)
> >>>>
> >>>
> >>> That only works if you actually spawn thousands of instances in that
> >>> subnet.
> >>>
> >>> One of the things people told me that you could overflow the neighbour
> >>> table by sending packets to bogus IPv6 addresses.
> >>>
> >>> I tried that some weeks ago on a Brocade and Extreme Networks router,
> but
> >>> they both have a system of "valid neighbours" and "pending neighbours".
> >>>
> >>> Only when a neighbour actually responded it goes into the "valid" table
> >>> and otherwise it is kicked out of the "pending" pretty quickly.
> >>>
> >>> I could not overflow any table or make them drop traffic to legitimate
> >>> hosts.
> >>>
> >>> They recommend to use DHCPv6 instead with far smaller subnets, which
> of
> >>>> course complicates things quite a bit on the cloudstack side...
> >>>>
> >>>>
> >>> Well, we would still need DHCPv6 to hand out additional options like
> DNS,
> >>> but yes. Since with the subnet + MAC you can calculate which IPv6
> address
> >>> the Instance will use based on SLAAC.
> >>>
> >>> We can program that address into the security groups and that's the
> IPv6
> >>> address the guest can use.
> >>>
> >>> Additional IPs is just a matter of generating a address, storing it and
> >>> adding it to the SG.
> >>>
> >>> So Router Advertisements are a very easy option to use.
> >>>
> >>> Any thoughts?
> >>>>
> >>>> Lucian
> >>>>
> >>>> --
> >>>> Sent from the Delta quadrant using Borg technology!
> >>>>
> >>>> Nux!
> >>>> www.nux.ro
> >>>>
> >>>> ----- Original Message -----
> >>>>
> >>>>> From: "John Kinsella" <jl...@stratosec.co>
> >>>>> To: dev@cloudstack.apache.org
> >>>>> Sent: Wednesday, 20 August, 2014 11:59:27 PM
> >>>>> Subject: Re: IPv6 ~ Basic Network
> >>>>>
> >>>>> Please do - we started tinkering with ipv6 ages ago, never got it to
> >>>>> production, tho.
> >>>>>
> >>>>> On Aug 20, 2014, at 3:48 PM, Nux! <nu...@li.nux.ro> wrote:
> >>>>>
> >>>>> Thanks Wido for the idea, then. :-)
> >>>>>> I'll gladly share it with you guys should I come up with something
> that
> >>>>>> works.
> >>>>>>
> >>>>>> Lucian
> >>>>>>
> >>>>>> --
> >>>>>> Sent from the Delta quadrant using Borg technology!
> >>>>>>
> >>>>>> Nux!
> >>>>>> www.nux.ro
> >>>>>>
> >>>>>>
> >>>>>> ----- Original Message -----
> >>>>>>
> >>>>>>> From: "Wido den Hollander" <wi...@widodh.nl>
> >>>>>>> To: dev@cloudstack.apache.org
> >>>>>>> Sent: Wednesday, 20 August, 2014 9:36:48 PM
> >>>>>>> Subject: Re: IPv6 ~ Basic Network
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>> On 08/20/2014 10:07 PM, Nux! wrote:
> >>>>>>>
> >>>>>>>> Wido,
> >>>>>>>>
> >>>>>>>> Can you share your code for this?
> >>>>>>>>
> >>>>>>>>
> >>>>>>> Oh, I don't have any code. The setups I created have plain IPv6
> without
> >>>>>>> any security grouping.
> >>>>>>>
> >>>>>>> My previous e-mail was just to illustrate what would be required.
> >>>>>>>
> >>>>>>> Wido
> >>>>>>>
> >>>>>>> Cheers
> >>>>>>>>
> >>>>>>>> --
> >>>>>>>> Sent from the Delta quadrant using Borg technology!
> >>>>>>>>
> >>>>>>>> Nux!
> >>>>>>>> www.nux.ro
> >>>>>>>>
> >>>>>>>>
> >>>>>>>
> >>>>>
> >>>>>
> >>>>>
> >>
>
Re: IPv6 ~ Basic Network
Posted by Wido den Hollander <wi...@widodh.nl>.
On 05-09-14 17:18, Nux! wrote:
> Marcus,
>
> It'd be nice to have this in ACS, but seems like there is an appeal to have this done sort of outside that. Of course, having IPv6 support in basic/sg zones would be ideal.
>
Indeed. It would be great to have basic IPv6 in the Basic Zones.
> Anyone volunteers to write the code? :)
>
I'd love to, but I know I'd never get to it (time..). My company is
looking for a CloudStack developer though. Once we find him this will be
one of the things he/she will be working on.
Wido
> Lucian
>
> --
> Sent from the Delta quadrant using Borg technology!
>
> Nux!
> www.nux.ro
>
>
> ----- Original Message -----
>> From: "Marcus" <sh...@gmail.com>
>> To: dev@cloudstack.apache.org
>> Sent: Friday, 5 September, 2014 4:00:21 PM
>> Subject: Re: IPv6 ~ Basic Network
>>
>> Hey guys, there is a functional spec for ipv6 that was started in the
>> spring. No code is written as far as I a aware. It might be nice to review
>> that and make changes to keep the spec ready, or just keep track of what
>> cloudstack is planning so you can stay compatible if/when it lands.
>> On Sep 5, 2014 7:53 AM, "Wido den Hollander" <wi...@widodh.nl> wrote:
>>
>>>
>>>
>>> On 05-09-14 12:42, Nux! wrote:
>>>
>>>> Hi,
>>>>
>>>> I've been thinking about this and apparently there is a big security
>>>> problem with this idea, at least my colleagues from the network dept tell
>>>> me so.
>>>> If you want to use the router autoconfig thingy you must - as per current
>>>> standards - use a /64 on the router interface and this way you expose
>>>> yourself to a neighbour table attack - the neighbour table in avg cisco
>>>> routers can hold tens of thousands of entries more or less, but it's still
>>>> far from the trillions of addresses in a /64. This may seem far fetched
>>>> but
>>>> since 512k day, my colleagues don't want to take any more chances. :-)
>>>>
>>>
>>> That only works if you actually spawn thousands of instances in that
>>> subnet.
>>>
>>> One of the things people told me that you could overflow the neighbour
>>> table by sending packets to bogus IPv6 addresses.
>>>
>>> I tried that some weeks ago on a Brocade and Extreme Networks router, but
>>> they both have a system of "valid neighbours" and "pending neighbours".
>>>
>>> Only when a neighbour actually responded it goes into the "valid" table
>>> and otherwise it is kicked out of the "pending" pretty quickly.
>>>
>>> I could not overflow any table or make them drop traffic to legitimate
>>> hosts.
>>>
>>> They recommend to use DHCPv6 instead with far smaller subnets, which of
>>>> course complicates things quite a bit on the cloudstack side...
>>>>
>>>>
>>> Well, we would still need DHCPv6 to hand out additional options like DNS,
>>> but yes. Since with the subnet + MAC you can calculate which IPv6 address
>>> the Instance will use based on SLAAC.
>>>
>>> We can program that address into the security groups and that's the IPv6
>>> address the guest can use.
>>>
>>> Additional IPs is just a matter of generating a address, storing it and
>>> adding it to the SG.
>>>
>>> So Router Advertisements are a very easy option to use.
>>>
>>> Any thoughts?
>>>>
>>>> Lucian
>>>>
>>>> --
>>>> Sent from the Delta quadrant using Borg technology!
>>>>
>>>> Nux!
>>>> www.nux.ro
>>>>
>>>> ----- Original Message -----
>>>>
>>>>> From: "John Kinsella" <jl...@stratosec.co>
>>>>> To: dev@cloudstack.apache.org
>>>>> Sent: Wednesday, 20 August, 2014 11:59:27 PM
>>>>> Subject: Re: IPv6 ~ Basic Network
>>>>>
>>>>> Please do - we started tinkering with ipv6 ages ago, never got it to
>>>>> production, tho.
>>>>>
>>>>> On Aug 20, 2014, at 3:48 PM, Nux! <nu...@li.nux.ro> wrote:
>>>>>
>>>>> Thanks Wido for the idea, then. :-)
>>>>>> I'll gladly share it with you guys should I come up with something that
>>>>>> works.
>>>>>>
>>>>>> Lucian
>>>>>>
>>>>>> --
>>>>>> Sent from the Delta quadrant using Borg technology!
>>>>>>
>>>>>> Nux!
>>>>>> www.nux.ro
>>>>>>
>>>>>>
>>>>>> ----- Original Message -----
>>>>>>
>>>>>>> From: "Wido den Hollander" <wi...@widodh.nl>
>>>>>>> To: dev@cloudstack.apache.org
>>>>>>> Sent: Wednesday, 20 August, 2014 9:36:48 PM
>>>>>>> Subject: Re: IPv6 ~ Basic Network
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On 08/20/2014 10:07 PM, Nux! wrote:
>>>>>>>
>>>>>>>> Wido,
>>>>>>>>
>>>>>>>> Can you share your code for this?
>>>>>>>>
>>>>>>>>
>>>>>>> Oh, I don't have any code. The setups I created have plain IPv6 without
>>>>>>> any security grouping.
>>>>>>>
>>>>>>> My previous e-mail was just to illustrate what would be required.
>>>>>>>
>>>>>>> Wido
>>>>>>>
>>>>>>> Cheers
>>>>>>>>
>>>>>>>> --
>>>>>>>> Sent from the Delta quadrant using Borg technology!
>>>>>>>>
>>>>>>>> Nux!
>>>>>>>> www.nux.ro
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>
>>>>>
>>>>>
>>
Re: IPv6 ~ Basic Network
Posted by Nux! <nu...@li.nux.ro>.
Marcus,
It'd be nice to have this in ACS, but seems like there is an appeal to have this done sort of outside that. Of course, having IPv6 support in basic/sg zones would be ideal.
Anyone volunteers to write the code? :)
Lucian
--
Sent from the Delta quadrant using Borg technology!
Nux!
www.nux.ro
----- Original Message -----
> From: "Marcus" <sh...@gmail.com>
> To: dev@cloudstack.apache.org
> Sent: Friday, 5 September, 2014 4:00:21 PM
> Subject: Re: IPv6 ~ Basic Network
>
> Hey guys, there is a functional spec for ipv6 that was started in the
> spring. No code is written as far as I a aware. It might be nice to review
> that and make changes to keep the spec ready, or just keep track of what
> cloudstack is planning so you can stay compatible if/when it lands.
> On Sep 5, 2014 7:53 AM, "Wido den Hollander" <wi...@widodh.nl> wrote:
>
> >
> >
> > On 05-09-14 12:42, Nux! wrote:
> >
> >> Hi,
> >>
> >> I've been thinking about this and apparently there is a big security
> >> problem with this idea, at least my colleagues from the network dept tell
> >> me so.
> >> If you want to use the router autoconfig thingy you must - as per current
> >> standards - use a /64 on the router interface and this way you expose
> >> yourself to a neighbour table attack - the neighbour table in avg cisco
> >> routers can hold tens of thousands of entries more or less, but it's still
> >> far from the trillions of addresses in a /64. This may seem far fetched
> >> but
> >> since 512k day, my colleagues don't want to take any more chances. :-)
> >>
> >
> > That only works if you actually spawn thousands of instances in that
> > subnet.
> >
> > One of the things people told me that you could overflow the neighbour
> > table by sending packets to bogus IPv6 addresses.
> >
> > I tried that some weeks ago on a Brocade and Extreme Networks router, but
> > they both have a system of "valid neighbours" and "pending neighbours".
> >
> > Only when a neighbour actually responded it goes into the "valid" table
> > and otherwise it is kicked out of the "pending" pretty quickly.
> >
> > I could not overflow any table or make them drop traffic to legitimate
> > hosts.
> >
> > They recommend to use DHCPv6 instead with far smaller subnets, which of
> >> course complicates things quite a bit on the cloudstack side...
> >>
> >>
> > Well, we would still need DHCPv6 to hand out additional options like DNS,
> > but yes. Since with the subnet + MAC you can calculate which IPv6 address
> > the Instance will use based on SLAAC.
> >
> > We can program that address into the security groups and that's the IPv6
> > address the guest can use.
> >
> > Additional IPs is just a matter of generating a address, storing it and
> > adding it to the SG.
> >
> > So Router Advertisements are a very easy option to use.
> >
> > Any thoughts?
> >>
> >> Lucian
> >>
> >> --
> >> Sent from the Delta quadrant using Borg technology!
> >>
> >> Nux!
> >> www.nux.ro
> >>
> >> ----- Original Message -----
> >>
> >>> From: "John Kinsella" <jl...@stratosec.co>
> >>> To: dev@cloudstack.apache.org
> >>> Sent: Wednesday, 20 August, 2014 11:59:27 PM
> >>> Subject: Re: IPv6 ~ Basic Network
> >>>
> >>> Please do - we started tinkering with ipv6 ages ago, never got it to
> >>> production, tho.
> >>>
> >>> On Aug 20, 2014, at 3:48 PM, Nux! <nu...@li.nux.ro> wrote:
> >>>
> >>> Thanks Wido for the idea, then. :-)
> >>>> I'll gladly share it with you guys should I come up with something that
> >>>> works.
> >>>>
> >>>> Lucian
> >>>>
> >>>> --
> >>>> Sent from the Delta quadrant using Borg technology!
> >>>>
> >>>> Nux!
> >>>> www.nux.ro
> >>>>
> >>>>
> >>>> ----- Original Message -----
> >>>>
> >>>>> From: "Wido den Hollander" <wi...@widodh.nl>
> >>>>> To: dev@cloudstack.apache.org
> >>>>> Sent: Wednesday, 20 August, 2014 9:36:48 PM
> >>>>> Subject: Re: IPv6 ~ Basic Network
> >>>>>
> >>>>>
> >>>>>
> >>>>> On 08/20/2014 10:07 PM, Nux! wrote:
> >>>>>
> >>>>>> Wido,
> >>>>>>
> >>>>>> Can you share your code for this?
> >>>>>>
> >>>>>>
> >>>>> Oh, I don't have any code. The setups I created have plain IPv6 without
> >>>>> any security grouping.
> >>>>>
> >>>>> My previous e-mail was just to illustrate what would be required.
> >>>>>
> >>>>> Wido
> >>>>>
> >>>>> Cheers
> >>>>>>
> >>>>>> --
> >>>>>> Sent from the Delta quadrant using Borg technology!
> >>>>>>
> >>>>>> Nux!
> >>>>>> www.nux.ro
> >>>>>>
> >>>>>>
> >>>>>
> >>>
> >>>
> >>>
>
Re: IPv6 ~ Basic Network
Posted by Marcus <sh...@gmail.com>.
Hey guys, there is a functional spec for ipv6 that was started in the
spring. No code is written as far as I a aware. It might be nice to review
that and make changes to keep the spec ready, or just keep track of what
cloudstack is planning so you can stay compatible if/when it lands.
On Sep 5, 2014 7:53 AM, "Wido den Hollander" <wi...@widodh.nl> wrote:
>
>
> On 05-09-14 12:42, Nux! wrote:
>
>> Hi,
>>
>> I've been thinking about this and apparently there is a big security
>> problem with this idea, at least my colleagues from the network dept tell
>> me so.
>> If you want to use the router autoconfig thingy you must - as per current
>> standards - use a /64 on the router interface and this way you expose
>> yourself to a neighbour table attack - the neighbour table in avg cisco
>> routers can hold tens of thousands of entries more or less, but it's still
>> far from the trillions of addresses in a /64. This may seem far fetched but
>> since 512k day, my colleagues don't want to take any more chances. :-)
>>
>
> That only works if you actually spawn thousands of instances in that
> subnet.
>
> One of the things people told me that you could overflow the neighbour
> table by sending packets to bogus IPv6 addresses.
>
> I tried that some weeks ago on a Brocade and Extreme Networks router, but
> they both have a system of "valid neighbours" and "pending neighbours".
>
> Only when a neighbour actually responded it goes into the "valid" table
> and otherwise it is kicked out of the "pending" pretty quickly.
>
> I could not overflow any table or make them drop traffic to legitimate
> hosts.
>
> They recommend to use DHCPv6 instead with far smaller subnets, which of
>> course complicates things quite a bit on the cloudstack side...
>>
>>
> Well, we would still need DHCPv6 to hand out additional options like DNS,
> but yes. Since with the subnet + MAC you can calculate which IPv6 address
> the Instance will use based on SLAAC.
>
> We can program that address into the security groups and that's the IPv6
> address the guest can use.
>
> Additional IPs is just a matter of generating a address, storing it and
> adding it to the SG.
>
> So Router Advertisements are a very easy option to use.
>
> Any thoughts?
>>
>> Lucian
>>
>> --
>> Sent from the Delta quadrant using Borg technology!
>>
>> Nux!
>> www.nux.ro
>>
>> ----- Original Message -----
>>
>>> From: "John Kinsella" <jl...@stratosec.co>
>>> To: dev@cloudstack.apache.org
>>> Sent: Wednesday, 20 August, 2014 11:59:27 PM
>>> Subject: Re: IPv6 ~ Basic Network
>>>
>>> Please do - we started tinkering with ipv6 ages ago, never got it to
>>> production, tho.
>>>
>>> On Aug 20, 2014, at 3:48 PM, Nux! <nu...@li.nux.ro> wrote:
>>>
>>> Thanks Wido for the idea, then. :-)
>>>> I'll gladly share it with you guys should I come up with something that
>>>> works.
>>>>
>>>> Lucian
>>>>
>>>> --
>>>> Sent from the Delta quadrant using Borg technology!
>>>>
>>>> Nux!
>>>> www.nux.ro
>>>>
>>>>
>>>> ----- Original Message -----
>>>>
>>>>> From: "Wido den Hollander" <wi...@widodh.nl>
>>>>> To: dev@cloudstack.apache.org
>>>>> Sent: Wednesday, 20 August, 2014 9:36:48 PM
>>>>> Subject: Re: IPv6 ~ Basic Network
>>>>>
>>>>>
>>>>>
>>>>> On 08/20/2014 10:07 PM, Nux! wrote:
>>>>>
>>>>>> Wido,
>>>>>>
>>>>>> Can you share your code for this?
>>>>>>
>>>>>>
>>>>> Oh, I don't have any code. The setups I created have plain IPv6 without
>>>>> any security grouping.
>>>>>
>>>>> My previous e-mail was just to illustrate what would be required.
>>>>>
>>>>> Wido
>>>>>
>>>>> Cheers
>>>>>>
>>>>>> --
>>>>>> Sent from the Delta quadrant using Borg technology!
>>>>>>
>>>>>> Nux!
>>>>>> www.nux.ro
>>>>>>
>>>>>>
>>>>>
>>>
>>>
>>>
Re: IPv6 ~ Basic Network
Posted by John Kinsella <jl...@stratosec.co>.
The neighbor table attack scenario reminds me of VLAN flattening attack scenarios of days past - in theory you could blast a switch hard enough that the switch’s CPU lowers VLAN tagging priority and the network “flattens” out, turning switch into hub. In reality, the vendors quickly realized the situation as less-than-optimal and coded around it.
This thread got me thinking of something else that might be interesting to think about: what about having virtual routers proxy DHCP requests[1] for v4 or v6?
John
1: http://en.wikipedia.org/wiki/Dynamic_Host_Configuration_Protocol#DHCP_relaying
On Sep 5, 2014, at 7:52 AM, Wido den Hollander <wi...@widodh.nl> wrote:
>
>
> On 05-09-14 12:42, Nux! wrote:
>> Hi,
>>
>> I've been thinking about this and apparently there is a big security problem with this idea, at least my colleagues from the network dept tell me so.
>> If you want to use the router autoconfig thingy you must - as per current standards - use a /64 on the router interface and this way you expose yourself to a neighbour table attack - the neighbour table in avg cisco routers can hold tens of thousands of entries more or less, but it's still far from the trillions of addresses in a /64. This may seem far fetched but since 512k day, my colleagues don't want to take any more chances. :-)
>
> That only works if you actually spawn thousands of instances in that subnet.
>
> One of the things people told me that you could overflow the neighbour table by sending packets to bogus IPv6 addresses.
>
> I tried that some weeks ago on a Brocade and Extreme Networks router, but they both have a system of "valid neighbours" and "pending neighbours".
>
> Only when a neighbour actually responded it goes into the "valid" table and otherwise it is kicked out of the "pending" pretty quickly.
>
> I could not overflow any table or make them drop traffic to legitimate hosts.
>
>> They recommend to use DHCPv6 instead with far smaller subnets, which of course complicates things quite a bit on the cloudstack side...
>>
>
> Well, we would still need DHCPv6 to hand out additional options like DNS, but yes. Since with the subnet + MAC you can calculate which IPv6 address the Instance will use based on SLAAC.
>
> We can program that address into the security groups and that's the IPv6 address the guest can use.
>
> Additional IPs is just a matter of generating a address, storing it and adding it to the SG.
>
> So Router Advertisements are a very easy option to use.
>
>> Any thoughts?
>>
>> Lucian
>>
>> --
>> Sent from the Delta quadrant using Borg technology!
>>
>> Nux!
>> www.nux.ro
>>
>> ----- Original Message -----
>>> From: "John Kinsella" <jl...@stratosec.co>
>>> To: dev@cloudstack.apache.org
>>> Sent: Wednesday, 20 August, 2014 11:59:27 PM
>>> Subject: Re: IPv6 ~ Basic Network
>>>
>>> Please do - we started tinkering with ipv6 ages ago, never got it to
>>> production, tho.
>>>
>>> On Aug 20, 2014, at 3:48 PM, Nux! <nu...@li.nux.ro> wrote:
>>>
>>>> Thanks Wido for the idea, then. :-)
>>>> I'll gladly share it with you guys should I come up with something that
>>>> works.
>>>>
>>>> Lucian
>>>>
>>>> --
>>>> Sent from the Delta quadrant using Borg technology!
>>>>
>>>> Nux!
>>>> www.nux.ro
>>>>
>>>>
>>>> ----- Original Message -----
>>>>> From: "Wido den Hollander" <wi...@widodh.nl>
>>>>> To: dev@cloudstack.apache.org
>>>>> Sent: Wednesday, 20 August, 2014 9:36:48 PM
>>>>> Subject: Re: IPv6 ~ Basic Network
>>>>>
>>>>>
>>>>>
>>>>> On 08/20/2014 10:07 PM, Nux! wrote:
>>>>>> Wido,
>>>>>>
>>>>>> Can you share your code for this?
>>>>>>
>>>>>
>>>>> Oh, I don't have any code. The setups I created have plain IPv6 without
>>>>> any security grouping.
>>>>>
>>>>> My previous e-mail was just to illustrate what would be required.
>>>>>
>>>>> Wido
>>>>>
>>>>>> Cheers
>>>>>>
>>>>>> --
>>>>>> Sent from the Delta quadrant using Borg technology!
>>>>>>
>>>>>> Nux!
>>>>>> www.nux.ro
>>>>>>
>>>>>
>>>
>>>
>>>
Re: IPv6 ~ Basic Network
Posted by Wido den Hollander <wi...@widodh.nl>.
On 05-09-14 12:42, Nux! wrote:
> Hi,
>
> I've been thinking about this and apparently there is a big security problem with this idea, at least my colleagues from the network dept tell me so.
> If you want to use the router autoconfig thingy you must - as per current standards - use a /64 on the router interface and this way you expose yourself to a neighbour table attack - the neighbour table in avg cisco routers can hold tens of thousands of entries more or less, but it's still far from the trillions of addresses in a /64. This may seem far fetched but since 512k day, my colleagues don't want to take any more chances. :-)
That only works if you actually spawn thousands of instances in that subnet.
One of the things people told me that you could overflow the neighbour
table by sending packets to bogus IPv6 addresses.
I tried that some weeks ago on a Brocade and Extreme Networks router,
but they both have a system of "valid neighbours" and "pending neighbours".
Only when a neighbour actually responded it goes into the "valid" table
and otherwise it is kicked out of the "pending" pretty quickly.
I could not overflow any table or make them drop traffic to legitimate
hosts.
> They recommend to use DHCPv6 instead with far smaller subnets, which of course complicates things quite a bit on the cloudstack side...
>
Well, we would still need DHCPv6 to hand out additional options like
DNS, but yes. Since with the subnet + MAC you can calculate which IPv6
address the Instance will use based on SLAAC.
We can program that address into the security groups and that's the IPv6
address the guest can use.
Additional IPs is just a matter of generating a address, storing it and
adding it to the SG.
So Router Advertisements are a very easy option to use.
> Any thoughts?
>
> Lucian
>
> --
> Sent from the Delta quadrant using Borg technology!
>
> Nux!
> www.nux.ro
>
> ----- Original Message -----
>> From: "John Kinsella" <jl...@stratosec.co>
>> To: dev@cloudstack.apache.org
>> Sent: Wednesday, 20 August, 2014 11:59:27 PM
>> Subject: Re: IPv6 ~ Basic Network
>>
>> Please do - we started tinkering with ipv6 ages ago, never got it to
>> production, tho.
>>
>> On Aug 20, 2014, at 3:48 PM, Nux! <nu...@li.nux.ro> wrote:
>>
>>> Thanks Wido for the idea, then. :-)
>>> I'll gladly share it with you guys should I come up with something that
>>> works.
>>>
>>> Lucian
>>>
>>> --
>>> Sent from the Delta quadrant using Borg technology!
>>>
>>> Nux!
>>> www.nux.ro
>>>
>>>
>>> ----- Original Message -----
>>>> From: "Wido den Hollander" <wi...@widodh.nl>
>>>> To: dev@cloudstack.apache.org
>>>> Sent: Wednesday, 20 August, 2014 9:36:48 PM
>>>> Subject: Re: IPv6 ~ Basic Network
>>>>
>>>>
>>>>
>>>> On 08/20/2014 10:07 PM, Nux! wrote:
>>>>> Wido,
>>>>>
>>>>> Can you share your code for this?
>>>>>
>>>>
>>>> Oh, I don't have any code. The setups I created have plain IPv6 without
>>>> any security grouping.
>>>>
>>>> My previous e-mail was just to illustrate what would be required.
>>>>
>>>> Wido
>>>>
>>>>> Cheers
>>>>>
>>>>> --
>>>>> Sent from the Delta quadrant using Borg technology!
>>>>>
>>>>> Nux!
>>>>> www.nux.ro
>>>>>
>>>>
>>
>>
>>
Re: IPv6 ~ Basic Network
Posted by Nux! <nu...@li.nux.ro>.
Hi,
I've been thinking about this and apparently there is a big security problem with this idea, at least my colleagues from the network dept tell me so.
If you want to use the router autoconfig thingy you must - as per current standards - use a /64 on the router interface and this way you expose yourself to a neighbour table attack - the neighbour table in avg cisco routers can hold tens of thousands of entries more or less, but it's still far from the trillions of addresses in a /64. This may seem far fetched but since 512k day, my colleagues don't want to take any more chances. :-)
They recommend to use DHCPv6 instead with far smaller subnets, which of course complicates things quite a bit on the cloudstack side...
Any thoughts?
Lucian
--
Sent from the Delta quadrant using Borg technology!
Nux!
www.nux.ro
----- Original Message -----
> From: "John Kinsella" <jl...@stratosec.co>
> To: dev@cloudstack.apache.org
> Sent: Wednesday, 20 August, 2014 11:59:27 PM
> Subject: Re: IPv6 ~ Basic Network
>
> Please do - we started tinkering with ipv6 ages ago, never got it to
> production, tho.
>
> On Aug 20, 2014, at 3:48 PM, Nux! <nu...@li.nux.ro> wrote:
>
> > Thanks Wido for the idea, then. :-)
> > I'll gladly share it with you guys should I come up with something that
> > works.
> >
> > Lucian
> >
> > --
> > Sent from the Delta quadrant using Borg technology!
> >
> > Nux!
> > www.nux.ro
> >
> >
> > ----- Original Message -----
> >> From: "Wido den Hollander" <wi...@widodh.nl>
> >> To: dev@cloudstack.apache.org
> >> Sent: Wednesday, 20 August, 2014 9:36:48 PM
> >> Subject: Re: IPv6 ~ Basic Network
> >>
> >>
> >>
> >> On 08/20/2014 10:07 PM, Nux! wrote:
> >>> Wido,
> >>>
> >>> Can you share your code for this?
> >>>
> >>
> >> Oh, I don't have any code. The setups I created have plain IPv6 without
> >> any security grouping.
> >>
> >> My previous e-mail was just to illustrate what would be required.
> >>
> >> Wido
> >>
> >>> Cheers
> >>>
> >>> --
> >>> Sent from the Delta quadrant using Borg technology!
> >>>
> >>> Nux!
> >>> www.nux.ro
> >>>
> >>
>
>
>
Re: IPv6 ~ Basic Network
Posted by Nux! <nu...@li.nux.ro>.
Of course, I meant SG (from security groups)
Good morning
Lucian
--
Sent from the Delta quadrant using Borg technology!
Nux!
www.nux.ro
----- Original Message -----
> From: "Nux!" <nu...@li.nux.ro>
> To: dev@cloudstack.apache.org
> Sent: Thursday, 21 August, 2014 8:20:20 AM
> Subject: Re: IPv6 ~ Basic Network
>
> Right, seems like the SF zones are more popular than I thought. :-)
>
>
>
> --
> Sent from the Delta quadrant using Borg technology!
>
> Nux!
> www.nux.ro
>
>
> ----- Original Message -----
> > From: "John Kinsella" <jl...@stratosec.co>
> > To: dev@cloudstack.apache.org
> > Sent: Wednesday, 20 August, 2014 11:59:27 PM
> > Subject: Re: IPv6 ~ Basic Network
> >
> > Please do - we started tinkering with ipv6 ages ago, never got it to
> > production, tho.
> >
> > On Aug 20, 2014, at 3:48 PM, Nux! <nu...@li.nux.ro> wrote:
> >
> > > Thanks Wido for the idea, then. :-)
> > > I'll gladly share it with you guys should I come up with something that
> > > works.
> > >
> > > Lucian
> > >
> > > --
> > > Sent from the Delta quadrant using Borg technology!
> > >
> > > Nux!
> > > www.nux.ro
> > >
> > >
> > > ----- Original Message -----
> > >> From: "Wido den Hollander" <wi...@widodh.nl>
> > >> To: dev@cloudstack.apache.org
> > >> Sent: Wednesday, 20 August, 2014 9:36:48 PM
> > >> Subject: Re: IPv6 ~ Basic Network
> > >>
> > >>
> > >>
> > >> On 08/20/2014 10:07 PM, Nux! wrote:
> > >>> Wido,
> > >>>
> > >>> Can you share your code for this?
> > >>>
> > >>
> > >> Oh, I don't have any code. The setups I created have plain IPv6 without
> > >> any security grouping.
> > >>
> > >> My previous e-mail was just to illustrate what would be required.
> > >>
> > >> Wido
> > >>
> > >>> Cheers
> > >>>
> > >>> --
> > >>> Sent from the Delta quadrant using Borg technology!
> > >>>
> > >>> Nux!
> > >>> www.nux.ro
> > >>>
> > >>
> >
> >
> >
>
Re: IPv6 ~ Basic Network
Posted by Nux! <nu...@li.nux.ro>.
Right, seems like the SF zones are more popular than I thought. :-)
--
Sent from the Delta quadrant using Borg technology!
Nux!
www.nux.ro
----- Original Message -----
> From: "John Kinsella" <jl...@stratosec.co>
> To: dev@cloudstack.apache.org
> Sent: Wednesday, 20 August, 2014 11:59:27 PM
> Subject: Re: IPv6 ~ Basic Network
>
> Please do - we started tinkering with ipv6 ages ago, never got it to
> production, tho.
>
> On Aug 20, 2014, at 3:48 PM, Nux! <nu...@li.nux.ro> wrote:
>
> > Thanks Wido for the idea, then. :-)
> > I'll gladly share it with you guys should I come up with something that
> > works.
> >
> > Lucian
> >
> > --
> > Sent from the Delta quadrant using Borg technology!
> >
> > Nux!
> > www.nux.ro
> >
> >
> > ----- Original Message -----
> >> From: "Wido den Hollander" <wi...@widodh.nl>
> >> To: dev@cloudstack.apache.org
> >> Sent: Wednesday, 20 August, 2014 9:36:48 PM
> >> Subject: Re: IPv6 ~ Basic Network
> >>
> >>
> >>
> >> On 08/20/2014 10:07 PM, Nux! wrote:
> >>> Wido,
> >>>
> >>> Can you share your code for this?
> >>>
> >>
> >> Oh, I don't have any code. The setups I created have plain IPv6 without
> >> any security grouping.
> >>
> >> My previous e-mail was just to illustrate what would be required.
> >>
> >> Wido
> >>
> >>> Cheers
> >>>
> >>> --
> >>> Sent from the Delta quadrant using Borg technology!
> >>>
> >>> Nux!
> >>> www.nux.ro
> >>>
> >>
>
>
>
Re: IPv6 ~ Basic Network
Posted by John Kinsella <jl...@stratosec.co>.
Please do - we started tinkering with ipv6 ages ago, never got it to production, tho.
On Aug 20, 2014, at 3:48 PM, Nux! <nu...@li.nux.ro> wrote:
> Thanks Wido for the idea, then. :-)
> I'll gladly share it with you guys should I come up with something that works.
>
> Lucian
>
> --
> Sent from the Delta quadrant using Borg technology!
>
> Nux!
> www.nux.ro
>
>
> ----- Original Message -----
>> From: "Wido den Hollander" <wi...@widodh.nl>
>> To: dev@cloudstack.apache.org
>> Sent: Wednesday, 20 August, 2014 9:36:48 PM
>> Subject: Re: IPv6 ~ Basic Network
>>
>>
>>
>> On 08/20/2014 10:07 PM, Nux! wrote:
>>> Wido,
>>>
>>> Can you share your code for this?
>>>
>>
>> Oh, I don't have any code. The setups I created have plain IPv6 without
>> any security grouping.
>>
>> My previous e-mail was just to illustrate what would be required.
>>
>> Wido
>>
>>> Cheers
>>>
>>> --
>>> Sent from the Delta quadrant using Borg technology!
>>>
>>> Nux!
>>> www.nux.ro
>>>
>>
Re: IPv6 ~ Basic Network
Posted by Nux! <nu...@li.nux.ro>.
Thanks Wido for the idea, then. :-)
I'll gladly share it with you guys should I come up with something that works.
Lucian
--
Sent from the Delta quadrant using Borg technology!
Nux!
www.nux.ro
----- Original Message -----
> From: "Wido den Hollander" <wi...@widodh.nl>
> To: dev@cloudstack.apache.org
> Sent: Wednesday, 20 August, 2014 9:36:48 PM
> Subject: Re: IPv6 ~ Basic Network
>
>
>
> On 08/20/2014 10:07 PM, Nux! wrote:
> > Wido,
> >
> > Can you share your code for this?
> >
>
> Oh, I don't have any code. The setups I created have plain IPv6 without
> any security grouping.
>
> My previous e-mail was just to illustrate what would be required.
>
> Wido
>
> > Cheers
> >
> > --
> > Sent from the Delta quadrant using Borg technology!
> >
> > Nux!
> > www.nux.ro
> >
>
Re: IPv6 ~ Basic Network
Posted by Wido den Hollander <wi...@widodh.nl>.
On 08/20/2014 10:07 PM, Nux! wrote:
> Wido,
>
> Can you share your code for this?
>
Oh, I don't have any code. The setups I created have plain IPv6 without
any security grouping.
My previous e-mail was just to illustrate what would be required.
Wido
> Cheers
>
> --
> Sent from the Delta quadrant using Borg technology!
>
> Nux!
> www.nux.ro
>
Re: IPv6 ~ Basic Network
Posted by Nux! <nu...@li.nux.ro>.
Wido,
Can you share your code for this?
Cheers
--
Sent from the Delta quadrant using Borg technology!
Nux!
www.nux.ro
Re: IPv6 ~ Basic Network
Posted by Wido den Hollander <wi...@widodh.nl>.
On 08/20/2014 05:46 PM, Nux! wrote:
> Hi,
>
> Excuse my ignorance, but doesn't this mean that clients can "steal" each other's IPv6 at will?
Yes, they can indeed.
> Lack of IPv6 is probably my biggest complaint re basic/sg zones, but just using router adv. seems like bad security, worse than not having IPv6 at all.
>
> Thoughts?
Basic implementation would require 'locking' IPs to guest using
ip6tables with security_group.py under KVM.
With SLAAC you can calculate the IP the guest will use and set that in
the rules.
That way you can prevent hijacking addresses.
Wido
>
> --
> Sent from the Delta quadrant using Borg technology!
>
> Nux!
> www.nux.ro
>
> ----- Original Message -----
>> From: "Wido den Hollander" <wi...@widodh.nl>
>> To: dev@cloudstack.apache.org
>> Sent: Tuesday, 19 August, 2014 8:27:14 PM
>> Subject: Re: IPv6 ~ Basic Network
>>
>>
>>
>> On 08/19/2014 09:23 PM, Mo wrote:
>>> Hello,
>>>
>>> Is it possible to toss in an IPv6 subnet in a basic setup?
>>>
>>
>> Yes. I'm doing so in a setup, but it goes outside CloudStack. Simply
>> configure your router to do Router Advertisements and your guests will
>> get a IPv6 address.
>>
>> Be aware though, security groups do not apply and CloudStack has no
>> knowledge of IPv6 being present.
>>
>> Wido
>>
>>> - Mo
>>>
>>
Re: IPv6 ~ Basic Network
Posted by Nux! <nu...@li.nux.ro>.
Hi,
Excuse my ignorance, but doesn't this mean that clients can "steal" each other's IPv6 at will?
Lack of IPv6 is probably my biggest complaint re basic/sg zones, but just using router adv. seems like bad security, worse than not having IPv6 at all.
Thoughts?
--
Sent from the Delta quadrant using Borg technology!
Nux!
www.nux.ro
----- Original Message -----
> From: "Wido den Hollander" <wi...@widodh.nl>
> To: dev@cloudstack.apache.org
> Sent: Tuesday, 19 August, 2014 8:27:14 PM
> Subject: Re: IPv6 ~ Basic Network
>
>
>
> On 08/19/2014 09:23 PM, Mo wrote:
> > Hello,
> >
> > Is it possible to toss in an IPv6 subnet in a basic setup?
> >
>
> Yes. I'm doing so in a setup, but it goes outside CloudStack. Simply
> configure your router to do Router Advertisements and your guests will
> get a IPv6 address.
>
> Be aware though, security groups do not apply and CloudStack has no
> knowledge of IPv6 being present.
>
> Wido
>
> > - Mo
> >
>
Re: IPv6 ~ Basic Network
Posted by Wido den Hollander <wi...@widodh.nl>.
On 08/19/2014 09:23 PM, Mo wrote:
> Hello,
>
> Is it possible to toss in an IPv6 subnet in a basic setup?
>
Yes. I'm doing so in a setup, but it goes outside CloudStack. Simply
configure your router to do Router Advertisements and your guests will
get a IPv6 address.
Be aware though, security groups do not apply and CloudStack has no
knowledge of IPv6 being present.
Wido
> - Mo
>