리눅스 분류
방화벽 관련 추가 문의
작성자 정보
- 이기원 작성
- 작성일
컨텐츠 정보
- 2,357 조회
- 1 댓글
- 0 추천
- 목록
본문
#iptables -m string -h
String match v1.3.5 options:
--from offset to start searching from
--to offset to stop searching
--algo Algorithm
--string [!] string Match a string in a packet
--hex-string [!] string Match a hex string in a packet
이렇게 나오는 걸 보면 string 옵션을 사용할 수 있는 것 같은데요..
#iptables -A FORWARD -p tcp -m string --string "AUTH 2 DES" -algo kmp -j DROP
iptable version 1.3.5:Unknown arg '--string'
Try 'iptables -h' or 'iptables --help' for more information
혹시 명령어 순서를 잘못한 걸까요? 도움 부탁드립니다.
관련자료
-
이전
-
다음
댓글 1
이기원님의 댓글
- 이기원
- 작성일
제가 명령어를 잘못쳤었네요..;;
#iptables -A FORWARD -p tcp -m string --string "AUTH 2 DES" -algo kmp -j DROP
-algo 를 --algo 로 하니 잘 된다는.........ㅡㅡ;;
#iptables -A FORWARD -p tcp -m string --string "AUTH 2 DES" -algo kmp -j DROP
-algo 를 --algo 로 하니 잘 된다는.........ㅡㅡ;;