由 faint 在 05-26-2004 12:41 发表:
BT和MIR一问。
为了防止子网的机器在用一时间占用大量的网络资源。限制一下bt的连接数和传奇的连接情况。
由于对Netfilter的高级使用不是太理解,希望指教!
iptables -p tcp --sys -m multiport --dport $BT_PORT -m iplimit ! --iplimit-above 2 -j ACCEPT
iptables -p tcp --sys -m multiport --dport $MIR_PORT -m iplimit ! --iplimit-above 2 -j ACCEPT
呵呵,另外BT和传奇一般使用的范围是多少?BT端口的范围是6881~6890?那么传奇的一般是多少呢?7200~7206?
由 Snoopy 在 05-26-2004 12:54 发表:
人家的端口不会自定义啊?
And then in the evening light, when the bars of freedom fall
I watch the two of you in the shadows on the wall
How in the darkness steals some of the choices from my hand
Then will I begin to under
由 faint 在 05-26-2004 13:00 发表:
哎,你是说bt的端口随时都会变的呀?
由 faint 在 05-26-2004 13:26 发表:
那么可用-m string的可以限制后缀名的如何???
由 Snoopy 在 05-26-2004 14:03 发表:
你是修改了主贴,,照你刚才那贴看,bt用户在用时它可以自定义端口,
如果你禁止了5000-6000,它可以在4000
__________________<