Mikrotik-Rate-Limit not working
Posted: 31 Dec 2019, 06:31
we had got a working radius server. I was testing accel-ppp but m not getting mikrotik-rate-limit attributes in logs.
added mikrotik dictionary in /usr/share/accel-ppp/radius/dictionary
radius is already working many mikrotiks
defined in shaper
vendor=mikrotik
attr=Mikrotik-Rate-Limit
rate-multiplier=0.001
ifname | username | calling-sid | ip | rate-limit | type | comp | state | uptime
--------+----------+-------------------+--------------+------------+-------+------+--------+----------
pppoe0 | megademo | e4:8d:8c:0a:95:e0 | 100.90.48.57 | | pppoe | | active | 01:46:22
2019-12-31 01:23:15]: info: pppoe0: disconnected
[2019-12-31 01:23:15]: info: recv [RADIUS(1) Accounting-Response id=5]
[2019-12-31 01:23:15]: warn: eth1.121: radius:packet: vendor 26 not found
[2019-12-31 01:23:15]: info: eth1.121: recv [RADIUS(1) Access-Accept id=1 <MS-CHAP2-Success 0x01533d36364644353733353538343433333346433534433439343435433030383936464544353334394441> <MS-MPPE-Recv-Key 0xa70c1d3756f15a5a6e6aa68fd44cf4af11af908219e1dbeae1d5bbb0d8529ef0a02f> <MS-MPPE-Send-Key 0xad2e32a67872ab3accdcd84282e47f6fa9129a0f54ec99649cd3372c20407b745304> <MS-MPPE-Encryption-Policy 1> <MS-MPPE-Encryption-Type 6> <Vendor-Specific 0x00003a8c081331303438353736302f3130343835373630> <Session-Timeout 4258845> <Acct-Interim-Interval 1800>]
[2019-12-31 01:23:15]: info: ppp0: connect: ppp0 <--> pppoe(e4:8d:8c:0a:95:e0)
[2019-12-31 01:23:15]: info: ppp0: megademo: authentication succeeded
help would be appreciated
thnks
added mikrotik dictionary in /usr/share/accel-ppp/radius/dictionary
radius is already working many mikrotiks
defined in shaper
vendor=mikrotik
attr=Mikrotik-Rate-Limit
rate-multiplier=0.001
ifname | username | calling-sid | ip | rate-limit | type | comp | state | uptime
--------+----------+-------------------+--------------+------------+-------+------+--------+----------
pppoe0 | megademo | e4:8d:8c:0a:95:e0 | 100.90.48.57 | | pppoe | | active | 01:46:22
2019-12-31 01:23:15]: info: pppoe0: disconnected
[2019-12-31 01:23:15]: info: recv [RADIUS(1) Accounting-Response id=5]
[2019-12-31 01:23:15]: warn: eth1.121: radius:packet: vendor 26 not found
[2019-12-31 01:23:15]: info: eth1.121: recv [RADIUS(1) Access-Accept id=1 <MS-CHAP2-Success 0x01533d36364644353733353538343433333346433534433439343435433030383936464544353334394441> <MS-MPPE-Recv-Key 0xa70c1d3756f15a5a6e6aa68fd44cf4af11af908219e1dbeae1d5bbb0d8529ef0a02f> <MS-MPPE-Send-Key 0xad2e32a67872ab3accdcd84282e47f6fa9129a0f54ec99649cd3372c20407b745304> <MS-MPPE-Encryption-Policy 1> <MS-MPPE-Encryption-Type 6> <Vendor-Specific 0x00003a8c081331303438353736302f3130343835373630> <Session-Timeout 4258845> <Acct-Interim-Interval 1800>]
[2019-12-31 01:23:15]: info: ppp0: connect: ppp0 <--> pppoe(e4:8d:8c:0a:95:e0)
[2019-12-31 01:23:15]: info: ppp0: megademo: authentication succeeded
help would be appreciated
thnks