Home server stats
Alan DeKok
aland at deployingradius.com
Tue Jul 4 19:21:50 CEST 2017
On Jul 4, 2017, at 12:40 PM, Phil Mayers <p.mayers at imperial.ac.uk> wrote:
> I'm poking at a difference b/w 2.2.x and 3.0.x, specifically using a stats query of the following form:
>
> FreeRADIUS-Statistics-Type = 0x81
> FreeRADIUS-Stats-Server-IP-Address = 194.83.56.233
> FreeRADIUS-Stats-Server-Port = 1812
> Message-Authenticator = 0x00
That *should* work...
> ...which returns an empty success packet on 3.x but works on 2.2.x. A quick gdb session suggests that home_server_find is returning null in stats.c:
>
> https://github.com/FreeRADIUS/freeradius-server/blob/v3.0.x/src/main/stats.c#L742
And the home_server_find() function looks up the home server in an rbtree, which makes it difficult to debug where things are going wrong.
> Interestingly "radmin" shows the stats as "unknown" continually as far as I can tell, but does know about the server:
>
> radmin> show home_server list
> 194.83.56.233 1812 udp auth unknown 0
That uses a different API to get the home servers...
> Is there some obvious config I'm missing?
Nope.
I'm not sure what's going on here.
Which version are you using?
Alan DeKok.
More information about the Freeradius-Users
mailing list