update session database in Authorization

Fajar A. Nugraha fajar at fajar.net
Wed Feb 17 04:24:54 CET 2010

On Wed, Feb 17, 2010 at 7:16 AM, Houssam Melhem <hmelhem at gmail.com> wrote:
> Hello,
> You are right, I have this problem with Pheenet Access point and Nomadix AG,
> for cisco NAS I have no problem
> If I need to fix this issue what is the recommended solution to fix this
> issue?

Well, I'd say you need to find root cause of problem first. Do they
not send acct-start at all? Do they send it late?
It's possible that they don't support acct at all (wireless AP used
for 802.1x usually only use auth), so you'll have a hard time (if even
possible) to limit simultaneus connections.

> If I modify the authorize section to save sessions does it break Radius
> Protocol ?

It wouldn't be REAL accounting session. It'd be just some data you put
there based on the information available during auth. You won't have
enough information (like AcctSessionId) to create a real accounting

> I am thinking in patching rlm_sql, what do you think?

You can just use post-auth section, no need to patch the source code.
See the example for "Authentication Logging Queries".


More information about the Freeradius-Users mailing list