help-gnu-radius
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Help-gnu-radius] %C{Framed-IP-Address} macro fails...


From: Dooley, Ryan
Subject: RE: [Help-gnu-radius] %C{Framed-IP-Address} macro fails...
Date: Thu, 30 Oct 2003 09:34:14 -0600

I should have replied to the list so every one can see...

The detail log was the only place the Framed-IP-Address was delivered
to.  The option that I did find later was to set "aaa accounting
delay-start" on the NAS (it is a Cisco AS) but the hardware is too old
to support the version of IOS needed for this option.  So, now the
question becomes what can be done is software (with in radiusd) to send
%C{Framed-IP-Address} or %f to SQL?

Poking around acct.c in rad_accounting() Could we change: 

        if (rad_acct_system(radreq, doradwtmp) == 0 &&
            rad_acct_db(radreq, verified) == 0 &&
            rad_acct_ext(radreq) == 0) {
                /* Now send back an ACK to the NAS. */
                radius_send_reply(RT_ACCOUNTING_RESPONSE,
                               radreq, NULL, NULL, activefd);
                stat_inc(acct, radreq->ipaddr, num_resp);
                return 0;
        }

To call rad_acct_db() and rad_acct_ext() later in the process after
stat_inc()?

Cheers,
Ryan

> 
> In which logs did it appear: detail.auth or detail?
> 
> Regards,
> Sergey
> 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]