Deliverable · WP3
D3.3: initial IoT protocol suite definition
The first design of the IoT-A protocol stack: six communication scenarios, a gateway between constrained and open networks, and an optional ID layer.
- Deliverable
- D3.3
- Work package
- WP3 · Protocol suite
- Issued
- April 2012
- Pages
- 80
- Editor
- Michele Rossi (CFR)
- Version
- Draft, 12 April 2012
An NFC tag of the simplest kind holds 48 bytes. Some RFID tags cannot store anything at all and only send an identifier when a reader asks. D3.3 starts from devices like these and asks how they, a battery-powered sensor with less than 10 kilobytes of RAM, and an ordinary web server can all take part in the same conversation. Its answer is a protocol stack with a gateway at its centre and security built in from the first layer up.
The document is dated 12 April 2012 and still carries the label Draft. Michele Rossi of CFR edited it, and the author list includes CATTID, CEA, HEU, Fraunhofer, CFR and CSE. In the deliverables library it is the second public report of work package 3, the protocol suite, and it follows directly from the requirement list in D3.1.
Two jobs in one document
The introduction names two goals. The first is to describe the communication scenarios the stack has to serve, especially where IoT devices meet the wider Internet. The second is to present the initial design of the stack itself, reusing existing standards wherever possible and proposing new mechanisms only where nothing suitable exists.
Before any protocol appears, the authors fix a vocabulary. Networks are unconstrained (NTU), like the wired Internet, or constrained (NTC), with rates usually below 1 Mbit/s as in IEEE 802.15.4 and long latencies caused partly by radios that switch off to save energy. Terminals come in three types. TT1 terminals are servers and laptops. TT2 terminals are constrained devices with RAM under 10 kilobytes, ROM under 100 kilobytes and microcontrollers below 100 MHz. TT3 terminals are tags that cannot run end-to-end IP and need a reader to speak for them.
Scenarios and the gateway
Four communication types are defined: unicast, multicast, reverse multicast (many senders, one receiver, possibly with aggregation on the way) and anycast, where the sender names attributes rather than a destination. Six scenarios, S1 to S6, combine these with different network and terminal types. For each one, chapter six spells out what the gateway has to do under three headings: external network access, an M2M communication bridge, and a registry of IoT devices and services.
The gateway is where most of the design weight lands. The survey in chapter seven compares three M2M protocols, UPnP, DPWS and CoAP, and the authors conclude that they were never designed to work together. CoAP offers a small set of operations for tiny sensors, while UPnP brings discovery, multimedia handling and its own security model. Their answer is a translation proxy inside the gateway. In the worked example for scenario S2, a constrained node speaks CoAP and a client on the Internet speaks DPWS, and the gateway converts between them at the application layer.
A stack with optional layers
The proposed stack, from top to bottom, is M2M, transport, ID, network, MAC and physical. Only some of these layers are mandatory. Transport is optional and depends on the quality of service needed. The ID layer is an addition to standard stacks: it separates who a node is from where it is, because IP addresses have long served as both identifier and locator, and that double use complicates mobility, multihoming and routing table growth. The design includes the layer but does not require it, so the stack also runs on plain IP. The network layer assumes IPv6. MAC and physical layers are left to existing technologies.
The transport section has the most concrete engineering. RFC 6282 already lets 6LoWPAN compress UDP ports down to a few bits. The authors propose going further, removing all 16 bits of source and destination ports through implicit port multiplexing, with a proxy on the unconstrained side mapping the flows back to fixed ports. They also discuss when the UDP checksum may safely be dropped.
Security drawn alongside the stack
The stack diagram has a second column of functional security blocks next to the protocol layers, and the text insists they are tightly linked. Network entry works through authentication with a remote server using EAP, carried by PANA, after which a security association such as IKE followed by IPsec is set up. For devices too weak for heavy cryptography, the report describes key establishment assisted by a key management service and a collaborative scheme in which nearby nodes take over part of the computation. The comparison table shows how UPnP, DPWS and CoAP differ in authentication, encryption and transport or network layer security.
The document ends with a practical case: a lightweight IPsec security association between a constrained device and an Internet terminal. That example is useful for anyone still deciding between end-to-end and hop-by-hop protection for sensor traffic.
Reading it now
Much of what D3.3 predicted came to pass. CoAP became the default lightweight protocol for constrained devices, IPv6 over 802.15.4 is routine, and application-level gateways remain the normal way to bridge device protocols to the cloud. The ID/locator split, by contrast, never became a common part of IoT deployments. The communication model of the architectural reference model and the trust and security work in D4.2 pick up several threads started here.
The closing list of next steps is short and specific: a refined architecture, fuller security procedures, a transport protocol for IoT domains with a performance evaluation, gateway functions across constrained and unconstrained domains, and working end-to-end secure channels between the two.