![Fail2Ban을 시작할 수 없습니다](https://linux55.com/image/160819/Fail2Ban%EC%9D%84%20%EC%8B%9C%EC%9E%91%ED%95%A0%20%EC%88%98%20%EC%97%86%EC%8A%B5%EB%8B%88%EB%8B%A4.png)
최근 Fail2Ban으로부터 3개의 이메일을 받았습니다.
- Jail nginx-http-auth가 중지되었습니다.
- 감옥 nginx-badbots가 중지되었습니다.
- Jail SSH가 중지되었습니다.
그런 다음 내 VM에 SSH를 시작했고 여기에 로그가 있습니다.
└── tail -f /var/log/fail2ban.log
2019-09-17 21:06:06,201 fail2ban.actions: WARNING [ssh] Unban 49.73.61.65
2019-09-17 21:06:06,208 fail2ban.actions: WARNING [ssh] Unban 178.128.104.155
2019-09-17 21:06:06,215 fail2ban.actions: WARNING [ssh] Unban 139.59.13.51
2019-09-17 21:06:06,221 fail2ban.actions: WARNING [ssh] Unban 139.59.84.111
2019-09-17 21:06:06,227 fail2ban.actions: WARNING [ssh] Unban 138.197.221.114
2019-09-17 21:06:06,232 fail2ban.actions: WARNING [ssh] Unban 49.88.112.114
2019-09-17 21:06:06,241 fail2ban.actions.action: ERROR iptables -D INPUT -p tcp -m multiport --dports ssh -j fail2ban-ssh
iptables -F fail2ban-ssh
iptables -X fail2ban-ssh returned 100
2019-09-17 21:07:06,335 fail2ban.jail : INFO Jail 'ssh' stopped
그러다가 멈추고 다시 시작하려고 해
service fail2ban stop
service fail2ban start
계속 받고 있어요
└── service fail2ban stop
* Stopping authentication failure monitor fail2ban [ OK ]
└── service fail2ban start
* Starting authentication failure monitor fail2ban * Socket file /var/run/fail2ban/fail2ban.sock is present
이 문제를 추가로 해결하려면 어떻게 해야 합니까?
답변1
서비스를 사용한 fail2ban-client reload
후 다시 시작해 보세요.