🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
313 messages
313 total messages Page 2 of 7 Started by Juergen Helbing Mon, 23 Sep 2002 06:06
Page 2 of 7 • 313 total messages
Re: [FNTP] 'in-completeness'
#60821
Author: Curt Welch
Date: Sat, 28 Sep 2002 19:48
53 lines
3687 bytes
Klaas <spamhole@klaas.ca> wrote:
> After careful consideration, Juergen Helbing muttered:
>
> >>But what about this. If binary articles had a hash of the entire file
> >>in the message-Id
> >
> > This is not possible.
>
> Why not?

A hash is simple.  There's plenty of room in the Message-ID for a one-bit
hash of the entire file for example.  But a hash large enough to reduce
collisions to a point where you could accurately use the hash to identify
segments of the file you were looking for would push the size of the
Messaage-ID to questionable lengths (though not past the point of working).

Message-IDs get moved over the net and stored more times than all other
parts of an article by at least a factor of 10.  Any byte you add to a
Message-ID is just as bad as adding 10 bytes elsewhere in the article.  A
good hash would be at least 128 bits (MD5), and in hex you need 32
characters.  Add to that the other stuff like offset, and file size, and
you end up with a message-id of questionable length:

  <bfcc67b15898b4bc55831cd6acf2f85f$b0031b$a2dc$random@something.bin>

This is still shorter than some already on Usenet.

If we were simply adding this stuff to allow newsreaders to match up parts
more accurately, then entire hash does not need to be in the Message-ID.
We can use a much shorter hash (say the first 8 buytes from above), and put
the full 128 bit (or higher) hash in the article header.  So a newsreader
looking for a file with a has of:

   bfcc67b15898b4bc55831cd6acf2f85f

Could look for messages-IDs which match:

   <bfcc67$*bin>

And then to find out if it was the same file, do a HEAD on the article to
get the full hash.

However, if news servers start to deal with these as file segements and
special case how file segmets are dealt with (vs normal articles), then
there might be some logic in putting a large hash in the Message-IDs and to
expect the servers to be able to use that to store the file. Maybe.  Or
Maybe it's still fine evey for the NNTP server if the Hash is in the header
elsewhere and not in the Message-ID.

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/
Re: [FNTP] 'in-completeness'
#60765
Author: Kjetil Torgrim Homme
Date: Sat, 28 Sep 2002 23:35
78 lines
4310 bytes
[Curt Welch]:
>
>   Kjetil Torgrim Homme <kjetilho@ifi.uio.no> wrote:
>   
>   > my proposal:
>   >
>   >     <offset'part-size'total-size'id-left@id-right.nntpbin>
>   
>   Yes, that's heading towards the right direction.  We discussed
>   that at some point in the last year and I had created what I
>   thought was a workable Message-ID format.

hmm, I thought I had followed that debate, but I can't recall your
format.  this was part of a suggestion of "misusing" References,
wasn't it?

>   The other thing that would be helpful to put in is small hash of
>   the file contents.  Not long enough to identify the file (that
>   would make the Message-Id just too long) but one which was long
>   enough to greatly narrow down the number of articles to search
>   when trying to match up parts, or when trying to spot a re-post a
>   file which you had missing segments for.

hmm, a 16-bit CRC like in sum(1)?.  of course, like sum(1), the
total-size can be used for narrowing down the list of candidates as
well.

>   > if the partsize is (relatively) constant, it's easy to work out
>   > how many parts there are in total, and which part number this
>   > is.  you only have a problem if the tail part is smaller than
>   > the others, and there is no reason it should.
>   
>   Well, it's an estimate at best because there are different ways to
>   split up a file.  For example, a 31 byte file could be broken into
>   size of 5 and 4 bytes each like this:
>   
>     5 5 5 4 4 4 4
>   
>   or 5 and 1 byte files like this:
>   
>     5 5 5 5 5 5 1

surely you're not suggesting a part size of 5 bytes? :-)

in reality, you will have a Ogg file, like "01_Angels Turn to
Devils.ogg" which 5967032 octets.  to keep it under the common 512k
transit limit, we choose a maximum part size of 500 000 (unencoded),
leading to 12 parts, each consisting of 497253 octets, but the last
part will be just 497249.  the msgids will be

  <0'79665'5b0cb8'id-left@id-right.nntpbin>
  <79665'79665'5b0cb8'id-left@id-right.nntpbin>
  <f2cca'79665'5b0cb8'id-left@id-right.nntpbin>
  ...
  <537657'79661'5b0cb8'id-left@id-right.nntpbin>

the last part N will never be more than N octets smaller than the
first 1..N-1 parts.  it is therefore trivial to calculate the part
number.

>   The first way is better, but when looking at a single segment,
>   it's complex to know for sure how it's divided up because there
>   are other options than these.

this algorithm should be part of the spec.

>   More imporant is the stimple fact you don't give a shit about the
>   part count or the part number if you have offset and size
>   information.

right.  it's easier to calculate the percentage downloaded directly
from the octet counts than to go via part numbers.

-- 
Kjetil T.   ==. ,,==. ,,==. ,,==. ,,==. ,,==
           ::://:::://:::://:::://:::://::::
           =='' `=='' `=='' `=='' `=='' `==  http://folding.stanford.edu
Re: [FNTP] 'in-completeness'
#60766
Author: Klaas
Date: Sun, 29 Sep 2002 03:20
22 lines
2089 bytes
After careful consideration, Bill Cole muttered:

> In article <20020928154857.814$ti@newsreader.com>,
>  curt@kcwc.com (Curt Welch) wrote:
> 
>> A
>> good hash would be at least 128 bits (MD5), and in hex you need 32
>> characters. 
> 
> But why use hex??? I think 6 bits per character is a better idea than
> 4, and quite workable. That's 22 characters.
> 

Not only that, but is a 128 bit hash really necessary in the MsgID?  A
64-bit hash would work very well (especially when coupled with file
size).  That's only 11 characters. 

I realize that msg-id bits are precious, but I don't see that precluding
the inclusion of a hash in the msg-id (not as the only reason, anyway). 

-Mike
Re: [FNTP] 'in-completeness'
#60768
Author: Kjetil Torgrim Homme
Date: Sun, 29 Sep 2002 11:10
59 lines
3767 bytes
[Klaas]:
> [Bill Cole]:
> > [Curt Welch]:
> > > A good hash would be at least 128 bits (MD5), and in hex you
> > > need 32 characters.
> > 
> > But why use hex??? I think 6 bits per character is a better idea than
> > 4, and quite workable. That's 22 characters.
> 
> Not only that, but is a 128 bit hash really necessary in the
> MsgID?  A 64-bit hash would work very well (especially when
> coupled with file size).  That's only 11 characters.

one collision for every 4 billion files (birthday paradox) seems
reasonable for this use, yeah.  and let's go for BASE64 (which for
reference uses A..Z a..z 0..9 + /).

<offset'part-size'total-size'hash'id-left@id-right.nntpbin>

total-size ranges from 0 to 1 GiB.  today's typical size is quite a
  bit smaller since people rely on chopping into multiple RAR-files.
  (30 bits => 5 six-bit characters)
offset is on average the same size as total-size, minus one bit (half
  the parts will have an offset larger than total-size/2).
  (29 bits => 5 six-bit characters)
part-size ranges from 0 to 1 MiB.
  (20 bits => 4 six-bit characters)
hash is 32 bits.
  (32 bits => 6 six-bit characters)
fixed characters:  ' ' ' ' .nntpbin
  (12 characters)

in total, 32 characters added to the original Message-ID.

we can reduce the hash to 30 bits, saving one octet, or increase it to
36 bit with no extra cost.

id-left can be reduced in size, though.  4 random characters,
conforming to dot-atom-text, should suffice -- that gives you 40
million possible values.  some posters will want to add their own tag
to make it possible to score all articles easily, though, and that
should be allowed.

perhaps .nntp is a better RHS constant than .nntpbin.  I feel .bin is
too likely to be used as a TLD in DNS proper.

>   I realize that msg-id bits are precious, but I don't see that
>   precluding the inclusion of a hash in the msg-id (not as the only
>   reason, anyway).

the above shows that the hash is 7 octets out of 32 octets of
"overhead", which seems reasonable to me, but we have to keep in mind
the story about the straw that breaks your camel's back.

-- 
Kjetil T.   ==. ,,==. ,,==. ,,==. ,,==. ,,==
           ::://:::://:::://:::://:::://::::
           =='' `=='' `=='' `=='' `=='' `==  http://folding.stanford.edu
Re: [FNTP] 'in-completeness'
#60769
Author: Dr.Ruud
Date: Sun, 29 Sep 2002 11:35
20 lines
2062 bytes
Bill Cole skribis:
> Curt Welch:

>> A good hash would be at least 128 bits (MD5), and in hex you
>> need 32 characters.

> But why use hex??? I think 6 bits per character is a better idea than
> 4, and quite workable. That's 22 characters.

If you allow uppercase, lowercase and numbers, then you have 62
differing characters. Throw in two more, like [$_], and you
have 64. To express 2^128-1 with BASE64 takes also 22 chars.
With 5 characters more [.-+()] you would need 21, etc.
Just use all (widely) supported characters in a Message-ID.

-- 
Affijn, Ruud


Re: [FNTP] 'in-completeness'
#60771
Author: Curt Welch
Date: Sun, 29 Sep 2002 15:09
19 lines
2088 bytes
Bill Cole <bill@scconsult.com> wrote:
> In article <20020928154857.814$ti@newsreader.com>,
>  curt@kcwc.com (Curt Welch) wrote:
>
> > A
> > good hash would be at least 128 bits (MD5), and in hex you need 32
> > characters.
>
> But why use hex??? I think 6 bits per character is a better idea than 4,
> and quite workable. That's 22 characters.

It was just an example to try and make my point look better.  But I see
it didn't fool you. :)  Of course, even at 6 per character you end up
with a very long Message-ID.

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/
Re: [FNTP] 'in-completeness'
#60770
Author: Curt Welch
Date: Sun, 29 Sep 2002 15:27
105 lines
5774 bytes
Kjetil Torgrim Homme <kjetilho@haey.ifi.uio.no> wrote:
> [Curt Welch]:
> >
> >   Kjetil Torgrim Homme <kjetilho@ifi.uio.no> wrote:
> >
> >   > my proposal:
> >   >
> >   >     <offset'part-size'total-size'id-left@id-right.nntpbin>
> >
> >   Yes, that's heading towards the right direction.  We discussed
> >   that at some point in the last year and I had created what I
> >   thought was a workable Message-ID format.
>
> hmm, I thought I had followed that debate, but I can't recall your
> format.  this was part of a suggestion of "misusing" References,
> wasn't it?

