phpddos 질문좀 드립니다
본문
몇일전부터 자꾸 phpddos가 들어오고 있습니다.
클라우드플레어를 썼는데도 불구하고 지속적으로 들어오는데
http2.0 로 공격이 들어오고 있습니다.
초당 1800개 정도 들어오고있어요
해결 방법 없을까요?
웹서버는 nginx를 쓰고 있습니다.
2025/02/23 18:32:53 [error] 2560#2612: *76277 limiting requests, excess: 20.140 by zone "phpddos", client: 4.230.33.226, server: abc.com, request: "GET /bbs/login_check.php HTTP/1.1", host: "abc.com"
2025/02/23 18:32:53 [error] 2560#2612: *76278 limiting requests, excess: 20.140 by zone "phpddos", client: 4.230.33.226, server: abc.com, request: "GET /bbs/login_check.php HTTP/1.1", host: "abc.com"
2025/02/23 18:32:53 [error] 2560#2612: *76279 limiting requests, excess: 20.140 by zone "phpddos", client: 4.230.33.226, server: abc.com, request: "GET /bbs/login_check.php HTTP/1.1", host: "abc.com"
2025/02/23 18:32:53 [error] 2560#2612: *76280 limiting requests, excess: 20.140 by zone "phpddos", client: 4.230.33.226, server: abc.com, request: "GET /bbs/login_check.php HTTP/1.1", host: "abc.com"
2025/02/23 18:32:53 [error] 2560#2612: *76281 limiting requests, excess: 20.060 by zone "phpddos", client: 4.230.33.226, server: abc.com, request: "GET /bbs/login_check.php HTTP/1.1", host: "abc.com"
답변 2
/etc/sysconfig/iptables <====이 화일을 확인해서 다음처럼 입력해서 차단하세요
iptables 검색해서 상세한 사용법을 숙지하시고....
번거롭더라도 수시로 체크해서 추가하면 나아지겟죠
iptables -A INPUT -s 4.230.33.226 -j DROP
방화벽을 써서 해당 아이피차단을 하거나 관리자에서 접근차단 아이피 등록하거나 해서 접근을 못하게 차단하며 관리하셔야 할듯 보입니다.