Message Integrity

3 posts / 0 new
Last post
Offline
Last seen: 2 years 4 months ago
Joined: 02/06/2020
Posts: 4
Message Integrity

Are there any ingegrity checks for messages sent/received within the DDS layer?

Mostly wondering if the DDS messages carry a checksum of some sort.

r
Offline
Last seen: 3 months 1 week ago
Joined: 06/17/2019
Posts: 47

There is an option within the WIRE_PROTOCOL QoS Policy to enable and check for CRC at the DDS layer.

I don't believe this is enabled by default, but that doesn't mean there isn't other integretity checks at other layers of the lower level protocols. Also if you're using Connext DDS Secure with authentication/integrity then that might meet your needs

Kpsingh05's picture
Offline
Last seen: 2 years 1 month ago
Joined: 03/05/2020
Posts: 12

Both compute CRC and check crc are by default false.

WireProtocolQosPolicy::compute_crc [default -false]

Adds RTPS CRC submessage to every message when this field is set to value of DDS_Boolean data type. The computed CRC covers the entire RTPS message excluding the RTPS header.

DDS_WireProtocolQosPolicy::check_crc [default - false]

Adds RTPS CRC submessage to every message when this field is set to DDS_BOOLEAN_TRUE.

https://community.rti.com/static/documentation/connext-dds/6.0.1/doc/api/connext_dds/api_cpp/structDDS__WireProtocolQosPolicy.html#ac24a0b3d69224d739404b2726160ee4d