IT/Security
iptables URL control
Hotman
2018. 3. 5. 17:57
- string 모듈 이용
예시)
iptables -A FORWARD -p tcp --dport 80 -m iprange --src-range 192.168.1.1-192.168.1.120 -m string --string "Host: www.test.com" --algo kmp -j DROP