Fail2ban: ошибки настройки, из-за которых защита не работает

habrahabr.ru · world
Full story

Fail2ban is often installed on a server once it gets a white IP, but the work frequently stops at installation. The service may be running and the sshd jail enabled, yet the configuration remains default, bans last ten minutes, logs are read from the wrong place, and half of the open services are outside its view. The article promises to go through these mistakes and show the settings.

Fail2ban ставят на сервер, когда тот получает белый IP, но зачастую дальше установки дело не идёт. Получается, что сервис запущен и джейл sshd включен, но конфиг был дефолтный, бан длится по десять минут, логи читаются не из того места, а половина открытых сервисов вообще находится вне поля зрения. Под катом разберу ошибки и покажу настройки. Читать

Read full article → Compare