I forget, but we started to talk about it at about the same time
were were talking about putting fake IDs in Referecnes: as a way
to add more data into the headers that would show up in XOVER.

The actual format I came up with is not important.  It's the same
concept as yours with the addition of the small hash.  I think.
I'd have to to go find the article on google to be sure I'm not
forgetting something.

>
> >   The other thing that would be helpful to put in is small hash of
> >   the file contents.  Not long enough to identify the file (that
> >   would make the Message-Id just too long) but one which was long
> >   enough to greatly narrow down the number of articles to search
> >   when trying to match up parts, or when trying to spot a re-post a
> >   file which you had missing segments for.
>
> hmm, a 16-bit CRC like in sum(1)?.  of course, like sum(1), the
> total-size can be used for narrowing down the list of candidates as
> well.

If you have a large checksum in the header elsewhere (SHA-1, MD5 etc), then
the small checksum should just be N bits from the large checksum instead of
a completely different algorithm.

> >   > if the partsize is (relatively) constant, it's easy to work out
> >   > how many parts there are in total, and which part number this
> >   > is.  you only have a problem if the tail part is smaller than
> >   > the others, and there is no reason it should.
> >
> >   Well, it's an estimate at best because there are different ways to
> >   split up a file.  For example, a 31 byte file could be broken into
> >   size of 5 and 4 bytes each like this:
> >
> >     5 5 5 4 4 4 4
> >
> >   or 5 and 1 byte files like this:
> >
> >     5 5 5 5 5 5 1
>
> surely you're not suggesting a part size of 5 bytes? :-)

:)

> the last part N will never be more than N octets smaller than the
> first 1..N-1 parts.  it is therefore trivial to calculate the part
> number.

Yes, you are right.  But, with this new information in the Message-ID,
it's both possible and useful to be able to repost partial segements
of a file.  For example, you post a 1MB file in 10 parts of 100K each, and
then decide to repost only part 8.  But when you repost it, you post the
segment not as one part, but as 2 parts of 50K each (to help make sure the
guy that lost the first part gets this one).  If you tried to recalculate
the "part numbers" of those two parts, the routh estimate would show
you that they were parts 15 and 16 of a 20 part post but the exact byte
numbers would not match up correctly as if you had done the orginal
post as 20 parts (though it might be very close).

If you were to repost the file segment which covered parts 2 and 3,
but this time repost the segment in 3 parts instead of 2, then the
reverse calculation of the "part number" wouldn't work at all.

It's best to migrate to a system where the sofware keeps tracks of
parts by using byte ranges and then it gets so complex that the
user can't deal with it (just like the user doesn't have to deal
with byte ranages in a TCP stream today).

> >   The first way is better, but when looking at a single segment,
> >   it's complex to know for sure how it's divided up because there
> >   are other options than these.
>
> this algorithm should be part of the spec.

That wouldn't hurt.

>
> >   More imporant is the stimple fact you don't give a shit about the
> >   part count or the part number if you have offset and size
> >   information.
>
> right.  it's easier to calculate the percentage downloaded directly
> from the octet counts than to go via part numbers.

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/
Re: [FNTP] 'in-completeness'
#60774
Author: Howard Swinehart
Date: Sun, 29 Sep 2002 21:08
25 lines
2528 bytes
If reducing server bandwidth can increase reliablity, using external
bodies could help.

MIME articles may point to a URL (RFC2017) rather than contain the
data in the body.  Upload the file to a web server.  Then post an
article using the message/external-body content-type (RFC2046, section
5.2.3) with an access-type of URL, which points to the file location.
This could be done either in additon to or instead of posting the file
to Usenet.

Disadvantages: Requires changes to many binary downloaders and
posters.  Requires the poster to have access to a web site.  A popular
or very large file would hit web site bandwidth limits quickly.

Advantages: No changes to the server.  HTTP downloads can stop/resume.
100% MIME compatible.  Efficent because the file remains in raw binary
format.

--
How to fill your hard drive with movies, music and pictures while you
sleep.
http://www.binaryboy.com/


Re: [FNTP] 'in-completeness'
#60776
Author: Curt Welch
Date: Sun, 29 Sep 2002 23:18
56 lines
4293 bytes
"Howard Swinehart" <howard@supernet.com> wrote:
> If reducing server bandwidth can increase reliablity, using external
> bodies could help.

We have talked a lot about the ideas of not shipping the binary file along
with the article.  There are many variations on that theme that sound
interesting, but the problems seem to outweight the advantages.

First off, anyone that wants to do that can do it already.  They just put
the file on a web site and post the URL.  Yet, it's seldom done.  People
use usenet when for some reason putting it on a web is not already the
better option.  If putting it on a web site works, then they seldom care
about Usenet anyway.  I think these ideas are all functionally equivilent
to the idea of "don't use usenet to distribute binaries".

If you put it on a web site, then whoever pays for the web site ends up
paying for the download bandwidth.  If you put it on Usenet, then the file
is downloaded from the news server, and the people that pay for that news
server end up paying those download costs.  Usenet in many ways is just one
huge distrubuted web site.

The other reson of course is the issue of taking responsibilty for content.
A lot of stuff gets posted to Usenet because the person posting the file
does not want to take responsibility for the content.  That's not a good
thing to me, but it's a fact of life about why people use Usenet.

There have been ideas where the posting site stores the binary on a server
(web or nntp or other type of special server) and allows remote users to
access it from them.  That way, the user doesn't have to have access to
their own web site.  But that is silly because 1) it removes the
distrubuted cache function that makes Usenet work in the first place, and
makes the posting site pay for all the bandwidth.  A single popular file
(even a legal one) could end up costing the posting site thousands of
dollars.  No NSP is going to risk that. And if they pass the risk to the
user by making them pay for the bandwidth, no user would use that site to
post.  It also makes the site more responsiblie for content hosted on their
site.  Most NSPs are looking for ways to remove themself from the content,
not take more responsibilty for it.

Then there's the fetch through the path on demand ideas.  Those should work
technically, if all the ISPs made sure their servers worked, but this gets
back to the problem that when you try to fetch a file, it's not just the
function of how good your local server is, but also a fuction of how well
multiple servers in the path are working at that moement.  The odds of
being able to fetch a file though a network like that is even worse than
what it is today.  At least today you know what you can and cannot get.  In
the system where you distribute headers and fetch the binary though the
path, every server will end up looking "complete", but some percentage of
the files will never be fetchable.  It doesn't seem like a system that
would be workable or if workable, would be any better than what we already
have today.

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/
Re: [FNTP] 'in-completeness'
#60783
Author: Juergen Helbing
Date: Mon, 30 Sep 2002 04:33
37 lines
2135 bytes
Jeremy <jeremy@exit109.com> wrote:

>> If we succeed to solve the "completeness" problems, then we could
>> continue to leave the size of binaries where they are.
>> But if we are NOT able to fix this problem, then we should try
>> to avoid multiparts whenever it is possible.
>
>Interesting -- that sounds backwards to me.  

Not really. It is more a "two way strategy".
And there is no good reason to do just one thing
and forget about the other one if both can reduce the problem.

>Thus, why not post parts of 4 megs or even larger?

You are an admin. You should tell me.

>> Meanwhile also a lot of pictures are posted as "high quality" JPEGs.
>> They are ALL splitted as multiparts (600kB...2000 kB).
>
>That's just a bad idea, if you ask me.

Unfortunately this not an "idea", it is the actual reality.
Users are helping themselves - because admins are
refusing to transport larger messages properly.

If you are interested in "really bad ideas":
There are people asking for video posts with 100 kByte segements.
Because their admins dont accept larger messages in _binary_
newsgroups.......
And - worse - there is always someone fulfilling such requests.

-- 
Juergen


Re: [FNTP] 'in-completeness'
#60784
Author: Juergen Helbing
Date: Mon, 30 Sep 2002 04:34
13 lines
1293 bytes
Klaas <spamhole@klaas.ca> wrote:

>A summary won't do you much good--if you really want to develop a robust 
>format you'll have to read past discussions in their entirety.

