mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-03-16 06:49:19 +08:00
Full name for message types in sequence diagrams
Signed-off-by: Dimitri Papadopoulos <3350651-DimitriPapadopoulos@users.noreply.gitlab.com>
This commit is contained in:
@@ -110,24 +110,24 @@ device and the client. The tasks handled are:
|
||||
```
|
||||
main sec-mod worker
|
||||
| | |
|
||||
| | <--SEC_AUTH_INIT--- |
|
||||
| | ---SEC_AUTH_REPLY-> |
|
||||
| | <--SEC_AUTH_CONT--- |
|
||||
| | <--SEC_AUTH_INIT----- |
|
||||
| | ---SEC_AUTH_REP-----> |
|
||||
| | <--SEC_AUTH_CONT----- |
|
||||
| | . |
|
||||
| | . |
|
||||
| | . |
|
||||
| | ---SEC_AUTH_REPLY-> |
|
||||
| | ---SEC_AUTH_REP-----> |
|
||||
| | |
|
||||
| <----------AUTH_COOKIE_REQ------------------ |
|
||||
| <----------AUTH_COOKIE_REQ------------------- |
|
||||
| | |
|
||||
| --SECM_SESSION_OPEN-> | |
|
||||
| <-SECM_SESSION_REPLY- | | #contains additional config for client
|
||||
| | |
|
||||
| ---------------AUTH_COOKIE_REP-------------> | #forwards the additional config for client
|
||||
| ---------------AUTH_COOKIE_REP--------------> | #forwards the additional config for client
|
||||
| | |
|
||||
| <------------SESSION_INFO------------------- |
|
||||
| <------------SESSION_INFO-------------------- |
|
||||
| | |
|
||||
| | <-- SEC_CLI_STATS -- |
|
||||
| | <--SEC_CLI_STATS----- |
|
||||
| | (disconnect)
|
||||
| -SECM_SESSION_CLOSE-> |
|
||||
| <---SECM_CLI_STATS--- |
|
||||
@@ -154,32 +154,32 @@ is assigned and used throughout the server.
|
||||
```
|
||||
main sec-mod worker
|
||||
| | |
|
||||
| | <--SEC_AUTH_INIT--- |
|
||||
| | -SEC_AUTH_REP (NEW SID)-> |
|
||||
| | <--SEC_AUTH_CONT (SID)--- |
|
||||
| | <--SEC_AUTH_INIT----------- |
|
||||
| | --SEC_AUTH_REP (NEW SID)--> |
|
||||
| | <--SEC_AUTH_CONT (SID)----- |
|
||||
| | . |
|
||||
| | . |
|
||||
| | . |
|
||||
| | ----SEC_AUTH_REP -------> |
|
||||
| | -----SEC_AUTH_REP --------> |
|
||||
|
||||
(note that by that time the client/worker may be disconnected,
|
||||
and reconnect later and use the cookie -SID- to resume the
|
||||
already authenticated session).
|
||||
|
||||
| | |
|
||||
| <----------AUTH_COOKIE_REQ (SID)----------------- |
|
||||
| <----------------AUTH_COOKIE_REQ (SID)------------------- |
|
||||
| | |
|
||||
| -SESSION_OPEN (SID)-> | |
|
||||
| <--SESSION_REPLY---- | | #contains additional config for client
|
||||
| --SECM_SESSION_OPEN (SID)-> | |
|
||||
| <--SECM_SESSION_REPLY------ | | #contains additional config for client
|
||||
| | |
|
||||
| -----------------AUTH_REP-----------------------> | #forwards the additional config for client
|
||||
| -----------------AUTH_COOKIE_REP------------------------> | #forwards the additional config for client
|
||||
| | |
|
||||
| <------------SESSION_INFO------------------------ |
|
||||
| <------------------SESSION_INFO-------------------------- |
|
||||
| | |
|
||||
| | <-- CLI_STATS (SID)------- |
|
||||
| | <--SEC_CLI_STATS (SID)----- |
|
||||
| | (disconnect)
|
||||
| -SESSION_CLOSE(SID)-> |
|
||||
| <-- CLI_STATS (SID)-- |
|
||||
| -SECM_SESSION_CLOSE (SID)-> |
|
||||
| <--SECM_CLI_STATS (SID)---- |
|
||||
|
||||
```
|
||||
|
||||
|
||||
Binary file not shown.
Binary file not shown.
@@ -225,13 +225,13 @@ message latency_stats_delta
|
||||
* == Auth with username/password ==
|
||||
*
|
||||
* sec-mod worker
|
||||
* <------ AUTH_INIT (username)
|
||||
* AUTH_REP(MSG,SID) ------>
|
||||
* <------ AUTH_CONT (SID,password)
|
||||
* <------ SEC_AUTH_INIT (username)
|
||||
* SEC_AUTH_REP(MSG,SID) ------>
|
||||
* <------ SEC_AUTH_CONT (SID,password)
|
||||
* .
|
||||
* .
|
||||
* .
|
||||
* AUTH_REP(OK,COOKIE)------>
|
||||
* SEC_AUTH_REP(OK,COOKIE) ------>
|
||||
*
|
||||
*
|
||||
* The authentication is now identical for openconnect and
|
||||
|
||||
Reference in New Issue
Block a user