Counter info while proxying

Phil Mayers p.mayers at imperial.ac.uk
Mon Mar 21 14:39:08 CET 2011


On 21/03/11 12:04, Rajkumar R wrote:
> Hi All,
>
> I would like to know if there’s a counter associated with the radius
> server to keeptrack of the incoming messages arrived. As I’m using a
> proxy setup with 5 homeservers connected, this info is needed to show on
> the statistics of loadbalancing activity.

Yes; see raddb/sites-available/status

cat >pkt.rad <<EOF
FreeRADIUS-Statistics-Type = Proxy-Auth-Acct
Message-Authenticator = 0x00
EOF

radclient -f pkt.rad 127.0.0.1:$PORT status $SECRET -x
rad_recv: Access-Accept packet from host 127.0.0.1 ...
	FreeRADIUS-Total-Proxy-Access-Requests = 62273
	FreeRADIUS-Total-Proxy-Access-Accepts = 5929
	FreeRADIUS-Total-Proxy-Access-Rejects = 57
	FreeRADIUS-Total-Proxy-Access-Challenges = 53489



More information about the Freeradius-Users mailing list