리눅스

Total 331
Today 0
profile_image
슈퍼아이피
11-06-15 14:03 4개 74회
TIP
방화벽 테스트 프로그램
http://www.hping.org

댓글목록

슈퍼아이피님의 댓글

profile_image
슈퍼아이피 작성일

리눅스에서 컴파일시
ln -s /usr/include/pcap-bpf.h  /usr/include/net/

슈퍼아이피님의 댓글

profile_image
슈퍼아이피 작성일

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

슈퍼아이피님의 댓글

profile_image
슈퍼아이피 작성일

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

슈퍼아이피님의 댓글

profile_image
슈퍼아이피 작성일

방화벽 정책 저장

iptables-save

iptables-save > 파일명

방화벽 정책 복원

iptables-restore 백업 파일명