rlm_sqlcounter doesn't increase counter

pamela pomary ppomary at gmail.com
Wed Feb 29 14:29:26 CET 2012


Thanks Alan for pointing it out.

I am happy I am getting close to the solution.I have added the line aaa
accounting dot1x default start-stop group RADIUS to the switch.

 accounting packets are being sent to the radius server now. I also have
accounting details recorded in radacct table in mysql.

But counter doesn't increase.Users are not logged off when they reach their
Maximum Daily session.

#####Radius Debug#####

rlm_sqlcounter: (Check item - counter) is greater than zero
rlm_sqlcounter: Authorized user clare, check_item=120, counter=0
rlm_sqlcounter: Sent Reply-Item for user clare, Type=Session-Timeout,
value=120
  modcall[authorize]: module "dailycounter" returns ok for request 257



####/etc/raddb/users###########

clare           Max-Daily-Session := 120, User-Password := "password"
                Service-Type = Framed-User


log from tail /var/log/radius/radacct/10.1.5.4/detail-20120229 doesn't give
much

        NAS-Port-Id = "FastEthernet0/9"
        Called-Station-Id = "EC-30-91-1D-69-89"
        Calling-Station-Id = "00-1E-33-D5-7A-68"
        Service-Type = Framed-User
        NAS-IP-Address = 10.1.5.4
        Acct-Delay-Time = 0
        Client-IP-Address = 10.1.5.4
        Acct-Unique-Session-Id = "d5e43dc3a98bea70"
        Timestamp = 1330522011
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20120229/f5ee62c2/attachment.html>


More information about the Freeradius-Users mailing list