This script scans for new nodes on the network, and if detected, will send alert via growl
https://github.com/pszaro/NewNodeAlert.git
-
[NewNodeAlert.sh]: This script scans for new nodes on the network, and if detected, will send alert via growl
-
[check_NewNodeAlert.sh]: This script checks if scans for new nodes on the network is executing, and if determined that it's not, will send alert via growl
Utilities Needed:
-
nmap - Nmap is a free and open source utility for network discovery and security auditing. https://nmap.org/
-
growlnotify - The Ultimate Notification System for OS X. https://growl.info/
-
prowl (growl plugin) - Prowl is a push notification client for iOS. https://www.prowlapp.com/
Create a file called 'ApprovedNodes' or copy the template file (ApprovedNodes.template) and on each line, insert all known/valid mac addresses that belong on your network. The script will check this file as reference for known mac addresses.
example:
XX:XX:XX:XX:XX:XX (Device Name)
Once tested manual, set it up to run at your intended interval in cron.