radacct insert issue.
Hi everybody ... After banging my head against the table all day long for a few days now I decided it's time to give up and ask someone who might actually know what they're doing, so here it goes: I'm using freeradius 2.0.5 with rp-pppoe on a gentoo x86_64 box to auth .. works ok so far .. the only thing I don't get is why does it insert into radacct 2 sessions, can be seen here: http://d3xt3r01.tk/~dexter/rad/radius.log .. when the user disconnects .. it only updates the latest ( the one with 01 in the end ) session ! .. so I don't get it ! radiusd.conf http://d3xt3r01.tk/~dexter/rad/radiusd.conf sites-enabled/default http://d3xt3r01.tk/~dexter/rad/default I have another issue with making snmp work but that'll be in another thread after this is fixed. Thanks in advance, Adrian.
S Adrian wrote:
I'm using freeradius 2.0.5 with rp-pppoe on a gentoo x86_64 box to auth .. works ok so far .. the only thing I don't get is why does it insert into radacct 2 sessions, can be seen here: http://d3xt3r01.tk/~dexter/rad/radius.log .. when the user disconnects .. it only updates the latest ( the one with 01 in the end ) session ! .. so I don't get it !
Because that's what your NAS sends. It sends two accounting "start"s, and only one accounting "stop".
I have another issue with making snmp work but that'll be in another thread after this is fixed.
Download the latest code (git.freeradius.org). All of the SNMP code has been replaced. Alan DeKok.
participants (2)
-
Alan DeKok -
S Adrian