Author Topic: IoTv6?  (Read 14311 times)

0 Members and 1 Guest are viewing this topic.

Offline technixTopic starter

  • Super Contributor
  • ***
  • Posts: 3507
  • Country: cn
  • From Shanghai With Love
    • My Untitled Blog
IoTv6?
« on: May 23, 2017, 06:16:27 am »
For new IoT designs, should I put IPv6 capabilities in consideration, at least shared-stack capabilities? The IP stack can be written in IPv6 and IPv4 features and addresses can be mapped to IPv6 equivalents using a shim.

I am probably one of those unicorns that have IPv6 Internet access in my home. And my home network can support IPv6-exclusive hosts thanks to DNSv6/NATv6.
 

Offline Jeroen3

  • Super Contributor
  • ***
  • Posts: 4078
  • Country: nl
  • Embedded Engineer
    • jeroen3.nl
Re: IoTv6?
« Reply #1 on: May 23, 2017, 06:32:14 am »
Only if you also fix the year 2038 bug.
 

Online ataradov

  • Super Contributor
  • ***
  • Posts: 11238
  • Country: us
    • Personal site
Re: IoTv6?
« Reply #2 on: May 23, 2017, 06:35:58 am »
I would say, no. Don't waste your time. There is plenty of IPv4 address space to go around, and it is not going away. If anything, you will be opening up one more attack surface.
Alex
 

Offline technixTopic starter

  • Super Contributor
  • ***
  • Posts: 3507
  • Country: cn
  • From Shanghai With Love
    • My Untitled Blog
Re: IoTv6?
« Reply #3 on: May 23, 2017, 06:48:26 am »
I would say, no. Don't waste your time. There is plenty of IPv4 address space to go around, and it is not going away. If anything, you will be opening up one more attack surface.
I am interested in what additional attack surface a shared-stack implementation would face.
 

Offline Jeroen3

  • Super Contributor
  • ***
  • Posts: 4078
  • Country: nl
  • Embedded Engineer
    • jeroen3.nl
Re: IoTv6?
« Reply #4 on: May 23, 2017, 06:49:23 am »
More code that doesn't get monthly updates.
 

Online ataradov

  • Super Contributor
  • ***
  • Posts: 11238
  • Country: us
    • Personal site
Re: IoTv6?
« Reply #5 on: May 23, 2017, 06:49:43 am »
I am interested in what additional attack surface a shared-stack implementation would face.
It is more code => more stuff to exploit. I'm not saying there are specific vulnerabilities, but I don't even know what code you are using.
Alex
 

Offline technixTopic starter

  • Super Contributor
  • ***
  • Posts: 3507
  • Country: cn
  • From Shanghai With Love
    • My Untitled Blog
Re: IoTv6?
« Reply #6 on: May 23, 2017, 06:58:54 am »
I am interested in what additional attack surface a shared-stack implementation would face.
It is more code => more stuff to exploit. I'm not saying there are specific vulnerabilities, but I don't even know what code you are using.
The code as an straight IPv6-only network stack, and a small IPv4-to-IPv6 shim that translates IPv4 packets to IPv6 and vice versa if the addresses falls within the ::ffff:0:0/96 range.
 

Online ataradov

  • Super Contributor
  • ***
  • Posts: 11238
  • Country: us
    • Personal site
Re: IoTv6?
« Reply #7 on: May 23, 2017, 07:01:27 am »
The code as an straight IPv6-only network stack, and a small IPv4-to-IPv6 shim that translates IPv4 packets to IPv6 and vice versa if the addresses falls within the ::ffff:0:0/96 range.
That kind of attitude leaves wide open holes. I bet Intel though their ME crap was solid, but it turned out not so much. There is no way you can prove there are no holes.

If you want to include that, please do, chances are I'm not going to use your thing anyway.
Alex
 

Offline technixTopic starter

  • Super Contributor
  • ***
  • Posts: 3507
  • Country: cn
  • From Shanghai With Love
    • My Untitled Blog
