<div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Its working and the user disconnect when reachs the limit but now if the user disconnect and reconnect it will all start over is there a way to lock the account?
</blockquote><div><br>so that the user wont be able to connect again? <br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">________________________________________
<br>From: freeradius-users-bounces+edvin.seferovic=<a href="mailto:kolp.at@lists.freeradius.org">kolp.at@lists.freeradius.org</a><br>[mailto:<a href="mailto:freeradius-users-bounces+edvin.seferovic=kolp.at@lists.freeradius.or">
freeradius-users-bounces+edvin.seferovic=kolp.at@lists.freeradius.or</a><br>g] On Behalf Of Mordor Networks<br>Sent: Mittwoch, 31. Mai 2006 09:47<br>To: FreeRadius users mailing list<br>Subject: Re: Session-Octets-Limits<br>
<br><br>On 5/31/06, Seferovic Edvin <<a href="mailto:edvin.seferovic@kolp.at">edvin.seferovic@kolp.at</a>> wrote:<br>Session-Octets-Limit should be as integer or "octets" in the dictionary<br>file. Guess what octets mean ;-) Bytes of course ! And also be aware of the
<br>limitation of an integer.<br>Sorry about the extra mail , i have this in both of dic files<br><br>ATTRIBUTE Session-Octets-Limit 227 integer<br>ATTRIBUTE Octets-Direction 228 integer<br><br>and yes sir i know that ppp should do the disconnection but i'm affradi that
<br>i have something<br>wrong in my dictionary files , so shall i add something else to the<br>attributes above?<br>Disconnection should be done by PPP which is called by rp-pppoe server.<br>Please - look at log files of the rp-pppoe server. Set the limit to 100000 (
<br>100 kB ) and open a few pages. See if you get disconnected and what messages<br>are being logged. As already said - this is out of the freeradius range !<br>regards<br>Regards,<br>Edvin<br><br>PS: one mail to the mailing list should be enough. I get the mails from the
<br>list too, so you do NOT need to send me an extra mail ;-)<br><br>________________________________________<br>From: Mordor Networks [mailto:<a href="mailto:mordor.networks@gmail.com">mordor.networks@gmail.com</a>]<br>Sent: Mittwoch, 31. Mai 2006 09:19
<br><br>To: <a href="mailto:edvin.seferovic@kolp.at">edvin.seferovic@kolp.at</a>; FreeRadius users mailing list<br>Subject: Re: Session-Octets-Limits<br><br>ok thanks a lit edvin but one more question please<br><br>Session-Octets-Limit := 1000 for example the "1000" = byte or kbyte or MB ?
<br>coz everything thing seems to be working i can see the attribute in the<br>radius log and in the raddattr file and in the sql table but it is not<br>disconnecting the user :|<br>On 5/31/06, Seferovic Edvin <<a href="mailto:edvin.seferovic@kolp.at">
edvin.seferovic@kolp.at</a>> wrote:<br>shall i added it to the radclient on the nas box ?<br><br>YES ! Both server and client have to know about what attribute are you<br>"talking about".<br><br>Regards,<br><br>
Edvin<br><br>________________________________________<br>From: Mordor Networks [mailto:<a href="mailto:mordor.networks@gmail.com">mordor.networks@gmail.com</a>]<br>Sent: Mittwoch, 31. Mai 2006 08:46<br>To: <a href="mailto:edvin.seferovic@kolp.at">
edvin.seferovic@kolp.at</a>; FreeRadius users mailing list<br>Subject: Re: Session-Octets-Limits<br><br><br>On 5/31/06, Seferovic Edvin <<a href="mailto:edvin.seferovic@kolp.at">edvin.seferovic@kolp.at</a>> wrote:<br>
<br><br>Hi Edvin<br>Session-Octets-Limit should only be in the reply table ( it is not a value<br>that should be checked - right ? ).<br>yes youre right<br>If the freeradius replies the attribute - the freeradius is finished with
<br>his task. Now your RP-PPPoE server and the radiusclient should do the rest<br>of the work. Traffic limiting is done with PPProtocol on your NAS ( your<br>pppoe server ). Be sure that the radiusclient also has the attribute in his
<br>dictionary file. Look at the output of the ppp and pppoe ( increase the log<br>level - or put both in debug mode ).<br>i added the attributes to the /usr/local/share/dictionary file shall i<br>added it to the radclient on the nas box ?
<br><br>Regards<br><br>It seems that this is not problem of freeradius anymore !<br><br>Regards,<br><br>Edvin<br><br>________________________________________<br>From: freeradius-users-bounces+edvin.seferovic=<a href="mailto:kolp.at@lists.freeradius.org">
kolp.at@lists.freeradius.org</a><br>[mailto:<a href="mailto:freeradius-users-bounces+edvin.seferovic=kolp.at@lists.freeradius.or">freeradius-users-bounces+edvin.seferovic=kolp.at@lists.freeradius.or</a><br>g ] On Behalf Of Mordor Networks
<br>Sent: Dienstag, 30. Mai 2006 22:56<br>To: FreeRadius users mailing list<br>Subject: Session-Octets-Limits<br><br>Hello users<br><br>I'm trying to add Session-Octets-Limit to limit the user bandwidth i add<br>Session-Octets-Limit := 1000 in radcheck and radreply
<br>and i can see it in the radiusd -X and in the radattr file :<br>Framed-IP-Address<br><br><br><br><br><a href="http://70.70.70.70">70.70.70.70</a><br><br><br><br><br><br><br><br><br>Session-Octets-Limit 825241648<br><br>
<br><br><br><br><br><br>Framed-Protocol PPP<br><br><br><br><br><br><br><br>Framed-IP-Netmask <a href="http://255.255.255.255">255.255.255.255</a><br><br><br><br><br><br><br><br><br><br>Framed-MTU 1500<br><br><br><br><br><br>
<br><br>Session-Timeout 43200<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>Idle-Timeout 1200<br><br><br><br><br><br><br><br>Port-Limit 1<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>But it is not disconnecting the user when reach the limit , can someone help
<br>me please?<br><br>-<br>List info/subscribe/unsubscribe? See<br><a href="http://www.freeradius.org/list/users.html">http://www.freeradius.org/list/users.html</a><br><br><br><br>-<br>List info/subscribe/unsubscribe? See
<br><a href="http://www.freeradius.org/list/users.html">http://www.freeradius.org/list/users.html</a><br><br><br><br>-<br>List info/subscribe/unsubscribe? See <a href="http://www.freeradius.org/list/users.html">http://www.freeradius.org/list/users.html
</a><br></blockquote></div><br>