<a href="http://www.rhbr.com.br/modules.php?name=News&file=print&sid=40">http://www.rhbr.com.br/modules.php?name=News&file=print&sid=40</a> maybe this article can help<br><br><div class="gmail_quote">On Mon, Jun 28, 2010 at 2:44 PM, Spacelee <span dir="ltr"><<a href="mailto:fjctlzy@gmail.com">fjctlzy@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">My client is pptp, and howto write such script?<div><div></div><div class="h5"><br><br><div class="gmail_quote">On Tue, Jun 8, 2010 at 7:16 AM, Paul Bartell <span dir="ltr"><<a href="mailto:paul.bartell@gmail.com" target="_blank">paul.bartell@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">NAS is nearly analogous to RADIUS client. basically, it depends on the<br>
thing that is talking to Freeradius to say how to configure kicking<br>
someone off in real time.<br>
<br>
You could stick a script before authentication happens to check<br>
whether or not a user has exceeded his bandwidth and then either allow<br>
or dont allow them to log on again but that seems like a bad way of<br>
doing it.<br>
<div><div></div><div><br>
On Mon, Jun 7, 2010 at 4:00 PM, RaidenII <<a href="mailto:tonytzhou@gmail.com" target="_blank">tonytzhou@gmail.com</a>> wrote:<br>
><br>
> I am not using a NAS actually. It is an ordinary x86 server.<br>
><br>
><br>
> Alan DeKok-2 wrote:<br>
>><br>
>>   That is usually the function of the NAS.<br>
>><br>
>>   In 2.1.9, you can configure a CoA packet in the server, *if* the NAS<br>
>> supports CoA.  i.e. check for limit in the "accounting" section, and<br>
>> send a CoA packet to disconnect them if so.<br>
>><br>
>>   See the NAS documentation for how to limit total traffic.  It usually<br>
>> *isn't* those two attributes.<br>
>><br>
>>   Alan DeKok.<br>
>> -<br>
>> List info/subscribe/unsubscribe? See<br>
>> <a href="http://www.freeradius.org/list/users.html" target="_blank">http://www.freeradius.org/list/users.html</a><br>
>><br>
>><br>
><br>
> --<br>
> View this message in context: <a href="http://old.nabble.com/How-to-use-Freeradius-with-traffic-limit--tp28809968p28811891.html" target="_blank">http://old.nabble.com/How-to-use-Freeradius-with-traffic-limit--tp28809968p28811891.html</a><br>


> Sent from the FreeRadius - User mailing list archive at Nabble.com.<br>
><br>
> -<br>
> List info/subscribe/unsubscribe? See <a href="http://www.freeradius.org/list/users.html" target="_blank">http://www.freeradius.org/list/users.html</a><br>
><br>
<br>
<br>
<br>
</div></div><font color="#888888">--<br>
Random quote of the week/month/whenever i get to updating it: "Quis custodiet<br>
ipsos custodes?": "who shall watch the watchers themselves?" - Juvenal<br>
</font><div><div></div><div><br>
-<br>
List info/subscribe/unsubscribe? See <a href="http://www.freeradius.org/list/users.html" target="_blank">http://www.freeradius.org/list/users.html</a><br>
</div></div></blockquote></div><br><br clear="all"><br></div></div>-- <br><font color="#888888">Spacelee<br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Spacelee<br>