Without any kind of pointer it will be a lot of work
digging through the ten thousand messages there since Jan.2002.  :-(

-- 
Juergen


Re: [FNTP] 'in-completeness'
#60786
Author: Juergen Helbing
Date: Mon, 30 Sep 2002 04:53
92 lines
4233 bytes
Kjetil Torgrim Homme <kjetilho@ifi.uio.no> wrote:

>the transit server might not care (if you extend NNTP), but the reader
>server can leave out incomplete posts (I guess you'll object to that,
>since you are using multiple servers to make them complete), and the
>news administrator can get completeness statistics much more easily.

The next consequence of "leaving out incomplete posts" could only
be that users stop to label their posts as multiparts.

>>   But you did not answer my question what must be _done_ to permit
>>   10 MB articles as an "easy fix".
>
>NNTP needs a mechanism for sending partial articles, 

We are having this today - splitting messages. 
It does not work.

>and for aborting transfer.  

You mean "aborting incomplete transfers" ?

>or you can just use small articles (<1 MiB), the way you do
>today.  what is the downside to using 1 MiB articles?

It results in incompleteness.

>>   > But what about this. If binary articles had a hash of the entire
>>   > file in the message-Id
>>   This is not possible.
>why not?
>>   Identifying binaries as identical before they are downloaded is a
>>   bad idea.
>why?

Most binaries are unwanted - by someone.
There is _always_ at least one party which believes that 
a post "does not belong here" - "is spam" - "is illegal"
- "is whatever.... but bad...."
Giving people the opportunity to have a "quick scan" of Usenet
would make the situation worse than ever.

When I wanted to include the CRC32 of yEncoded messages
into the subject line I was warned by a lot of people.

It is necessary to identify mutliparts to belong together,
not to identify their content. This is a completely different task.

>yes, something like that'd be nice.  the pseudo top domain is good,
>perhaps we could have IANA reserve it officially.  

Yes but this is not too important.

>I'd use a currently
>unusual character in the Message-ID, and specify the part size, the
>offset and the total size (all in octets).
>[...]

>my proposal:
>    <offset'part-size'total-size'id-left@id-right.nntpbin>

You are "over-specifying" - and using "special characters"
will be subject to objections.

A soon as we are using ".bin"  - or in your example: ".nntpbin"
we can rely on proper formating and could also use the 'dot'
as seperator.

>offset, part-size and total-size should be represented in hexadecimal
>(without any prefix like "0x") to make it easy to code and understand,
>while keeping it slightly more efficient spacewise than decimal.  the
>sizes and offsets should refer to the _unencoded_ data.  id-left and
>id-right are as defined in RFC 2822.  nntpbin is a text constant.

I dont see the need for offset and partsize.
This belongs to the message / MIME-headers.

>if the partsize is (relatively) constant, it's easy to work out how
>many parts there are in total, and which part number this is.  you
>only have a problem if the tail part is smaller than the others, and
>there is no reason it should.

You cannot "find out" anything. It is necessary to have the total 
number of parts - and the number of this part specified directly. 
"Finding out" results is disaster (I've learned this from yEnc).

-- 
Juergen



Re: [FNTP] 'in-completeness'
#60787
Author: Juergen Helbing
Date: Mon, 30 Sep 2002 05:16
94 lines
4827 bytes
curt@kcwc.com (Curt Welch) wrote:

>The other thing that would be helpful to put in is small hash of the
>file contents.  

I dont see the need for a hash.
It makes things very complicated.

>Not long enough to identify the file (that would make
>the Message-Id just too long) but one
>which was long enough to greatly narrow down the number of articles
>to search when trying to match up parts, or when trying to spot
>a re-post a file which you had missing segments for.

My example was perhaps misunderstandable.
Here an example for a three part message:

<p1o3s4.abcdefghijklmno@server.com.bin>
<p2o3s4.abcdefghijklmno@server.com.bin>
<p3o3s4.abcdefghijklmno@server.com.bin>

The msgid is _identical_ for all parts - execpt of
the part-counter. This way we dont need any hash.
We dont need any kind of identification
(which is generally unwanted).

As soon as a reader or server has seen one:
   <p7o47s20.xxxxxx@server.bin> then it knows
that there must be also <p1  <p2  ... <p47

>A large hash would be included in the headers so for any article which
>looked like it might be the segment which was needed, the newsreader
>could download the full header and see if the file hash matched.  The
>small hash in the Message-ID would greatly reduce the number of
>full HEADs that had to be done to identify articles.

In my example it would be possible to discard _all_ the headers
for the part 2-n. This would also reduce the amount of multipart
headers down to _one_ (the first one).

Newsreaders could find all the parts of a message by 
seeking by msgid. And so could news-servers if they are
missing single parts: They could use additional "bypasses"
to find missing parts.

>More imporant is the stimple fact you don't give a shit about the part
>count or the part number if you have offset and size information.  For
>backward compatibility, part counts can be used in the subject for
>newsreaders matching up articles by the subject, but for newsreaders that
>knew how to use the information in the Message-ID, they would ignore the
>subject.

I dont agreee that 'positioning' information belongs to the message id.

>If people match articles by hand, part counts are very useful, trying to
>comprend offset and size data would be a real bitch.  But the point is that
>you want the computer to do this for you, and for the computer, offset and
>size is what makes it easy.

If I am understanding right what Kjell and you are discussing here
then you want to combine multiple solutions into the message id.
From the "simple and easy" aproach to identify multiparts as being
an entity you now also want to solve "the rest of the problems"....

This would result in an "over complexified" message-id - which cannot
be its purpose. The message id would be great to help transits, hosts
and readers to know that 150 parts belong together. But all the
"rest" should be done with other headers. 


It seems that we are starting the same thing as before:
Every little change and improvement is instantly used to 
become the "total solution" of all problems. This results in
very complex definitions.

Actually we are discussing _completeness_ here.
And we are finding a way to identify multiparts properly.
Mixing this topic with a lot of more "nice features" might be
possible but it would slow down the process - and leads into the
wrong direction.

The goal is to improve multipart distribution - and/or to filter out
(these) binaries perfectly. Attempts to make "fills" and "reposts" 
easier cannot work because it would take years to change user
behavior and newsreader functionality.


I believe that we should concentrate on (and solve) incompleteness.
Then all the other "nice trys" are even obsolete.

-- 
Juergen

Re: [FNTP] 'in-completeness'
#60788
Author: Juergen Helbing
Date: Mon, 30 Sep 2002 05:27
50 lines
2822 bytes
Klaas <spamhole@klaas.ca> wrote:

>You should have a key on the LHS that indicates it is a binary in 
>addition to the pseudo-domain.  

The ".bin" extension indicates that this _is_ a binary.
No text messages must use this.
And if it uses the BIN extension then it will be dropped
automatically - because it is malformatted.

>Also, you can fit a lot more in there if 
>you use a better encoding scheme, like base64.  Stuff like the actual 
>size of the file in bytes.  

The size of the file is included in the message headers or bodies.

>Just having MiB is useless for error checking.  

Error checking is done with the full message.
There all necessary information is available. 

The MBytes information is for _filtering_ purposes.
This is my 'candy' for the transit-admins: Those who 
dont want large binaries can filter them out based in Megs now.
Any transit which has specific options can easily filter
on that information.

>Also, why bother with parts when you can encode the byte 
>offset?  This will enable programs to combine parts from different 
>posters into one file.

That feature is already available. It is included into yEnc.
And I dont want to expand the msg-id more than necessary.

We _need_ the information about the total size - and about
the parts (for completeness). Nothing else.
>> Any "thinning out" other than based on newsgroup/hierarchy is sick.
>
>What about misplaced binaries on text servers (on any server, actually)?  
>How about if the algorithm drops entire files instead of parts?

Of course all text servers would reject all  <xxxx.bin> messages.
In fact BIN messages would be permitted only on the alt.bin hierarchy.
(And perhaps the alt.mag. hierarchy  :-)
This  _is_  fitering by group/hierarchy.

-- 
Juergen

Re: [FNTP] 'in-completeness'
#60789
Author: Juergen Helbing
Date: Mon, 30 Sep 2002 06:07
193 lines
9409 bytes
curt@kcwc.com (Curt Welch) wrote:

>> But I can offer you this:
>> <p17o580s587.unique@server.bin>
>> Part 17 of 580 size is 587 MB.
>
>I really think it would be wrong to use part numbers like that.

This would finally replace the odd and unreliable method to use
part-numbers in the subject (which has been criticized since its
beginning). It solves _your_ problem by easy identification 
of multiparts which belong together. And it offers the urgently
required information about the full size for transit filtering.

>You need to describe file segments by byte range, not by part numbers.

Your transit will have a lot of fun calculating all this shit.
And the size of the message id is inflated without _any_ good reason.

>It's fine to continue to use part numbers in the subject to make multipart
>posts compatible with current usage (and easy to understand), 

No - it is not fine.

>but
>when you encode information in the headers for the software to use,
>byte ranges give you so much more power to do advanced things like
>reposting a single segement in multiple smaller parts, or to take
>two different posts of the same file (done with different line counts),
>and let the software correctly merge all the pieces back together.

I dont need this - because yEnc offers all this already.
Jeremy's proposals would place all this into the MIME headers.

If you want a few hundred bytes which describe a file than 
you can easily place them into any header - or into a (0/n) message.


>> Any "thinning out" other than based on newsgroup/hierarchy is sick.
>
>That's true.  From a user perspective that's easy to say.  Try running
>your own server which supports thousands of users and then try to pick
>which groups or hierarchys to delete.  And try maintain a set of peers,
>who provide you feeds only out of the goodness of their heart, where every
>few weeks you have to tell them to change the list because volume has once
>again grown too large.  News servers that can't get everything, but want to
>get as much as they can, need a dynamic system to keep their pipes filled
>to whatever level they can afford.  Thining by hierarch is totaly
>unworkable for that.  You might block some larger hierarchys to get your
>feed down to the range of what you want, but then you need a dynamic system
>to get as much as you can within your bandwidth/cost limits.

You want to solve the fundamental problems of IHAVE (the lack of
management tools and automatization of feed-selection) this way?

How do you do this with "hashes and byte-ranges" ?
I dont see any advantages for your problems. 

We should not mix up things again.

>> >My servers have hard-coded 4MB article size limits.
>> Alzheimer !
>So does INN and cyclone and typhoon, and most servers (i.e., they have
>hard coded article size limits).

There seem to be thousands of hosts running with lower limits.
The distribution of articles with 15000 UU-lines is very poor
- and the "1-4 meg" articles can be found only on a few commercial
NSP hosts.


>My server caches articles in memory.  On 10MB article sitting in the memory
>cache takes up space that could have been used to hold over 2000 text
>articles. If instead it comes in as 100 100K posts, then they can be
>expired from the cache as they are processed.  Most servers are written to
>assume an entire article can not only fit in memory at once, but that you
>can hold a lot of these articles in memory at the same time.

I understand this very well. But please answer me this question:

As soon as one 10 Meg article came in and is completely in your
memory then _all_ your outgoing feeds will now try to send this 
article out. If they all succeed then the 10 Meg article is also 
instantly removed from the cache. It is not necessary to have
1000 of these 10 Meg articles in memory. The size of your cache
depends on the time lag between the incoming stream and the
"accepted" message from your outgoing feedee.
And I am pretty sure that one 10 meg article would be even
_faster_ transferred than 100x100k articles because the feedee
has less work with it.

The only reason for "larger caches" would be that a feedee fails.
But in this case you are filling up the cache with exactly the
same speed with 100x100 articles than with 10.000 articles.

And again:  You are having a 'lantency' time for 100 articles
which is in summary far longer than for one 10 Meg article.

Those people who are working on "transport theory" are 
always preferring "bulks as large as possible" over "small".
They can even prove that the medium transfer capability
is better.

And - btw - the difference between your actual "4 Meg" limit
and my desired "10 Meg" limit is just  2.5


>Processing "unlimited" size messages would be impossible with 
>my design and I think that's probably true of all systems.  

I DONT want to transfer 500 Meg articles.
I want to reduce the amount of splitted messages for
_pictures_ and _mp3_ !

>Increasing the size of posts will not "fix" anything.  

You dont believe in my statement:
"If multiparts are a problem then avoid multiparts ?"

LOL !

>If we instead
>creating a cleaner system for chopping large files into lots of little
>parts, things could be made to work much better in the long run.

Yes - I agree. Having perfect distribution for multiparts
would also solve the problem for the 500k-10.000k files.

But I am afraid that we are _far_ away from a solution.
Perhaps we could increase the actual limit of 500 k posts
to 3999 k. Then at least the splitting of pictures would end. 

I am just afraid that 'Cidera' is technically not able to
transfer these messages - am I right ?

>For example, imagine if we got to the point where news server understood
>that they were moving large files, and not just text articles.  When you
>download headers, the server could list the file parts separately from the
>"real" text articles.  It could combine parts together and simply list byte
>ranges available for download for each file, and if all the parts were
>available, it would show just a single header-like entry for the file.  So
>instead of downloading 100,000 article headers and having the news client
>guess at what was what, the news server would give the newsreader one list
>of all the file segments, and a different (old style XOVER-like list of the
>non-binary posts to the group).
>
>Or, maybe if the data was encoded in the corret format, the news server
>could actually combine multipart posts together on the fly, and make them
>look as if they were single huge articles.

Nobody prevents news-servers from doing this already today.
On the MyNews network you can already see subjects as:
     -  filename.avi (all/590)    :-)

And - by the way - I dont see any progress if a news-server tells
me that the range  50.000.000 -> 51.000.000 is NOT available.

>There is just so many things that could work so much better if the news
>servers knew they were transporting files and were able to deal with files
>at that level instead of what we do know of hiding binary files inside of
>text articles and forcing the news client to do all the work of finding all
>the file parts and putting them back together again.

Yes - I agree. 
But the big question is how to make this happen _now_ and _easily_.
I dont see any chance that reader-servers are changed to treat
"files" differently within the next five years. 
But "my way" to label multiparts simply in the message id
offers everything you need.
I am already downloading only message-ids from 30 news-servers.
The full XOVER line is only downloaded for those headers which 
I dont already have.
As soon as I KNOW that <p4o567s56......> is just part 4 of the
message <p1o567s56....>  then I will save the lot of header
download. And all this can be done without the slightest
modification to news-servers. Changing three autoposters
and a few newsreader/binary grabbers would already have 
enormous effect.


>And though all the details have not been worked out, it seems to me that we
>can transition from the current system to this new "binary file support"
>system in ways that keeps things backward compatible to make the transition
>easier.

Yes - all our ideas have the benfit that they are "backward compatible".

CU
-- 
Juergen


Re: [FNTP] 'in-completeness'
#60790
Author: Juergen Helbing
Date: Mon, 30 Sep 2002 06:17
38 lines
2368 bytes
Bas Ruiter <<lordsnow@home.nl>> wrote:

>From a users point-of-view, being able to positively identify a file
>BEFORE downloading any part of it is HIGHLY desireable!

A binary hash or CRC code does not help a bit.
It would only prevent you from downloading an identical
file twice. 
Today pictures are "manipulated" to make user to download
them again. There are faked filenames - and it would be 
even very easy to "fool" an MD5 by changing just one bit.

One of my servers is 'identifying' binaries already perfectly
- and creates such "checksums" - but this does not help.

You can believe me: I am working with "binary identification"
for three years now - and my actual "file database" for just one
group is larger than 150 Megs (filename+size+crc). There are
"false duplicates" all the time - and there are "false new triggers"
all the time.

All this stuff is just a part of the problem - and a whole bunch of
problems follows.

You know perhaps that "Morpheus", "Kazza" and "eDonkey"
already permit "ahead identification" - by title, artist, album,
even by CRC. This does not help any way. In contrary. 
People started to "fool" these systems long ago.

One of the _biggest_ advantages of Usenet is that people are
sending _comments_ to binaries. Only INFO files and User
comments are helpful. There is no "automated" solution.

CU
-- 
Juergen

Re: [FNTP] 'in-completeness'
#60791
Author: Juergen Helbing
Date: Mon, 30 Sep 2002 06:22
33 lines
1951 bytes
"Brian Truitt" <btruitt@rcn.com> wrote:

>> It would be nice to know how ISPs can find out how much traffic
>> is caused by NNTP. Of course the costs of maintaing a "good"
>> newsserver must stay comparable to bandwidth and outsourcing
>> costs.
>> However I have no idea about details.....
>
>We track NNTP traffic via MRTG, Cricket, or other various packages that pull
>info from the switch via SNMP. All our news equipment is on a dedicated
>switch, so it's separate from any other traffic we'd generate as an ISP.
>[...]

Thanks for this helpful information.
It seems that you are able to find out the NNTP-traffic on your
own server - and the amount of data your users are fetching
from it.

But the _real_ good question would be:

How much NNTP traffic does your users create to _external_
news-servers ?   Do you also have any chance to count this volume ?

An ISP who is offering a "text-only" news-server might have no idea
how many terabytes are fetched by his users from 
Super-Giga-Hosting-Reader news....

TIA
-- 
Juergen


Re: [FNTP] 'in-completeness'
#60792
Author: Juergen Helbing
Date: Mon, 30 Sep 2002 06:26
16 lines
1323 bytes
"ZoSo" <zoso@voyager.net> wrote:

>So, did you stop to think maybe Binary Usenet *should* be replaced by =
>P2P networks?

In the past most people agreed to the statement that the end of 
the binary newsgroups would be also the end of the text newsgroups.

You could try to forbid binary attachments to eMail.
The eMail volume would be really reduced.
Then let's see how long eMail would survive  :-))

-- 
Juergen

Re: [FNTP] 'in-completeness'
#60793
Author: Juergen Helbing
Date: Mon, 30 Sep 2002 07:10
134 lines
6573 bytes
curt@kcwc.com (Curt Welch) wrote:

>I could easilly be wrong about the other applications however because I
>don't know much about what is going on with those.

All people which are my "friend-family-company" are _heavy_ downloaders
on these "geek" apps. Not a single one of more than 100 people
is using Usenet.

>You can bet that a lot more data is moved by HTTP than all of these other
>applications combined however.  But that's not the point.

Those 80 million people using Kazaa are downloading far more by
P2P than by HTTP.

>> It is a question of _your_ survival as an NSP to offer solutions.
>
>To be honest, I'd rather save Usenet than save my own business.  And if
>saving Usenet means getting rid of the binary files, and going back to a
>model where the ISPs all run their own small Usenet text servers, that's
>fine by me.  But to be honest, I don't see that happening.

The ISPs are offering already today only TEXT servers.
The "Binary Party" is already done mainly by pay servers.


>Posting large articles won't work because we can't move then effeciently,
>but breaking them up into 10,000 parts and forcing newsreaders to download
>millions of headers and try to match them all up is getting completely out
>of hand.

We are working on this issue.
For me we are very close to a solution.

>To keep it working, we need to build the transport of "files" into Usenet.
>[...]
>Each file being transported needs to be given a unique [...]
>For example, when you post a file to Usenet, you should upload one [...]
>The server could then chop the 10GB file article into small pieces and [...]
>In the headers, the post would show up as a single entry, [...]

I remember very well the time when I wanted to introduce "full binary
transport of files" by Usenet. As you know I have completely given up.
It was possible to introduce yEnc instead - because it does not affect
the server/transit operation at all. The resistance of the users is already
hard to crack - but the resistance of the Usenet admins (plus their limited
ressources) is an obstacle we cannot surpass.

I _agree_ that it would be really nice to have "News+FTP" combined.
But from the experience I am now having with changes on Usenet
I am afraid that it would _never_ happen.

Am I too realistic ?
Are there any reasons why you believe that a complete redesign
of Binary Usenet could ever work ?

>> If we cannot solve the problems - with users paying for access -
>> then you'll face the same problem as the media industry:
>> Why paying for "bad service" when free service is even better...
>
>It could be that Usenet just isn't the answer, in which case we would be
>doing everyone a dis-service by encourging them to stick with the wrong
>technology long after better solutions had been created.

But we all agree that Usenet is the most efficient way to broadcast
huge amounts of data around the world, don't we ?

Why should be leave this track if it is possible to solve the few problems ?

>For example, before the web, we used Usenet a lot to try and distribute
>static data (in the forms of FAQs mostly).  [...]
>But then the web was invented.  And it works so so much better for that
>type of thing than usenet ever did that it would be stupid to try to
>force people to keep using Usenet for that when you have the web.

Meanwhile Usenet come to a point where web-links are counted
as spam-traps.......

>If a better way to distribute files (which maintains the other advantages
>of Usenet) comes along, it would be stupid to play games to try and make
>people stay with a "broken" technology just because we wanted them to.

The "better" way to distribute files by P2P (which is today better in
terms of redundancy) causes traffic aroud the world. People are sending
500 Meg CDs from Australia to Iceland....... and back to South Africa...


>Right. My point is that I think you are barking up the wrong tree in
>your attempt to identify the cause and the solution for those
>problems.  i.e, we don't need an approach closer to TCP/IP.  We already
>have one that's better than that in terms of it's "dynamic routing
>ability" which you talked about.

Are you so sure that the "dynamic routing" does not apply to our problem?
If I know the URL of a web-page then I _will_ get the page - unless the
delivering server is down. Dynamic routing _will_ find a way (even if
half the Internet is down) to deliver me the requested page.

Imagine this:  If I am having the URL (msg-id) of a Usenet message
then I my application _will_ find a server which has it -and will deliver
it to me - even if half of the Usenet is down.
If I want to post 500 messages (one cd) to Usenet then my application
_will_ find a path - even if my own ISP - and all his upstreams - are down.

>> Should we stop discussion ?
>
>No.  First, just because I think something doesn't make it a fact.  That's
>why we talk about it.

<vbg>


>We need to understand why
>usenet servers are constantly mis-managed and try to understand what change
>we could make to improve that (either reduce management cost or find a way
>to motivate people to manage their servers correctly).

Any ideas from your side ?
One way I've already seen is that ISPs are closing their news-servers
and are offering additional accounts on their 'new binary server'.


>Usenet is not a viable "tool" for sharing information.  
>[...]
>Usenet is mostly just a geek entertainment system that far too many people
>try to pretend as some type of "real" value to society.

Sorry, but I dont agree with you.

CU
-- 
Juergen

Re: [FNTP] 'in-completeness'
#60799
Author: Juergen Helbing
Date: Mon, 30 Sep 2002 07:10
15 lines
1202 bytes
drechsau@yuck.net (Mike Horwath) wrote:

>: And if we dont act in the next 12-24 months then these "geek apps"
>: will replace Binary Usenet quickly.
>
>Why is this bad?
>Just playing devil's advocate.

Because the end of the Binary Usenet would also be the end of 
Text Usenet.

-- 
Juergen

Re: [FNTP] 'in-completeness'
#60794
Author: Juergen Helbing
Date: Mon, 30 Sep 2002 07:21
40 lines
2300 bytes
Bill Cole <bill@scconsult.com> wrote:

>Cool. How can we speed this? Would injecting noise into discussion of 
>fixes help? 

No - we are used to noise - and we are able to stay on track.

>Usenet would be a better place if the binaries went away.  

At first it would be a dead place.
Remove all the people who are on Usenet for binaries PLUS text
and you will drop below the critical mass.

>The protocols 
>for transport and the logical model of the data set are absolutely 
>absurd as a mechanism for distributing and storing anything other than 
>conversations. 

Yes, it would be high time to find a better way to transport
these few text-message-bytes. They are only disturbing
the binary flow  :->>>

>The death of binary news and the ensuing collapse of the 
>binary-focused NSP's would be a Very Good Thing for Usenet. An event 
>worth speeding and assisting, even if it costs the employment of some 
>fine people like Curt and Jeremy and Andrew.

Binary Usenet is one of the very few Internet services which is successful
in terms of payment. And the only reason why text usenet is still existing
is that there are people who are paying for the binaries.


Some unconventional answers ?
There is no reason that your approach is any better than mine.
But I am offering at least reasonable arguments rather than fatalism.

-- 
Juergen

Re: [FNTP] 'in-completeness'
#60795
Author: Juergen Helbing
Date: Mon, 30 Sep 2002 07:27
50 lines
2276 bytes
"Howard Swinehart" <howard@supernet.com> wrote:

>If reducing server bandwidth can increase reliablity, using external
>bodies could help.

Yes.

>MIME articles may point to a URL (RFC2017) rather than contain the
>data in the body.  Upload the file to a web server.  Then post an
>article using the message/external-body content-type (RFC2046, section
>5.2.3) with an access-type of URL, which points to the file location.
>This could be done either in additon to or instead of posting the file
>to Usenet.

Yes, having write access to:   ftp.giganews.com  only as a customer
but read access for eveybody would be really great.

Are you running a server where we could try this ?

>Disadvantages: Requires changes to many binary downloaders and
>posters.  

No - most binary downloaders are able to display URLs and launch
them with a single click.

>Requires the poster to have access to a web site.  

No, the NSPs could offer FTP servers.

>A popular
>or very large file would hit web site bandwidth limits quickly.

If the NSPs would offer cascading FTP proxies then this could
be solved easily.

>Advantages: No changes to the server.  HTTP downloads can stop/resume.
>100% MIME compatible.  Efficent because the file remains in raw binary
>format.

Yes - this would be all very good.


And now the question: Which NSP will offer the servers ?
How hard would it be to create a system of cascading FTP proxies ?

CU
-- 
Juergen

Re: [FNTP] 'in-completeness'
#60801
Author: Kjetil Torgrim Homme
Date: Mon, 30 Sep 2002 10:35
123 lines
6374 bytes
[Juergen Helbing]:
>
>   Kjetil Torgrim Homme <kjetilho@ifi.uio.no> wrote:
>   
>   >the transit server might not care (if you extend NNTP), but the reader
>   >server can leave out incomplete posts (I guess you'll object to that,
>   >since you are using multiple servers to make them complete), and the
>   >news administrator can get completeness statistics much more easily.
>   
>   The next consequence of "leaving out incomplete posts" could only
>   be that users stop to label their posts as multiparts.

and how would reading tools cope with that?  surely no one is going to
piece together hundred posts manually.

>   >NNTP needs a mechanism for sending partial articles, 
>   
>   We are having this today - splitting messages.  It does not work.

it does work.

>   >and for aborting transfer.  
>   
>   You mean "aborting incomplete transfers" ?

yes.  for large articles, you just can't wait until it has been
transferred completely (see Curt's calculation of propagation time).

  A -> B -> C

so, what happens if the originating server A crashes?  today, there is
only one possibility for B.  it cannot end the article with . CR LF,
since that would destroy the article.  it must drop the connection to
C, and clear the history entry for the article in question, hoping
that someone else will offer it.  if that was a 50 MiB file, a lot of
bandwidth may have been wasted.  so NNTP needs a mechanism to abort a
command.  but this is _very_ hard to get deployed globally.

the alternative, with small articles, just works.

>   >or you can just use small articles (<1 MiB), the way you do
>   >today.  what is the downside to using 1 MiB articles?
>   
>   It results in incompleteness.

large files will not help, unless you do away with multiparts
completely.

it leads to incompleteness only when the system is overloaded.  what
we need is a throttle and priorities in the transit software, so that
it can prioritise files which are almost complete.  see below.

>   Most binaries are unwanted - by someone.
>   There is _always_ at least one party which believes that 
>   a post "does not belong here" - "is spam" - "is illegal"
>   - "is whatever.... but bad...."
>   Giving people the opportunity to have a "quick scan" of Usenet
>   would make the situation worse than ever.

sorry, but protecting pirates is not on my agenda.

>   >yes, something like that'd be nice.  the pseudo top domain is good,
>   >perhaps we could have IANA reserve it officially.  
>   
>   Yes but this is not too important.

so what do you do when .bin is allocated to something else?

>   >my proposal:
>   >    <offset'part-size'total-size'id-left@id-right.nntpbin>
>   
>   You are "over-specifying" - and using "special characters"
>   will be subject to objections.

period is actually a more "special character" than apostrophe, if you
look at the grammar.

>   A soon as we are using ".bin"  - or in your example: ".nntpbin"
>   we can rely on proper formating and could also use the 'dot'
>   as seperator.

are there any advantages to using a period?

>   I dont see the need for offset and partsize.

how do you suggest transit servers can implement priorities without
offset and partsize?  consider:

  server receives a message, which it will send it to its peers.  one
  of its peers is backlogged.  the server knows how many octets he has
  sent to it of the stream identified by the tuple (total-size id-left
  id-right).  the completion ratio determines what gets sent first.
  when that is done, start sending messages which are complete on the
  servers spool.  when that is done, send the newest message.

offset and partsize is required information to implement something
like this.  the cost is low, you only need a small additional history
database.  (notice that you don't need to keep track of which
intervals have arrived or been sent, since that is handled by the
normal history database.)

>   This belongs to the message / MIME-headers.

useless for transit.

>   >if the partsize is (relatively) constant, it's easy to work out how
>   >many parts there are in total, and which part number this is.  you
>   >only have a problem if the tail part is smaller than the others, and
>   >there is no reason it should.
>   
>   You cannot "find out" anything. It is necessary to have the total
>   number of parts - and the number of this part specified directly.
>   "Finding out" results is disaster (I've learned this from yEnc).

parts are irrelevant.  the same file can divided any number of ways,
and an offset,size based news reader can piece them together
regardless of part numbers in the repost.

-- 
Kjetil T.   ==. ,,==. ,,==. ,,==. ,,==. ,,==
           ::://:::://:::://:::://:::://::::
           =='' `=='' `=='' `=='' `=='' `==  http://folding.stanford.edu
Re: [FNTP] 'in-completeness'
#60802
Author: Kjetil Torgrim Homme
Date: Mon, 30 Sep 2002 10:39
15 lines
1901 bytes
[Juergen Helbing]:
>
>   The ".bin" extension indicates that this _is_ a binary.  No text
>   messages must use this.  And if it uses the BIN extension then it
>   will be dropped automatically - because it is malformatted.

bzzzt.  wrong, can't be done, it would be breaking the RFCs.  articles
with Message-ID which can't be parsed must be processed as a normal
article.

-- 
Kjetil T.   ==. ,,==. ,,==. ,,==. ,,==. ,,==
           ::://:::://:::://:::://:::://::::
           =='' `=='' `=='' `=='' `=='' `==  http://folding.stanford.edu
Re: [FNTP] 'in-completeness'
#60803
Author: Kjetil Torgrim Homme
Date: Mon, 30 Sep 2002 10:40
15 lines
1924 bytes
[Juergen Helbing]:
>
>   It seems that we are starting the same thing as before: Every
>   little change and improvement is instantly used to become the
>   "total solution" of all problems. This results in very complex
>   definitions.

this makes me very sad.  you didn't learn ANYTHING from the yEnc
disaster, did you?

-- 
Kjetil T.   ==. ,,==. ,,==. ,,==. ,,==. ,,==
           ::://:::://:::://:::://:::://::::
           =='' `=='' `=='' `=='' `=='' `==  http://folding.stanford.edu
Re: [FNTP] 'in-completeness'
#60804
Author: Kjetil Torgrim Homme
Date: Mon, 30 Sep 2002 10:48
15 lines
1813 bytes
[Juergen Helbing]:
>
>   Because the end of the Binary Usenet would also be the end of 
>   Text Usenet.

the people using text groups and the people using binary groups are to
a large extent distinct.  I don't think death of binary Usenet would
impact text usenet much at all.  have you looked at the Top 1000?  it
is IMO dominated by academic servers and servers offering text Usenet.

-- 
Kjetil T.   ==. ,,==. ,,==. ,,==. ,,==. ,,==
           ::://:::://:::://:::://:::://::::
           =='' `=='' `=='' `=='' `=='' `==  http://folding.stanford.edu
Re: [FNTP] 'in-completeness'
#60815
Author: Klaas
Date: Mon, 30 Sep 2002 14:13
19 lines
1914 bytes
After careful consideration, Juergen Helbing muttered:

> Klaas <spamhole@klaas.ca> wrote:
> 
>>A summary won't do you much good--if you really want to develop a robust 
>>format you'll have to read past discussions in their entirety.
> 
> Without any kind of pointer it will be a lot of work
> digging through the ten thousand messages there since Jan.2002.  :-(
> 

I would give you one if I had access to an archive.

Try searching for this link, which I mentioned in the discussion:

http://usenet.klaas.ca/hash.jpg

-Mike
Re: [FNTP] 'in-completeness'
#60816
Author: Juergen Helbing
Date: Mon, 30 Sep 2002 14:13
39 lines
2576 bytes
Andrew - Supernews <andrew+nonews@supernews.com> wrote:

>> The msgid is _identical_ for all parts - execpt of
>> the part-counter. This way we dont need any hash.
>
>and you lay yourself completely open to ID prediction attacks; anyone
>who wants to interfere with propagation of the file simply needs to
>preemptively post an article matching one of the later part IDs.

Now I am really curious how you want to prevent such "attacks"
by using a hash and/or offset/size.    ;-))
It would be real fun for _everybody_ to trick out the complex
newsreader (and transit) routines which are desperately trying
to get all byte-ranges together.... And this would not even be msg-id 
forging because everybody could easily use a different TLD.

It seems that we are close to sending all MIME headers as a 
message id now - so perhaps we could even add PGP for security  :->>


But you are raising a valid question:
As soon as we send out "additional" information (in which part
of a message ever) it might be subject to attacks.

Today this is extremely easy - because sending out messages
with an identical subject  but confusing part identifiers can be
done by everybody who is able to type. And even this kind
of attack was never recognized by myself. Having a program
which is intercepting msg-ids - and creates automatically
'confusing' messages might be possible 

- but I dont believe that this would be a realistic scenario.  

Do you ?

-- 
Juergen

Re: [FNTP] 'in-completeness'
#60818
Author: Juergen Helbing
Date: Mon, 30 Sep 2002 14:14
13 lines
1273 bytes
Klaas <spamhole@klaas.ca> wrote:

>Try searching for this link, which I mentioned in the discussion:
>http://usenet.klaas.ca/hash.jpg

That graph activated some unused parts of my brain.
Thanks a lot.

-- 
Juergen


Re: [FNTP] 'in-completeness'
#60819
Author: Klaas
Date: Mon, 30 Sep 2002 14:17
18 lines
1922 bytes
After careful consideration, Juergen Helbing muttered:

> Klaas <spamhole@klaas.ca> wrote:
> 
>>A summary won't do you much good--if you really want to develop a robust 
>>format you'll have to read past discussions in their entirety.
> 
> Without any kind of pointer it will be a lot of work
> digging through the ten thousand messages there since Jan.2002.  :-(
> 

Here a Msg-ID: <a7gf9o$l3a4n$1@ID-26705.news.dfncis.de>

Google unfortunately does not have the complete thread since only bits of 
it were crossposted here.

-Mike
Re: [FNTP] 'in-completeness'
#60820
Author: Juergen Helbing
Date: Mon, 30 Sep 2002 14:23
20 lines
1659 bytes
Kjetil Torgrim Homme <kjetilho@haey.ifi.uio.no> wrote:

>>   It seems that we are starting the same thing as before: Every
>>   little change and improvement is instantly used to become the
>>   "total solution" of all problems. This results in very complex
>>   definitions.
>
>this makes me very sad.  you didn't learn ANYTHING from the yEnc
>disaster, did you?

If you believe that you can solve the case with complexity then
feel free to continue. I'm watching carefully what's going on.


btw.: Already the computation of a CRC32 is a very complex task.

-- 
Juergen

Re: [FNTP] 'in-completeness'
#60822
Author: Andrew - Supernews
Date: Mon, 30 Sep 2002 14:54
19 lines
1973 bytes
In article <39167.u92203@archiver.winews.net>, Juergen Helbing wrote:
> My example was perhaps misunderstandable.
> Here an example for a three part message:
> 
><p1o3s4.abcdefghijklmno@server.com.bin>
><p2o3s4.abcdefghijklmno@server.com.bin>
><p3o3s4.abcdefghijklmno@server.com.bin>
> 
> The msgid is _identical_ for all parts - execpt of
> the part-counter. This way we dont need any hash.

and you lay yourself completely open to ID prediction attacks; anyone
who wants to interfere with propagation of the file simply needs to
preemptively post an article matching one of the later part IDs.

-- 
Andrew, Supernews
http://www.supernews.com - individual and corporate NNTP services
Re: [FNTP] 'in-completeness'
#60824
Author: Juergen Helbing
Date: Mon, 30 Sep 2002 15:17
117 lines
5065 bytes
Kjetil Torgrim Homme <kjetilho@haey.ifi.uio.no> wrote:

>>   The next consequence of "leaving out incomplete posts" could only
>>   be that users stop to label their posts as multiparts.
>
>and how would reading tools cope with that?  surely no one is going to
>piece together hundred posts manually.

Usenet tends to find its own ways to bypass administrative limits.

>>   >NNTP needs a mechanism for sending partial articles, 
>>   We are having this today - splitting messages.  It does not work.
>it does work.

Nice to know. Today I did miss two parts out of 2600.
They did not appear on any of my accessible 30 Usenet servers.

>[...]
>so NNTP needs a mechanism to abort a
>command.  but this is _very_ hard to get deployed globally.

OK, then let's drop changes to transits. 

>the alternative, with small articles, just works.

I recommend that you visit alt.binaries.startrek.
The start of the new "Enterprise" episodes might be
a very good example how "small articles just work".

Differently from "usual Usenet noise" there are some
binaries which the users _really_ want to have.
And not just users from the few dozen HQ NSPs.


>large files will not help, unless you do away with multiparts
>completely.

OK - I'm going to bury the idea of raising the posting limits
to avoid multipart problems.

>>   >yes, something like that'd be nice.  the pseudo top domain is good,
>>   >perhaps we could have IANA reserve it officially.  
>>   Yes but this is not too important.
>so what do you do when .bin is allocated to something else?

OK - let's use:  .b    or  .$ 
The finally used combination is not important - I dont insist on BIN
It seems to be even better to use something which cannot 
be assigned at all.


>are there any advantages to using a period?

They are looking very similar with all fonts.

>>   I dont see the need for offset and partsize.
>
>how do you suggest transit servers can implement priorities without
>offset and partsize?  

If you want priorities at all then a transit could also identify 
'important' messages by a simple serial number (which my
own 'partnumber' could be):

>offset and partsize is required information to implement something
>like this.  

The "offset" is the 1-4 byte part-number. And the partsize - well
a transit should know how large the messages are.
You want to add a lot of information (and size) to the message
id - and I beleive that simpler methods - with less bytes -
could offer the same amount of required information.

I personally dont want to blow up the msg-id by more bytes
than absolutely necessary. And - btw - every transit or
news-server _always_ has the full message - including
all headers - available for all kind of "nice to have".


>>   This belongs to the message / MIME-headers.
>useless for transit.

I could understand that offset/size would be nice for
those parties who want to join - or combine - or manage.
But all those applications will always need the FULL message.
(And I know the importance of offset/size. They are a part of yEnc!) 

The check for "completeness" - and even more does not need it
(in the msg-id).


I am really not a specialist for high performance transit servers.
So please find out the necessary things with Curt and those 
who can discuss it on the same level.
But I for myself am not convinced.


>parts are irrelevant.  the same file can divided any number of ways,
>and an offset,size based news reader can piece them together
>regardless of part numbers in the repost.

Parts are relevant for the first distribution of a binary.
And reposts (even smaller ones) are - and will always be - made
based on parts - at best (today people are reposting RAR segments). 

Sorry, I cannot agree with you.
Including reposts in variant sizes in the actual debate of completeness
is far away for me personally.
A future "Full Binary Usenet" might use such approaches.
But I see no way to it.


-- 
Juergen


Re: [FNTP] 'in-completeness'
#60825
Author: Juergen Helbing
Date: Mon, 30 Sep 2002 15:21
20 lines
1797 bytes
Kjetil Torgrim Homme <kjetilho@haey.ifi.uio.no> wrote:

>>   The ".bin" extension indicates that this _is_ a binary.  No text
>>   messages must use this.  And if it uses the BIN extension then it
>>   will be dropped automatically - because it is malformatted.
>
>bzzzt.  wrong, can't be done, it would be breaking the RFCs.  articles
>with Message-ID which can't be parsed must be processed as a normal
>article.

There must a strange mechanism which bypasses this RFC.
There are people who dont process binaries in text groups.

I believe the same strange mechanism would permit us
to prevent text entering Usenet  as binaries.

-- 
Juergen

Re: [FNTP] 'in-completeness'
#60826
Author: Curt Welch
Date: Mon, 30 Sep 2002 15:47
61 lines
4599 bytes
archiver@i3w.com (Juergen Helbing) wrote:
> curt@kcwc.com (Curt Welch) wrote:
>
> >The other thing that would be helpful to put in is small hash of the
> >file contents.
>
> I dont see the need for a hash.
> It makes things very complicated.

You don't see the need or you don't believe in the need?

The value of the hash is many fold.  One BIG end-user feature is that
download tools could do something they have _NEVER_ been able to do in the
past.  They can take advantage of reposts.  If you download a 4000 part
file, but you are missing 20 parts, your download tool could continue to
scan usenet for those missing parts.  If someone were to repost that 60
minute video again 2 months later, but this time in 5000 parts, and with a
different file name, your download tool could still spot it as being the
same file, and find the byte ranges it was missing from the first post, and
complete the missing segments for you - all automatcially without the user
having to do anything.

For example, if you saw a file you really wanted, but it was only one part
out of 50, (say the other parts already expired and you missed it).  You
could still mark it for download, and just let it sit in your list of
partial downloads.  Then, if the same file was reposted weeks later, your
tool would find all the parts and download them for you withoug you haveing
to scan thousands of headers everyday looking for something good to
download.  You could easilly just set up the tool to scan multiple servers
every hour looking for your missing file segments.

You don't see that as something users would like?

I see it as something they couldn't live without once they learned it's
true value.

But, before the users could learn the glory of this, someone would have to
take the time to write this new type of download tool.  It's (probably) not
a simply addition to any of the current tools becaus it works in a
completly different way than the other tools.  It has to maintain a
database of incomplete downloads and constantly scan a set of groups for
new posts that help to complete the download. It needs a UI which shows the
list of files waiting to be completed, and it needs a UI to show the list
of files which could be downloaded to help complete the partial downloads,
etc.  It's a lot of work to create this tool but I'm sure the users would
love it, and if it was available for free, worked well, and supported all
the other expected advanced features (multiple servers, download
priorities, dealing with various file types and encoding types, etc), then
it would take over Usenet in no time.

Though, there is the other side which downloaders might not like.  It might
also make it very easy for copyright holders to spot re-posts of their work
and automatcially cancel it or collect evidence for a court case etc.  That
is a good thing, but it might be something that would prevent the idea from
being accepted on Usenet.  If that turns out to be the case, then it makes
me just want to not help anyone do anything with binaries on Usenet.

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/
Re: [FNTP] 'in-completeness'
#60827
Author: Kjetil Torgrim Homme
Date: Mon, 30 Sep 2002 15:47
18 lines
2126 bytes
[Andrew - Supernews]:
>
>   In article <39167.u92203@archiver.winews.net>, Juergen Helbing wrote:
>   > The msgid is _identical_ for all parts - execpt of
>   > the part-counter. This way we dont need any hash.
>   
>   and you lay yourself completely open to ID prediction attacks; anyone
>   who wants to interfere with propagation of the file simply needs to
>   preemptively post an article matching one of the later part IDs.

very good point.  to group the articles, we need a constant element
common to all the parts of a file.  a hash could play that role.

-- 
Kjetil T.   ==. ,,==. ,,==. ,,==. ,,==. ,,==
           ::://:::://:::://:::://:::://::::
           =='' `=='' `=='' `=='' `=='' `==  http://folding.stanford.edu
Re: [FNTP] 'in-completeness'
#60828
Author: Kjetil Torgrim Homme
Date: Mon, 30 Sep 2002 16:07
33 lines
2494 bytes
(aha, so that's why your contributions were unavailable on Google,
you're using X-No-Archive.  to honour your choice, I will not quote
from your post.)

I agree with your suggestions, ie. to allow tagging the information
for extensibility and to leave RHS alone.  nonetheless, taking a leaf
off XOVER, it may be a good idea to hardcode a standard selection for
efficiency.  that is, the first three positions are always offset,
segment size and total size.

 <nntpbin'offset'segment'total[more tags]''random@server>

tags would be the way you suggest:

  'MXXXXXXXXXXXXXXXXXXXXXX
      MD5-128 hash, BASE64 coded.

  'mXXXXXX
      MD5-128 hash, BASE64 coded, 36 LSB.

  'iXXX
      random ID which is common among parts (anything goes, but can
      not contain ')  this should help the pirates a little...

I still think it's a good idea to use an uncommon character as
separator to reduce the number of false matches.  as I showed, the
dollar sign is among the more common characters used in Message-IDs.

-- 
Kjetil T.   ==. ,,==. ,,==. ,,==. ,,==. ,,==
           ::://:::://:::://:::://:::://::::
           =='' `=='' `=='' `=='' `=='' `==  http://folding.stanford.edu
Re: [FNTP] 'in-completeness'
#60834
Author: Andrew - Supernews
Date: Mon, 30 Sep 2002 18:14
21 lines
2242 bytes
In article <3113g.u92200@archiver.winews.net>, Juergen Helbing wrote:
> Andrew - Supernews <andrew+nonews@supernews.com> wrote:
>>and you lay yourself completely open to ID prediction attacks; anyone
>>who wants to interfere with propagation of the file simply needs to
>>preemptively post an article matching one of the later part IDs.
> 
> Now I am really curious how you want to prevent such "attacks"
> by using a hash and/or offset/size.    ;-))

you can't. The only way to avoid the attack is to use unpredictable IDs.
Each message-id that you generate should have enough random data in it
(16 or so bits of entropy is enough) to make the attack impractical.

That means, unfortunately, that it is never possible to construct a safe
scheme where you can deduce the message-ids of following parts given the
first part.

-- 
Andrew, Supernews
http://www.supernews.com - individual and corporate NNTP services
Re: [FNTP] 'in-completeness'
#60835
Author: Brian Truitt
Date: Mon, 30 Sep 2002 19:39
18 lines
1815 bytes
"Juergen Helbing" <archiver@i3w.com> wrote in message >
>
> But the _real_ good question would be:
>
> How much NNTP traffic does your users create to _external_
> news-servers ?   Do you also have any chance to count this volume ?
>

That'd be a bit of a nightmare to try to track. We'd have to monitor all
egress points to our network and examine all the packets to see if they were
going to a usenet server. As several allow you to connect on multiple ports
to get around firewalls, this would also get around just looking for port
119. Not to mention newsfeeds that go to port 119, or web-based newsreaders.
It would be nice to know though =)


