apache / plc4x

PLC4X The Industrial IoT adapter
https://plc4x.apache.org/
Apache License 2.0
1.26k stars 400 forks source link

Implementation of session renewal functionality. #1684

Closed splatch closed 2 months ago

splatch commented 3 months ago

Updates to security session renewing logic to follow protocol defined in specification. First and foremost - keep secure channel id as well as request id. Second and most important - update security keys once local nonce changed.

Closes #1364.

splatch commented 2 months ago

Changes been manually confirmed with prosys simulator and with s7-1200 opc server as well. There were no issues with both, hence I'm merging this PR without additional review.