Payload inspection for opcua json message | Miscellaneous | Forum

Avatar
Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
Lost password?
sp_Feed sp_PrintTopic sp_TopicIcon
Payload inspection for opcua json message
Avatar
Jacky Bek
Member
Members
Forum Posts: 21
Member Since:
12/13/2020
sp_UserOfflineSmall Offline
1
02/10/2021 - 22:48
sp_Permalink sp_Print

Does opcfoundation specify any requirements to implement AAP (authentication, authorisation and payload inspection)?

I know the AA parts are well defined.  How about the P ?

My organisation requires all outbound traffic to filter through AAP.  As the current setup in azure only caters for xml payload, we are now required to implement for json payload.

the other alternative is to implement opcua xml encoding under 5.3 of the UA specifications.

please advise.  Thanks.

Avatar
Randy Armstrong
Admin
Forum Posts: 780
Member Since:
05/30/2017
sp_UserOfflineSmall Offline
2
02/11/2021 - 02:47
sp_Permalink sp_Print sp_EditHistory

The implicit assumption in UA is payload inspection would be done by network infrastructure.

It is not clear what you are expecting when you ask for specification support for payload inspection.

Avatar
Jacky Bek
Member
Members
Forum Posts: 21
Member Since:
12/13/2020
sp_UserOfflineSmall Offline
3
02/11/2021 - 06:24
sp_Permalink sp_Print

thanks Randy for your advise.

what I am asking is : is xml encoding part of the UA specifications?  If it is, then I can submit a request to open62541.org to consider implementing this feature.  Then I will be able to leverage on azure’s inherent payload inspection capability for xml.

For the time being, since xml encoding is not yet implemented by open62541, we will have to implement our own customised payload inspection algorithm to augment the design.

Avatar
Randy Armstrong
Admin
Forum Posts: 780
Member Since:
05/30/2017
sp_UserOfflineSmall Offline
4
02/11/2021 - 18:33
sp_Permalink sp_Print

XML and JSON encodings are part of UA:

https://reference.opcfoundatio.....rt6/5.3.1/

https://reference.opcfoundatio.....rt6/5.4.1/

It is highly unlikely that anyone would invest time to add XML support to open62541 given the target for open62541 is small devices and XML processing is not practical for small devices.

JSON would be better.

I suggest you look at wireshark. It is distributed with a parser for OPC UA binary. If you can't use wireshark directly you may be able to reuse the plugin code .

Avatar
Jacky Bek
Member
Members
Forum Posts: 21
Member Since:
12/13/2020
sp_UserOfflineSmall Offline
5
02/13/2021 - 03:18
sp_Permalink sp_Print

I found a json checker from :: https://www.json.org/JSON_checker/.

will adapt and implement a payload inspector for opcua pubsub mqtt json encoding.

Thanks for your advise.

Forum Timezone: America/Phoenix
Most Users Ever Online: 202
Currently Online:
Guest(s) 4
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Forum Stats:
Groups: 2
Forums: 9
Topics: 951
Posts: 2970