Hey, New user to freeradius, nice little bit of work. Wondering if anyone knows how/if you can do a CoA Push. ie change SLA policy-map levels via a radius push to an existing user. Cheers Simon
Simon Herriotts wrote:
New user to freeradius, nice little bit of work. Wondering if anyone knows how/if you can do a CoA Push. ie change SLA policy-map levels via a radius push to an existing user.
The git "stable" branch can do this. It will be in 2.1.4, when it's released. Alan DeKok.
I thought that this can already be done with radclient , no?:radclient -x -t 20 -c 1 -f /home/coa.txt 114.0.1.1:3799 coa test On Tue, Mar 3, 2009 at 11:43 PM, Alan DeKok <aland@deployingradius.com>wrote:
Simon Herriotts wrote:
New user to freeradius, nice little bit of work. Wondering if anyone knows how/if you can do a CoA Push. ie change SLA policy-map levels via a radius push to an existing user.
The git "stable" branch can do this. It will be in 2.1.4, when it's released.
Alan DeKok. - Show quoted text - - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Marlon Duksa wrote:
I thought that this can already be done with radclient , no?
Yes. But integrating that into the server policies cannot currently be done well. i.e. When the server receives an accounting packet, you can check if they're over a bandwidth quota, and if so, run "radclient" to send a CoA packet. But this isn't integrated into the server core. Updating the contents of the CoA packet is hard. Handling the CoA reply is hard. Did the NAS do what you asked, or did it do something else? Alan DeKok.
ok. I see. Thanks.The NAS did exactly what I wanted it to do in my case (disconnect a user and also change the SLA parameters) Marlon On Wed, Mar 4, 2009 at 7:55 AM, Alan DeKok <aland@deployingradius.com>wrote:
Marlon Duksa wrote:
I thought that this can already be done with radclient , no?
Yes. But integrating that into the server policies cannot currently be done well.
i.e. When the server receives an accounting packet, you can check if they're over a bandwidth quota, and if so, run "radclient" to send a CoA packet.
But this isn't integrated into the server core. Updating the contents of the CoA packet is hard. Handling the CoA reply is hard. Did the NAS do what you asked, or did it do something else?
Alan DeKok. - Show quoted text - - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Simon - I think there is a man on radclient. But the file you are asking about usually contains the attributes that you want to change. I was doing this on JNPR so the syntax was this in my particular example: user-Name = circuit:3.remote:3 Acct-Session-ID = 3 ERX-CoS-Parameter-Type = "T02 800k" I was changing some QoS parameters (shaping rate) for a subscriber in JNPR. Thanks, Marlon On Wed, Mar 4, 2009 at 9:48 AM, Simon Herriotts <sherriot@cisco.com> wrote:
Marlon,
This looks like the item I am looking for. What is the syntax example in the coa.txt. Looks like I need to do more research into radclient usage.
Cheers Simon
Marlon Duksa wrote:
- Show quoted text - I thought that this can already be done with radclient , no? : radclient -x -t 20 -c 1 -f /home/coa.txt 114.0.1.1:3799 coa test
On Tue, Mar 3, 2009 at 11:43 PM, Alan DeKok <aland@deployingradius.com>wrote:
Simon Herriotts wrote:
New user to freeradius, nice little bit of work. Wondering if anyone knows how/if you can do a CoA Push. ie change SLA policy-map levels via a radius push to an existing user.
The git "stable" branch can do this. It will be in 2.1.4, when it's released.
Alan DeKok. - Show quoted text - - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
------------------------------ - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
participants (3)
-
Alan DeKok -
Marlon Duksa -
Simon Herriotts