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 radius log and in the raddattr file and in the sql table but it is not disconnecting the user :|
<br><br><div><span class="gmail_quote">On 5/31/06, <b class="gmail_sendername">Seferovic Edvin</b> <<a href="mailto:edvin.seferovic@kolp.at">edvin.seferovic@kolp.at</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>
<div link="blue" vlink="blue" lang="DE">
<div></div><div><span class="q">
<p><font color="#333333" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: rgb(51, 51, 51);" lang="EN-GB">shall i added it to
the radclient on the nas box ?</span></font></p>
<p><font color="#333333" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: rgb(51, 51, 51);" lang="EN-GB"> </span></font></p></span></div><div>
<p><font color="#333333" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: rgb(51, 51, 51);" lang="EN-GB">YES ! Both server and
client have to know about what attribute are you "talking about". </span></font></p>
<p><font color="#333333" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: rgb(51, 51, 51);" lang="EN-GB"> </span></font></p>
<p><font color="#333333" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: rgb(51, 51, 51);" lang="EN-GB">Regards,</span></font></p>
<p><font color="#333333" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: rgb(51, 51, 51);" lang="EN-GB"> </span></font></p>
<p><font color="#333333" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: rgb(51, 51, 51);" lang="EN-GB">Edvin</span></font><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">
</span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB"> </span></font></p>
<div>
<div style="text-align: center;" align="center"><font face="Times New Roman" size="3"><span style="font-size: 12pt;" lang="EN-US">
<hr align="center" size="2" width="100%">
</span></font></div>
<p><b><font face="Tahoma" size="2"><span style="font-size: 10pt; font-family: Tahoma; font-weight: bold;" lang="EN-US">From:</span></font></b><font face="Tahoma" size="2"><span style="font-size: 10pt; font-family: Tahoma;" lang="EN-US">
Mordor Networks [mailto:<a href="mailto:mordor.networks@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">mordor.networks@gmail.com</a>] <br>
<b><span style="font-weight: bold;">Sent:</span></b> Mittwoch, 31. Mai 2006 08:46<br>
<b><span style="font-weight: bold;">To:</span></b> <a href="mailto:edvin.seferovic@kolp.at" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">edvin.seferovic@kolp.at</a>;
FreeRadius users mailing list<br>
<b><span style="font-weight: bold;">Subject:</span></b> Re: Session-Octets-Limits</span></font><span lang="EN-US"></span></p>
</div></div><div><span class="e" id="q_10b8935c17ecab80_3">
<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;"> </span></font></p>
<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;"> </span></font></p>
<div>
<p><span><font face="Times New Roman" size="3"><span style="font-size: 12pt;">On 5/31/06, <b><span style="font-weight: bold;">Seferovic
Edvin </span></b><<a href="mailto:edvin.seferovic@kolp.at" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">edvin.seferovic@kolp.at</a>>
wrote:</span></font></span><br>
<br>
<br>
Hi <font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">Edvin</span></font></p>
<div>
<div link="blue" vlink="blue">
<div>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">Session-Octets-Limit should only be in the reply
table ( it is not a value that should be checked – right ? ).</span></font></p>
<p><font color="black" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: black;" lang="EN-GB"> yes youre right</span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">If the freeradius replies the attribute – the
freeradius is finished with his task. Now your RP-PPPoE server and the
radiusclient should do the rest of the work. Traffic limiting is done with
PPProtocol on your NAS ( your pppoe server ). Be sure that the radiusclient
also has the attribute in his dictionary file. Look at the output of the ppp
and pppoe ( increase the log level – or put both in debug mode ). </span></font></p>
<p><font color="#333333" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: rgb(51, 51, 51);" lang="EN-GB"> i added the attributes to the
/usr/local/share/dictionary file shall i added it to the radclient on the nas
box ? </span></font></p>
</div>
</div>
</div>
<div>
<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;"><br>
Regards </span></font></p>
</div>
<blockquote style="border-style: none none none solid; border-color: -moz-use-text-color -moz-use-text-color -moz-use-text-color rgb(204, 204, 204); border-width: medium medium medium 1pt; padding: 0cm 0cm 0cm 6pt; margin-left: 4.8pt; margin-right: 0cm;">
<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;"> </span></font></p>
<div>
<div link="blue" vlink="blue">
<div>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">It seems that this is not problem of freeradius
anymore !</span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB"> </span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">Regards,</span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB"> </span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB">Edvin</span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;" lang="EN-GB"> </span></font></p>
<div>
<div style="text-align: center;" align="center"><font face="Times New Roman" size="3"><span style="font-size: 12pt;" lang="EN-US">
<hr align="center" size="2" width="100%">
</span></font></div>
<p><b><font face="Tahoma" size="2"><span style="font-size: 10pt; font-family: Tahoma; font-weight: bold;" lang="EN-US">From:</span></font></b><font face="Tahoma" size="2"><span style="font-size: 10pt; font-family: Tahoma;" lang="EN-US">
freeradius-users-bounces+edvin.seferovic=<a href="mailto:kolp.at@lists.freeradius.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">kolp.at@lists.freeradius.org</a>
[mailto:<a href="mailto:freeradius-users-bounces+edvin.seferovic=kolp.at@lists.freeradius.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">freeradius-users-bounces+edvin.seferovic=kolp.at@lists.freeradius.org
</a>] <b><span style="font-weight: bold;">On Behalf Of </span></b>Mordor Networks<br>
<b><span style="font-weight: bold;">Sent:</span></b> Dienstag, 30. Mai 2006 22:56<br>
<b><span style="font-weight: bold;">To:</span></b> FreeRadius
users mailing list<br>
<b><span style="font-weight: bold;">Subject:</span></b> Session-Octets-Limits</span></font></p>
</div>
</div>
<div><span>
<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;"> </span></font></p>
<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;">Hello
users<br>
<br>
I'm trying to add Session-Octets-Limit to limit the user bandwidth i add
Session-Octets-Limit := 1000 in radcheck and radreply<br>
and i can see it in the radiusd -X and in the radattr file : </span></font></p>
<pre><font face="Courier New" size="2"><span style="font-size: 10pt;">Framed-IP-Address </span></font></pre><pre><font face="Courier New" size="2"><span style="font-size: 10pt;"><a href="http://70.70.70.70" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
</a></span></font></pre><pre><span><u><font color="blue" face="Courier New" size="2"><span style="font-size: 10pt;"><a href="http://70.70.70.70" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">70.70.70.70
</a></span></font></u></span><br>
<br>
</pre><pre><font face="Courier New" size="2"><span style="font-size: 10pt;">Session-Octets-Limit 825241648<br>
<br>
</span></font></pre><pre><font face="Courier New" size="2"><span style="font-size: 10pt;">Framed-Protocol PPP<br>
<br>
</span></font></pre><pre><font face="Courier New" size="2"><span style="font-size: 10pt;">Framed-IP-Netmask <a href="http://255.255.255.255" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">255.255.255.255
</a><br>
<br>
</span></font></pre><pre><font face="Courier New" size="2"><span style="font-size: 10pt;">Framed-MTU 1500<br>
<br>
</span></font></pre><pre><font face="Courier New" size="2"><span style="font-size: 10pt;">Session-Timeout 43200<br>
<br>
</span></font></pre><pre><font face="Courier New" size="2"><span style="font-size: 10pt;"><br>
<br>
</span></font></pre><pre><font face="Courier New" size="2"><span style="font-size: 10pt;">Idle-Timeout 1200<br>
<br>
</span></font></pre><pre><font face="Courier New" size="2"><span style="font-size: 10pt;">Port-Limit 1<br>
<br>
</span></font></pre><pre><font face="Courier New" size="2"><span style="font-size: 10pt;"><br>
<br>
</span></font></pre><pre><font face="Courier New" size="2"><span style="font-size: 10pt;">But it is not disconnecting the user when reach the limit , can someone help me please?</span></font></pre></span></div>
</div>
</div>
<p style="margin-bottom: 12pt;"><font face="Times New Roman" size="3"><span style="font-size: 12pt;"><br>
-<br>
List info/subscribe/unsubscribe? See <a href="http://www.freeradius.org/list/users.html" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.freeradius.org/list/users.html</a>
</span></font></p>
</blockquote>
</div>
<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;"> </span></font></p>
</span></div><div></div>
</div>
</div></blockquote></div><br>