Physical Address
304 North Cardinal St.
Dorchester Center, MA 02124
Physical Address
304 North Cardinal St.
Dorchester Center, MA 02124
ISO/IEC 29341-1-2 specifies UPnP Device Architecture Version 2.0, a significant evolution from v1.0 that introduces enhanced security, improved eventing mechanisms, and better support for managed networks. Version 2.0 maintains backward compatibility with v1.0 devices while adding critical features for enterprise and industrial deployments where security and reliability are paramount.
The most notable improvement in v2.0 is the introduction of the UPnP Security Console concept, which brings authentication and authorization to UPnP networks. Additionally, v2.0 enhances the eventing subsystem with persistent event subscriptions, improved error reporting, and support for multi-homed devices across different network interfaces.
Version 2.0 addresses the most critical limitation of v1.0: the complete absence of security. The standard introduces a Security Console, which acts as an authentication authority for the UPnP network. Devices and control points must be authorized by the Security Console before they can interact. The security framework supports:
Device Authentication: Each device proves its identity using cryptographic certificates during the registration process. Unauthorized devices discovered via SSDP are placed in a quarantine state and cannot be controlled until authenticated.
Access Control Lists (ACLs): The Security Console maintains ACLs that define which control points can invoke which actions on which services. This enables granular permission management — for example, a lighting control service might allow all users to toggle lights but restrict configuration changes to administrators only.
Secure Eventing: Event subscriptions can be established over TLS-encrypted connections, preventing eavesdropping on state variable change notifications that could leak sensitive operational data.
| Feature | v1.0 | v2.0 | Benefit |
|---|---|---|---|
| Authentication | None | Certificate-based device auth | Prevents rogue device infiltration |
| Authorization | None | ACL-based action permissions | Granular control over device operations |
| Event Encryption | Plaintext (TCP) | Optional TLS | Protects sensitive state data in transit |
| Subscription Persistence | Volatile (max-age bound) | Persistent with renewal | Reliable long-lived event monitoring |
| Multi-homing | Not supported | Multiple interfaces | Devices on complex network topologies |
| Error Reporting | Basic SOAP faults | Extended error codes | Faster troubleshooting and diagnostics |
Version 2.0 significantly revamps the eventing architecture. The subscription model now supports persistent subscriptions that survive device reboots, controlled through a subscription identifier that remains valid across sessions. This is particularly valuable for industrial monitoring applications where continuous event tracking is essential.
Multi-homing support allows a UPnP device to expose services on multiple network interfaces simultaneously. For example, a smart building controller can present different service views on the operational network (lighting, HVAC controls) and the management network (configuration, firmware updates), enhancing both security and network organization.
Extended error reporting provides detailed SOAP fault codes that help control points differentiate between transient errors (e.g., resource busy, try again), permanent failures (e.g., action not supported, invalid arguments), and security violations (e.g., not authorized, authentication required).