Re: IoTv6?
« Reply #8 on: May 23, 2017, 07:58:16 am »
The code as an straight IPv6-only network stack, and a small IPv4-to-IPv6 shim that translates IPv4 packets to IPv6 and vice versa if the addresses falls within the ::ffff:0:0/96 range.
That kind of attitude leaves wide open holes. I bet Intel though their ME crap was solid, but it turned out not so much. There is no way you can prove there are no holes.

If you want to include that, please do, chances are I'm not going to use your thing anyway.
I'd rather see someone at least review some IoTv6 code. IPv6 was created to accommodate IoT in the first place.
 

Online ataradov

  • Super Contributor
  • ***
  • Posts: 11238
  • Country: us
    • Personal site
Re: IoTv6?
« Reply #9 on: May 23, 2017, 08:01:30 am »
IPv6 was created to accommodate IoT in the first place.
IPv6 was created when IoT fad was not even in the plans.

There is no practical need for IPv6 anywhere. Your device will be behind NAT with any IPv4 address it likes. You need to be incredibly dumb to put it directly on the Internet.
Alex
 

Offline technixTopic starter

  • Super Contributor
  • ***
  • Posts: 3507
  • Country: cn
  • From Shanghai With Love
    • My Untitled Blog
Re: IoTv6?
« Reply #10 on: May 23, 2017, 08:10:31 am »
IPv6 was created to accommodate IoT in the first place.
IPv6 was created when IoT fad was not even in the plans.

There is no practical need for IPv6 anywhere. Your device will be behind NAT with any IPv4 address it likes. You need to be incredibly dumb to put it directly on the Internet.
When did I say I don't firewall IPv6 traffic?

On IPv4 I often have to resort to protocols like DNS-SD to discover the nodes' addresses, and renumbering mobile nodes is a nightmare.

On IPv6 I can just use fixed 64-bit node addresses and observe NDP router advertisements to establish the network prefix. Yes there is DHCPv4 and DNS-SD but all those protocols require the node to send something before it can be addressed. IPv6 is much easier to set up.
 

Offline Kjelt

  • Super Contributor
  • ***
  • Posts: 6460
  • Country: nl
Re: IoTv6?
« Reply #11 on: May 23, 2017, 08:17:16 am »
I would say any new IoT device should be able to support IPv6.
It does not have to support both IPv4 and IPv6 simultaneously you can let the user choose.
But for some applications like sensors where you want to place a couple of hundred in one building IPv6 might be more convenient than IPv4.
For home use and small numbers of devices I would still choose IPv4 since not many consumers have IPv6 knowledge and might have problems in their home setup with older routers.
 

Offline technixTopic starter

  • Super Contributor
  • ***
  • Posts: 3507
  • Country: cn
  • From Shanghai With Love
    • My Untitled Blog
Re: IoTv6?
« Reply #12 on: May 23, 2017, 08:34:42 am »
I would say any new IoT device should be able to support IPv6.
It does not have to support both IPv4 and IPv6 simultaneously you can let the user choose.
But for some applications like sensors where you want to place a couple of hundred in one building IPv6 might be more convenient than IPv4.
For home use and small numbers of devices I would still choose IPv4 since not many consumers have IPv6 knowledge and might have problems in their home setup with older routers.
That is the point of a shimmed IPv6 stack. The main IP stack is IPv6-only so it works under IPv6 environment. The shim performs what is essentially NAT64 for minimized attack surface and IPv4 compatibility.
 

Offline mrpackethead

  • Super Contributor
  • ***
  • Posts: 2845
  • Country: nz
  • D Size Cell
Re: IoTv6?
« Reply #13 on: May 23, 2017, 09:01:33 am »

[/quote] IPv6 was created when IoT fad was not even in the plans.
There is no practical need for IPv6 anywhere. Your device will be behind NAT with any IPv4 address it likes. You need to be incredibly dumb to put it directly on the Internet.
[/quote]

