On 2/6/08, CSights <[EMAIL PROTECTED]> wrote: > OK, I think what I was wishing for here is probably not what the > configuration option would actually allow, so I'll just start over. :) > > What I was imagining was a way to have torrent connections only > within a > local network. If there were no torrents within the local network, then apt > or DebTorrent would get the file from a mirror. > I have a number of Debian computers running on the local network. It > would > be nice if they would first check the other computers for the package file on > the other local computer's torrents, then download if found. > Furthermore, would like to block torrent downloads from outside of > the local > network (sorry Debian mirrors!). > As I think of it, this is probably hard b/c the tracker isn't kept > locally, > it is Debian hosted (?) and probably only knows my network's external IP (?).
I actually thought of a really simple way for you to do this, though it does require one machine to be mostly always on (or at least on anytime another machine is on and trying to download). All you need to do is run your own private tracker on one of your machines, and then configure all the clients on the local network to use that tracker instead of the Debian one (there's a config option in the client for that). That way your local peers will all be able to find each other, but no remote peers will contact you since the remote (Debian) tracker doesn't even know your peers exist. Even if the tracker machine is not on when another machine is trying to download, it will just fallback to the mirror download to get the packages. It should be fairly simple to run a tracker, you just need to enable it in the /etc/default/debtorrent-tracker file and maybe change some of it's configuration options. Let me know how it goes, Cameron -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

