Author Topic: IoTv6?  (Read 24246 times)

0 Members and 1 Guest are viewing this topic.

Offline technixTopic starter

  • Super Contributor
  • ***
  • Posts: 3508
  • Country: cn
  • From Shanghai With Love
    • My Untitled Blog
Re: IoTv6?
« Reply #25 on: June 02, 2017, 08:42:34 am »
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.
If all the hardware I sells comes from the same ONU which also becomes part of the autoconfigured IPv6 address, I can use plain NDP to discover compatible devices.
 

Offline technixTopic starter

  • Super Contributor
  • ***
  • Posts: 3508
  • Country: cn
  • From Shanghai With Love
    • My Untitled Blog
Re: IoTv6?
« Reply #26 on: June 02, 2017, 08:49:50 am »
Here is an use case that might make sense for an IoTv6 setup: self-monitoring solar panels in a solar farm or building-integrated photovoltaics setup.

In a BIPV setup each window is a solar panel. (There are dye-based solar panels that absorbs IR and UV wavelengths while transparent to visible light) Now for a skyscraper there will be a high amount of panels sitting in the network. Here the huge address space of IPv6 can come to help making all those panels addressable. (There is SLIPv6 that tunnels IPv6 on top of UART, and SLIPv6 is routable)
 

Online Jeroen3

  • Super Contributor
  • ***
  • Posts: 4651
  • Country: nl
  • Embedded Engineer
    • jeroen3.nl
Re: IoTv6?
« Reply #27 on: June 02, 2017, 09:19:21 am »
Are there more than 16 million solar panels on a building? (10.0.0.0/8)

But yes, for an IoT it would be a solution. But building automation isn't IoT, it stays local.
 

Online nctnico

  • Super Contributor
  • ***
  • Posts: 30424
  • Country: nl
    • NCT Developments
Re: IoTv6?
« Reply #28 on: June 02, 2017, 09:35:40 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.
Growth numbers  :palm: From 1 to 3 users is a 200% growth!
There are small lies, big lies and then there is what is on the screen of your oscilloscope.
 

Offline janoc

  • Super Contributor
  • ***
  • Posts: 3958
  • Country: de
Re: IoTv6?
« Reply #29 on: June 02, 2017, 01:42:24 pm »
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.
Growth numbers  :palm: From 1 to 3 users is a 200% growth!

You have no clue, no offense. Practically all mobile networks and backbones are IPv6 already, completely transparent to the end users. That you don't see it on your home DSL doesn't mean it isn't used (and likely even that DSL works with it, if you enable it and/or configure your computer for it.

Some data:
https://www.vyncke.org/ipv6status/
http://www.worldipv6launch.org/measurements/
https://www.apnic.net/community/ipv6-program/data/



« Last Edit: June 02, 2017, 01:44:06 pm by janoc »
 

Online nctnico

  • Super Contributor
  • ***
  • Posts: 30424
  • Country: nl
    • NCT Developments
Re: IoTv6?
« Reply #30 on: June 02, 2017, 01:49:23 pm »
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.
Growth numbers  :palm: From 1 to 3 users is a 200% growth!
You have no clue, no offense. Practically all mobile networks and backbones are IPv6 already.
It is not about how far IPv6 has been rolled out but about the way Kjelt tries to argue this (which is completely wrong). And it really doesn't matter whether the backbones support IPv6 or not. The equipment at the subscriber also needs to support it in a way it actually works. This means not according to specs but according to general concensus about how the specs should be interpreted. Remember when every browser rendered a web page differently? Well, IPv6 is in that stage. Ofcourse you have to make your own choice about being an early adopter or not. I wait until there is a benefit to IPv6 which makes me money.
« Last Edit: June 02, 2017, 01:53:07 pm by nctnico »
There are small lies, big lies and then there is what is on the screen of your oscilloscope.
 

Offline madires

  • Super Contributor
  • ***
  • Posts: 9288
  • Country: de
  • A qualified hobbyist ;)
Re: IoTv6?
« Reply #31 on: June 02, 2017, 01:56:36 pm »
IMHO IPv6 should be standard for any new device. For me it's a "must have" otherwise I wouldn't buy it. Security-wise IPv6 has similar attack vectors as IPv4 but the biggest problem are stacked extension headers. The last few years several security issues were addressed and fixed in most IP stacks.
 

Offline coppice

  • Super Contributor
  • ***
  • Posts: 10289
  • Country: gb
