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?
Session-Octets-Limit should only be in the reply table ( it is not a value that should be checked - 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 ). 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.or g] 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?
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
"Mordor Networks" <mordor.networks@gmail.com> wrote:
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 : ... But it is not disconnecting the user when reach the limit , can someone help me please?
Does the NAS documentation say it understands those attributes? If not, they will be ignored. Alan DeKok.
Hi alan
Does the NAS documentation say it understands those attributes? If not, they will be ignored.
Im using Rp-pppoe with pppd on a linux box so there are no docs but the Rp-pppoe docs and the freeradius docs both says it should work! Alan DeKok.
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
participants (3)
-
Alan DeKok -
Mordor Networks -
Seferovic Edvin