Brute Forcing 공격에 대비하기
우선 EPEL 설치 https://zetawiki.com/wiki/YUM_epel_%EC%A0%80%EC%9E%A5%EC%86%8C_%EC%B6%94%EA%B0%80 yum install -y epel-release
yum install -y fail2ban
vi /etc/fail2ban/jail.d/sshd.local
:wq 저장 ( ssh 포트로 5번의 로그인시도 한경우 하루(86000초) 차단 )
5. fail2ban 시작 및 명령어
systemctl enable fail2ban
벤 명령어 - fail2ban-client set 감옥이름 banip 192.168.1.250
|
[원글링크] : https://www.linux.co.kr/home2/board/subbs/board.php?bo_table=lecture&wr_id=1864
'프로그래밍언어 > 리눅스' 카테고리의 다른 글
[리눅스] centos7 git1.x -> git 2.x 깃 업그레이드 (0) | 2021.10.20 |
---|---|
[리눅스]more명령어(더보기 , 파일 내용 확인, 페이지 단위 출력,이동) (0) | 2021.08.17 |
리눅스 python 버전 올린 후 yum 에러 There was a problem importing one of the Python modules (0) | 2018.10.29 |
리눅스 centos 6 파이썬 make install 에러 (0) | 2018.09.11 |
리눅스 firewalld 설치 // firewall-cmd: command not found 에러 (0) | 2018.08.22 |