Absolute bollocks.  Its why 30% of the mobile networks in the  world are now ipv6 only.. oh and most users dont' even know. and you'll see the transistion of the rest in the next 3-5 years compelted.
On a quest to find increasingly complicated ways to blink things
 

Offline nctnico

  • Super Contributor
  • ***
  • Posts: 26896
  • Country: nl
    • NCT Developments
Re: IoTv6?
« Reply #14 on: May 23, 2017, 09:10:59 am »
IPv6 was created to accommodate IoT in the first place.
IPv6 was created when IoT fad was not even in the plans.
There is no practical need for IPv6 anywhere. Your device will be behind NAT with any IPv4 address it likes. You need to be incredibly dumb to put it directly on the Internet.
I agree. An IoT device doesn't belong on internet.
There are small lies, big lies and then there is what is on the screen of your oscilloscope.
 

Offline westfw

  • Super Contributor
  • ***
  • Posts: 4199
  • Country: us
Re: IoTv6?
« Reply #15 on: May 23, 2017, 10:12:11 am »
Quote
An IoT device doesn't belong on internet.
that would be "irony", right?
 

Offline nctnico

  • Super Contributor
  • ***
  • Posts: 26896
  • Country: nl
    • NCT Developments
Re: IoTv6?
« Reply #16 on: May 23, 2017, 10:35:35 am »
Quote
An IoT device doesn't belong on internet.
that would be "irony", right?
IntranetOfThings  :box:
There are small lies, big lies and then there is what is on the screen of your oscilloscope.
 

Offline dimkasta

  • Regular Contributor
  • *
  • Posts: 185
  • Country: gr
Re: IoTv6?
« Reply #17 on: May 23, 2017, 11:05:28 am »
IPv6 would be very interesting in a big IoT architecture with MANY nodes.
With its enhanced auto configuration, enhanced network administration abilities, improved QoS control etc, it can fit very well with simplifying and fine-tuning the management and operation of a big fleet of connected devices.
However, as we have discussed before, most IoT applications today are limited in numbers and basically just glorified networked devices.

If you are just interested in covering the most basic functionality (address assignment and/or basic routing), then I would not bother. I do not see IPv6 becoming a requirement for mainstream connectivity any time soon.
« Last Edit: May 23, 2017, 11:07:53 am by dimkasta »
 

Offline mrpackethead

  • Super Contributor
  • ***
  • Posts: 2845
  • Country: nz
  • D Size Cell
Re: IoTv6?
« Reply #18 on: May 23, 2017, 12:01:17 pm »
IPv6 was created to accommodate IoT in the first place.
IPv6 was created when IoT fad was not even in the plans.
There is no practical need for IPv6 anywhere. Your device will be behind NAT with any IPv4 address it likes. You need to be incredibly dumb to put it directly on the Internet.
I agree. An IoT device doesn't belong on internet.


It can, and it may well be quite safe to do so.  Its no dumber than putting a web server on the intenret.. and theres a lot of those....

On a quest to find increasingly complicated ways to blink things
 

Offline dimkasta

  • Regular Contributor
  • *
  • Posts: 185
  • Country: gr
Re: IoTv6?
« Reply #19 on: May 23, 2017, 12:29:59 pm »
It can, and it may well be quite safe to do so.  Its no dumber than putting a web server on the intenret.. and theres a lot of those....

The amount of how dumb it is to put something on the internet, is a matter of doing your due diligence both on how fit it is for the internet, and on how to implement it. Oh and on how legal it is to put it on the internet.
It is the same with web servers. It is pretty dumb to put all of them on the internet. Some of them belong in an intranet, or in a DMZ.
And not all of them are fit for applications that require extra security. Think bank server vs blog server.

That is the real challenge of IoT today.
Creating safety standards, implementations and/or regulations for an architecture that is not well defined yet, to cover applications that do not yet exist.

Anyway, for now, for all intents and purposes, IoT is pretty much a marketing hype thing.
Treat your devices as any other networked device and you should be fine if you do your homework and you do not do stupid stuff
« Last Edit: May 23, 2017, 12:38:58 pm by dimkasta »
 