Re: [FNTP] 'in-completeness'
#60838
Author: Klaas
Date: Mon, 30 Sep 2002 21:25
15 lines
1817 bytes
After careful consideration, Juergen Helbing muttered:

> Klaas <spamhole@klaas.ca> wrote:
> 
>>Try searching for this link, which I mentioned in the discussion:
>>http://usenet.klaas.ca/hash.jpg
> 
> That graph activated some unused parts of my brain.
> Thanks a lot.
> 

You're welcome... I think.

-Mike
Re: [FNTP] 'in-completeness'
#60837
Author: Klaas
Date: Mon, 30 Sep 2002 21:41
108 lines
6119 bytes
After careful consideration, Juergen Helbing muttered:

> curt@kcwc.com (Curt Welch) wrote:
> 
>>The other thing that would be helpful to put in is small hash of the
>>file contents.  
> 
> I dont see the need for a hash.
> It makes things very complicated.

No, it makes things marginally more complicated, while increasing 
usability immensely.
 
>>Not long enough to identify the file (that would make
>>the Message-Id just too long) but one
>>which was long enough to greatly narrow down the number of articles
>>to search when trying to match up parts, or when trying to spot
>>a re-post a file which you had missing segments for.
> 
> My example was perhaps misunderstandable.
> Here an example for a three part message:
> 
> <p1o3s4.abcdefghijklmno@server.com.bin>
> <p2o3s4.abcdefghijklmno@server.com.bin>
> <p3o3s4.abcdefghijklmno@server.com.bin>

