Community discussions

MikroTik App
 
unm
just joined
Topic Author
Posts: 20
Joined: Tue Aug 18, 2009 8:25 am

Radius Incoming COA

Tue Feb 09, 2010 7:25 am

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?
Last edited by unm on Tue Feb 09, 2010 10:02 am, edited 1 time in total.
 
fewi
Forum Guru
Forum Guru
Posts: 7717
Joined: Tue Aug 11, 2009 3:19 am

Re: Radius Incoming COA

Tue Feb 09, 2010 7:37 am

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.
 
unm
just joined
Topic Author
Posts: 20
Joined: Tue Aug 18, 2009 8:25 am

Re: Radius Incoming COA

Tue Feb 09, 2010 9:20 am

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]#

 
dziadzi
just joined
Posts: 19
Joined: Wed Feb 24, 2010 2:32 pm

Re: Radius Incoming COA

Wed Feb 24, 2010 10:38 pm

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.
 
dziadzi
just joined
Posts: 19
Joined: Wed Feb 24, 2010 2:32 pm

Re: Radius Incoming COA

Fri Feb 26, 2010 3:16 pm

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

Who is online

Users browsing this forum: ankorzh, jaclaz, jonanthan, Josephny, sindy, zedaz and 53 guests