mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-10-14 02:22:03 +08:00
Added support for session control (relevant for PAM for now)
That in effect will utilize the pam_open_session() and pam_close_session(). It is disabled by default as it requires more resources from the security module.
This commit is contained in:
+20
-1
@@ -106,7 +106,7 @@ message session_info_msg
|
||||
/*
|
||||
* == Auth with username/password ==
|
||||
*
|
||||
* main worker
|
||||
* sec-mod worker
|
||||
* <------ AUTH_INIT (username)
|
||||
* AUTH_REP(MSG,SID) ------>
|
||||
* <------ AUTH_CONT (SID,password)
|
||||
@@ -173,3 +173,22 @@ message cookie
|
||||
required uint32 ipv4_seed = 7;
|
||||
required bytes sid = 8;
|
||||
}
|
||||
|
||||
/*
|
||||
* == Session Termination ==
|
||||
*
|
||||
* main sec-mod
|
||||
* SESSION_OPEN/CLOSE ------>
|
||||
*
|
||||
*/
|
||||
|
||||
/* SEC_SESSION_CLOSE */
|
||||
message sec_auth_session_msg
|
||||
{
|
||||
required bytes sid = 1;
|
||||
}
|
||||
|
||||
message sec_auth_session_reply_msg
|
||||
{
|
||||
required AUTH_REP reply = 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user