Contiki 2.6: IPv6 For Everything, Everywhere 62
An anonymous reader writes "The Contiki project just released version 2.6 of its open source operating system for the Internet of Things, used to track city sound pollution, control street lights, read power meters, monitor radiation, among other things. The technology behind it? A really tiny IPv6 stack that fits in a few kilobytes of memory, allowing everything, everywhere to have an IPv6 address."
Broadcast and IPv6 (Score:5, Funny)
Re: (Score:2, Informative)
IPv6 doesn't support broadcast?
Err...
ping6 -I wlan0 ff02::1
There are alots of "All nodes" IPv6 broadcast addresses.
Re:Broadcast and IPv6 (Score:5, Informative)
IP addresses everywhere (Score:1)
Yet Wikipedia admins still checkuserblock thinking it will stop sockpuppets.
That changes little (Score:3)
Great! Now just solve the routing problem! (Score:1)
Sure, a decent enough platform I guess.
Now, to solve the routing problem! I want to send an email to one of my Contiki buddies down the street. How does the name get resolved and how does a resolved IPv6 address get turned into a route? How about a few miles away? To my buddies in Australia?
And how do we firm critical mass in the mesh, or provide a network effect to get everyone on board?
Finally, let's not forget about the electromagnetic sensitivity problem.
But these are all solvable. Let's go!
We'll l
Re: (Score:1)
Same as IPv4! It is called DNS. It is called "default route". IPv6 has RA so you don't have to set it up manually. It has IPv6 autoconf via same mechanism. What's the problem???
Re: (Score:2)
Darn, no mesh (Score:2)
I see, this is about providing an embedded platform for things that want to get on some local Internet drop. It isn't really about creating an Internet from things.
Re: (Score:3)
I see, this is about providing an embedded platform for things that want to get on some local Internet drop. It isn't really about creating an Internet from things.
I.e., "the Internet of things" is the same damn Internet as "the Internet of people posting captioned cat pictures to icanhascheezburger.com" - it's not a special Internet for "things", it's just putting a lot more things on the plain old Internet, such as thermostats and smart cards and refrigerators and washing machines and strain gauges and....
Re: (Score:1)
Re: (Score:2)
The IPv6 standard allows a node to have multiple IPv6 addresses. Of course, the implementation would depend on the designer of such devices - if somebody made a garage door opener in a car that could have only one IPv6 address, it would be a case of a bad implementation. Same for any other device - be it a thermostat, a power meter or anything else that could be accessed over a network.
The way I see it, if somebody has an IPv6 link connection at home, that would allow everything that one wants connected
Re: (Score:2)
Re: (Score:2)
I see it as a social engagement in Internet connectivity. Today, we depend on rather large infrastructure companies to provide cellular signal. From a social perspective this is not idea:
* Near monopoly telecoms set the prices.
* Infrastructure needs to be deployed everywhere (resulting in near monopolies.)
* Radio transmissions require a lot of power to get to the local tower (or else suffer poor performance.)
* Privacy concerns; data must flow through the provider's infrastr
Re: (Score:2)
Re: (Score:2)
it's just putting a lot more things on the plain old Internet, such as thermostats and smart cards and refrigerators and washing machines and strain gauges and....
Thermostats and strain guages, sure, but why would one need their washing machine, refrigerator, or toaster on the internet? "Just because" is a dumb reason for doing something, especially something that costs cash. Plus, you could already put your thermostat on the internet, this simply allows you to put tinier things on it, because it uses less
Re: (Score:2)
The Internet? No, but a home-area network...
I'd love to be able to turn on my dishwasher and washing machine at the same time and have them negotiate usage of the hot-water supply, or have the microwave tell the refrigerator to hold off on starting the compressor for 30 seconds while it finishes up. Having my window box fan and air conditioner consult my home weather station to decid
Re:Great! Now just solve the routing problem! (Score:5, Informative)
Re: (Score:1)
WiFI interference. eg when your neighbour gets home late and heats up a microwave dinner which you're streaming a porn^H^H^H^Hblockbuster movie.
Re:Great! Now just solve the routing problem! (Score:4, Interesting)
Rain is probably a bigger problem. Not sure about in the states but the topical storms we get over here in monsoon season ruin all signals.
Significance? (Score:3, Interesting)
Back in 2008, the same project was quoting "a code size of 11 kilobytes and a dynamic memory usage of less than 2 kilobytes" http://tech.slashdot.org/story/08/10/15/1839209/worlds-smallest-ipv6-stack-by-cisco-atmel-sics [slashdot.org]
Now we have "fits in a few kilobytes of memory" ...
So this seems to be a nice incremental improvement?
Any experts on embedded systems able to give insight into the importance of (lets say) 16kB in the old version versus (lets again say) 4-6kB including dynamic stack ??
Re: (Score:1)
Mostly depends on the device it is going to be built into. If you have devices that run Contiki including uIP (the IP stack) to control relatively simple functions, then this reduction in size means a smaller micro controller will do. That reduces per-device cost in the order of $0.50 - $1, IIRC.
So it mostly depends on whether we're talking about devices where every dollar counts. Think consumer electronics. Street lights -- not so much.
Re: (Score:2)
Re: (Score:2)
It's not so much consumer electronics. The main place for Contiki is sensor networks. For example, consider a building with electricity usage and IR / motion sensors in every light fitting. You may have a few thousand sensors in a single building, and you want to make them as cheap as possible.
The problem that Contiki will have in the next few years is that the price of the IC is increasingly limited by the cost of the package at the low end. This means that in a few years you'll be able to buy a 100
Re: (Score:3)
Their API is much cleaner than the BSD/Linux accretion disc. Size is only a collateral benefit. You're very much right about the IC pricing being tied to packaging at the low end. I'd still gladly use Contiki no matter how much memory is there.
Re: (Score:2)
I agree that high frequency ARMv7s aren't going to put a POSIX stack in every light bulb. Power consumption and the need for external components are just two obvious things precluding that.
... and the smaller microcontrollers will grow to replace ARM in the embedded segment.
For my purposes recent ARM designs are replacing the smaller MCUs. I love the fact that a bog standard 32 bit GNU tool chain is entirely sufficient because the MCU is a straightforward 32 bit thumb2 environment. That means no weird windows-version-x-only crazy-expensive proprietary tool chain that bit rots into obsole
Re: (Score:2)
Given the way IPv6 has demarcated the 'network' and the 'host' space (to use IPv4 terminology temporarily for explaining this) to 64 bits for each, there is now theoretically 18,446,744,073,709,551,616 addresses that can be there within a subnet link. Within the 'network' space, there has been some more demarcation, since 2001:: (and a bunch of more address ranges in the 2000::/3) are the only unicast addresses, and the last word in this 'network' space is the subnet address, there is room for approximatel
Re: (Score:2)
since 2001:: (and a bunch of more address ranges in the 2000::/3)
The whole of 2000::/3 is assigned to the IPv6 internet (not all of it is in use yet though)
there is room for approximately 50 billion network organizations worldwide.
Umm, assuming each network gets a /48 (which is a conservative assumption many ISPs are only giving out a /64 by default and giving larger allocations on request) and a /3 is available for the "IPv6 internet" that leaves 45 bits to define the network. That means about 35 trillion networks can be addressed. To put that number into perspective it's thousands of networks for every person alive on earth today. Granted the
Re: (Score:3)
Re: (Score:2)
Re: (Score:1)
If 65k networks per organization turns out to be a large problem, we can move out of 2000::/3 and change the subnet size to something smaller than /64. Everyone has pretty much decided that having a deterministic non-stateful auto-assigned IP address is undesirable instead of the advantage it was thought to be, and if you give up on any one of those three properties, /96 is plenty.
I doubt it will be a problem in practice. Most organizations fit nicely in IPv4 10/8 with /24 subnets. I've worked for companies
Re: (Score:3, Funny)
Should have gone with at least four times as big.
But that's enough about your penis, just think yourself lucky that the enlarger worked at all.
Contiki - Connecting the Next Billion Devices (Score:2)
Contiki was created by Adam Dunkels at SICS in 2003 and was quickly slashdotted. Its impact has been growing ever since.
Plus ça change, plus c'est la même chose.
Re: (Score:1)
such a great song
Oh good (Score:2)
The Hollywood fantasy of everything everywhere being open to attacks over the internet was such an awesome idea.
I can't wait for "they hacked into the traffic lights" to become an actual statement rather than a punchline.
Re: (Score:2)
I was expecting Slashdot users, of all people, to at least have heard of firewalls [wikipedia.org]... but alas, once again I see how naive my expectations are.
Just to head off the other common complaint, I'd like to mention another recent invention called DNS [wikipedia.org], which allows people to use textual strings as aliases to IP addresses, saving them from needing to remember the latter all the time.
Re:Oh good (Score:4, Insightful)
Yes you'd like to think there would firewalls installed on things like traffic lights. However as the fairly recent SCADA attacks demonstrate ...
Re: (Score:2)
It's easy, really. SCADA typically runs on some embedded platform, other than Unix, that doesn't come with a built-in firewall, and isn't really kept up-to-date to plug security holes. Sure you could run a traffic light controller on Linux, set up with vnc, firewall and selinux, only letting authenticated VNC traffic through. Alas, there seems to be no one out there who provides a full-featured PLC stack on top of Linux. Most everything runs on Windows XP, CE or Embedded, or some industrial RTOS that's prob
Re: (Score:2)
Do finish the sentence. I guess you wanted to say ", there aren't.", which also implies that they're not behind NAT either.
And if they're not behind NAT in the first place, then the whole original argument of "IPv6 will be less secure than IPv4 because your stuff won't be behind NAT" doesn't even apply, does it?
And if you're thinking of putting them behind NAT "for the security" -- just put them behind a firewall instead. The hardware and software required to do so is the same, and the configuration is very
Re: (Score:2)
Just to head off the other common complaint, I'd like to mention another recent invention called DNS
Your thermostat will no more need a dot whatever address than the computer on your desk does. DNS is for web sites, nothing more. As to connecting, it will be as easy as using wifi to connect your two computers, neither of which has a domain name but both of which have IP addresses..
6LoWPAN (Score:2)
The tech which we're really talking about here is 6LoWPAN, which is IPV6 for these low-power wireless sensor networks. It's a pretty simple software solution, but it's built on some cool stuff. I'm partial to TinyOS over Contiki, but I guess that's just my exposure to it (plus it uses the superb nesC language).
How is Contiki's network organized? (Score:2)
Arithmetically, this would be possible - Contiki would need just one router, assign an address to everything in the world that needs one, and be off to the races. In practice, of course they'd have many routers, but how do they define their various scopes, like their organization, their sites and so on, so that everything in the 'internet of things' is actually within a/their network?
In IPv6, as we know, there are several scopes, such as local link, site, organization, admin and global. Does Contiki act
Biggest zero-day exploit of all time, OF ALL TIME. (Score:2)
No. Just, no.