![]() Registered Member ![]()
|
How do you add a list of trackers you wish to avoid? I've a list of fake and bad trackers I would like to add to my KTorrent IP Block list. Thanks.
|
![]() Registered Member ![]()
|
|
![]() Registered Member ![]()
|
How do you add a firewall to Linux Ubuntu Studio? I use a blocklist...but can you paste bad trackers into it?
|
![]() Registered Member ![]()
|
The easiest way would be to use the /etc/hosts file. Add lines to it such as:
127.0.0.1 banned.domain.com This will cause any attempts to access the tracker to be redirected at yourself, which will most likely fail. Another way (more heavy duty) is to use iptables, with commands such as "sudo iptables -A OUTPUT -d banned.domain.com -j REJECT" (I recommend using REJECT instead of DROP because it times out a lot faster, leading to less UI lagging in your applications that try to access banned host) Note that iptables rules have to be reapplied at every bootup. Also look into the Firestarter firewall that's in Ubuntu's repositories. It is a nice GUI firewall configurator if iptables commands look too intimidating. A related topic, for others reading this topic, I've found a peerguardian-to-iptables converter at http://www.codepost.org/browse/snippets/21 it looks good from first glance, but I haven't really tested it yet. If you use a lot of P2P apps, it might be a good idea to do blocking globally via iptables rather than having to configure and update a blacklist in each application. The site warns that large blocklists might hurt network performance. I have yet to test that out, so I'm not sure if it's true with recent kernels (it probably is to some degree) |
Registered users: Bing [Bot], Google [Bot]