Message queuing brokers are a fundamental building block of the Internet of Things, commonly used to store and forward messages from publishing clients to subscribing clients. Often a single trusted broker offers secured (e.g. TLS) and unsecured connections but relays messages regardless of their inbound and outbound protection. Such mixed mode is facilitated for the sake of efficiency since TLS is quite a burden for MQTT implementations on class-0 IoT devices. Such a broker thus transparently interconnects securely and insecurely connected devices; we argue that such mixed mode operation can actually be a significant security problem: Clients can only control the security level of their own connection to the broker, but they cannot enforce any protection towards other clients. We describe an enhancement of such a publish/subscribe mechanism to allow for enforcing specified security levels of publishers or subscribers by only forwarding messages via connections which satisfy the desired security levels. For example, a client publishing a message over a secured channel can instruct the broker to forward the message exclusively to subscribers that are securely connected. We prototypically implemented our solution for the MQTT protocol and provide detailed overhead measurements.
翻译:信息排队是“物端”互联网的基本构件,通常用来储存和传递从出版客户到订阅客户的信息。通常,单一受信任的经纪人提供有保障的(例如TLS)和无担保的连接,但传递信息而不论其内向和外向保护如何。这种混合模式有利于提高效率,因为TLS对在0级IoT设备上实施MQTT是一个相当沉重的负担。这样的经纪人可以透明地将安全和无保障的连接装置连接起来;我们争辩说,这种混合模式操作实际上可能是一个严重的安全问题:客户只能控制他们自己与经纪人连接的安全程度,但他们不能对其他客户实施任何保护。我们描述这种出版/订阅机制的加强,以便通过满足预期安全水平的连接传递信息,从而得以执行出版商或订户规定的安全水平。例如,在安全频道上发布信息的客户可以指示经纪人将信息只转发安全连接的订户。我们很自然地执行了MQTT协议的解决方案,并提供详细的间接测量数据。