Scripting
New network client notifier
This scripts listens to al broadcasts messages captured with tcpdump, registers all new discovered mac addresses in a txt table, it resolves the hostname by querying the wins server, and send a mail notification about the newly discovered clients hostname to all configured recipients.
Filter authlog
With this script you can filter the authlog log file, Script usage ./fauthlog.sh <ip list file> <authlog file> <word> [-z] <ip list file> #file with trusted ip adresses on each line <authlog file> #authlog location, /var/log/authlog <word> #pettern to grep from output, ‘Accept’ for all accepted logins -z #use zcat, for gziped log rotate log […]