[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: user-space traffic wrapper for limit IP ranges



On Tue, 12 Aug 2008 06:57:46 +0400
Stanislav Kruchinin wrote:

> Alexander Sashnov wrote:
> > 
> > Либо подскажите bittorrent клиент, которому можно объяснить, что
> > никуда кроме
> > 
> > 192.168.x.x
> > 212.17.0-31.x
> > 81.1.252.x
> > 193.32.20.x
> > 
> > больше подключаться нельзя, и нельзя принимать входящие 
> > 
> 
> Это можно сделать средствами iptables и модуля ipp2p (http://www.ipp2p.org/). 
> Как-то так:
> iptables -A OUTPUT -d ! 192.168.0.0/16 -m ipp2p --bit -j DROP
> iptables -A OUTPUT -d ! 212.17.0.0/19  -m ipp2p --bit -j DROP
> iptables -A OUTPUT -d ! 81.1.252.0/24  -m ipp2p --bit -j DROP
> iptables -A OUTPUT -d ! 193.32.20.0/24 -m ipp2p --bit -j DROP
> 
У меня все равно протекало. Причем неплохо. В Azureus есть встроенный
ip-фильтр, но насколько он вменяем, я не скажу, не пользовал. В ktorrent тоже.




-- 
Матвийчук Олег aka Matvey, LRU#349092
http://mathway.narod.ru

I am the "ILOVEGNU" signature virus. Just copy me to your signature.
This email was infected under the terms of the GNU General Public License.

Attachment: signature.asc
Description: PGP signature


Reply to: