Mailreport useful command lines
-
Wonder if these is a place where Mailreport useful command lines can be found or somebody wants to share here ?
Thx
-
Snort alerts from yesterday:-
grep ^
date -v-1d +"%D"
/var/log/snort/snort_igb0.2*/alert ; echoInterface stats via a shell script:-
/root/scripts/vnstat-daily
#!/bin/csh
foreach int ( igb0.2 igb0.3 igb0.4 igb0.5 igb0.6 igb0.7 igb0.9 igb0.11 enc0 pppoe0 )
echo
/usr/local/bin/vnstat -i $int -h
echo
end
Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.