ipchains에 특정 아이피를 거부하려고 하는데요..
[root@localhost root]# ipchains -A input -s xxx.xxx.xxx.xxx -p all -j REJECT
ipchains: Protocol not available
[root@localhost root]#
저렇게 해서 명령을 치면 ipchains: Protocol not available 이라는 에러메시지가 뜹니다.
xxx.xxx.xxx.xxx 부분에는 아이피 주소를 넣었습니다.
-p all을 -p tcp로 바꾸어 봐도, -p udp로 바꾸어 봐도 마찬가집니다.
좀 도와주세요
Protocol not available 은 커널에 ipchains 지원이 없다는 뜻입니다. 2.4 커널은 iptables 를 쓰니 iptables -A INPUT -s IP -j DROP (또는 REJECT)를 쓰세요.
ipchains 를 쓰려면 modprobe ipchains 가 되는지, iptables 모듈과 겹치지 않는지 확인하세요.