Re: Fair usage package implementation

2009-05-11 Thread Alan DeKok
Ming-Ching Tiew wrote: > OK point gotten. Further to this I have added update coa into preacct, > the conditional update coa has no error, but I get a WARNING upon > receiving accounting packets from NAS :- Because you didn't follow the instructions. > begin-

Re: Fair usage package implementation

2009-05-10 Thread Ming-Ching Tiew
--- On Sat, 5/9/09, Ming-Ching Tiew wrote: > > begin--- > Sending Accounting-Response of id 5 to 192.168.130.220 port > 3790 > WARNING: Unknown destination 192.168.130.220:3799 for CoA > request. > Do CoA Fail handler her

Re: Fair usage package implementation

2009-05-09 Thread Ming-Ching Tiew
--- On Sat, 5/9/09, Ivan Kalik wrote: > > Yes. You can put if statement before update coa and make it > conditional. > Just like with updating any other list. > OK point gotten. Further to this I have added update coa into preacct, the conditional update coa has no error, but I get a WARNIN

Re: Fair usage package implementation

2009-05-09 Thread Ivan Kalik
> Is it site-available/originate-coa which is what > you are referring to ? I have read it many times. > > Ok, for example, there is a update coa { ..} which > we put it in somewhere in preacct ? > > But I want CoA packet to be sent only upon reaction to > certain conditions. I don't want it t

Re: Fair usage package implementation

2009-05-09 Thread Ming-Ching Tiew
--- On Sat, 5/9/09, Alan DeKok wrote: > From: Alan DeKok > Subject: Re: Fair usage package implementation > To: "FreeRadius users mailing list" > Date: Saturday, May 9, 2009, 12:41 PM > Ming-Ching Tiew wrote: > > Sorry I have quite an idiot here. I have been r

Re: Fair usage package implementation

2009-05-09 Thread Alan DeKok
Ming-Ching Tiew wrote: > Sorry I have quite an idiot here. I have been reading everything > radius 2.1.4, but I don't see how this is integrated into > the radiusd server. Am I missing anything ? Read doc/ChangeLog. Look for "coa". > Is this to say > that upon receiving accounting packets, s

Re: Fair usage package implementation

2009-05-09 Thread Ming-Ching Tiew
--- On Fri, 5/8/09, Alan DeKok wrote: > From: Alan DeKok > Subject: Re: Fair usage package implementation > To: "FreeRadius users mailing list" > Date: Friday, May 8, 2009, 11:52 AM > Ming-Ching Tiew wrote: > > I wonder if how such a "package" c

Re: Fair usage package implementation

2009-05-08 Thread Alan DeKok
Ming-Ching Tiew wrote: > I wonder if how such a "package" can be implemented, > > >1. Unlimited rate normally >2. But when downloaded packets exceed certain defined > figure, download rate is trottled. Ensure that the NAS can dynamically change download rate. If it

Fair usage package implementation

2009-05-07 Thread Ming-Ching Tiew
I wonder if how such a "package" can be implemented, 1. Unlimited rate normally 2. But when downloaded packets exceed certain defined figure, download rate is trottled. Assumption == 1. Assuming the radius client is sending accounting information to the serv