Skip to content

Validation of interoperability of products compliant with OMG DDS-SECURITY standard.

License

Notifications You must be signed in to change notification settings

omg-dds/dds-security

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dds-security

Validation of interoperability of products compliant with OMG DDS-SECURITY standard. This is considered one of the core DDS Specifications. See http://portals.omg.org/dds/ for an overview of DDS.

The executables in this repository test mutual autentication of each DDS DomainParticipant, access control to the DDS Domain and each specific DDS Topic, exchange of key material and exchange of encrypted and autenticated messages. The goal is to validate that the implementations perform these functions in compliance with OMG DDS-SECURITY standard and can interoperate with each other.

Example publisher execution from CWD srcCxx:

ubuntu:srcCxx$ ./rti_connext_dds_7.3.0_linux -pub PD_RWA_OM_OD -permissions ../rti_connext_dds_certs/TESTONLY_rti_connext_dds_permissions_write_signed.p7s -governance ../TESTONLY_governance_signed.p7s

Usage:  ./rti_connext_dds_7.3.0_linux [-pub <pubTopic>] [-sub <subTopic>] [-domain <domainId>] [-color <colorName>] [-governance <governanceFile>]  [-permissions <permissionsFile>]

Info: "-color" unspecified. Default to: "BLACK"
Info: "-domain" unspecified. Default to: 0
[CREATE Participant]RTI_Security_AccessControl_create_participant:successfully checked participant permissions
RTI_Security_AccessControl_check_create_topic:successfully checked create endpoint permissions
RTI_Security_AccessControl_check_create_datawriter:successfully checked create endpoint permissions
RTI_Security_AccessControl_check_remote_datawriter:successfully checked create endpoint permissions

Loop: wait count = 0, sent count = 0, received count = 0
Time: 1485455098:485484999 -- Sending sample: count = 0

Loop: wait count = 1, sent count = 1, received count = 0
Time: 1485455099:486066999 -- Sending sample: count = 1

Loop: wait count = 2, sent count = 2, received count = 0

Example subscriber execution from CWD srcCxx:

ubuntu:srcCxx$ ./rti_connext_dds_7.3.0_linux -sub PD_RWA_OM_OD -permissions ../rti_connext_dds_certs/TESTONLY_rti_connext_dds_permissions_read_signed.p7s -governance ../TESTONLY_governance_signed.p7s

Usage:  ./rti_connext_dds_7.3.0_linux [-pub <pubTopic>] [-sub <subTopic>] [-domain <domainId>] [-color <colorName>]
                 [-governance <governanceFile>]  [-permissions <permissionsFile>]
Info: "-color" unspecified. Default to: "BLACK"
Info: "-domain" unspecified. Default to: 0
Subscribing: 'PD_RWA_OM_OD'
[CREATE Participant]RTI_Security_AccessControl_create_participant:successfully checked participant permissions
RTI_Security_AccessControl_check_create_topic:successfully checked create endpoint permissions
RTI_Security_AccessControl_check_create_datareader:successfully checked create endpoint permissions
RTI_Security_AccessControl_check_remote_datareader:successfully checked create endpoint permissions

Loop: wait count = 0, sent count = 0, received count = 0
RTI_Security_Authentication_validate_remote_identity:successfully validated remote identity
RTI_Security_AccessControl_validate_remote_permissions:successfully validated remote participant permissions
RTI_Security_AccessControl_check_participant:successfully checked participant permissions
RTI_Security_AccessControl_check_remote_datawriter:successfully checked create endpoint permissions
Received sample...

   color: "BLACK"
   x: 20
   y: 4
   shapesize: 30

Loop: wait count = 1, sent count = 0, received count = 1
Received sample...

   color: "BLACK"
   x: 25
   y: 4
   shapesize: 30