Page 1 of 1

Radius Incoming COA

Posted: Tue Feb 09, 2010 7:25 am
by unm
Hi all,
In this topic http://wiki.mikrotik.com/wiki/RADIUS_Cl ... horization , I want to use CoA request for my pppoe session, MK ver. 4.4:
[root@bill ~]# cat pod_2 | radclient -r 1 -x 93.xx.xx.141:3799 coa skdjhfs
Sending CoA-Request of id 0 to 93.xx.xx.141 port 3799
        User-Name = "antipin_da"
        Mikrotik-Rate-Limit := "10240"
rad_recv: CoA-NAK packet from host 93.xx.xx.141 port 3799, id=0, length=42
rad_verify: Received CoA-NAK packet from client 93.xx.xx.141 port 3799 with invalid signature (err=2)!  (Shared secret is incorrect.)
radclient: no response from server for ID 0 socket 4

MK log:

Feb  9 08:20:17 93.xx.xx.141 radius,debug,packet received CoA-Request with id 0 from 217.xx.xx.94:44764
Feb  9 08:20:17 93.xx.xx.141 radius,debug,packet     Signature = 0x4418d7792fd59044a1ab55323631fae5
Feb  9 08:20:17 93.xx.xx.141 radius,debug,packet     User-Name = "antipin_da"
Feb  9 08:20:17 93.xx.xx.141 radius,debug,packet     MT-Rate-Limit = "10240"
Feb  9 08:20:17 93.xx.xx.141 radius,debug,packet sending CoA-NAK with id 0 to 217.xx.xx.94:44764
Feb  9 08:20:17 93.xx.xx.141 radius,debug,packet     Signature = 0x5efcd9033524f28b9679fcfee7260c62
Feb  9 08:20:17 93.xx.xx.141 radius,debug,packet     Error-Cause = 406
Feb  9 08:20:17 93.xx.xx.141 radius,debug,packet     NAS-Identifier = "hsgw"
Feb  9 08:20:17 93.xx.xx.141 radius,debug,packet     NAS-IP-Address = 93.xx.xx.141
But packet of dissconect is work...
What i did wrong?

Re: Radius Incoming COA

Posted: Tue Feb 09, 2010 7:37 am
by fewi
Try the radclient from FreeRADIUS 1.1.8 - the 2.x tree one doesn't work well with MT. Don't know if there's a proper solution to make 2.x work.

That's for CoA only, all other RADIUS functionality between MT and FreeRADIUS 2.x works fine.

Re: Radius Incoming COA

Posted: Tue Feb 09, 2010 9:20 am
by unm
ok, i'll try, thnks

not work:
[root@bill main]# pwd
/usr/local/src/radius/freeradius-1.1.8/src/main
[root@bill main]# cat /root/pod_2 | ./radclient -r 1 -x 93.xx.xx.141:3799 coa skdjhfs
Sending CoA-Request of id 173 to 93.xx.xx.141 port 3799
        User-Name = "antipin_da"
        Mikrotik-Rate-Limit = "10240"
rad_recv: CoA-NAK packet from host 93.xx.xx.141:3799, id=173, length=42
        Error-Cause = Unsupported-Extension
        NAS-Identifier = "hsgw"
        NAS-IP-Address = 93.xx.xx.141
[root@bill main]#


Re: Radius Incoming COA

Posted: Wed Feb 24, 2010 10:38 pm
by dziadzi
Can anyone from Mikrotik Staff authoritatively say if Mikrotik PPPoE server does support CoA requests?
If not is there a plan to support it in future?

I search this forum I cannot find a person saing this works.

Re: Radius Incoming COA

Posted: Fri Feb 26, 2010 3:16 pm
by dziadzi
Can anyone from Mikrotik Staff authoritatively say if Mikrotik PPPoE server does support CoA requests?
If not is there a plan to support it in future?

I search this forum I cannot find a person saing this works.
I justr received anwer from MT Staff.
Current MT PPPoE does not support COA only POD.
Idid not receive information if they plan to introduce COA in future