If we're going to maintain so many bits of like data among the msg-ids, 
why /not/ make it a hash, when it would be so useful?  (You'd want some 
random element as well, ofc).

>>A large hash would be included in the headers so for any article which
>>looked like it might be the segment which was needed, the newsreader
>>could download the full header and see if the file hash matched.  The
>>small hash in the Message-ID would greatly reduce the number of
>>full HEADs that had to be done to identify articles.
> 
> In my example it would be possible to discard _all_ the headers
> for the part 2-n. This would also reduce the amount of multipart
> headers down to _one_ (the first one).

Sure, if you wanted to break compatibility with existing readers and 
guarantee that the parts will be unusable on any server that didn't get 
the first part.
 
> Newsreaders could find all the parts of a message by 
> seeking by msgid. And so could news-servers if they are
> missing single parts: They could use additional "bypasses"
> to find missing parts.

A hash would allow servers and clients to search multiple posts for a 
file, even if posted by different users in different groups.  A server 
could compare hashes and instead of storing a multipost twice, simply 
store the headers for one and point both to the same location in the 
spool.  Imagine that!

>>If people match articles by hand, part counts are very useful, trying
>>to comprend offset and size data would be a real bitch.  But the point
>>is that you want the computer to do this for you, and for the
>>computer, offset and size is what makes it easy.
> 
> If I am understanding right what Kjell and you are discussing here
> then you want to combine multiple solutions into the message id.
> From the "simple and easy" aproach to identify multiparts as being
> an entity you now also want to solve "the rest of the problems"....
> 
> This would result in an "over complexified" message-id - which cannot
> be its purpose. The message id would be great to help transits, hosts
> and readers to know that 150 parts belong together. But all the
> "rest" should be done with other headers. 

