Debtorrent
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Hello.
Has the Trisquel community, or leadership, considered using DebTorrent for the distribution of system updates?
I use it on my Debian installation and it works very well. It would vastly reduce the load on the official mirrors and save them bandwidth costs. Plus the decentralised nature of it really appeals to me for some reason. ;-)
Of course, there would be no security issues compared with the standard way of doing APT respositories, as all packages would still have to be GPG-signed by Trisquel.
http://debtorrent.alioth.debian.org/
Thoughts?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
iF4EAREIAAYFAlH8xr4ACgkQgijxUCZnvlvApgEAzxBRDPJsyztCHq8gHaoMJ73r
LM4MPlfQFr5lr87wux4A/i2CxvmJ5Mxr4YEZwiiG6m40BhXM542uYuHJZbyL21sA
=MHBV
-----END PGP SIGNATURE-----
On 03/08/13 19:00, lloydsmart wrote:
> Thoughts?
That's a fantastic idea. I'll install it on my own computer shortly. :-)
Regarding Trisquel defaults... depending on the location, some ISPs,
universities, workplaces etc. might block BitTorrent traffic. I think
maybe it should be made as an option, but not necessarily default.
Andrew.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Great. I'll also install it so at least I'll have one peer, lol.
As for making it default, debtorrent automatically falls back to http if there are no peers available, so ISP blocking shouldn't present a problem as long as there are still http mirrors available. This method would just reduce the load.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
iF4EAREIAAYFAlH8+K4ACgkQgijxUCZnvlu5gAD/eqx1ANQljauqD1TV8YhJv5bc
XRupdDfVjNZfjrifWlAA/RhdT/zIeTV61BpNvczXYp/n8QwkzmJ3Xebzq1GjchAe
=rln4
-----END PGP SIGNATURE-----
On 03/08/13 22:33, lloydsmart wrote:
> Great. I'll also install it so at least I'll have one peer, lol.
>
> As for making it default, debtorrent automatically falls back to
> http if there are no peers available, so ISP blocking shouldn't
> present a problem as long as there are still http mirrors
> available. This method would just reduce the load.
Cool, good to know.
If anyone plans to use this with jxself's Linux-libre repository, just a
warning that debtorrent doesn't seem to work with 307 redirects. So I
have it setup like this:
#deb http://jxself.org/repo/freesh/ freesh main
deb
debtorrent://localhost:9988/linux-libre.fsfla.org/pub/linux-libre/freesh/ freesh
main
I also noticed that http://dttracker.debian.net:6969/announce is not
working. Unfortunately HTTP trackers aren't so popular these days, and
it appears that debtorrent doesn't support UDP trackers, PEX or DHT. Ouch.
I might check out the IRC channel today and see what other users are
doing.
Andrew.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
>I also noticed that http://dttracker.debian.net:6969/announce is not working.
That's a shame. Hopefully one day debtorrent will support DHT.
In the meantime, I might look into setting up a tracker. Not sure yet. Maybe the Trisquel mirrors should be trackers?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
iF4EAREIAAYFAlH9/RsACgkQgijxUCZnvluScAEAsk0rCsHdqi6QUs8pHZw7kqhW
jogGzlKfyQJDPBhnB7cA/33Y22q9fsobZTt3ue4zpdL5E8P1MKJgt5rGhmh6lsog
=kidb
-----END PGP SIGNATURE-----
The problem with Trisquel is that there is only ONE United States mirror and it is the FSF one. With Ubuntu, the servers are everywhere and I use one that is about 30 min away by car in a big city. Oh and it is relatively obscure as it is not an official mirror, but has a LOT of bandwidth.
Using Debtorrent would actually hurt me more in this situation if I was using Ubuntu. Trisquel on the other hand may be beneficicial due to the ONE US server.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
So...
Is there any chance of getting the Trisquel mirrors running debtorrent trackers?
This could vastly decrease their bandwidth load.
I can't see any downsides.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
iF4EAREIAAYFAlIBRq8ACgkQgijxUCZnvluCdAEAqnZ4+uPu2o+qQ/Dd7ACgubyg
Qr9dOIAAgUPW3WRuJocA/1QZOT12mBNISx7OTv0gVtei00np/kox4NdWyQyIgNOj
=AG49
-----END PGP SIGNATURE-----
Suggest you file a bug. Sounds like a great idea.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Bug filed.
https://trisquel.info/en/issues/9766
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
iF4EAREIAAYFAlIGLAsACgkQgijxUCZnvls90gEAzS2FAVS7VadepZbWbRsG8qPn
TWLSoMZCsNvYxNbAlXwA/A7fv7Kxrp95bbOFFAvcEbwc8dGtq0Jk7IoMASPTAmd1
=rkPj
-----END PGP SIGNATURE-----
Don't hold your breath on it happening soon. The project owner, Ruben, is very slow to make these types of changes.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
That's fine. It's not urgent and I understand that there are higher priority projects that will be implemented first.
I just wanted to put it out there, so that it can be considered, and potentially implemented in time for Trisquel 7.0, which is when there will be a very high bandwidth demand on the mirrors.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
iF4EAREIAAYFAlIGXksACgkQgijxUCZnvltOfQEAnNfFPoCsgC2OZjMruFZcfKdK
V4E0aqGmAy+o5RVGnEYBALDKDZhfN9wmZowAbTgfUP70TrVlDqAcN1OhXOiKBvin
=hDBr
-----END PGP SIGNATURE-----
You may also want to have a look at http://www.camrdale.org/apt-p2p/
I noticed this line:
"It is originally based on the khashmir implementation of the kademlia DHT."
Not tested it, but looks neat.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Looks good. Maybe this is the way to go, rather than debtorrent, as there would be no need for a tracker.
I'll install it and do some testing.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
iF4EAREIAAYFAlIc6+kACgkQgijxUCZnvltXZAD+L7rt/JKjehWMxqgkJ1hJJ5Lo
HhShGxB01YDCjF0FyskA/3ELlbhpsVrGoi3QiCUrWCxACGUI/g/wSz8I2787gGu4
=TAp6
-----END PGP SIGNATURE-----