nie tyle ograniczyć a blokować tymczasowo dostęp po kilku nieudanych próbach.
Przykładowo na dropbear działa mi to tak
2022-12-22 11:22:46,500 fail2ban.filter [10435]: INFO [dropbear] Found 185.180.xxx.xxx - 2022-12-22 11:22:46
2022-12-22 11:22:47,103 fail2ban.filter [10435]: INFO [dropbear] Found 185.180.xxx.xxx - 2022-12-22 11:22:47
2022-12-22 11:22:48,307 fail2ban.filter [10435]: INFO [dropbear] Found 185.180.xxx.xxx - 2022-12-22 11:22:48
2022-12-22 11:22:50,313 fail2ban.filter [10435]: INFO [dropbear] Found 185.180.xxx.xxx - 2022-12-22 11:22:50
2022-12-22 11:22:50,515 fail2ban.filter [10435]: INFO [dropbear] Found 185.180.xxx.xxx - 2022-12-22 11:22:50
2022-12-22 11:22:51,119 fail2ban.filter [10435]: INFO [dropbear] Found 185.180.xxx.xxx - 2022-12-22 11:22:51
2022-12-22 11:22:51,282 fail2ban.actions [10435]: NOTICE [dropbear] Ban 185.180.xxx.xxx
2022-12-22 11:26:51,688 fail2ban.filter [10435]: INFO [dropbear] Found 92.255.85.115 - 2022-12-22 11:26:51
2022-12-22 11:32:50,753 fail2ban.actions [10435]: NOTICE [dropbear] Unban 185.180.xxx.xxx
2022-12-22 11:35:38,690 fail2ban.filter [10435]: INFO [dropbear] Found 102.244.212.46 - 2022-12-22 11:35:38
to 185.180.xxx.xxx to moje próby ale ładnie widać że po 6ciu nieudanych próbach dał bana na 10min. Takie działanie ładnie odstrasza boty.
Po instalacji rsyslogd logowanie do Luci mam w pliku /var/log/messages i mógłby je też filtrować.