Why, necessarily?  I can see things like the hash being used in 
intelligent peering logic.  While not every problem can be solved in one 
go, there's not point in restricting ourselves to the narrowest possible 
enhancement, which you seem intent on doing.  If we're going to develop a 
standard for encoding binary part data into the message id, we should 
make it as comprehensive as possible while being efficient as possible. 
 
> It seems that we are starting the same thing as before:
> Every little change and improvement is instantly used to 
> become the "total solution" of all problems. This results in
> very complex definitions.

If necessary, sure.  

> Actually we are discussing _completeness_ here.
> And we are finding a way to identify multiparts properly.
> Mixing this topic with a lot of more "nice features" might be
> possible but it would slow down the process - and leads into the
> wrong direction.

Juergen, the goal is not to patch one part of the problem as quickly as 
possible.  That type of thinking is why we're stuck with yEnc.

> The goal is to improve multipart distribution - and/or to filter out
> (these) binaries perfectly. Attempts to make "fills" and "reposts" 
> easier cannot work because it would take years to change user
> behavior and newsreader functionality.

It didn't take years for users and developers to adopt yEnc.  Where's 
your argument now?

> I believe that we should concentrate on (and solve) incompleteness.
> Then all the other "nice trys" are even obsolete.

I don't understand what you mean by the last sentence.

-Mike
Re: [FNTP] 'in-completeness'
#60839
Author: Klaas
Date: Mon, 30 Sep 2002 21:54
22 lines
1921 bytes
After careful consideration, Juergen Helbing muttered:

> "ZoSo" <zoso@voyager.net> wrote:
> 
>>So, did you stop to think maybe Binary Usenet *should* be replaced by =
>>P2P networks?
> 
> In the past most people agreed to the statement that the end of 
> the binary newsgroups would be also the end of the text newsgroups.

I wouldn't mind a reference to that survey!

> You could try to forbid binary attachments to eMail.
> The eMail volume would be really reduced.
> Then let's see how long eMail would survive  :-))

Plenty long, I wager.  I only very rarely use mail for file transfer, and 
I  suspect I not the only one...

-Mike 

Re: [FNTP] 'in-completeness'
#60840
Author: Klaas
Date: Mon, 30 Sep 2002 21:56
13 lines
1798 bytes
After careful consideration, Juergen Helbing muttered:


> You can believe me: I am working with "binary identification"
> for three years now - and my actual "file database" for just one
> group is larger than 150 Megs (filename+size+crc). There are
> "false duplicates" all the time - and there are "false new triggers"
> all the time.

You should consider a better hash algorithm.  CRC blows.

-Mike
Re: [FNTP] 'in-completeness'
#60852
Author: Kjetil Torgrim Homme
Date: Mon, 30 Sep 2002 23:22
103 lines
5482 bytes
[Juergen Helbing]:
>
>   Kjetil Torgrim Homme <kjetilho@haey.ifi.uio.no> wrote:
>   
>   >>   We are having this today - splitting messages.  It does not work.
>   > it does work.
>   
>   Nice to know. Today I did miss two parts out of 2600.
>   They did not appear on any of my accessible 30 Usenet servers.

you snipped away this part (which came later):

  it leads to incompleteness only when the system is overloaded.

okay, so Usenet has always been overloaded.  that is a fact of life,
and we need to deal with it.  (yEnc has shown that improving transfer
efficiency doesn't really help servers.)

>   OK, then let's drop changes to transits.

good.

>   >the alternative, with small articles, just works.
>   
>   I recommend that you visit alt.binaries.startrek.  The start of
>   the new "Enterprise" episodes might be a very good example how
>   "small articles just work".

yes, I know.  I also run a small department server.  I do offer a few
binary groups, but large multiparts will very seldom be complete.  the
hardware simply can't keep up, and it's not a priority to offer
binaries, especially since very few groups with large files contain
files which can be distributed without breaking copyrights.

more annoyingly, since I have set the article size to maximum 512 KiB,
I'm getting

  Fleetwood Mac Live at BBC part01.rar (55/55)
  Fleetwood Mac Live at BBC part02.rar (55/55)
  Fleetwood Mac Live at BBC part03.rar (55/55)
  Fleetwood Mac Live at BBC part04.rar (55/55)
  Fleetwood Mac Live at BBC part05.rar (55/55)
  ...

since only the tail part is smaller than my limit.  this wouldn't be
so annoying if there was only one such tail part, but there are 69 of
them...  so, I would love to be able to filter out these messages
without wasting I/O and CPU time.  this is a real problem on my
server, it's old, and I can't get money to upgrade it.

>   > so what do you do when .bin is allocated to something else?
>   
>   OK - let's use: .b or .$ The finally used combination is not
>   important - I dont insist on BIN It seems to be even better to use
>   something which cannot be assigned at all.

okay, .$ is good.  Curt may be right that we don't really need to add
anything to the RHS, though.

>   > are there any advantages to using a period?
>   
>   They are looking very similar with all fonts.

:-)

>   If you want priorities at all then a transit could also identify
>   'important' messages by a simple serial number (which my own
>   'partnumber' could be):

you are right.  it's not as flexible, though.

>   I could understand that offset/size would be nice for those
>   parties who want to join - or combine - or manage.  But all those
>   applications will always need the FULL message.

