Does freeradius support considering a session as ended if enough accounting packets are missed?

Arran Cudbard-Bell a.cudbardb at freeradius.org
Thu Sep 18 04:52:29 CEST 2014


On 17 Sep 2014, at 14:38, Arran Cudbard-Bell <a.cudbardb at freeradius.org> wrote:

> 
> On 17 Sep 2014, at 14:26, Erik Andersen <eandersen at eoni.com> wrote:
> 
>> I'm running FreeRADIUS Version 2.1.12.
>> 
>> I've searched online, and haven't found anything on the subject that definitively says. Does freeradius support marking a session as ended/stopped if enough accounting packets are missed?
>> 
>> One thing I did consider is that if not, I could try building a script that runs frequently, looking for sessions that have no accounting in the last X minutes, and changes the session to being ended (I think radzap is the tool for this, but I could be wrong). Of course, the less weird scripts I make (and have to come back and figure out what "clever" thing I did in 3 years), the better.
> 
> No radzap isn't the tool, that's for kicking users off via SNMP.

Ah nope, that's something different. radzap is for querying the session db
(which is not the same as the radacct table), and sending fake stops.

Arran Cudbard-Bell <a.cudbardb at freeradius.org>
FreeRADIUS development team

FD31 3077 42EC 7FCD 32FE 5EE2 56CF 27F9 30A8 CAA2

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 881 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20140917/1d94e435/attachment.pgp>


More information about the Freeradius-Users mailing list