issue with dialup.conf
Fajar A. Nugraha
list at fajar.net
Mon Feb 7 08:30:42 CET 2011
On Mon, Feb 7, 2011 at 1:48 PM, Tyller D <tyllerd at gmail.com> wrote:
> return RLM_MODULE_REJECT;
> $RAD_REPLY{'Nomadix-MaxBytesDown'} =
> so the value for databank in the radcheck table should always be equal to
> databank - sum(acctoutputoctest + acctinputoctets)
>
> but it not always exectuting stop request correctly because
>
> mysql> select sum(acctinputoctets + acctoutputoctets) from radacct where
> username='scotty';
> +-----------------------------------------+
> | sum(acctinputoctets + acctoutputoctets) |
> +-----------------------------------------+
> | 1840263628 |
> +-----------------------------------------+
>
>
> mysql> select value from radcheck where username='scotty' and
> attribute='databank';
> +------------+
> | value |
> +------------+
> | -302340151 |
> +------------+
So what error did you find exactly? Is it that "it works but I get
negative number on databank"?
If yes, then it's normal, cause you only limit downloads
(Nomadix-MaxBytesDown) while in the update calculation during acct
stop you calculate both upload and download.
--
Fajar
More information about the Freeradius-Users
mailing list