- 熱血大叔2012-11-14金牌会员13769
有個 iptables 針對特定字串符限速的問題想請教
iptables -t mangle -A INPUT -m string --algo bm --string "cachefly" -j DROP
這樣可以禁止下載所有包含 cachefly 字串符的封包
iptables -t mangle -A INPUT -m limit -s 198.98.99.132 --limit 25/s -j ACCEPT
iptables -t mangle -A INPUT -s 198.98.99.132 -j DROP這樣可以限制 198.98.99.132 這個 IP 的下載速度
請問如何針對特定字串符(網址)限速呢,例如限制 cachefly 的下載速度: