-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add shaper events to redis event publisher #18
Comments
@micron10 let's see if we find time to help you with your feature. It would help if you drop, what you have already found out, here. |
Hi Martin
And thanks for getting back to me
for my research the right way is to get shaper in Access-Accept from radius
in this part of request:
[2020-11-26 10:38:15]: info: vlan100: recv [RADIUS(1) Access-Accept id=1
<Framed-Pool "Dynamic Private Pool"> <Mikrotik-Address-List "Users50M">
<Acct-Interim-Interval 900> <Mikrotik-Rate-Limit "51200k/51200k
56320k/56320k"> <Class
0x6375693d61736b64697075322c736b3d336c336d64667662356331662c626b69643d31313931383334332c626b7269643d312c6d763d3531313035333437393138332c6d743d3630353536322c676d743d3630343830302c73703d312c73723d2c61633d312c75693d32343134362c6363693d302c63633d2c61733d312c636f3d2c64623d35313230302c75623d35313230302c63626b69643d3131393138333434>
<Reply-Message "Welcome">]
Need to parse this request and get speed for Mikrotik ,Cisco or Unknow
vendor ( this part with parsing is have in shaper/shaper.c
Mikrotik-Rate-Limit and get up/down and burst speed.
if get this information we will disable shaper and pppd_compat module and
will get performace incress of accel daemon (may be 20-30%) and with redis
any one will have options to make sample script will shaper and all needed
information.
Radius Accep-Acess may be check in pppd_compat how get information i part :
static void write_radattr
if you need other info i will search
I try to ask Dimka88 from Accel to help with this but waiting .
Martin
…On Thu, Nov 26, 2020, 14:01 Martin Fleischer ***@***.***> wrote:
@micron10 <https://github.com/micron10> let's see if we find time to help
you with your feature. It would help if you drop, what you have already
found out, here.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#18 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADCWD5HAVI7SQUGHMQEN3IDSRY7R5ANCNFSM4UDUM2BQ>
.
|
and need options to set attr if set Mikrotik to filter from Access-Accept
this attr only
Many people use Filter-Id or <Mikrotik-Rate-Limit or Cisco...
…On Thu, Nov 26, 2020, 15:06 Martin Zaharinov ***@***.***> wrote:
Hi Martin
And thanks for getting back to me
for my research the right way is to get shaper in Access-Accept from
radius in this part of request:
[2020-11-26 10:38:15]: info: vlan100: recv [RADIUS(1) Access-Accept id=1
<Framed-Pool "Dynamic Private Pool"> <Mikrotik-Address-List "Users50M">
<Acct-Interim-Interval 900> <Mikrotik-Rate-Limit "51200k/51200k
56320k/56320k"> <Class
0x6375693d61736b64697075322c736b3d336c336d64667662356331662c626b69643d31313931383334332c626b7269643d312c6d763d3531313035333437393138332c6d743d3630353536322c676d743d3630343830302c73703d312c73723d2c61633d312c75693d32343134362c6363693d302c63633d2c61733d312c636f3d2c64623d35313230302c75623d35313230302c63626b69643d3131393138333434>
<Reply-Message "Welcome">]
Need to parse this request and get speed for Mikrotik ,Cisco or Unknow
vendor ( this part with parsing is have in shaper/shaper.c
Mikrotik-Rate-Limit and get up/down and burst speed.
if get this information we will disable shaper and pppd_compat module and
will get performace incress of accel daemon (may be 20-30%) and with redis
any one will have options to make sample script will shaper and all needed
information.
Radius Accep-Acess may be check in pppd_compat how get information i part
: static void write_radattr
if you need other info i will search
I try to ask Dimka88 from Accel to help with this but waiting .
Martin
On Thu, Nov 26, 2020, 14:01 Martin Fleischer ***@***.***>
wrote:
> @micron10 <https://github.com/micron10> let's see if we find time to
> help you with your feature. It would help if you drop, what you have
> already found out, here.
>
> —
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub
> <#18 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/ADCWD5HAVI7SQUGHMQEN3IDSRY7R5ANCNFSM4UDUM2BQ>
> .
>
|
and one more
if have options to get statistic
active users from show stats: active 232
and active user per vlan:
vlan200 - 232 , vlan235 - 22, vlan264 - 124
Martin
…On Fri, Nov 27, 2020, 10:39 Martin Zaharinov ***@***.***> wrote:
and need options to set attr if set Mikrotik to filter from Access-Accept
this attr only
Many people use Filter-Id or <Mikrotik-Rate-Limit or Cisco...
On Thu, Nov 26, 2020, 15:06 Martin Zaharinov ***@***.***> wrote:
> Hi Martin
> And thanks for getting back to me
>
> for my research the right way is to get shaper in Access-Accept from
> radius in this part of request:
>
> [2020-11-26 10:38:15]: info: vlan100: recv [RADIUS(1) Access-Accept id=1
> <Framed-Pool "Dynamic Private Pool"> <Mikrotik-Address-List "Users50M">
> <Acct-Interim-Interval 900> <Mikrotik-Rate-Limit "51200k/51200k
> 56320k/56320k"> <Class
> 0x6375693d61736b64697075322c736b3d336c336d64667662356331662c626b69643d31313931383334332c626b7269643d312c6d763d3531313035333437393138332c6d743d3630353536322c676d743d3630343830302c73703d312c73723d2c61633d312c75693d32343134362c6363693d302c63633d2c61733d312c636f3d2c64623d35313230302c75623d35313230302c63626b69643d3131393138333434>
> <Reply-Message "Welcome">]
>
>
> Need to parse this request and get speed for Mikrotik ,Cisco or Unknow
> vendor ( this part with parsing is have in shaper/shaper.c
>
> Mikrotik-Rate-Limit and get up/down and burst speed.
>
> if get this information we will disable shaper and pppd_compat module and
> will get performace incress of accel daemon (may be 20-30%) and with redis
> any one will have options to make sample script will shaper and all needed
> information.
>
> Radius Accep-Acess may be check in pppd_compat how get information i part
> : static void write_radattr
>
> if you need other info i will search
> I try to ask Dimka88 from Accel to help with this but waiting .
>
> Martin
>
> On Thu, Nov 26, 2020, 14:01 Martin Fleischer ***@***.***>
> wrote:
>
>> @micron10 <https://github.com/micron10> let's see if we find time to
>> help you with your feature. It would help if you drop, what you have
>> already found out, here.
>>
>> —
>> You are receiving this because you were mentioned.
>> Reply to this email directly, view it on GitHub
>> <#18 (comment)>,
>> or unsubscribe
>> <https://github.com/notifications/unsubscribe-auth/ADCWD5HAVI7SQUGHMQEN3IDSRY7R5ANCNFSM4UDUM2BQ>
>> .
>>
>
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@micron10 requested to publish shaper events to redis. Indeed, we do not support this event type atm.
The text was updated successfully, but these errors were encountered: