traffic based accounting info

Antonio Mancuso antonio.mancuso at
Mon Jun 27 18:56:57 CEST 2005

I am using pppd as "NAS" with the plugin.

what do you think about this idea:

I'll modify the kernel in order to add more statistics on the ppp interface 
(like #bytes per protocol or similar) and when the plugin
ask the kernel for ppp statistics it will have all the needed information.
At this time I think it can pass all the info to radius for accounting.

does this idea sound correct to you?
it can be of interest of other people on this list?


On Monday 27 June 2005 18:24, Alan DeKok wrote:
> Antonio Mancuso <antonio.mancuso at> wrote:
> > The Acc-Output-Octets and Acc-Input-Octets report the number
> > of bytes passed through the ppp interface.
> >
> > I need to strip from this #bytes all the traffic to POP3 and SMTP
> > servers.
> >
> > any idea?
>   If the NAS doesn't send that information, then it doesn't exist, and
> you can't discover it.
>   Alan DeKok.
> -
> List info/subscribe/unsubscribe? See
> ROUTING / This message may be
> Spam/Junk - Diese Email wird als Spam/Junk EMail eingestuft. Falls Sie
> diese Email nicht mehr erhalten moechten,  erstellen Sie bitte eine Regel
> in Ihrem Mailclient, die diese Email automatisch loescht oder verschiebt
> (http:/ /

  Esse-Gi s.r.l.

Tel: (+39) 02/45468220

More information about the Freeradius-Users mailing list