Community discussions

MikroTik App
 
kcarhc
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 57
Joined: Thu Feb 01, 2018 9:54 am

FEATURE REQUEST: Add kid-control device activity to address-list and introduce activity history

Wed Jun 21, 2023 5:19 pm

When using the MikroTik Home Android app, it prompts you to open the online device list.
If you agree, the app essentially adds the following code to kid-control:
/ip kid-control
add fri=0s-1d mon=0s-1d name=system-dummy sat=0s-1d sun=0s-1d thu=0s-1d tue=0s-1d \
    tur-fri=0s-1d tur-mon=0s-1d tur-sat=0s-1d tur-sun=0s-1d tur-thu=0s-1d \
    tur-tue=0s-1d tur-wed=0s-1d wed=0s-1d
After adding the above code, you can view the activity of each device in /ip/kid-control/device.
For example, you can see the domain name being accessed by a device, such as www.google.com.
You can periodically execute the following code to obtain the activity of a specific device:
:foreach item in=[/ip kid-control device find] do={
:local activity [/ip kid-control device get $item value-name=activity]
/ip firewall address-list add address=$activity list=DOMAIN_ACTIVITY dynamic=yes timeout=1d
}
However, there is an issue with the refresh speed of the activity.
It is random, even if the periodic query speed reaches 100ms.
As a result, some domain names may not be correctly recorded.
Could you consider adding a feature to automatically write activity to a desired address-list,
similar to dns-to-address-list? This way, activity can be tracked more accurately.
Additionally, it would be beneficial to have a history feature to track the browsing history of a specific device.

By having these features, it would be easier to monitor the websites accessed by kids and exercise better control over their activities.
 
User avatar
Amm0
Forum Guru
Forum Guru
Posts: 3509
Joined: Sun May 01, 2016 7:12 pm
Location: California

Re: FEATURE REQUEST: Add kid-control device activity to address-list and introduce activity history

Wed Jun 21, 2023 7:33 pm

I get the request/need, and your logic... just seems reviewing /ip/firewall/list isn't the best long-term way for better per-device tracking. And one note is that DNS going isn't 100%...since DoH/etc might avoid.

I don't use kid-control but does it log anything with "debug" topic? If so, you might be able to use logging system to write the log to file for review. If the activity shown in winbox I'd like to the think it's logged, but perhaps not (there isn't some kid-control topic in log AFAIK...)

Who is online

Users browsing this forum: No registered users and 2 guests