Re: IoTv6?
« Reply #32 on: June 02, 2017, 02:18:18 pm »
You have no clue, no offense. Practically all mobile networks and backbones are IPv6 already, completely transparent to the end users. That you don't see it on your home DSL doesn't mean it isn't used (and likely even that DSL works with it, if you enable it and/or configure your computer for it.
The cellular network I use was the first one in the world to be fully IPv6 ready. There was heavy advertising about it at the time from everyone who had any involvement in bringing that about. To this day they still won't resolve an IPv6 address for a customer phone.
 

Offline technixTopic starter

  • Super Contributor
  • ***
  • Posts: 3508
  • Country: cn
  • From Shanghai With Love
    • My Untitled Blog
Re: IoTv6?
« Reply #33 on: June 02, 2017, 05:03:57 pm »
The answer to IPv6 for IoT is "YES".
Whether you want to use a dedicated 6 to 4 gateway / router or whether you want to use a 6-WSN to 6-LAN / 6-WAN gateway is up to you.  But generally many or most IoT devices will be comfortable on IPv6 using 6LowPAN.
So far my projects have been requiring wired connections (as PoE is used to deliver power along with command and control) and I have plain IPv6 Internet access within my Intranet as well as DNS64/NAT64. So I can safely go IPv6-only on the IoT devices?
 

Offline coppice

  • Super Contributor
  • ***
  • Posts: 10289
  • Country: gb
Re: IoTv6?
« Reply #34 on: June 02, 2017, 05:09:27 pm »
I think that if your IoT device communicates over 6LowPan you should probably provide IPv6 support, and maybe miss out the whole IPv4 thing entirely.  :)
 

Offline ebclr

  • Super Contributor
  • ***
  • Posts: 2332
  • Country: 00
Re: IoTv6?
« Reply #35 on: June 02, 2017, 05:38:25 pm »
I would evaluate, Is the security a really relevant issue on your class of devices? Are your IOT connected to a missile launch system?

Do your system have enough bandwidth, or information, to make anyone interested in exploit you system

It's worth elevate the security level on a higher level than the actual commercially available networks?

If you reply no go ahead and set Ipv6 or even better set any kind of enable/disable register and let decide later if turn on or off

 

Offline mubes

  • Regular Contributor
  • *
  • Posts: 238
  • Country: gb
  • Do Not Boil
Re: IoTv6?
« Reply #36 on: June 02, 2017, 08:24:46 pm »
There is quite a varied amount of knowledge being expressed in this thread!

Should you implement IPv6 in a new development?  Yes.  If you're concerned about back compatibility then some form of shimming or address translation can be provided, but the world is slowly and reluctantly being dragged into a v6 network...the last major holdouts really being the consumer ISPs who, in many cases, haven't really figured out how to spell IPv6 yet, unfortunately.  At the very least the autoconfig capabilities of v6 will be helpful to you.

Even in an individual home there's probably a lot more v6 in use than you expect. Many machines (Macs and Linux in particular, I don't do 'doze, so I have no idea what the state of play is there) will try a v6 connection before they try a v4 one, so there's a lot more v6 going on than most people realise....aided by the autoconfig abilities.  In 'walled gardens' v6 deployment is very common (e.g. 3GPP makes it 'mandatory' with v4 optional) although the advantages of v6 are not really very widely exploited because of concerns of back compatibility.

I can assure you that 'IoT' was a consideration from the very earliest days of v6 development. Christian Huitemas book "IPv6, the new Internet Protocol" is a good readable introduction to how the decisions about v6 came to be made, but it was written in 96 so it's rather outdated now.  Of course, it wasn't called 'IoT' back then, but one of the primary drivers was the requirement for address space expansion without 'middleboxes' (which is what things like NATs are) which break the end-to-end model.   The fact that we didn't really get away from middleboxes meant they ended up becoming more intelligent and its arguable that things like TR-069 (and even OSGi) came about because of the discontinuity in the L3-addressible network.

Back in the late 1990s and early 2000s you can find terms like "Networked Appliances" and "Pervasive Home Networking" ... the marketeers hadn't got hold of the subject back then.  Similarly, there wasn't really anything like WiFi that provided cheap ubiquitous connectivity (that started hitting the market with stuff like the Lucent Orinico cards in about 2000) so it was still difficult for people to make the intuitive leap to fully connected homes when most of them were still on dialup. A series on Home Networking started in IEEE Commag in around 2003 ish and eventually changed its name to Networked Appliances perhaps a year later.

The end-to-end model is really useful for things like QoS and simple configuration.  Folks tend to get hung up on the fact that their v6 network is no longer obfuscated by a NAT but a NAT is not a firewall and there is no reason why your edge-of-home router cannot still provide firewalling (or even address obfuscation if you really want it) in a v6 environment as easily as in a v4 one.

