If you agree, the app essentially adds the following code to kid-control:
Code: Select all
/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
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:
Code: Select all
: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
}
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.