y
_
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
] On Behalf Of Leigh Martell
Sent: 20 November 2008 20:41
To: FreeRadius users mailing list
Subject: Re: New entry for Interim packet
Hello Tony,
If you set you interim update to 5 or 10min you could then run a script at
midnight
Tony Spencer wrote:
I'd rather not disconnect 4,000 users in one go.
In fact, this thing should be done with BRAS functionality.
For example, some BRAS'es has support of restarting of accounting at
least, also there is a "prepaid" feature, that could be helpful for you.
Also you can use CoA f
>> If you are such a nasty provider that won't allow users to roll over
>> unused allowance into the next period even during the existing session -
>> simply disconnect them at the time the counter resets (use Login-Time on
>> users connecting on the last day for instance). Be nasty to the end!
>>
users mailing list
Subject: Re: New entry for Interim packet
Create CRON script which starts 5-10 min after midnight (first day in
the month) and disconnect all active users. Then you will have
AcctStopTime information in your database and you can sum traffic from
previous month...
Tony Spencer
realm, Type => 'string' }
);
$r->send_packet(ACCOUNTING_REQUEST);
$rcv = $r->recv_packet(ACCOUNTING_RESPONSE);
my $error=$r->strerror();
if ( $error eq "none" ) {
print "New Status: Session Closed\n&qu
I'd rather not disconnect 4,000 users in one go.
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:freeradius-users-
> [EMAIL PROTECTED] On Behalf Of Marinko
> Tarlac
> Sent: 20 November 2008 19:02
> To: FreeRadius users mailing list
> Subject: Re:
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:freeradius-users-
> [EMAIL PROTECTED] On Behalf Of
> [EMAIL PROTECTED]
> Sent: 20 November 2008 18:30
> To: FreeRadius users mailing list
> Subject: Re: New entry for Interim packet
>
> >Except
Create CRON script which starts 5-10 min after midnight (first day in
the month) and disconnect all active users. Then you will have
AcctStopTime information in your database and you can sum traffic from
previous month...
Tony Spencer wrote:
Hello
Our setup is as follows:
Centos 5.2
FreeR
>Except when it comes to working out the usage stats for each user at the end
>of each month.
>
>Its easy to do with all sessions that started in the previous month and have
>a Stop status.
>
>But it's difficult when a session rolled over to the next month because the
>status is Alive.
>
>We're try
Hello
Our setup is as follows:
Centos 5.2
FreeRADIUS Version 2.0.2
MySQL Version: 4.1.20
We are using FreeRadius for our ADSL users and its working fine.
Except when it comes to working out the usage stats for each user at the end
of each month.
Its easy to do with all sessions that
10 matches
Mail list logo