failed to notify radius server after user disconnecting

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

 



On Fri, 2015-02-20 at 01:41 +0800, 163 wrote:
> Hello,
> 
>   with the latest version, i find out that radius server will not be 
> notified if the user disconnect manually, resulting in no accounting 
> recorded. the problem seems to be related to a block of code in sed-mod-db.c
> 
> while (t != NULL) {
>          if ((now - t->time) > (sec->config->cookie_timeout + 
> AUTH_SLACK_TIME) &&
>              t->in_use == 0) {
>              htable_delval(db, &iter);
>              clean_entry(sec, t);
>          }
>          t = htable_next(db, &iter);
> 
>      }

That's a bit suspicious because this code shouldn't even be reached if
the user disconnects normally. Could you show the ocserv logs in the
case where radius server is not notified?

regards,
Nikos





[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux