Results of post to debian-devel (so far) attached. Serious concerns hinge
around the question 'why?' (from debian's POV - i.e. not the cover traffic
argument). Any good suggestions not already covered?
--
The road to Tycho is paved with good intentions
>From toad Thu Dec 13 00:30:12 2001
Received: from pop3.blueyonder.co.uk [195.188.53.61]
by localhost with POP3 (fetchmail-5.9.3)
for toad@localhost (single-drop); Thu, 13 Dec 2001 00:30:12 +0000 (GMT)
Received: from pcow024o.blueyonder.co.uk ([127.0.0.1]) by blueyonder.co.uk with
Microsoft SMTPSVC(5.5.1877.757.75);
Thu, 13 Dec 2001 00:29:47 +0000
Received: from murphy.debian.org (unverified) by pcow024o.blueyonder.co.uk
(Content Technologies SMTPRS 4.2.5) with SMTP id
<[EMAIL PROTECTED]> for <[EMAIL PROTECTED]>;
Thu, 13 Dec 2001 00:29:47 +0000
Received: (qmail 25371 invoked by uid 38); 13 Dec 2001 00:29:01 -0000
X-Envelope-Sender: [EMAIL PROTECTED]
Received: (qmail 25205 invoked from network); 13 Dec 2001 00:28:57 -0000
Received: from unknown (HELO blueyonder.co.uk) (195.188.53.98)
by murphy.debian.org with SMTP; 13 Dec 2001 00:28:57 -0000
Received: from pcow058m.blueyonder.co.uk ([127.0.0.1]) by blueyonder.co.uk with
Microsoft SMTPSVC(5.5.1877.757.75);
Thu, 13 Dec 2001 00:28:53 +0000
Received: from amphibian.dyndns.org (unverified) by pcow058m.blueyonder.co.uk
(Content Technologies SMTPRS 4.2.5) with ESMTP id
<[EMAIL PROTECTED]> for <[EMAIL PROTECTED]>;
Thu, 13 Dec 2001 00:28:52 +0000
Received: from toad by amphibian.dyndns.org with local (Exim 3.32 #1 (Debian))
id 16EJjo-0000cj-00
for <[EMAIL PROTECTED]>; Thu, 13 Dec 2001 00:28:36 +0000
Date: Thu, 13 Dec 2001 00:28:36 +0000
To: [EMAIL PROTECTED]
Subject: Packages fields
Message-ID: <[EMAIL PROTECTED]>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
User-Agent: Mutt/1.3.23i
From: toad <[EMAIL PROTECTED]>
Old-Return-Path: [EMAIL PROTECTED]
Resent-Message-ID: <LFnZXB.A.nLG.MZ_F8@murphy>
Resent-From: [EMAIL PROTECTED]
X-Mailing-List: <[EMAIL PROTECTED]> archive/latest/103224
X-Loop: [EMAIL PROTECTED]
Precedence: list
Resent-Sender: [EMAIL PROTECTED]
Return-Path: [EMAIL PROTECTED]
Status: RO
Content-Length: 832
Lines: 17
Would it be possible to add an additional field per package in the Packages
file, which looks like this:
Freenet: CHK@L4mWBrou4o9RLhH71iew10zy4IAPAwI,sl3g1Cxz~xVOHb4w2SpNsA
(always exactly that length).
It is a hash of the file, distinct from MD5; Freenet can't use MD5 or any other
regular hash for various reasons. It can be determined without reference to
the network; it is several times slower than MD5. It would be very helpful for
apt-get-over-freenet. What would be involved in putting it in, is that even
possible? When is the MD5 field calculated (or checked) ? It only needs to be
in on actual distributed Packages files.
--
The road to Tycho is paved with good intentions
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
>From toad Thu Dec 13 10:39:35 2001
Received: from pop3.blueyonder.co.uk [195.188.53.61]
by localhost with POP3 (fetchmail-5.9.3)
for toad@localhost (single-drop); Thu, 13 Dec 2001 10:39:35 +0000 (GMT)
Received: from pcow025o.blueyonder.co.uk ([127.0.0.1]) by blueyonder.co.uk with
Microsoft SMTPSVC(5.5.1877.757.75);
Thu, 13 Dec 2001 10:38:00 +0000
Received: from murphys.services.quay.plus.net (unverified) by pcow025o.blueyonder.co.uk
(Content Technologies SMTPRS 4.2.5) with SMTP id
<[EMAIL PROTECTED]> for <[EMAIL PROTECTED]>;
Thu, 13 Dec 2001 10:38:00 +0000
Received: (qmail 8994 invoked from network); 13 Dec 2001 10:37:58 -0000
Received: from unknown (HELO extortion.plus.net) (192.168.227.100)
by murphy.services.quay.plus.net with SMTP; 13 Dec 2001 10:37:58 -0000
Received: (qmail 8475 invoked by uid 10525); 13 Dec 2001 10:37:53 -0000
Delivered-To: [EMAIL PROTECTED]
Received: (qmail 8455 invoked from network); 13 Dec 2001 10:37:52 -0000
Received: from unknown (HELO warrior.services.quay.plus.net) (212.159.14.227)
by excalibur.plus.net with SMTP; 13 Dec 2001 10:37:52 -0000
Received: (qmail 28288 invoked from network); 13 Dec 2001 10:37:53 -0000
Received: from unknown (HELO mikilab.doshisha.ac.jp) (202.23.156.50)
by warrior.services.quay.plus.net with SMTP; 13 Dec 2001 10:37:53 -0000
Received: from atoron (localhost [127.0.0.1])
by mikilab.doshisha.ac.jp (8.9.3/3.7W) with SMTP id TAA32752;
Thu, 13 Dec 2001 19:37:25 +0900
X-Authentication-Warning: mikilab.doshisha.ac.jp: Host localhost [127.0.0.1] claimed
to be atoron
Date: Thu, 13 Dec 2001 19:38:25 +0900
From: Junichi Uekawa <[EMAIL PROTECTED]>
To: toad <[EMAIL PROTECTED]>
Cc: [EMAIL PROTECTED]
Subject: Re: Packages fields
Message-Id: <[EMAIL PROTECTED]>
In-Reply-To: <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]>
Organization: Netfort project
X-Mailer: Sylpheed version 0.6.5 (GTK+ 1.2.10; i386-debian-linux-gnu)
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Return-Path: [EMAIL PROTECTED]
Status: RO
Content-Length: 417
Lines: 19
On Thu, 13 Dec 2001 00:28:36 +0000
toad <[EMAIL PROTECTED]> wrote:
> Would it be possible to add an additional field per package in the Packages
> file, which looks like this:
> Freenet: CHK@L4mWBrou4o9RLhH71iew10zy4IAPAwI,sl3g1Cxz~xVOHb4w2SpNsA
> (always exactly that length).
I think it should be possible to add
X-Freenet:
regards,
junichi
--
[EMAIL PROTECTED] http://www.netfort.gr.jp/~dancer
>From toad Thu Dec 13 11:39:02 2001
Received: from pop3.blueyonder.co.uk [195.188.53.61]
by localhost with POP3 (fetchmail-5.9.3)
for toad@localhost (single-drop); Thu, 13 Dec 2001 11:39:02 +0000 (GMT)
Received: from pcow029o.blueyonder.co.uk ([127.0.0.1]) by blueyonder.co.uk with
Microsoft SMTPSVC(5.5.1877.757.75);
Thu, 13 Dec 2001 11:37:08 +0000
Received: from murphy.debian.org (unverified) by pcow029o.blueyonder.co.uk
(Content Technologies SMTPRS 4.2.5) with SMTP id
<[EMAIL PROTECTED]> for <[EMAIL PROTECTED]>;
Thu, 13 Dec 2001 11:37:08 +0000
Received: (qmail 27895 invoked by uid 38); 13 Dec 2001 11:36:31 -0000
X-Envelope-Sender: [EMAIL PROTECTED]
Received: (qmail 27750 invoked from network); 13 Dec 2001 11:36:25 -0000
Received: from pizarro.unex.es ([EMAIL PROTECTED])
by murphy.debian.org with SMTP; 13 Dec 2001 11:36:25 -0000
Received: from guadiana.unex.es ([EMAIL PROTECTED] [158.49.8.233])
by pizarro.unex.es (8.9.3/8.9.1) with ESMTP id MAA24112;
Thu, 13 Dec 2001 12:36:10 +0100
Received: from cantor.unex.es (cantor.unex.es [158.49.18.105])
by guadiana.unex.es (8.9.3/8.9.1) with ESMTP id MAA14634;
Thu, 13 Dec 2001 12:36:10 +0100
Date: Thu, 13 Dec 2001 12:22:08 +0100 (CET)
From: Santiago Vila <[EMAIL PROTECTED]>
To: toad <[EMAIL PROTECTED]>
cc: [EMAIL PROTECTED]
Subject: Re: Packages fields
In-Reply-To: <[EMAIL PROTECTED]>
Message-ID: <[EMAIL PROTECTED]>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Resent-Message-ID: <DSZzRC.A.jzG._KJG8@murphy>
Resent-From: [EMAIL PROTECTED]
X-Mailing-List: <[EMAIL PROTECTED]> archive/latest/103247
X-Loop: [EMAIL PROTECTED]
Precedence: list
Resent-Sender: [EMAIL PROTECTED]
Return-Path: [EMAIL PROTECTED]
Status: RO
Content-Length: 449
Lines: 12
toad:
> When is the MD5 field calculated (or checked) ?
It's calculated by dpkg-scanpackages or apt-ftparchive at the master
server archive, ftp-master.debian.org, and it's checked by dpkg and
friends at install time. Don't know what freenet is, but I fail to see
why would you need yet another hash.
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
>From toad Thu Dec 13 13:09:17 2001
Received: from pop3.blueyonder.co.uk [195.188.53.61]
by localhost with POP3 (fetchmail-5.9.3)
for toad@localhost (single-drop); Thu, 13 Dec 2001 13:09:17 +0000 (GMT)
Received: from pcow028o.blueyonder.co.uk ([127.0.0.1]) by blueyonder.co.uk with
Microsoft SMTPSVC(5.5.1877.757.75);
Thu, 13 Dec 2001 13:07:33 +0000
Received: from murphy.debian.org (unverified) by pcow028o.blueyonder.co.uk
(Content Technologies SMTPRS 4.2.5) with SMTP id
<[EMAIL PROTECTED]> for <[EMAIL PROTECTED]>;
Thu, 13 Dec 2001 13:07:19 +0000
Received: (qmail 10583 invoked by uid 38); 13 Dec 2001 13:06:34 -0000
X-Envelope-Sender: [EMAIL PROTECTED]
Received: (qmail 10315 invoked from network); 13 Dec 2001 13:06:30 -0000
Received: from pcow029o.blueyonder.co.uk (HELO blueyonder.co.uk) (195.188.53.123)
by murphy.debian.org with SMTP; 13 Dec 2001 13:06:30 -0000
Received: from pcow029o.blueyonder.co.uk ([127.0.0.1]) by blueyonder.co.uk with
Microsoft SMTPSVC(5.5.1877.757.75);
Thu, 13 Dec 2001 13:06:22 +0000
Received: from amphibian.dyndns.org (unverified) by pcow029o.blueyonder.co.uk
(Content Technologies SMTPRS 4.2.5) with ESMTP id
<[EMAIL PROTECTED]>;
Thu, 13 Dec 2001 13:06:21 +0000
Received: from toad by amphibian.dyndns.org with local (Exim 3.32 #1 (Debian))
id 16EVYI-0002UL-00; Thu, 13 Dec 2001 13:05:30 +0000
Date: Thu, 13 Dec 2001 13:05:30 +0000
To: Santiago Vila <[EMAIL PROTECTED]>
Cc: [EMAIL PROTECTED]
Subject: Re: Packages fields
Message-ID: <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]>
<[EMAIL PROTECTED]>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <[EMAIL PROTECTED]>
User-Agent: Mutt/1.3.23i
From: toad <[EMAIL PROTECTED]>
Old-Return-Path: [EMAIL PROTECTED]
Resent-Message-ID: <KvN4FB.A.7kC.afKG8@murphy>
Resent-From: [EMAIL PROTECTED]
X-Mailing-List: <[EMAIL PROTECTED]> archive/latest/103255
X-Loop: [EMAIL PROTECTED]
Precedence: list
Resent-Sender: [EMAIL PROTECTED]
Return-Path: [EMAIL PROTECTED]
Status: RO
Content-Length: 1712
Lines: 30
On Thu, Dec 13, 2001 at 12:22:08PM +0100, Santiago Vila wrote:
> toad:
> > When is the MD5 field calculated (or checked) ?
>
> It's calculated by dpkg-scanpackages or apt-ftparchive at the master
> server archive, ftp-master.debian.org, and it's checked by dpkg and
> friends at install time. Don't know what freenet is, but I fail to see
> why would you need yet another hash.
See http://freenetproject.org/index.php?page=whatis for an official
explanation.
We use another hash because when you are downloading files from untrusted
nodes, you need to be able to verify that you are downloading the right file,
before you download all 20M of it (worst case scenario for debian packages).
Freenet uses progressive hashes that allow us to verify the file at every 4kB
block (with 20 bytes/block overhead). It is also gratuitously encrypted in
order to protect the owners of datastores from legal liability for whatever
illegal junk others have inserted (the CHK is actually CHK@<progressive hash
of encrypted file>,<decryption key>. The decryption key is derived from the
hash of the unencrypted file. All hashes are SHA-1, encryption is Rijndael
(which is rather fast). Apt-get-over-freenet is or could be useful because it
would save a large amount of bandwidth on various centralised ftp servers,
downloading only the Packages file from ftp.debian.org or a reliable mirror
and then getting the rest from Freenet. It would also speed up downloads over
fast links through downloading several packages at once from different nodes,
many of which also on cable/DSL.
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
>From toad Thu Dec 13 16:51:02 2001
Received: from pop3.blueyonder.co.uk [195.188.53.61]
by localhost with POP3 (fetchmail-5.9.3)
for toad@localhost (single-drop); Thu, 13 Dec 2001 16:51:02 +0000 (GMT)
Received: from pcow025o.blueyonder.co.uk ([127.0.0.1]) by blueyonder.co.uk with
Microsoft SMTPSVC(5.5.1877.757.75);
Thu, 13 Dec 2001 16:50:28 +0000
Received: from murphy.debian.org (unverified) by pcow025o.blueyonder.co.uk
(Content Technologies SMTPRS 4.2.5) with SMTP id
<[EMAIL PROTECTED]> for <[EMAIL PROTECTED]>;
Thu, 13 Dec 2001 16:50:28 +0000
Received: (qmail 6906 invoked by uid 38); 13 Dec 2001 16:48:03 -0000
X-Envelope-Sender: [EMAIL PROTECTED]
Received: (qmail 6781 invoked from network); 13 Dec 2001 16:48:00 -0000
Received: from unknown (HELO blueberry.jellybean.co.uk) ([EMAIL PROTECTED])
by murphy.debian.org with SMTP; 13 Dec 2001 16:48:00 -0000
Received: from jules by blueberry.jellybean.co.uk with local (Exim 3.16 #1 (Debian))
id 16EYzU-0004Jx-00; Thu, 13 Dec 2001 16:45:48 +0000
Date: Thu, 13 Dec 2001 16:45:48 +0000
From: Jules Bean <[EMAIL PROTECTED]>
To: toad <[EMAIL PROTECTED]>
Cc: Santiago Vila <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
Subject: Re: Packages fields
Message-ID: <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]>
<[EMAIL PROTECTED]>
<[EMAIL PROTECTED]>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
In-Reply-To: <[EMAIL PROTECTED]>; from
[EMAIL PROTECTED] on Thu, Dec 13, 2001 at 01:05:30PM +0000
Sender: Jules Bean <[EMAIL PROTECTED]>
Resent-Message-ID: <ocljaB.A.drB.CvNG8@murphy>
Resent-From: [EMAIL PROTECTED]
X-Mailing-List: <[EMAIL PROTECTED]> archive/latest/103265
X-Loop: [EMAIL PROTECTED]
Precedence: list
Resent-Sender: [EMAIL PROTECTED]
Return-Path: [EMAIL PROTECTED]
Status: RO
Content-Length: 965
Lines: 22
On Thu, Dec 13, 2001 at 01:05:30PM +0000, toad wrote:
> would save a large amount of bandwidth on various centralised ftp servers,
> downloading only the Packages file from ftp.debian.org or a reliable mirror
> and then getting the rest from Freenet. It would also speed up downloads over
> fast links through downloading several packages at once from different nodes,
> many of which also on cable/DSL.
This is of doubtful benefit in many countries. For example in the UK
(which you appear to be from if your email address is any guide) there
exist mirrors which can saturate any connection I've ever had. And
those same mirrors are unlikely to complain about the bandwidth hit
anytime soon, as far as I can determine.
I could believe it would be an advantage in less well-connected
countries (NZ?) though.
Jules
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]