Get the IP and number of login fails in Zimbra

Get the IP and number of login fails in Zimbra
Use "while read" with "iptables -j DROP" or "route add -host <IP> reject" to block

grep "SASL LOGIN" /var/log/zimbra.log | grep failed | awk '{print $7}' | cut -d[ -f 2 | cut -d] -f 1 | sort | uniq -c | sort -n -r

SNMP Oracle Linux

  sudo yum install net-snmp net-snmp-utils -y    nano /etc/snmp/snmpd.conf  agentAddress  udp:10.20.1.2:161 rocommunity public systemctl res...

Mais vistos