this is where you are wrong!  many applications want to make the
decision without even downloading the headers.  and worse, a transit
feed either gets just the Message-ID, or the complete message.  my own
server throws away half the number of articles offered, and 90% of the
bandwidth is wasted since they turn out to be unwanted.

>   > parts are irrelevant.  the same file can divided any number of
>   > ways, and an offset,size based news reader can piece them
>   > together regardless of part numbers in the repost.
>   
>   Parts are relevant for the first distribution of a binary.
>   And reposts (even smaller ones) are - and will always be - made
>   based on parts - at best (today people are reposting RAR segments). 
>   
>   Sorry, I cannot agree with you.  Including reposts in variant
>   sizes in the actual debate of completeness is far away for me
>   personally.  A future "Full Binary Usenet" might use such
>   approaches.

if you can see it in the future, why should we not add support for it
today?  remember that if this comes to fruition, it will be used for
many years.

-- 
Kjetil T.   ==. ,,==. ,,==. ,,==. ,,==. ,,==
           ::://:::://:::://:::://:::://::::
           =='' `=='' `=='' `=='' `=='' `==  http://folding.stanford.edu
Re: [FNTP] 'in-completeness'
#60857
Author: Juergen Helbing
Date: Tue, 01 Oct 2002 04:23
24 lines
1903 bytes
Andrew - Supernews <andrew+nonews@supernews.com> wrote:

>> Now I am really curious how you want to prevent such "attacks"
>> by using a hash and/or offset/size.    ;-))
>
>you can't. The only way to avoid the attack is to use unpredictable IDs.
>Each message-id that you generate should have enough random data in it
>(16 or so bits of entropy is enough) to make the attack impractical.
>
>That means, unfortunately, that it is never possible to construct a safe
>scheme where you can deduce the message-ids of following parts given the
>first part.

And what would be the conclusion ?
Is it worth to care about it ?
Would it be an argument to stop multipart identification ?

CU
-- 
Juergen



Re: [FNTP] 'in-completeness'
#60858
Author: Juergen Helbing
Date: Tue, 01 Oct 2002 04:40
46 lines
2773 bytes
curt@kcwc.com (Curt Welch) wrote:

>> I dont see the need for a hash.
>> It makes things very complicated.
>
>You don't see the need or you don't believe in the need?

I dont see the need in the _message-id_.

>The value of the hash is many fold.  One BIG end-user feature is that
>download tools could do something they have _NEVER_ been able to do in the
>past.  They can take advantage of reposts.  [...]

What is the reason to place it inside the message id to get this ?

>You don't see that as something users would like?

I did realise this functionality within yEnc.
But I still dont see the need within the message id.

>Though, there is the other side which downloaders might not like.  It might
>also make it very easy for copyright holders to spot re-posts of their work
>and automatcially cancel it or collect evidence for a court case etc.  
>That
>is a good thing, but it might be something that would prevent the idea from
>being accepted on Usenet.  If that turns out to be the case, then it makes
>me just want to not help anyone do anything with binaries on Usenet.

This is not just a matter of copyright (which will be solved differently).
There are a lot of people who would love to "clean" the Usenet from
"unwanted" content. Moralists, Pseudo-Christians, totalitarian systems, ...

I am not sure about the consequences - but I've been warned when I
wanted to make identification "too easy" with yEnc. That's why it is
realized there the way it is.


Please understand me right:
I dont oppose against hash/md5/crc generally. 
I did introduce them _myself_.
The question is whether we really need it in the message-id.

-- 
Juergen

Re: [FNTP] 'in-completeness'
#60859
Author: Curt Welch
Date: Tue, 01 Oct 2002 04:45
127 lines
6846 bytes
archiver@i3w.com (Juergen Helbing) wrote:
> curt@kcwc.com (Curt Welch) wrote:
> I understand this very well. But please answer me this question:

You never asked your question.

> As soon as one 10 Meg article came in and is completely in your
> memory then _all_ your outgoing feeds will now try to send this
> article out. If they all succeed then the 10 Meg article is also
> instantly removed from the cache. It is not necessary to have
> 1000 of these 10 Meg articles in memory. The size of your cache
> depends on the time lag between the incoming stream and the
> "accepted" message from your outgoing feedee.
> And I am pretty sure that one 10 meg article would be even
> _faster_ transferred than 100x100k articles because the feedee
> has less work with it.

It gets complex, but to simplify...

With a single 10Meg aricle, you need 10Meg of cache.  i.e. enough room
to hold one article.  With a stream of incoming 10Meg articles, you
need at least 20Meg of cache (one for the incoming, one for the outgoing).

With 1000 10K articles, coming in one at a time, and sent out as it comes
in, with no backlog, you need 20K of cache.

Same stream, same speed, in one case you need 20MB, the other 20KB.  See
the difference?

Now what happens when you have 50 streams coming in and 50 going out (more
typical of a real transit server).  with 10MB articles, you need 1GB of
cache. With 10K articles, you need 1MB of cache.

With the small articles, you get to delete the first 10K article once it is
sent to all the peers, with the 10MB article, you can't really free up
space as it's sent, you have to wait until the last peer finishes sending
the entire thing before you free up any space.

> The only reason for "larger caches" would be that a feedee fails.

Nope.  Larger articles create larger caches as well.

> But in this case you are filling up the cache with exactly the
> same speed with 100x100 articles than with 10.000 articles.

That's mostly true.  It fills up the same, but the one dealing with 10MB
articles will be about 9990KB larger than the one dealing with 10KB
articles for the same amount of backlog.

> And again:  You are having a 'lantency' time for 100 articles
> which is in summary far longer than for one 10 Meg article.

Not sure what your point is there. 10MB of data takes about the same amount
of time to send over a TCP connection whether it's one 10MB article or 1000
10KB articles.  We are talking streaming feeds here so the acks for the
articles aren't a real factor like they are for IHAVE if that is what you
are getting at.

> Those people who are working on "transport theory" are
> always preferring "bulks as large as possible" over "small".
> They can even prove that the medium transfer capability
> is better.

It's the store and forward nature of the system that changes the dynamic to
"smaller is better".

> You dont believe in my statement:
> "If multiparts are a problem then avoid multiparts ?"
>
> LOL !

I don't believe increasing the size to 10MB and getting people to post
articles that size is going to help anything.  All it will do is make the
10MB articles the first to be dropped.

> I am just afraid that 'Cidera' is technically not able to
> transfer these messages - am I right ?

The 512K limit is not a technical limit.  It's a management limit.  They
picked a random number which kept the feed size below the 20Mbits they were
willing to devote to Usenet.  There are many many feeds on usenet that have
limits like that - but all at different values - for the sole purpose of
reducing feed volume.

> >Or, maybe if the data was encoded in the corret format, the news server
> >could actually combine multipart posts together on the fly, and make
> >them look as if they were single huge articles.
>
> Nobody prevents news-servers from doing this already today.

True, it could be done today.

> On the MyNews network you can already see subjects as:
>      -  filename.avi (all/590)    :-)

I was talking about reducing XOVER data so the user doesn't have to
download 10,000 headers for a 10,000 part file.  Of course any good UI will
not force the user to look at them all. Does MyNews combine the 590
articles together so over NNTP you only have to download a single header
from XOVER and a single huge article over NNTP?

> Yes - I agree.
> But the big question is how to make this happen _now_ and _easily_.

Yes, that's the hard one.

> I dont see any chance that reader-servers are changed to treat
> "files" differently within the next five years.
> But "my way" to label multiparts simply in the message id
> offers everything you need.
> I am already downloading only message-ids from 30 news-servers.
> The full XOVER line is only downloaded for those headers which
> I dont already have.
> As soon as I KNOW that <p4o567s56......> is just part 4 of the
> message <p1o567s56....>  then I will save the lot of header
> download. And all this can be done without the slightest
> modification to news-servers. Changing three autoposters
> and a few newsreader/binary grabbers would already have
> enormous effect.

Fine.  Maybe usenet wants to take another baby-step instead of making
real progress.

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/
Re: [FNTP] 'in-completeness'
#60860
Author: Curt Welch
Date: Tue, 01 Oct 2002 04:51
31 lines
2620 bytes
archiver@i3w.com (Juergen Helbing) wrote:
> Bas Ruiter <<lordsnow@home.nl>> wrote:
>
> >From a users point-of-view, being able to positively identify a file
> >BEFORE downloading any part of it is HIGHLY desireable!
>
> A binary hash or CRC code does not help a bit.
> It would only prevent you from downloading an identical
> file twice.
> Today pictures are "manipulated" to make user to download
> them again.

Why on earth would they do that?  Are you talking about spam or what?

> You know perhaps that "Morpheus", "Kazza" and "eDonkey"
> already permit "ahead identification" - by title, artist, album,
> even by CRC. This does not help any way. In contrary.
> People started to "fool" these systems long ago.

Why do they do that?  If the users want to collect files, why would they
break the systems that make it work better?  What does someone posting
a file have to gain by forcing people to download it again?

I can understand why spammers do this to prevent their spam from being
spotted.  But I don't understand why people trading and collecting pictures
would do that.

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/
Re: [FNTP] 'in-completeness'
#60861
Author: Curt Welch
Date: Tue, 01 Oct 2002 05:02
12 lines
1787 bytes
archiver@i3w.com (Juergen Helbing) wrote:
> In the past most people agreed to the statement that the end of
> the binary newsgroups would be also the end of the text newsgroups.

Only the over-inflated ego of a binary-addict would think that.  The text
groups are so low-cost to support that they would be free for everyone that
wanted to use them (as they mostly are now anyway).

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/
Re: [FNTP] 'in-completeness'
#60862
Author: itsy bitsy meowbot
Date: Tue, 01 Oct 2002 05:11
26 lines
2463 bytes
Curt Welch wrote:

> archiver@i3w.com (Juergen Helbing) wrote:
>> You know perhaps that "Morpheus", "Kazza" and "eDonkey"
>> already permit "ahead identification" - by title, artist, album,
>> even by CRC. This does not help any way. In contrary.
>> People started to "fool" these systems long ago.

> Why do they do that?  If the users want to collect files, why would they
> break the systems that make it work better?  What does someone posting
> a file have to gain by forcing people to download it again?

One reason files are mislabeled is to try to circumvent some of the DRM
attempts the P2P networks have tried to use.

A second set of mislabelings comes from people working for copyright
holders, attempting to frustrate collectors.


> I can understand why spammers do this to prevent their spam from being
> spotted.  But I don't understand why people trading and collecting pictures
> would do that.

Trolls and religious fanatics (or possibly trolls posing as religious
fanatics) are known to play games like that from time to time.
Page 2 of 7 • 313 total messages
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads