status-server

Anatoliy cphlpd at gmail.com
Wed Aug 2 05:35:41 UTC 2023


Hi team , when I am try to query status server for specific client I
receive global stats and stats for specific client
Is this expected behavior for FR , or it should return only stats for
client ?

For example
# echo "Message-Authenticator = 0x00,FreeRADIUS-Statistics-Type = 35,
FreeRADIUS-Stats-Client-Number = 3" | radclient -x localhost:18121 status
adminsecret
Sent Status-Server Id 112 from 0.0.0.0:d5a0 to 127.0.0.1:18121 length 62
Message-Authenticator = 0x00
FreeRADIUS-Statistics-Type = 35
FreeRADIUS-Stats-Client-Number = 3
Received Access-Accept Id 112 from 127.0.0.1:46c9 to 127.0.0.1:54688 length
476
FreeRADIUS-Total-Access-Requests = 430666           <<<<<<<<<< global stats
for FR
FreeRADIUS-Total-Access-Accepts = 679
FreeRADIUS-Total-Access-Rejects = 0
FreeRADIUS-Total-Access-Challenges = 0
FreeRADIUS-Total-Auth-Responses = 679
FreeRADIUS-Total-Auth-Duplicate-Requests = 0
FreeRADIUS-Total-Auth-Malformed-Requests = 0
FreeRADIUS-Total-Auth-Invalid-Requests = 0
FreeRADIUS-Total-Auth-Dropped-Requests = 0
FreeRADIUS-Total-Auth-Unknown-Types = 0
FreeRADIUS-Total-Auth-Conflicts = 0
FreeRADIUS-Total-Accounting-Requests = 1518800
FreeRADIUS-Total-Accounting-Responses = 1518800
FreeRADIUS-Total-Acct-Duplicate-Requests = 0
FreeRADIUS-Total-Acct-Malformed-Requests = 0
FreeRADIUS-Total-Acct-Invalid-Requests = 0
FreeRADIUS-Total-Acct-Dropped-Requests = 0
FreeRADIUS-Total-Acct-Unknown-Types = 0
FreeRADIUS-Total-Acct-Conflicts = 0
FreeRADIUS-Stats-Client-Number = 3
FreeRADIUS-Stats-Client-IP-Address = 100.64.0.2               <<<<<<<<
after this line , stats for this client.
FreeRADIUS-Total-Access-Requests = 0
FreeRADIUS-Total-Access-Accepts = 0
FreeRADIUS-Total-Access-Rejects = 0
FreeRADIUS-Total-Access-Challenges = 0
FreeRADIUS-Total-Auth-Responses = 0
FreeRADIUS-Total-Auth-Duplicate-Requests = 0
FreeRADIUS-Total-Auth-Malformed-Requests = 0
FreeRADIUS-Total-Auth-Invalid-Requests = 0
FreeRADIUS-Total-Auth-Dropped-Requests = 0
FreeRADIUS-Total-Auth-Unknown-Types = 0
FreeRADIUS-Total-Accounting-Requests = 2404
FreeRADIUS-Total-Accounting-Responses = 2404
FreeRADIUS-Total-Acct-Duplicate-Requests = 0
FreeRADIUS-Total-Acct-Malformed-Requests = 0
FreeRADIUS-Total-Acct-Invalid-Requests = 0
FreeRADIUS-Total-Acct-Dropped-Requests = 0
FreeRADIUS-Total-Acct-Unknown-Types = 0


More information about the Freeradius-Users mailing list