Community discussions

MikroTik App
 
hrober
newbie
Topic Author
Posts: 41
Joined: Fri Jun 02, 2006 3:32 pm
Location: Brazil

Radius PPPoE - Change queues dynamically

Thu Sep 04, 2008 5:30 pm

Hi,

Using PPPoE and Radius, can I change/update a queue without disconnect the PPPoE Tunnel ? something like remove it and re-read the queue attributes, or all radius replies packets.

I know that is possible to write some scripts to remove queues, but my biggest problem is:
RouterOS will read radius reply again ?

Regards,

HRober
 
npbrasil
Frequent Visitor
Frequent Visitor
Posts: 83
Joined: Wed Jun 02, 2004 8:50 am

Re: Radius PPPoE - Change queues dynamically

Fri Sep 05, 2008 1:19 am

What's the radius type? Freeradius? If yes, freeradius don't support COA (Change of Authorization). You need COA for this function.
 
gyoztes
Frequent Visitor
Frequent Visitor
Posts: 56
Joined: Mon Jul 17, 2006 12:12 pm

Re: Radius PPPoE - Change queues dynamically

Sat Sep 06, 2008 10:35 pm

Hi,

I can't answer to your question, but I'm interesting why do you like to do this. I use freeradius + mt for pppoe, and if any changes (for example anybody forget to paid), I send a "kill" signal to the mt from radius server. So what is the problem with log out and re-log in? I use session timeout with 24 hours, which is do it too.

gyoztes
 
hrober
newbie
Topic Author
Posts: 41
Joined: Fri Jun 02, 2006 3:32 pm
Location: Brazil

Re: Radius PPPoE - Change queues dynamically

Mon Sep 08, 2008 9:01 pm

What's the radius type? Freeradius? If yes, freeradius don't support COA (Change of Authorization). You need COA for this function.
I'm using freeradius as AAA server here. So, when I enable radius incoming on RouterOS, I can send some request to do some actions on RouterOS, right ? I can disconnect a PPPoE tunnel for example, using this strategy, can I send some request to RouterOS perform re-read Mikrotik-Rate-Limit attributes and renew the queues ?

I saw on docs the following statements:
RADIUS disconnect and Change of Authorization (according to RFC3576) are supported as well.
...
Mikrotik-Rate-Limit
...
http://www.mikrotik.com/testdocs/ros/2. ... radius.php

is there a way to extend freeradius to do it ?

Obrigado!
 
hrober
newbie
Topic Author
Posts: 41
Joined: Fri Jun 02, 2006 3:32 pm
Location: Brazil

Re: Radius PPPoE - Change queues dynamically

Mon Sep 08, 2008 9:15 pm

Hi,

I can't answer to your question, but I'm interesting why do you like to do this. I use freeradius + mt for pppoe, and if any changes (for example anybody forget to paid), I send a "kill" signal to the mt from radius server. So what is the problem with log out and re-log in? I use session timeout with 24 hours, which is do it too.

gyoztes

I intent to increase the bandwidth of my costumers all midnight/mid noon. I wouldn't like to disconnect them.
 
npbrasil
Frequent Visitor
Frequent Visitor
Posts: 83
Joined: Wed Jun 02, 2004 8:50 am

Re: Radius PPPoE - Change queues dynamically

Mon Sep 08, 2008 11:40 pm

Hi hrober. In the current version freeradius don't support change of authorization, just packet of disconnection. You can disconnect the tunnel and on reconnect you can send the new attribute, but the disconnection is mandatory with freeradius (for now).
 
snark
newbie
Posts: 25
Joined: Fri Oct 19, 2007 3:47 pm

Re: Radius PPPoE - Change queues dynamically

Wed Nov 19, 2008 3:16 pm

I intent to increase the bandwidth of my costumers all midnight/mid noon. I wouldn't like to disconnect them.
maybe this helps
 
User avatar
omidkosari
Trainer
Trainer
Posts: 640
Joined: Fri Sep 01, 2006 4:18 pm
Location: Canada, Toronto

Re: Radius PPPoE - Change queues dynamically

Thu Nov 20, 2008 5:50 pm

I think this one is best and exact you want http://forum.mikrotik.com/viewtopic.php?f=2&t=24224
 
User avatar
mahdavi
just joined
Posts: 16
Joined: Thu Jun 25, 2009 8:07 pm
Contact:

Re: Radius PPPoE - Change queues dynamically

Thu Jun 25, 2009 11:55 pm

Hi,

Do you know , that NtTacPlus support change of authorization ??

Who is online

Users browsing this forum: buokhalid, mike7 and 46 guests