Satus server show statistics per client per client
Nariman Ibadullaev
nariman.ibadullaev at gmail.com
Thu Sep 27 12:55:35 CEST 2018
Hello.
My implementation.
2 NAS(client - 172.20.1.38 and 172.20.1.40) send auth requests to one
FreeRadius.(10.20.18.109)
NAS defined in sql(nas table.)
Satatus server enabled and listen on 18121 port.
Satus Server
server status {
listen {
type = status
ipaddr = 127.0.0.1
port = 18121
}
client admin {
ipaddr = 127.0.0.1
secret = adminsecret
}
authorize {
ok
Autz-Type Status-Server {
ok
}
}
}
Follow type of request send to the Status Server is global (no something
change if I change "FreeRADIUS-Stats-Client-IP-Address = 172.20.1.38" )
echo "Message-Authenticator = 0x00, FreeRADIUS-Statistics-Type = 35,
FreeRADIUS-Stats-Client-IP-Address = 172.20.1.38
,FreeRADIUS-Stats-Server-IP-Address = 10.20.18.109,
FreeRADIUS-Stats-Server-Port = 1812 " | radclient -x localhost:18121 status
adminsecret
Sending Status-Server of id 49 to 127.0.0.1 port 18121
Message-Authenticator = 0x00000000000000000000000000000000
FreeRADIUS-Statistics-Type = 35
FreeRADIUS-Stats-Client-IP-Address = 172.20.1.38
FreeRADIUS-Stats-Server-IP-Address = 10.20.18.109
FreeRADIUS-Stats-Server-Port = 1812
rad_recv: Access-Accept packet from host 127.0.0.1 port 18121, id=49,
length=224
FreeRADIUS-Total-Access-Requests = 1
FreeRADIUS-Total-Access-Accepts = 1
FreeRADIUS-Total-Access-Rejects = 0
FreeRADIUS-Total-Access-Challenges = 0
FreeRADIUS-Total-Auth-Responses = 1
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 = 0
FreeRADIUS-Total-Accounting-Responses = 0
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
Question:
Is it possible to observe statistics per client ? (not global stats)
More information about the Freeradius-Users
mailing list