[root@localhost ~]# fail2ban-client -i
Fail2Ban v0.9.3 reads log file that contains password failure report
and bans the corresponding IP addresses using firewall rules.
fail2ban> status sshd
Status for the jail: sshd
|- Filter
| |- Currently failed: 12
| |- Total failed: 54
| `- Journal matches: _SYSTEMD_UNIT=sshd.service + _COMM=sshd
`- Actions
|- Currently banned: 24
|- Total banned: 24
`- Banned IP list: 103.207.38.11 103.207.38.110 103.207.39.55 113.57.232.31 117.79.130.206 118.33.89.167 13.92.234.79 160.36.127.140 197.254.27.214 211.99.203.209 222.187.224.25 91.224.160.10 93.174.94.141 103.207.36.91 93.174.88.25 103.243.107.193 192.227.215.114 155.94.163.58 115.239.248.72 115.231.218.31 103.207.36.181 112.83.192.246 31.8.167.41 158.69.244.160
# 차단된 아이피 해제
fail2ban> set sshd unbanip xxx.xxx.xxx.xxx
'Linux > 네트워크보안' 카테고리의 다른 글
PuTTYgen을 이용한 SSH키 원격접속방법(VSCODE원격접속 포함) (0) | 2023.04.13 |
---|---|
fail2ban unban all (0) | 2022.02.09 |
Centos7] firewalld 방화벽 관리 (0) | 2016.07.21 |
ssh 보안설정 (0) | 2016.07.20 |