traffic based accounting info

2005-06-27 Thread Antonio Mancuso
Hello, I am using freeradius on Linux with pppd and rp-pppoe pluging to authenticate and bill DSL user. 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?

Re: traffic based accounting info

2005-06-27 Thread Alan DeKok
Antonio Mancuso [EMAIL PROTECTED] 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

Re: traffic based accounting info

2005-06-27 Thread Antonio Mancuso
I am using pppd as NAS with the radius.so 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 radius.so plugin ask the kernel for ppp statistics it will have all the needed

Re: traffic based accounting info

2005-06-27 Thread Alan DeKok
Antonio Mancuso [EMAIL PROTECTED] wrote: I'll modify the kernel in order to add more statistics on the ppp interface (like #bytes per protocol or similar) and when the radius.so plugin ask the kernel for ppp statistics it will have all the needed information. At this time I think it can pass

Re: traffic based accounting info

2005-06-27 Thread Michael Cooper
: Re: traffic based accounting info Antonio Mancuso [EMAIL PROTECTED] wrote: I'll modify the kernel in order to add more statistics on the ppp interface (like #bytes per protocol or similar) and when the radius.so plugin ask the kernel for ppp statistics it will have all the needed information