Apply Exception in Accounting Packets
Alexander Clouter
alex at digriz.org.uk
Sat Apr 16 12:29:02 CEST 2011
Nasser Heidari <nasser at rasana.net> wrote:
>
> Is it possible to NOT count Accounting packets (Input/Output) from a
> user to special destination? (I don't want to charge a PPPOE User who
> downloads a file from local Network.) I know that FreeRadius just uses
> the information that NAS have sent, but want to know that does anybody
> has any idea?
>
This is a task that can only be done with netflow, ACL packet counters
and what not. If you are hosting the content that is meant to be free,
you can take the NAS accounting totals and subtract whatever you see
(for example) in your Apache access logs.
Depending on what you are trying to make free, it might be effectively
cheaper for your organisation to just give people a credit quota each
month (say able to download 4GB before charging begins).
Cheers
--
Alexander Clouter
.sigmonster says: Thrashing is just virtual crashing.
More information about the Freeradius-Users
mailing list