후기 분류

WD My Book Live fail2ban 설치 실패기

컨텐츠 정보

  • 18,101 조회
  • 2 댓글
  • 0 추천
  • 목록

본문

뽐뿌에서 요청이 들어와 진행하던 중 iptable쪽 에러 발생 ㄷㄷㄷ


MyBookLive:~# iptables -nvL

iptables v1.4.14: can't initialize iptables table `filter': Table does not exist (do you need to insmod?)

Perhaps iptables or your kernel needs to be upgraded.

MyBookLive:~#



구글신님에게 물어보니 커널 문제... GG 쳤습니다 ^^;;;


그리고 억지로 fail2ban을 돌려서 일부러 비번 실패해도...


already banned 라고 떠도 아이디 비번 넣으면 잘 들어가집니다 ^^;;



2013-11-28 23:13:26,227 fail2ban.actions.action: ERROR  Invariant check failed. Trying to restore a sane environment

2013-11-28 23:13:26,370 fail2ban.actions.action: ERROR  iptables -D INPUT -p tcp -m multiport --dports ftp,ftp-data,ftps,ftps-data -j fail2ban-vsftpd

iptables -F fail2ban-vsftpd

iptables -X fail2ban-vsftpd returned 300

2013-11-28 23:13:26,514 fail2ban.actions.action: ERROR  iptables -N fail2ban-vsftpd

iptables -A fail2ban-vsftpd -j RETURN

iptables -I INPUT -p tcp -m multiport --dports ftp,ftp-data,ftps,ftps-data -j fail2ban-vsftpd returned 300

2013-11-28 23:13:26,564 fail2ban.actions.action: ERROR  iptables -n -L INPUT | grep -q fail2ban-vsftpd returned 100

2013-11-28 23:13:26,565 fail2ban.actions.action: CRITICAL Unable to restore environment

2013-11-28 23:14:49,666 fail2ban.actions: WARNING [vsftpd] 000.000.000.000 already banned



그게 당연한 것이 fail2ban이 로그인 실패한 아이피를 잡아서 iptable에 보내는 구조인데,


iptable이 제대로 작동하지 않으니, 자연스럽게 fail2ban도 작동하지 않는 것이죠...


혹시나 아이디어 있으신 분은 댓글 바랍니다.

관련자료

  • 서명
    우성짱의 NAS를 운영하고 있습니다.

    저의 즐거움이 여러분의 즐거움이면 좋겠습니다.

댓글 2 / 1 페이지
전체 99 / 1 페이지
RSS

최근글


새댓글


알림 0