Fail2Ban 似乎运行良好
Status for the jail: nginx-php
|- Filter
| |- Currently failed: 1
| |- Total failed: 22
| `- File list: /var/log/nginx/access.log
`- Actions
|- Currently banned: 1
|- Total banned: 1
`- Banned IP list: 46.32.125.42
但在 iptables 上并没有显示 IP 被阻止
Iptables:
root@box-01:~# iptables -L INPUT -v -n
Chain INPUT (policy ACCEPT 1501 packets, 415K bytes)
pkts bytes target prot opt in out source destination
328 40327 f2b-nginx-php tcp -- * * 0.0.0.0/0 0.0.0.0/0 multiport dports 80,443