mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-10-14 02:22:03 +08:00
when opening a session forward the received cookie to sec-module
That allows to verify that the cookie hasn't been tampered without relying only on the MAC.
This commit is contained in:
@@ -219,6 +219,8 @@ message cookie
|
||||
message sec_auth_session_msg
|
||||
{
|
||||
required bytes sid = 1;
|
||||
/* on open */
|
||||
optional bytes cookie = 2;
|
||||
/* on close */
|
||||
optional uint32 uptime = 3;
|
||||
optional uint64 bytes_in = 4;
|
||||
|
||||
Reference in New Issue
Block a user