my prob is that my office mate is always downloading files via torrent and it eats up the connection.. all i want to do is to block him from downloading torrents. or maybe cut off his connection without cutting his lan cable ... heheheh its rude but its the only way to make things fare... hahhahah...

there is a bunch of ways to do this. firewalls, block lists

i used to block people in the office from using limewire and itunes by using opendns.org to reject P2P sites

what kind of setup do you have going on?

where can i download opendns? can i use it for a remote access? or should i go to his unit to install opendns>?

opendns.org, its not an application.
you use there dns servers.

I think you need traffic shaping of some sort.

If you have an advanced router, you might be able to set it in the configuration.
Or you might be able to install something on his pc, to limit his torrent traffic, without limiting other kinds of browsing.

I have a small program installed (cFosSpeed) on my pc, which is working quite well for me, on my own lan. I only want to favor traffic to that one pc, not eliminating the traffic for the others, and it haven't failed me yet - so you can try and see if you can use it.

If you install it on your own pc, you might be able to push his traffic down a bit, or you can install it on his pc, and set a fixed limit for torrent traffic.

I've made a list for some of the more common torrent sites which you can append to your hosts file to "re-route" those connections. Open the hosts file (c:\windows\system32\drivers\etc\hosts) with a text editor and append the following list:

# torrent block list
127.0.0.1	www.isohunt.com
127.0.0.1	isohunt.com
127.0.0.1	www.thepiratebay.com
127.0.0.1	thepiratebay.com
127.0.0.1	www.btjunkie.com
127.0.0.1	btjunkie.com
127.0.0.1	www.torrentz.eu
127.0.0.1	torrentz.eu
127.0.0.1	www.torrentz.com
127.0.0.1	torrentz.com
127.0.0.1	www.torrentreactor.net
127.0.0.1	torrentreactor.net
127.0.0.1	www.demonoid.com
127.0.0.1	demonoid.com
127.0.0.1	www.kickasstorrents.com
127.0.0.1	kickasstorrents.com
127.0.0.1	www.sumotorrent.com
127.0.0.1	sumotorrent.com
127.0.0.1	www.onlytorrents.com
127.0.0.1	onlytorrents.com
127.0.0.1	www.bittorrent.com
127.0.0.1	bittorrent.com
127.0.0.1	www.fenopy.com
127.0.0.1	fenopy.com
127.0.0.1	www.torrentportal.com
127.0.0.1	torrentportal.com
127.0.0.1	www.seedpeer.com
127.0.0.1	seedpeer.com
127.0.0.1	www.torrents.to
127.0.0.1	torrents.to
127.0.0.1	www.nowtorrents.com
127.0.0.1	nowtorrents.com
127.0.0.1	www.bitunity.org
127.0.0.1	bitunity.org
127.0.0.1	www.torrentzap.com
127.0.0.1	torrentzap.com
127.0.0.1	www.flixflux.co.uk
127.0.0.1	flixflux.co.uk
127.0.0.1	www.torrentfunk.com
127.0.0.1	torrentfunk.com
127.0.0.1	www.cinematorrents.com
127.0.0.1	cinematorrents.com
127.0.0.1	www.torrenttree.com
127.0.0.1	torrenttree.com

This is the easiest way to block access (DNS lookups) from a single computer. Of course, if your target uses the direct IP address, they will bypass the hosts file and this technique will not work - just hope they're not that tech savvy.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.