Offline technixTopic starter

  • Super Contributor
  • ***
  • Posts: 3507
  • Country: cn
  • From Shanghai With Love
    • My Untitled Blog
Re: IoTv6?
« Reply #20 on: May 23, 2017, 01:35:48 pm »
IPv6 was created when IoT fad was not even in the plans.
When IETF created IPv6 they were anticipating a quick increase of Internet-connected devices and decided to assign each grain of sand on Earth its address block. Increase of Internet-connected devices eh?
 

Offline gmb42

  • Frequent Contributor
  • **
  • Posts: 294
  • Country: gb
Re: IoTv6?
« Reply #21 on: May 23, 2017, 03:23:34 pm »
FYI,

Verizon have announced that there'll be no static public IPv4 addresses issued after June 30 2017, here.
 

Offline nctnico

  • Super Contributor
  • ***
  • Posts: 26896
  • Country: nl
    • NCT Developments
Re: IoTv6?
« Reply #22 on: May 23, 2017, 05:23:31 pm »
IPv6 was created when IoT fad was not even in the plans.
When IETF created IPv6 they were anticipating a quick increase of Internet-connected devices and decided to assign each grain of sand on Earth its address block. Increase of Internet-connected devices eh?
But at that time worms, ransom ware, hacked internet routers, etc where unheard off. Making something possible from a technical point of view doesn't mean it is a wise thing to do.
There are small lies, big lies and then there is what is on the screen of your oscilloscope.
 

Offline janoc

  • Super Contributor
  • ***
  • Posts: 3785
  • Country: de
Re: IoTv6?
« Reply #23 on: May 23, 2017, 10:48:50 pm »
But at that time worms, ransom ware, hacked internet routers, etc where unheard off. Making something possible from a technical point of view doesn't mean it is a wise thing to do.

That you are quite mistaken, actually. IPv6 was formalized in 1998, at that time we had stuff like the Morris worm, CIH, OneHalf, Happy99 worm. Melissa worm appeared in 1999, ILOVEYOU worm in 2000, 2001 brought Nimda, Sircam and plenty of other such self-propagating plague. Spam and hacking attacks were also completely routine.

That we didn't have hacked home routers and ransomware doesn't mean that internet security wasn't a major problem already, especially with the millions of Windows PCs that have just gained Internet connectivity back in that era and had more holes than Swiss cheese.

Also, why do you think IPv6 originally included IPsec as mandatory if not for security reasons?

I personally wouldn't be worried by IPv6 stack being a security hole - by itself it cannot do that much. If the rest of the system is decent, it wouldn't be any more a security hole than an IPv4 stack. A more relevant question is whether that IoT device will have useful life long enough to actually see the rollout of IPv6 in its intended application. If not, then it is a pointless exercise and waste of resources. Right now it is still really rare to see consumer electronics to support IPv6 meaningfully, including things like domestic routers and such - many don't support it at all (!) or at best can handle packet routing and DHCPv6. So if OP is planning to rely on some of the more advanced features of IPv6, they will likely be very disappointed and face nightmarish support issues due to all kinds of broken hardware out there.

Autodiscovery is still best handled using things like Zeroconf or DNS-SD, regardless of whether the device uses IPv4 or v6 - you will likely want to configure/advertise more things than only an IP address and DNS. That is where Zeroconf or DNS-SD shine, literally allowing to advertise and discover every coffee machine in the building.
« Last Edit: May 23, 2017, 10:51:19 pm by janoc »
 

Offline Kjelt

  • Super Contributor
  • ***
  • Posts: 6460
  • Country: nl
Re: IoTv6?
« Reply #24 on: May 24, 2017, 07:38:26 am »
IPv6 had a huge boom thanks to the mobile phone industry. If you look at the charts, it is going slow in absolute numbers but the growth is exponential.
The wait is for big countries like China to switch, the most IP providers are already ready for it, and it is for the customer to set the switch on it home router to support it or not.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf