Community discussions

MikroTik App

Search found 8 matches

by e066377
Tue Jul 14, 2020 6:20 am
Forum: General
Topic: Mikrotik-Rate-Limit Attribute missing in Hotspot Accounting Request
Replies: 0
Views: 304

Mikrotik-Rate-Limit Attribute missing in Hotspot Accounting Request

Hello all, I have configured freeradius to read current rate limits from sql server for the user in accounting section of default site. If accounting request does not have Mikrotik-Rate-Limit or Mikrotik-Rate-Limit is not equal to the read value from sql server then Mikrotik-Rate-Limit is set with n...
by e066377
Thu Jun 25, 2020 2:05 pm
Forum: Beginner Basics
Topic: Mikrotik-Address-List, FreeRadius
Replies: 0
Views: 310

Mikrotik-Address-List, FreeRadius

Hi all, In FreeRadius, dictionary.mikrotik file has Mikrotik-Address-List attribute. Is this attribute related to the Address Lists in /ip firewall address-list. I wan to use sql database for address lists to be used in firewall filters, how can i map records in database and mikrtoik Address Lists? ...
by e066377
Sun Sep 30, 2018 11:03 pm
Forum: Scripting
Topic: ssh code to reset a hotspot user [SOLVED]
Replies: 1
Views: 500

Re: ssh code to reset a hotspot user [SOLVED]

For debian based Linux radius server; PasswordConnectionInfo passwordConnectionInfo; if (sSGCenter.RadiusServer.Port == null) { passwordConnectionInfo = new PasswordConnectionInfo(sSGCenter.RadiusServer.Server, sSGCenter.RadiusServer.UserName, sSGCenter.RadiusServer.Password); } else { passwordConne...
by e066377
Tue Sep 25, 2018 10:38 pm
Forum: Scripting
Topic: ssh code to reset a hotspot user [SOLVED]
Replies: 1
Views: 500

ssh code to reset a hotspot user [SOLVED]

I have an application that manages radius database and i want to reset a hotspot user after i change its Mikrotik-Rate-Limit in database; How can i force user to change its d/u rate with new value in radius database by ssh? For juniper ssh command is ' clear network-access aaa subscriber username Us...
by e066377
Thu May 31, 2018 5:15 pm
Forum: Scripting
Topic: Login by cookie and Rate Limit [SOLVED]
Replies: 1
Views: 504

Re: Login by cookie and Rate Limit [SOLVED]

Rate limits can be found in queue/simple objects, but to check all hotspot users rate limits by comparing database and queue/simple object values is not the best way for performance reasons.
by e066377
Wed May 30, 2018 4:33 pm
Forum: Scripting
Topic: Login by cookie and Rate Limit [SOLVED]
Replies: 1
Views: 504

Login by cookie and Rate Limit [SOLVED]

In my system authentication is in radius, and hotspot users have Rate Limits enforced by 'Mikrotik-Rate-Limit' Attribute in radreply table. What happens if a user is logged in by cookie, does it get the rate limit set by radius at its last login by radius authentication? As far as i can see there no...
by e066377
Tue May 15, 2018 5:00 pm
Forum: Scripting
Topic: Translate Command Line Command to C# [SOLVED]
Replies: 2
Views: 673

Re: Translate Command Line Command to C# [SOLVED]

Thanks nescafe2002, it works :)
by e066377
Tue May 15, 2018 1:51 pm
Forum: Scripting
Topic: Translate Command Line Command to C# [SOLVED]
Replies: 2
Views: 673

Translate Command Line Command to C# [SOLVED]

Hi, I want to change the following command line working command in to C# code, how can i do that? system logging action set memory memory-lines = 1000 Tried tik4net and mikrotik low level api: using (ITikConnection connection = ConnectionFactory.CreateConnection(TikConnectionType.Api)) { connection....