Ah, a trip down memory lane. Anyway, yes, IPv6 isn't going away, and it's (too) slowly becoming mainstream. New devices should as a minimum be dual stack, and v6 only if you've only got the choice of one.

Regards

DAVE
 

Offline westfw

  • Super Contributor
  • ***
  • Posts: 4671
  • Country: us
Re: IoTv6?
« Reply #37 on: June 07, 2017, 12:18:16 am »
Lack of IPv6 is one of the things that makes me very nervous about using "module/chip with built-in TCP/IP" solutions (Wiznet, CC3000, etc.)

This came out today: 
 

Online nctnico

  • Super Contributor
  • ***
  • Posts: 30424
  • Country: nl
    • NCT Developments
Re: IoTv6?
« Reply #38 on: June 07, 2017, 02:13:51 pm »
Lack of IPv6 is one of the things that makes me very nervous about using "module/chip with built-in TCP/IP" solutions (Wiznet, CC3000, etc.)

This came out today: 
And how long will it take before IPv4 is phased out at the user's side? I expect at least 2 decades. If it where to be sooner then Wiznet et al would be bringing IPv6 solutions to the market right now. Before thinking about phasing out IPv4 IPv6 has to be available for every user in a way it works reliable like IPv4 does. Otherwise you'd need dual stack solutions which just complicate things because you'd need to detect/adjust which kind of network is available. Count on at least another decade because it means replacing millions of internet routers.
There are small lies, big lies and then there is what is on the screen of your oscilloscope.
 

Offline jwm_

  • Frequent Contributor
  • **
  • Posts: 319
  • Country: us
    • Not A Number
Re: IoTv6?
« Reply #39 on: June 07, 2017, 02:29:13 pm »
For anything that does pure local communication I have dropped ipv4 completely. Peer to peer on same lan ipv6 stacks are so much smaller and simpler to implement than ipv4 ones and can fully self configure with no DHCP or other routers needed. IPSEC is also simpler to implement and you can end up with something a lot more secure.  For anything like local lightweight sensor nets ipv6 is the way to go if you can.

I also get ipv6 to my home. It's great to have a full publicly routeable /64 to play with.

Offline coppice

  • Super Contributor
  • ***
  • Posts: 10289
  • Country: gb
Re: IoTv6?
« Reply #40 on: June 07, 2017, 06:12:14 pm »
Lack of IPv6 is one of the things that makes me very nervous about using "module/chip with built-in TCP/IP" solutions (Wiznet, CC3000, etc.)
The CC3000 is actually a series of parts and the latest ones have IPv6 support. All embedded solutions are a risk, if you expect more than a few years life from them. Even if you have access to all the source code, to modify it for future needs, you have no idea today whether the memory resources will be sufficient to handle security requirements a few years from now.
This came out today: 
They've been publishing highly optimistic IPv6 deployment information for years. Some have shown massive availability here in Hong Kong for a number of years. In reality the huge global data centres in Hong Kong have had IPv6 support for years, but not a single consumer can resolve an IPv6 address on either a wired or cellular internet connection.
 

Offline madires

  • Super Contributor
  • ***
  • Posts: 9288
  • Country: de
  • A qualified hobbyist ;)
Re: IoTv6?
« Reply #41 on: June 07, 2017, 06:32:12 pm »
All day long bots with Chinese IPv4 addresses are running ssh dictionary attacks against my servers. There are also some bots from other countries, but the majority originates from China. I haven't seen any attacks via IPv6 yet.
 

Offline Kjelt

  • Super Contributor
  • ***
  • Posts: 6738
  • Country: nl
Re: IoTv6?
« Reply #42 on: June 07, 2017, 09:16:05 pm »
All day long bots with Chinese IPv4 addresses are running ssh dictionary attacks against my servers. There are also some bots from other countries, but the majority originates from China. I haven't seen any attacks via IPv6 yet.
Yeah well all is relative, bots can scan all ipv4 addresses multiple times per day, and i mean ALL.
When a new ipv4 address appears it is scanned within 10 minutes.
iPv6 full range scan takes longer than this planet exists  ;D
But when you're IPv6 address is known once (google, shodan etc) you have the same issues.
« Last Edit: June 07, 2017, 09:18:49 pm by Kjelt »
 

Offline jwm_

  • Frequent Contributor
  • **
  • Posts: 319
  • Country: us
    • Not A Number
