Archive for the 'Freeradius' Category

 

 

May 16 2009

Graph Number of Freeradius Sessions in MRTG

Published by under Freeradius,Monitoring

You can easily graph your Freeradius number of active sessions with a simple shell script if you store accounting data in a SQL database. Use the script below for Mysql:   #!/bin/bash SQL_USERNAME=radius_username SQL_DATABASE=radius SQL_PASSWORD=your_password SQL_SERVER=127.0.0.1 SQL_ACCOUNTING_TABLE=radacct BACK_DAYS=5 SESSIONS=`mysql -BN -u$SQL_USERNAME -p$SQL_PASSWORD -h $SQL_SERVER $SQL_DATABASE -e \ “SELECT COUNT(*) FROM $SQL_ACCOUNTING_TABLE \ WHERE acctstoptime IS […]

No responses yet

Jul 22 2008

Freeradius IP Pools

Published by under Freeradius

  If you wonder if you should use rlm_ippool or rlm_sqlippool to turn your Radius into a "DHCP" server, read on!   rlm_ippool We first configured Freeradius to provide IP addresses through the ippool module. IPs are stored internally in a binary data file.     radiusd.conf ippool main_pool { range-start = 192.168.0.2 range-stop = […]

7 responses so far

Aug 01 2007

Gigawords Support in Radius

Published by under Cisco,Freeradius

Many people using Radius for accounting don’t know there are counters limits. Values defined in the protocol are stored in 32 bit fields meaning you will never go any higher than 4294967296 bits, that is fairly more than 4GB. If a session stays up for days, there are good chances that the counter resets to […]

9 responses so far

« Prev - Next »