Community discussions

MikroTik App
 
Sevk
just joined
Topic Author
Posts: 3
Joined: Thu Aug 10, 2006 5:39 pm

Radius CoA and PoD with PPPOE

Thu Dec 20, 2007 4:57 pm

Hi everybody,

I'm trying to send CoA for pppoe users with radiusclient (freeradius) and have problems...
For example I want to change Mikrotik-Rate-Limit and send:
Sending CoA-Request of id 124 to 217.xx.xx.18 port 1700
        User-Name = "pppoetest"
        NAS-IP-Address = 217.xx.xx.18
        Mikrotik-Rate-Limit = "32k"
        NAS-Identifier = "14m-gw"
        Called-Station-Id = "internet"
        Service-Type = Framed-User
        Framed-IP-Address = 81.xx.xx.190
Get responce:
rad_recv: CoA-NAK packet from host 217.xx.xx.18:1700, id=124, length=40
        Error-Cause = Unsupported-Extension
        NAS-Identifier = "14m-gw"
        NAS-IP-Address = 217.xx.xx.18
In mikrotik log I have:
hotspot error info Radius request for unknown ip 81.xx.xx.190
Sending CoA-NAK...


I tried to send Session-Id and other AV-pairs but without success :(

At the same time PoD (disconnect) is working ok for pppoe. But after user is disconnected and accounting info sent there is also a line in log:
hotspot error info Radius request for unknown ip 81.xx.xx.190

Why hotspot? I didn't found any restrictions in documentation. It just says:
Change of Authorization
RADIUS disconnect and Change of Authorization (according to RFC3576) are supported as well. These attributes may be changed by a CoA request from the RADIUS server:
* Mikrotik-Group
* Mikrotik-Recv-Limit
* Mikrotik-Xmit-Limit
* Mikrotik-Rate-Limit
* Ascend-Data-Rate (only if Mikrotik-Rate-Limit is not present)
* Ascend-XMit-Rate (only if Mikrotik-Rate-Limit is not present)
* Mikrotik-Mark-Id
* Filter-Id
* Mikrotik-Advertise-Url
* Mikrotik-Advertise-Interval
* Session-Timeout
* Idle-Timeout
* Port-Limit
Note that it is not possible to change IP address, pool or routes that way - for such changes a user must be disconnected first.
Maybe CoA works for hotspot only? Why there is no information in docs about that restriction if so? I do not need hotspot - just pppoe.
Please can anybody explain this?

PS: Mikrotik 2.9.50 but tried older versions with the same "results".
 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 26912
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia
Contact:

Re: Radius CoA and PoD with PPPOE

Thu Dec 27, 2007 5:08 pm

PPPoE doesn't support CoA, only PoD.
 
snark
newbie
Posts: 25
Joined: Fri Oct 19, 2007 3:47 pm

Re: Radius CoA and PoD with PPPOE

Thu Dec 27, 2007 11:32 pm

PPPoE doesn't support CoA, only PoD.
it mean i can't send to active PPPoE session Mikrotik-Recv-Limit or Mikrotik-Xmit-Limit or Mikrotik-Rate-Limit? only disconnect this session via PoD?
 
Sevk
just joined
Topic Author
Posts: 3
Joined: Thu Aug 10, 2006 5:39 pm

Re: Radius CoA and PoD with PPPOE

Tue Jan 15, 2008 3:24 pm

Is there any plans to support CoA on PPPoE/PPTP?
 
User avatar
promind
Member Candidate
Member Candidate
Posts: 153
Joined: Thu Feb 23, 2006 11:26 am
Location: Rousse, Bulgaria
Contact:

Re: Radius CoA and PoD with PPPOE

Tue Jan 15, 2008 4:46 pm

Is there any plans to support CoA on PPPoE/PPTP?
I'm working on a php script right now which will change the rate-limit without using radius attr.
but I'm stuck on updating queue/only upload is being changed/
 
hci
Long time Member
Long time Member
Posts: 679
Joined: Fri May 28, 2004 5:10 pm

Re: Radius CoA and PoD with PPPOE

Wed Jan 16, 2008 2:13 am

It would be nice if Mikrotik wrote there own simple radius server just for Mikrotik.

Matt
 
User avatar
sergejs
MikroTik Support
MikroTik Support
Posts: 6697
Joined: Thu Mar 31, 2005 3:33 pm
Location: Riga, Latvia
Contact:

Re: Radius CoA and PoD with PPPOE

Wed Jan 16, 2008 9:58 am

It would be nice if Mikrotik wrote there own simple radius server just for Mikrotik.

Matt
MikroTik is working on the User-Manager.
That is very simple and user friendly radius-based system,
http://wiki.mikrotik.com/wiki/User_Manager
 
User avatar
mandrade
Member Candidate
Member Candidate
Posts: 106
Joined: Fri Sep 08, 2006 12:35 pm
Location: Brazil
Contact:

Re: Radius CoA and PoD with PPPOE

Wed Oct 01, 2008 8:22 pm

PPPoE doesn't support CoA, only PoD.

Can anyone inform IF on MK version 3.14 PPPoE support CoA ????

BR
 
User avatar
mandrade
Member Candidate
Member Candidate
Posts: 106
Joined: Fri Sep 08, 2006 12:35 pm
Location: Brazil
Contact:

Re: Radius CoA and PoD with PPPOE

Thu Oct 02, 2008 4:35 pm

Actually RouterOS doesn't support POD,
but supports,

RADIUS disconnect and Change of Authorization (according to RFC3576) are supported as well. These attributes may be changed by a CoA request from the RADIUS server:

Mikrotik-Group
Mikrotik-Recv-Limit
Mikrotik-Xmit-Limit
Mikrotik-Rate-Limit
Ascend-Data-Rate (only if Mikrotik-Rate-Limit is not present)
Ascend-XMit-Rate (only if Mikrotik-Rate-Limit is not present)
Mikrotik-Mark-Id
Filter-Id
Mikrotik-Advertise-Url
Mikrotik-Advertise-Interval
Session-Timeout
Idle-Timeout
Port-Limit
Can i assume that it is a YES o CoA request to PPPoE users right??? if yes, i am having problems with CoA Packet and MK 3.14 here is :
echo "User-Name=username,Framed-IP-Address=clientip,Acct-Session-Id=81b0007d,Rate-Limit=512000/512000" | radclient -x mkboxip:1700 coa secret
Sending CoA-Request of id 21 to mkboxip port 1700
User-Name = "username"
Framed-IP-Address = clientip
Acct-Session-Id = "81b0007d"
Rate-Limit = "512000/512000"
rad_recv: CoA-NAK packet from host mkboxip:1700, id=21, length=41
Error-Cause = Unsupported-Extension
NAS-Identifier = "mkboxident"
NAS-IP-Address = mkboxip
BR
 
User avatar
sergejs
MikroTik Support
MikroTik Support
Posts: 6697
Joined: Thu Mar 31, 2005 3:33 pm
Location: Riga, Latvia
Contact:

Re: Radius CoA and PoD with PPPOE

Fri Oct 03, 2008 11:32 am

Do you enable accept for incoming messages ?
/radius incoming set accept=yes
 
User avatar
mandrade
Member Candidate
Member Candidate
Posts: 106
Joined: Fri Sep 08, 2006 12:35 pm
Location: Brazil
Contact:

Re: Radius CoA and PoD with PPPOE

Fri Oct 03, 2008 1:47 pm

Do you enable accept for incoming messages ?
/radius incoming set accept=yes

Yes, the bellow command works fine :
echo "Acct-Session-Id=sessionid,User-Name=username" | radclient -q mtboxip:1700 disconnect secret
and if you observe carefully on my previous post, you can see that the box answer the request.....

BR
 
analog
newbie
Posts: 41
Joined: Wed Oct 11, 2006 10:18 pm

Re: Radius CoA and PoD with PPPOE

Wed Oct 08, 2008 2:06 am

Getting this error too. "Unsupported Extension" in reply to CoA request. Wondering if this is a bug or if MT just doesn't support CoA.
 
User avatar
bevhost
Frequent Visitor
Frequent Visitor
Posts: 73
Joined: Mon Sep 13, 2010 6:33 am
Location: Brisbane, Queensland, Australia
Contact:

Re: Radius CoA and PoD with PPPOE

Fri Oct 07, 2011 11:27 am

Does anyone know if this is still unsupported, or have things changed in newer releases?
 
User avatar
saaremaa
Member Candidate
Member Candidate
Posts: 163
Joined: Tue Feb 02, 2010 7:48 pm
Location: Lithuania, Kaunas

Re: Radius CoA and PoD with PPPOE

Tue Aug 20, 2013 9:56 am

Mikrotik Users.: The implementation of CoA for Mikrotik PPPoE servers. https://www.change.org/petitions/mikrot ... e_petition
 
snark
newbie
Posts: 25
Joined: Fri Oct 19, 2007 3:47 pm

Re: Radius CoA and PoD with PPPOE

Tue Aug 20, 2013 1:57 pm

I think we NEED accel-ppp in MT.
 
User avatar
saaremaa
Member Candidate
Member Candidate
Posts: 163
Joined: Tue Feb 02, 2010 7:48 pm
Location: Lithuania, Kaunas

Re: Radius CoA and PoD with PPPOE

Mon Oct 28, 2013 10:26 pm

bump
 
User avatar
ufm
Member Candidate
Member Candidate
Posts: 103
Joined: Fri Nov 15, 2013 12:02 pm
Location: Ukraine

Re: Radius CoA and PoD with PPPOE

Thu Dec 12, 2013 12:53 am

+1 to request CoA support.
 
mehdisadighian
just joined
Posts: 8
Joined: Sun Oct 30, 2016 12:28 pm

Re: Radius CoA and PoD with PPPOE

Sun Oct 30, 2016 12:30 pm

PPPoE doesn't support CoA, only PoD.
You Wrong COA works with pope perfectly!!!!
 
snark
newbie
Posts: 25
Joined: Fri Oct 19, 2007 3:47 pm

Re: Radius CoA and PoD with PPPOE

Mon Oct 31, 2016 3:11 pm

PPPoE doesn't support CoA, only PoD.
You Wrong COA works with pope perfectly!!!!
Please read the changelog before posting.
In 2007 there was no any CoA for any PPP.
 
User avatar
amt
Long time Member
Long time Member
Posts: 529
Joined: Fri Jan 16, 2015 2:05 pm

Re: Radius CoA and PoD with PPPOE

Thu Jul 25, 2019 9:09 pm

PPPoE doesn't support CoA, only PoD.
You Wrong COA works with pope perfectly!!!!
Please read the changelog before posting.
In 2007 there was no any CoA for any PPP.
any trick on pppoe server side ? we are trying to implement COA, but queue not changing.

Who is online

Users browsing this forum: buokhalid, DanMos79, kymo2, TioVik, woodych, yeahunter and 26 guests