Re: [libtorrent] how to clear peer list and announce without download
Brought to you by:
arvidn
|
From: <ar...@cs...> - 2009-10-22 16:54:40
|
Quoting Thomas Krenc <kr...@cs...>: > > > and also. The IP-filter approach may not work since trackers are affected > by the > > IP-filter as well. You could try setting the connect_speed to 0 in the > > session_settings and see if that works. > > > > -- > > Arvid Norberg > > but still, even if i filter single peers, which then would not affect > trackers, the field "list_peers" from torrent_status is 0, although the > documentations sais, that it holds even banned peers. is that a bug or am i > doing something wrong? it would be very useful to keep the number of peers > even if banned. > lets say if it still wont work, is to save the peers in a separate list > before banning the best work around? Yeah, I don't think the ip-filter will work. filtered peers are not stored at all. You could try setting the connect_speed to 0 and see if that means 0 or infinite. If nothing else work, you could write a plugin that prevents all peers from connecting, and ban them. -- Arvid Norberg |