ok thanks a lit edvin but one more question please Session-Octets-Limit := 1000 for example the "1000" = byte or kbyte or MB ? 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 :| On 5/31/06, Seferovic Edvin <edvin.seferovic@kolp.at> wrote:
shall i added it to the radclient on the nas box ?
YES ! Both server and client have to know about what attribute are you "talking about".
Regards,
Edvin
------------------------------
*From:* Mordor Networks [mailto:mordor.networks@gmail.com] *Sent:* Mittwoch, 31. Mai 2006 08:46 *To:* edvin.seferovic@kolp.at; FreeRadius users mailing list *Subject:* Re: Session-Octets-Limits
On 5/31/06, *Seferovic Edvin *<edvin.seferovic@kolp.at> wrote:
Hi Edvin
Session-Octets-Limit should only be in the reply table ( it is not a value that should be checked – right ? ).
yes youre right
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 ).
i added the attributes to the /usr/local/share/dictionary file shall i added it to the radclient on the nas box ?
Regards
It seems that this is not problem of freeradius anymore !
Regards,
Edvin
------------------------------
*From:* freeradius-users-bounces+edvin.seferovic= kolp.at@lists.freeradius.org [mailto:freeradius-users-bounces+edvin.seferovic=kolp.at@lists.freeradius.org ] *On Behalf Of *Mordor Networks *Sent:* Dienstag, 30. Mai 2006 22:56 *To:* FreeRadius users mailing list *Subject:* Session-Octets-Limits
Hello users
I'm trying to add Session-Octets-Limit to limit the user bandwidth i add Session-Octets-Limit := 1000 in radcheck and radreply and i can see it in the radiusd -X and in the radattr file :
Framed-IP-Address
*70.70.70.70*
Session-Octets-Limit 825241648
Framed-Protocol PPP
Framed-IP-Netmask 255.255.255.255
Framed-MTU 1500
Session-Timeout 43200
Idle-Timeout 1200
Port-Limit 1
But it is not disconnecting the user when reach the limit , can someone help me please?
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html