I want to monitor my network and do some actions (e.g. send an email) every time a new device shows up in the network. Which operating system/api would make this job the easiest. I was looking at OpenWRT and Tomato but am open for other suggestions. Obviously this can likely be done with any operating system but as I have very little experience with network engineering I would appreciate it if there was a very simple way to do this. Preferably I would like to write my scripts in something like python but that's only a secondary requirement.
arpwatch
, which sends email when new devices arrive or arp records change. – brownian Mar 15 '17 at 10:26arpwatch
may differ. In Debian it supports-s <program>
to specify sendmail program. It can be used for custom tasks instead of sending email. Alsoarpwatch
logs it's data viasyslog
. Not sure this is a good way though. – brownian Mar 16 '17 at 7:59fail2ban
is an option for you to perform custom tasks, logging viasyslog
may be the solution. – brownian Mar 16 '17 at 8:03