Re: IoTv6?
« Reply #43 on: June 07, 2017, 09:52:35 pm »
No, ipv6 addresses cannot be guessed/scanned like that. You are not just given one ip, but Heather an entire 64 bit range.  First 64 bits are how it gets routed to your endpoint, last 64 is for you too stick your Mac address in to get your whole 128bit address. (Though many implementations choose a new random last 64 bits on boot that's different each time). It is infeasable to scan just 64 bits, let alone 128. When if your public endpoint is found, you can refill your local addresses and be hidden again.

Offline mrpackethead

  • Super Contributor
  • ***
  • Posts: 2845
  • Country: nz
  • D Size Cell
Re: IoTv6?
« Reply #44 on: June 07, 2017, 10:39:10 pm »
Quote
They've been publishing highly optimistic IPv6 deployment information for years. Some have shown massive availability here in Hong Kong for a number of years. In reality the huge global data centres in Hong Kong have had IPv6 support for years, but not a single consumer can resolve an IPv6 address on either a wired or cellular internet connection.

Google is reporting 18% of traffic is gets is IPv6.  more than 50% of the US Mobile carriers are now IPv6.       I'm asusming you are saying a single consumer in China?     I've had Ipv6 at home for several years from my isp.
On a quest to find increasingly complicated ways to blink things
 

Online nctnico

  • Super Contributor
  • ***
  • Posts: 30424
  • Country: nl
    • NCT Developments
Re: IoTv6?
« Reply #45 on: June 08, 2017, 03:27:23 pm »
Quote
They've been publishing highly optimistic IPv6 deployment information for years. Some have shown massive availability here in Hong Kong for a number of years. In reality the huge global data centres in Hong Kong have had IPv6 support for years, but not a single consumer can resolve an IPv6 address on either a wired or cellular internet connection.
Google is reporting 18% of traffic is gets is IPv6.  more than 50% of the US Mobile carriers are now IPv6.
That still doesn't mean the end users get an IPv6 address. They might just get a private IPv4 address which is translated using NAT to IPv6.
There are small lies, big lies and then there is what is on the screen of your oscilloscope.
 

Offline agehall

  • Frequent Contributor
  • **
  • Posts: 390
  • Country: se
Re: IoTv6?
« Reply #46 on: June 10, 2017, 08:34:02 pm »
That still doesn't mean the end users get an IPv6 address. They might just get a private IPv4 address which is translated using NAT to IPv6.

That would be a very strange and stupid way of doing it. I've never heard of a telco doing anything like that and I've worked with quite a few of them.
 

Online nctnico

  • Super Contributor
  • ***
  • Posts: 30424
  • Country: nl
    • NCT Developments
Re: IoTv6?
« Reply #47 on: June 10, 2017, 09:29:39 pm »
That still doesn't mean the end users get an IPv6 address. They might just get a private IPv4 address which is translated using NAT to IPv6.
That would be a very strange and stupid way of doing it. I've never heard of a telco doing anything like that and I've worked with quite a few of them.
Read what Coppice wrote. It all depends on which parts of the network get upgraded and how their administration and traffic recording systems are setup. As I wrote before: it only makes sense to upgrade to IPv6 if it at least doesn't cost extra money.
There are small lies, big lies and then there is what is on the screen of your oscilloscope.
 

Offline X

  • Regular Contributor
  • *
  • Posts: 179
  • Country: 00
    • This is where you end up when you die...
Re: IoTv6?
« Reply #48 on: June 10, 2017, 11:46:56 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?
They would be fine with a 64-bit scheme. 18+ pentillion addresses is plenty, and the IP address will be a bit easier to remember and enter correctly. Even if you were to assign a block of 65536 addresses for each person or location (which is plenty), you get 281+ trillion addresses available. Plenty of addresses for the foreseeable future. There is absolutely no need to give each person an entire 64-bit space. If someone wants to have a huge farm of over 65536 bitcoin miners, that's for them to sort out.

I am not sure IPv4 will go away, because it can be useful in private LANs (eg. CCTV) that don't need such a huge address space. An IPv4 packet header is about 1/4 of the size of an IPv6 header, making it efficient for sending many packets of small quantities of data, and with lower latency.
« Last Edit: June 10, 2017, 11:49:26 pm by X »
 

Offline madires

  • Super Contributor
  • ***
  • Posts: 9288
  • Country: de
  • A qualified hobbyist ;)
Re: IoTv6?
« Reply #49 on: June 11, 2017, 10:38:53 am »
That still doesn't mean the end users get an IPv6 address. They might just get a private IPv4 address which is translated using NAT to IPv6.

NATting between IPv4 and IPv6 is hideous, because there are several fundmental differences between both protocols. No sane network engineer would do that without a pressing reason. Usually the internet access for end users is a proper dual stack or DS lite (one public IPv4 address shared by several users). 
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf

 

- - -
-->