
슈퍼아이피
11-06-15 14:03
4개
9,249회
TIP
방화벽 테스트 프로그램
http://www.hping.org
댓글목록
슈퍼아이피님의 댓글
리눅스에서 컴파일시
ln -s /usr/include/pcap-bpf.h /usr/include/net/
슈퍼아이피님의 댓글
iptables -F
iptables -A INPUT -s 1.1.1.1 -j DROP
hping -a 1.1.1.1 -p 80 -S -c 2 localhost
iptables -nvL
슈퍼아이피님의 댓글
INVALID 패킷 테스트
iptables -F
iptables -A INPUT -m state --state INVALID -j DROP
iptables -nvL
hping3 -a 1.1.1.1 -p 80 -SA -c 2 localhost
슈퍼아이피님의 댓글
방화벽 정책 저장
iptables-save
iptables-save > 파일명
방화벽 정책 복원
iptables-restore 백업 파일명