leiweibau / Pi.Alert

Scan the devices connected to your WIFI / LAN and alert you the connection of unknown devices. It also warns if a "always connected" device disconnects. In addition, it is possible to check web services for availability. For this purpose HTTP status codes and the response time of the service are evaluated.
https://leiweibau.net
GNU General Public License v3.0
342 stars 25 forks source link

[Feature Request] MAC_IGNORE_LIST with something like Wildcards #246

Closed MittaAxt closed 5 months ago

MittaAxt commented 6 months ago

Hi

as I could't find any other way to raise the question, please apologise for using the issue tracker for that. Can someone please elaborate how the MAC_IGNORE_LIST works, either by providing some short examples or letting me know if it accepts wildcards? Reason for my question is that I have plenty (>50) of small VMS that start up at certain times during the day and I would like to exclude all of them from the scan results via the first 3 MAC identifiers, but I assume (based on my "Tests" that wildcards are not supported, as I get all of these macs every day as new device. Is there a way to use wildcards in the MAC_IGNORE_LIST?

Thank you in advance

leiweibau commented 6 months ago

Hello,

Don't worry, creating it as an issue is fine. No, at the moment there is no way to use wildcards or anything like that. I've already thought about it, but haven't put any effort into implementing it yet. In principle, however, it shouldn't be very complicated to implement this, as in the end probably only one Sqlite3 command needs to be changed.

MittaAxt commented 6 months ago

wow thank you very much for the quick reply and already working on it

leiweibau commented 5 months ago

Update Released