<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]--><o:SmartTagType
namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="PersonName"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:blue;
text-decoration:underline;}
p
{mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:12.0pt;
font-family:"Times New Roman";}
pre
{margin:0cm;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New";}
span.EmailStyle22
{mso-style-type:personal-reply;
font-family:Arial;
color:navy;}
@page Section1
{size:595.3pt 841.9pt;
margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.Section1
{page:Section1;}
-->
</style>
</head>
<body lang=DE link=blue vlink=blue>
<div class=Section1>
<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy'>Session-Octets-Limit
should be as integer or „octets“ in the dictionary file. Guess what octets mean
;-) Bytes of course ! And also be aware of the limitation of an integer.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy'>Disconnection should be
done by PPP which is called by rp-pppoe server. Please – look at log files of
the rp-pppoe server. Set the limit to 100000 ( 100 kB ) and open a few pages. See
if you get disconnected and what messages are being logged. As already said –
this is out of the freeradius range !<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy'>Regards,<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy'>Edvin<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy'>PS: one mail to the
mailing list should be enough. I get the mails from the list too, so you do NOT
need to send me an extra mail ;-)<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<div>
<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span lang=EN-US style='font-size:12.0pt'>
<hr size=2 width="100%" align=center tabindex=-1>
</span></font></div>
<p class=MsoNormal><b><font size=2 face=Tahoma><span lang=EN-US
style='font-size:10.0pt;font-family:Tahoma;font-weight:bold'>From:</span></font></b><font
size=2 face=Tahoma><span lang=EN-US style='font-size:10.0pt;font-family:Tahoma'>
Mordor Networks [mailto:mordor.networks@gmail.com] <br>
<b><span style='font-weight:bold'>Sent:</span></b> Mittwoch, 31. Mai 2006 09:19<br>
<b><span style='font-weight:bold'>To:</span></b> <st1:PersonName w:st="on">edvin.seferovic@kolp.at</st1:PersonName>;
<st1:PersonName w:st="on">FreeRadius users mailing list</st1:PersonName><br>
<b><span style='font-weight:bold'>Subject:</span></b> Re: Session-Octets-Limits</span></font><span
lang=EN-US><o:p></o:p></span></p>
</div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
<p class=MsoNormal style='margin-bottom:12.0pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>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 :| <o:p></o:p></span></font></p>
<div>
<p class=MsoNormal><span class=gmailquote><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'>On 5/31/06, <b><span style='font-weight:bold'>Seferovic
Edvin</span></b> <<a href="mailto:edvin.seferovic@kolp.at">edvin.seferovic@kolp.at</a>>
wrote:</span></font></span><o:p></o:p></p>
<div>
<div link=blue vlink=blue>
<div>
<p><font size=2 color="#333333" face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial;color:#333333'>shall i added it to the radclient on
the nas box ?</span></font><o:p></o:p></p>
<p><font size=2 color="#333333" face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial;color:#333333'> </span></font><o:p></o:p></p>
</div>
<div>
<p><font size=2 color="#333333" face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial;color:#333333'>YES ! Both server and client have to
know about what attribute are you "talking about". </span></font><o:p></o:p></p>
<p><font size=2 color="#333333" face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial;color:#333333'> </span></font><o:p></o:p></p>
<p><font size=2 color="#333333" face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial;color:#333333'>Regards,</span></font><o:p></o:p></p>
<p><font size=2 color="#333333" face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial;color:#333333'> </span></font><o:p></o:p></p>
<p><font size=2 color="#333333" face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial;color:#333333'>Edvin</span></font><font size=2
color=navy face=Arial><span lang=EN-GB style='font-size:10.0pt;font-family:
Arial;color:navy'> </span></font><o:p></o:p></p>
<p><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:10.0pt;
font-family:Arial;color:navy'> </span></font><o:p></o:p></p>
<div>
<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span lang=EN-US style='font-size:12.0pt'>
<hr size=2 width="100%" align=center>
</span></font></div>
<p><b><font size=2 face=Tahoma><span lang=EN-US style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2
face=Tahoma><span lang=EN-US style='font-size:10.0pt;font-family:Tahoma'>
Mordor Networks [mailto:<a href="mailto:mordor.networks@gmail.com"
target="_blank">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">edvin.seferovic@kolp.at</a>;
<st1:PersonName w:st="on">FreeRadius users mailing list</st1:PersonName><br>
<b><span style='font-weight:bold'>Subject:</span></b> Re: Session-Octets-Limits</span></font><o:p></o:p></p>
</div>
</div>
<div><span id="q_10b8935c17ecab80_3">
<p><font size=3 face="Times New Roman"><span style='font-size:12.0pt'> <o:p></o:p></span></font></p>
<p><font size=3 face="Times New Roman"><span style='font-size:12.0pt'> <o:p></o:p></span></font></p>
<div>
<p><font size=3 face="Times New Roman"><span style='font-size:12.0pt'>On
5/31/06, <b><span style='font-weight:bold'>Seferovic Edvin </span></b><<a
href="mailto:edvin.seferovic@kolp.at" target="_blank">edvin.seferovic@kolp.at</a>>
wrote:<br>
<br>
<br>
Hi </span></font><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy'>Edvin</span></font><o:p></o:p></p>
<div>
<div link=blue vlink=blue>
<div>
<p><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:10.0pt;
font-family:Arial;color:navy'>Session-Octets-Limit should only be in the reply
table ( it is not a value that should be checked – right ? ).</span></font><o:p></o:p></p>
<p><font size=2 color=black face=Arial><span lang=EN-GB style='font-size:10.0pt;
font-family:Arial;color:black'> yes youre right</span></font><o:p></o:p></p>
<p><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:10.0pt;
font-family:Arial;color:navy'>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><o:p></o:p></p>
<p><font size=2 color="#333333" face=Arial><span lang=EN-GB style='font-size:
10.0pt;font-family:Arial;color:#333333'> i added the attributes to the
/usr/local/share/dictionary file shall i added it to the radclient on the nas
box ? </span></font><o:p></o:p></p>
</div>
</div>
</div>
<div>
<p><font size=3 face="Times New Roman"><span style='font-size:12.0pt'><br>
Regards <o:p></o:p></span></font></p>
</div>
<blockquote style='border:none;border-left:solid windowtext 1.0pt;padding:0cm 0cm 0cm 6.0pt;
margin-left:4.8pt;margin-top:5.0pt;margin-right:0cm;margin-bottom:5.0pt;
border-color:-moz-use-text-color -moz-use-text-color -moz-use-text-color rgb(204, 204, 204)'>
<p><font size=3 face="Times New Roman"><span style='font-size:12.0pt'> <o:p></o:p></span></font></p>
<div>
<div link=blue vlink=blue>
<div>
<p><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:10.0pt;
font-family:Arial;color:navy'>It seems that this is not problem of freeradius
anymore !</span></font><o:p></o:p></p>
<p><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:10.0pt;
font-family:Arial;color:navy'> </span></font><o:p></o:p></p>
<p><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:10.0pt;
font-family:Arial;color:navy'>Regards,</span></font><o:p></o:p></p>
<p><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:10.0pt;
font-family:Arial;color:navy'> </span></font><o:p></o:p></p>
<p><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:10.0pt;
font-family:Arial;color:navy'>Edvin</span></font><o:p></o:p></p>
<p><font size=2 color=navy face=Arial><span lang=EN-GB style='font-size:10.0pt;
font-family:Arial;color:navy'> </span></font><o:p></o:p></p>
<div>
<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span lang=EN-US style='font-size:12.0pt'>
<hr size=2 width="100%" align=center>
</span></font></div>
<p><b><font size=2 face=Tahoma><span lang=EN-US style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2
face=Tahoma><span lang=EN-US style='font-size:10.0pt;font-family:Tahoma'>
freeradius-users-bounces+edvin.seferovic=<a
href="mailto:kolp.at@lists.freeradius.org" target="_blank">kolp.at@lists.freeradius.org</a>
[mailto:<a
href="mailto:freeradius-users-bounces+edvin.seferovic=kolp.at@lists.freeradius.org"
target="_blank">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> <st1:PersonName w:st="on">FreeRadius
users mailing list</st1:PersonName><br>
<b><span style='font-weight:bold'>Subject:</span></b> Session-Octets-Limits</span></font><o:p></o:p></p>
</div>
</div>
<div>
<p><font size=3 face="Times New Roman"><span style='font-size:12.0pt'> <o:p></o:p></span></font></p>
<p><font size=3 face="Times New Roman"><span style='font-size:12.0pt'>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 : <o:p></o:p></span></font></p>
<pre><font size=2 face="Courier New"><span style='font-size:10.0pt'>Framed-IP-Address <o:p></o:p></span></font></pre><pre><font
size=2 face="Courier New"><span style='font-size:10.0pt'><a
href="http://70.70.70.70" target="_blank"><o:p></o:p></a></span></font></pre><pre><font
size=2 face="Courier New"><span style='font-size:10.0pt'><o:p> </o:p></span></font></pre><pre><u><font
size=2 color=blue face="Courier New"><span style='font-size:10.0pt;color:blue'><a
href="http://70.70.70.70" target="_blank">70.70.70.70<o:p></o:p></a></span></font></u></pre><pre><br>
<br>
<o:p></o:p></pre><pre><font size=2 face="Courier New"><span style='font-size:
10.0pt'><br>
<br>
<o:p></o:p></span></font></pre><pre><font size=2 face="Courier New"><span
style='font-size:10.0pt'>Session-Octets-Limit 825241648<br>
<br>
<o:p></o:p></span></font></pre><pre><font size=2 face="Courier New"><span
style='font-size:10.0pt'><br>
<br>
<o:p></o:p></span></font></pre><pre><font size=2 face="Courier New"><span
style='font-size:10.0pt'>Framed-Protocol PPP<br>
<br>
<o:p></o:p></span></font></pre><pre><font size=2 face="Courier New"><span
style='font-size:10.0pt'><br>
<br>
<o:p></o:p></span></font></pre><pre><font size=2 face="Courier New"><span
style='font-size:10.0pt'>Framed-IP-Netmask <a href="http://255.255.255.255"
target="_blank">255.255.255.255<o:p></o:p></a></span></font></pre><pre><font
size=2 face="Courier New"><span style='font-size:10.0pt'><br>
<br>
<o:p></o:p></span></font></pre><pre><font size=2 face="Courier New"><span
style='font-size:10.0pt'><br>
<br>
<o:p></o:p></span></font></pre><pre><font size=2 face="Courier New"><span
style='font-size:10.0pt'>Framed-MTU 1500<br>
<br>
<o:p></o:p></span></font></pre><pre><font size=2 face="Courier New"><span
style='font-size:10.0pt'><br>
<br>
<o:p></o:p></span></font></pre><pre><font size=2 face="Courier New"><span
style='font-size:10.0pt'>Session-Timeout 43200<br>
<br>
<o:p></o:p></span></font></pre><pre><font size=2 face="Courier New"><span
style='font-size:10.0pt'><br>
<br>
<o:p></o:p></span></font></pre><pre><font size=2 face="Courier New"><span
style='font-size:10.0pt'><br>
<br>
<o:p></o:p></span></font></pre><pre><font size=2 face="Courier New"><span
style='font-size:10.0pt'><br>
<br>
<o:p></o:p></span></font></pre><pre><font size=2 face="Courier New"><span
style='font-size:10.0pt'>Idle-Timeout 1200<br>
<br>
<o:p></o:p></span></font></pre><pre><font size=2 face="Courier New"><span
style='font-size:10.0pt'><br>
<br>
<o:p></o:p></span></font></pre><pre><font size=2 face="Courier New"><span
style='font-size:10.0pt'>Port-Limit 1<br>
<br>
<o:p></o:p></span></font></pre><pre><font size=2 face="Courier New"><span
style='font-size:10.0pt'><br>
<br>
<o:p></o:p></span></font></pre><pre><font size=2 face="Courier New"><span
style='font-size:10.0pt'><br>
<br>
<o:p></o:p></span></font></pre><pre><font size=2 face="Courier New"><span
style='font-size:10.0pt'><br>
<br>
<o:p></o:p></span></font></pre><pre><font size=2 face="Courier New"><span
style='font-size:10.0pt'>But it is not disconnecting the user when reach the limit , can someone help me please?<o:p></o:p></span></font></pre></div>
</div>
</div>
<p style='margin-bottom:12.0pt'><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'><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>
<o:p></o:p></span></font></p>
</blockquote>
</div>
<p><font size=3 face="Times New Roman"><span style='font-size:12.0pt'> <o:p></o:p></span></font></p>
</div>
</div>
</div>
</div>
</span>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
</div>
</body>
</html>