status server: IPv6 support?

Tobias Hachmer lists at kokelnet.de
Fri Jul 13 09:30:49 CEST 2012


Hello list,

is there a way to gather statistics for an IPv6 Socket with the status 
server?
For example my radius server has the following listen sections:

udp        0      0 127.0.0.1:18120             0.0.0.0:*               
                2355/radiusd
udp        0      0 0.0.0.0:1645                0.0.0.0:*               
                2355/radiusd
udp        0      0 0.0.0.0:1646                0.0.0.0:*               
                2355/radiusd
udp        0      0 0.0.0.0:1812                0.0.0.0:*               
                2355/radiusd
udp        0      0 0.0.0.0:1813                0.0.0.0:*               
                2355/radiusd
udp        0      0 ::1:18120                   :::*                    
                2355/radiusd
udp        0      0 :::1812                     :::*                    
                2355/radiusd
udp        0      0 :::1813                     :::*                    
                2355/radiusd

I am able to gather statistics for the IPv4 Sockets like:

# echo "Message-Authenticator = 0x00, FreeRADIUS-Statistics-Type = 67, 
FreeRADIUS-Stats-Server-IP-Address = 192.168.1.14, 
FreeRADIUS-Stats-Server-Port = 1812" | radclient localhost:18120 status 
adminsecret
Received response ID 52, code 2, length = 248
         FreeRADIUS-Stats-Server-IP-Address = 192.168.1.14
         FreeRADIUS-Stats-Server-Port = 1812
         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 = 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

1. How can I gather statistics for the IPv6 sockets, I didn't find any 
IPv6 attributes like "FreeRADIUS-Stats-Server-IPv6-Address".
2. Is there a way to query the IPv6 localhost socket for status server?
echo "Message-Authenticator = 0x00, FreeRADIUS-Statistics-Type = 67, 
FreeRADIUS-Stats-Server-IP-Address = 192.168.1.14, 
FreeRADIUS-Stats-Server-Port = 1812" | radclient [::1]:18120 status 
adminsecret
did not work.

Regards,
Tobias Hachmer


More information about the Freeradius-Users mailing list