Il 18/12/2010 12:03, Fernando ff77 ha scritto:
Il 17 dicembre 2010 11:59, Liga<[email protected]>  ha scritto:
il mio auth.log riporta un log di questo tipo
invalid user root from 71.39.124.94 port 4693 ssh2
il mio ssh non ascolta su quella porta

ho utilizzato infatti AllowUsers

e ho anche queste regole di iptables, che sono un po meno efficenti di fail2ban ma "dovrebbero" essere più leggere (ho pochissime risorse)

-A INPUT -p tcp -m tcp --dport 22 -m state --state NEW -m recent --set --name SSH --rsource -j ACCEPT -A INPUT -p tcp -m tcp --dport 22 -m recent --update --seconds 60 --hitcount 4 --rttl --name SSH --rsource -j DROP


--
Per REVOCARE l'iscrizione alla lista, inviare un email a [email protected] con oggetto "unsubscribe". Per
problemi inviare un email in INGLESE a [email protected]

To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/[email protected]

Rispondere a