What's new
  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

Regular monitoring of devices connected to the router:

bibikalka

Senior Member
Does anybody care to monitor which devices are connecting to their router?

Ideally, I'd like to do something like "arp -a" every few minutes via cron, dump that into a file. Then every day it'd get merged, and the number of identical ethernet entries would be counted. So as the daily output I'd get a list of ethernet addresses, and the number of times "arp -a" saw them.

Are there any existing addons that can be quickly transformed into such a monitoring tool?
 
Are there any existing addons that can be quickly transformed into such a monitoring tool?
If you haven't seen the existing addon's see the following list if something fits what you are looking for:
PS: And it may help if you include the router and firmware you are seeking to get a script working on. Certain addon scripts do not work on the 3006.102.x firmware.
https://www.snbforums.com/threads/c...ons-with-gt-be98-pro.90657/page-7#post-947006
 
Last edited:
Does anybody care to monitor which devices are connecting to their router?

Ideally, I'd like to do something like "arp -a" every few minutes via cron, dump that into a file. Then every day it'd get merged, and the number of identical ethernet entries would be counted. So as the daily output I'd get a list of ethernet addresses, and the number of times "arp -a" saw them.

Are there any existing addons that can be quickly transformed into such a monitoring tool?
I am not aware of any existing addon. I ended up writing my own script using various network commands like arp and brctl. The script is looking both for clients I expect to be online and for new unexpected clients online.

Rung
 
I am not aware of any existing addon. I ended up writing my own script using various network commands like arp and brctl. The script is looking both for clients I expect to be online and for new unexpected clients online.

Rung
Could you share your latest script then? It could be a helpful starting point.
 
Suggest you start a thread on the add-ons area and I'll add it there and/or send directly.
 
Does anybody care to monitor which devices are connecting to their router?

I do have such functionality on my Gateway, it keeps data for a month back of what was connected, when, what traffic passed through it, etc... but honestly on a home network we don't really have random clients we don't know about. What is the purpose of this monitoring and why you need it done every few minutes?
 
I do have such functionality on my Gateway, it keeps data for a month back of what was connected, when, what traffic passed through it, etc... but honestly on a home network we don't really have random clients we don't know about. What is the purpose of this monitoring and why you need it done every few minutes?
I am gonna mess with parental controls via DNS to keep an eye on what kids are doing, thus if they are getting clever and randomizing ethernet addresses I need to be able to see that easily.
 
keep an eye on what kids are doing

You may eventually see unrecognized randomized MAC, but what you are going to do about it? In my opinion Parental Controls on the device itself will work more reliably. Both Android and iOS have available options. It will work even when the devices are using the mobile network or other Wi-Fi networks. What you fight with is on single Wi-Fi network only and can be avoided by few clicks.
 
I've been playing around with NetAlertX and it seems pretty slick. It doesn't do traffic though that I am aware of.
 
You may eventually see unrecognized randomized MAC, but what you are going to do about it? In my opinion Parental Controls on the device itself will work more reliably. Both Android and iOS have available options. It will work even when the devices are using the mobile network or other Wi-Fi networks. What you fight with is on single Wi-Fi network only and can be avoided by few clicks.
I can route all unknown devices through the strictest DNS filters? At least there will be no free roaming ...
 
I can route all unknown devices through the strictest DNS filters?

Not enough. They can easily go around and it may happen automatically. Or simply disconnect from Wi-Fi and use the mobile operator. If your kids are small you take ownership of the devices and lock them down. This protection will work on any connection. What you are trying to do is ineffective. You have to block DoH, Proxies, VPNs, Private Relay, enforce Safe Search, etc. and the effect is still local to your network. Your kids will meet friends, connect to their network and still see what they want to see.
 
Not enough. They can easily go around and it may happen automatically. Or simply disconnect from Wi-Fi and use the mobile operator. If your kids are small you take ownership of the devices and lock them down. This protection will work on any connection. What you are trying to do is ineffective. You have to block DoH, Proxies, VPNs, Private Relay, enforce Safe Search, etc. and the effect is still local to your network. Your kids will meet friends, connect to their network and still see what they want to see.
My objective is not to control kids as if we were in North Korea ! :) My only objective is to ensure that they cannot go to some sites when we are at home and kids' internet is flowing through this specific home router. I do expect them to keep finding ways to bypass this if not using the home connection, and that's kind of unavoidable ...
 
You should check out ControlD. You can use it to filter all or some of your DNS traffic whether on your network, friends, other open network, or mobile operator. I've been using it for years and upgraded to the paid version which is worth every penny.
 
Pi-hole doesn't capture anything. Devices calling other DNS servers (with no interception and redirection) or doing DoH/DoT/DoQ (with no blocking) or using Proxy/VPN (if allowed) will simply go around it and you'll have no indication of this happening. Some of the mobile devices are doing it automatically, popular browsers as well, soon Windows will join. If you rely on Pi-hole alone your protection looks like this:

1755904110316.png
 

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Back
Top