Transfer session to new SecureChannel|OPC UA Standard|Forum|OPC Foundation

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
Transfer session to new SecureChannel
Avatar
Martin Lang
Germany
Member
Members
Forum Posts: 72
Member Since:
06/25/2014
sp_UserOfflineSmall Offline
1
01/11/2021 - 13:12
sp_Permalink sp_Print sp_EditHistory

One question about lifetime from a SecureChannel after session transfered due to cable disconnect to a new SecureChannel.

- Client is connected with server
- Connection will be interrupted (cable disconnect)
- After 5-10 seconds cable connected again
- Some time later the Client tries to reconnect to the server with a new socket (no TCP-RST was send from client before!)
- Client calls ActivateSession
- Connection established again.

What will happen to the old SecureChannel. In Spec. part 4 "Once the Server accepts the new SecureChannel it shall reject requests sent via the old SecureChannel."

Does this mean, if no further session is attached to the SecureChannel the server can remove this channel or shall the client call CloseSecurechannel after session transfered successfully?

Br

Avatar
Randy Armstrong
Admin
Forum Posts: 1511
Member Since:
05/30/2017
sp_UserOfflineSmall Offline
2
01/12/2021 - 11:35
sp_Permalink sp_Print

You should not make design decisions in the server based on TCP implementation of securechannel. Other securechannel implementations may behave differently. The old securechannel will timeout on its own but it could be flagged for immediate closure if the server runs out of securechannels (this is a general DoS protection that stacks should have).

Forum Timezone: America/Phoenix
Most Users Ever Online: 510
Currently Online: Donghoon Choi, Andres Vergara
Guest(s) 40
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Forum Stats:
Groups: 2
Forums: 10
Topics: 1396
Posts: 4717