mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-10-14 02:22:03 +08:00
radius: increase the info sent during accounting requests
Based on suggestions by Niels Peen. That adds: Calling-Station-Id in auth message, and Service-Type, Framed-Protocol, Framed-IP-Address, Acct-Authentic, NAS-Port-Type, Acct-Session-Time in acct messages.
This commit is contained in:
@@ -87,6 +87,7 @@ message cli_stats_msg
|
||||
required uint64 bytes_in = 1;
|
||||
required uint64 bytes_out = 2;
|
||||
optional bytes sid = 3; /* only required by sec-mod */
|
||||
required uint32 uptime = 4; /* sec-mod */
|
||||
}
|
||||
|
||||
/* UDP_FD */
|
||||
@@ -188,6 +189,7 @@ message cookie
|
||||
message sec_auth_session_msg
|
||||
{
|
||||
required bytes sid = 1;
|
||||
optional uint32 uptime = 3; /* on close */
|
||||
}
|
||||
|
||||
message sec_auth_session_reply_msg
|
||||
|
||||
Reference in New Issue
Block a user