Thread View: news.software.nntp
313 messages
313 total messages
Page 3 of 7
Started by Juergen Helbing
Mon, 23 Sep 2002 06:06
Page 3 of 7 • 313 total messages
Re: [FNTP] 'in-completeness'
Author: Juergen Helbing
Date: Tue, 01 Oct 2002 05:31
Date: Tue, 01 Oct 2002 05:31
149 lines
7125 bytes
7125 bytes
Klaas <spamhole@klaas.ca> wrote:
>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).
I know that the hash would be very useful.
But because it does not affect transit or completeness it could
be also added to any other header (and the purists will say:
it _belongs_ into the MIME headers.
For me the "Message-ID:" header is a rare ressource.
If we agree to expand it to solve some problems which are
unique to Usenet (propagation and flood mechanism) then
nobody would oppose.
All the "additional" information (Hash/crc32, filename, size,
artist, album, legal status) is VERY important - and it could
be an enormous progress for Usenet to have it available
quickly.
But either we are using MIME for that purpose - or we define
a new header (or we can fake any other header):
Binary: MD5=xxx; filename=xxxx; size=#####; ......
Perhaps I am forgetting something. Perhaps some people
_want_ to use the msg-id - because it would be just _one_
change which does not affect the existing infrastructure.
If the motto is: "Lets change one thing - but let's change
it radically" - then I will be the very last one is the opposition.
There is just one thing I'm concerned with:
The Msg-ID must be kept by all hosts around the world.
And the large transits might even keep it in memory
rather than on harddisk. Expanding the msg-id _will_
affect the current infrastructure. At least some hosts
will need memory upgrades.
If this is no problem - and the admins whould know this
better than I - then go ahead !
>> 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.
Sorry - I did not explain this in further detail.
It was an idea which came up during writing.
I am not sure if it would work - but perhaps it could solve
another nasty problem:
As soon as a news-server has got _all_ the articles for
a multipart it could add just the 1/n article to a special
"binary overview list". A client could then use "Bin-over"
and "Txt-Over" commands to download multiparts and Text
parts seperately.
Of course it was not my intention to break the existing
infrastructure :-)
My own toy (MyNews) is meanwhile downloading XOVER lists
more selectively: It uses first XHDR to fetch only the msg-ids.
If the msg-id includes already the information that header 5001
is (1/700) and 5002-5900 includes the "other headers" then
it would no longer fetch the full XOVER lines for the multipart.
The result would be a dramatically reduced Xover download.
Just an idea - but perhaps a nice one.
>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!
yEnc permits this already. I know the advantages.
>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.
Yes. If this leads to the right direction.
>> 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.
We fundamentally disagree:
The goal of this thread _is_ to patch just one problem - incompleteness.
I have spent _months_ of time on the "entire solution" without
finding even the slightest idea how to reach it. The "additional"
discussions about "yEnc", "Binary Usenet" and "FNTP" in the
last 18 months did not result in a single step forward.
There is no reason to repeat all this again.
And my experience with yEnc tells me now that it is _possible_
to make changes within an acceptable period of time.
And I dont see any reason to discuss an "entire solution" for
the next three years when it is possible to solve incompleteness
seperately.
Please understand me right:
The solution I'm seeking for _should_ be a part of the "greater plan"
- and I dont want to risk again to go a seperate path and to invalidate
the work of others.
>> 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?
A good programmer is/was able to implement yEnc within a few hours.
Most users had only to upgrade their newsreaders (or get another
free autoposting tool).
Changing "fills and reposts" is _user_behavior_.
I believe this would make a big difference.
>> 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.
We dont need reposts if the original transmission is complete.
All "nice tries" to operate with "filling and repost databases" and
"hashes" is not necessary if we are able to make sure that multiparts
are properly propagated.
It is better to fix the problem than to create a tool which circumwents it.
CU
--
Juergen
Re: [FNTP] 'in-completeness'
Author: Juergen Helbing
Date: Tue, 01 Oct 2002 05:46
Date: Tue, 01 Oct 2002 05:46
68 lines
3863 bytes
3863 bytes
Kjetil Torgrim Homme <kjetilho@haey.ifi.uio.no> wrote: > 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. A filter on .RAR would generally help :-) And as soon as we are having the "total size" as a part of the msgid ( <p55o55s6....> here: 6 MB large) your problems are solved finally. >okay, .$ is good. Curt may be right that we don't really need to add >anything to the RHS, though. Are you both sure ? I believe that we need to have anything which indicates the "new style" properly. Perhaps I'll find it later. >> 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. Sorry, but I dont understand why we disagree here. The only advantage of "offset/size" over "part/total" would be to _fill_ with reposts. Transits are never faced with this problem. And I accept that applications "want" to make the decision without even downloading the headers. But in fact they ARE downloading the headers - now all combined into one "super-header-msgid". I agree if you want to reach that it is not necessary to add new headers or to deliver such info as MIME headers even in XOVER. (which requires hard to get server-changes) This is the way Jeremy Nixon - and a lot of other people prefer - and are even working on. I am wondering why they are not adding their comments here. If we would add all this information to the message-id, then we can _finally_ forget MIME on Usenet. >> 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. I believe that supporting is would be good (I do this myself in yEnc). I dont believe that the msg-id is a good place for it. -- Juergen
Re: [FNTP] 'in-completeness'
Author: Juergen Helbing
Date: Tue, 01 Oct 2002 06:04
Date: Tue, 01 Oct 2002 06:04
57 lines
3203 bytes
3203 bytes
curt@kcwc.com (Curt Welch) wrote: >> I understand this very well. But please answer me this question: > >You never asked your question. I wanted to know what you would _need_ to make 10 Meg articles possible. You did answer this very well now: It would be necessary to have at least 2 articles per spool in the memory. This would be 20 Megs per spool. 1 Gig for 50 spools. And the "actual" situation does only work because your actual limit of "4 Meg" is never used - and 99.99% of the actual articles are 500 kB and smaller. If people would start to use even "3.9 Meg" articles then your feeders would instantly fail. So my request to use "10 Meg" articles is not increasing a limit from 4 to 10, but to increase the practical usage from 500 kB to 10 Megs. A factor of 20 cannot be reached. So I am burying now the idea of "larger articles". >> 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? Actually (and these are only experiments) I am copying all the headers to one article (with the (all/590) header). I was thinking about having an article which contains just the msg-ids. Then downloading that one article would deliver the list of all 590 necessary msg-ids. Of course the approach to offer the information directly into the msg-id would be superior. But 'my experimental method' to combine and offer combined info could be added to Usenet externally without affecting the current autoposters/servers at all. >Fine. Maybe usenet wants to take another baby-step instead of making >real progress. Sigh - it seems that I am on the wrong way again (from the administrative point of view). Thanks for the warning. -- Juergen
Re: [FNTP] 'in-completeness'
Author: Juergen Helbing
Date: Tue, 01 Oct 2002 07:25
Date: Tue, 01 Oct 2002 07:25
36 lines
2253 bytes
2253 bytes
curt@kcwc.com (Curt Welch) wrote: >> A binary hash or CRC code does not help a bit. >Why on earth would they do that? Are you talking about spam or what? Yes. And partially unwanted cropped reposts from other sources (web..). Constant problem of the newsgroups. >> People started to "fool" these systems long ago. > >Why do they do that? There are enough people who have either fun, moral, business, trolling or other reasons..... And a lot of "mistakes" of course. This discussion about "identifying binaries" is on a level I was three years ago when I started to write MyNews. Identifying binaries was one of the first options I did implement. One of my servers is fetching messages based on that database information - and the one which is slurping heavily from your hosts is 'indexing' an entire binary newsgroup (and could index half binary Usenet as well). Everything is working fine - technically. But without constant manual intervention it is completely useless. Even with three years "head start" I cannot recommend this technic for Usenet generally. If I could then you would have seen a serious proposal from me two years ago. -- Juergen
Re: [FNTP] 'in-completeness'
Author: Juergen Helbing
Date: Tue, 01 Oct 2002 07:31
Date: Tue, 01 Oct 2002 07:31
25 lines
1670 bytes
1670 bytes
"Brian Truitt" <btruitt@rcn.com> wrote: >"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. I was afraid that this would be the answer. >It would be nice to know though =) This would be the "ultimate" know how for a lot of ISPs :-) Do you believe that your users would accept a "news-proxy" which allows them to contact external NSPs as usual - but which intercepts article downloads and delivers them from your local news-server if they are available ? -- Juergen
Re: [FNTP] 'in-completeness'
Author: Juergen Helbing
Date: Tue, 01 Oct 2002 07:44
Date: Tue, 01 Oct 2002 07:44
15 lines
1385 bytes
1385 bytes
Klaas <spamhole@klaas.ca> 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. > >I wouldn't mind a reference to that survey! There was no poll yet - so I dont have exact data myself. (I saw this in various discussions when it came to the point that Binary Usenet would be completely seperated). -- Juergen
Re: [FNTP] 'in-completeness'
Author: Juergen Helbing
Date: Tue, 01 Oct 2002 07:53
Date: Tue, 01 Oct 2002 07:53
39 lines
2335 bytes
2335 bytes
curt@kcwc.com (Curt Welch) wrote: >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. Ooops. >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). The tendency in the last years is that ISPs are no longer offering news-servers at all - because text-usenet _is_ free. This will concentrate Text-Usenet to the two handful of "free" text servers - and this will be the final end of Text-Usenet the way we know it today. Now remove the huge Binary NSPs - and you'll see what can happen. Of course Text-Usenet would work far better then than today. 10 huge servers - well connected. 9 full feeds for everybody....... And of course it would be far easier to manage abuse. Having just 10 admins is far easier than 10.000..... If we continue this idea then we could have also 10 huge Binary Usenet servers....... with the same benefits. And of course they would all be owned by AOL/Time/Warner/Sony/Lucas/Gates...... I am sure a lot of people would love this vision.... ;-) Bright sunshine ahead! -- Juergen ------------- joking
Re: [FNTP] 'in-completeness'
Author: Howard Swinehart
Date: Tue, 01 Oct 2002 09:39
Date: Tue, 01 Oct 2002 09:39
32 lines
2792 bytes
2792 bytes
"Juergen Helbing" <archiver@i3w.com> wrote in message news:13279.u9220c@archiver.winews.net... > "Howard Swinehart" <howard@supernet.com> wrote: > >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 ? No, I sell service but don't run the server. > >Requires the poster to have access to a web site. > > No, the NSPs could offer FTP servers. Maybe. I wonder if that would increase or decrease the costs for the NSP though. If it increases the cost, they won't be interested. -- http://www.binaryboy.com/ - How to download movies, music and pictures while you sleep.
Re: [FNTP] 'in-completeness'
Author: Kjetil Torgrim Homme
Date: Tue, 01 Oct 2002 11:02
Date: Tue, 01 Oct 2002 11:02
102 lines
6267 bytes
6267 bytes
[Juergen Helbing]:
>
> Kjetil Torgrim Homme <kjetilho@haey.ifi.uio.no> wrote:
>
> > 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.
>
> A filter on .RAR would generally help :-)
the transit server in front of my reader server has no way of
implementing a RAR-filter efficiently. what should it do, look at the
Subject?
> And as soon as we are having the "total size" as a part of the
> msgid ( <p55o55s6....> here: 6 MB large) your problems are solved
> finally.
yes, that will certainly improve matters. and if we can make
something so that the file is split into 3795 parts rather than 69
RAR-files each consisting of 55 parts, things would be wonderful. if
we can make it as reliable as RAR files, users surely will want to
switch. RAR files are a pain, really.
> Sorry, but I dont understand why we disagree here. The only
> advantage of "offset/size" over "part/total" would be to _fill_
> with reposts. Transits are never faced with this problem.
perhaps. the introduction of a file identifying hash may change that
a bit.
I think you overestimate the cost of extending the Message-ID. they
are rather long today as well. Forte Agent's LHS are always 34
octets. Airnews' are always 50 octets. Power Post's LHS is 25. on
the other hand, Gnus has a 13 octet LHS, and INN only 12.
my current suggestion is
<''BBBB'BBBB'BBBB'mBBBBBB''xxxxxxxxxx@domain> (MD5 excerpt)
<''BBBB'BBBB'BBBB'MBBBBBBBBBBBBBBBBBBBBBB''xxxx@domain> (full MD5-128)
which is 36 and 46 octets respectively. (better than Airnews! :)
(B is a BASE64 digit. BBBB is just a typical size, 16 MiB. large
files (16..1024 MiB) will need two more BASE64 digits, one in offset
and one in total-size. the x-es signify a random string, different in
each part. 10 x-es give 63 bits, 4 x-es give 25 bits. the
implementation is free to put whatever it likes there, except the
character '. this amount of randomness is just my recommendation.)
but what impact will it have?
a typical medium to large feeder will have 50 feeds. it will be
offered 1500000 articles per day, for a total of 400 GB. when it
receives an article, it will send CHECK <msgid> to all its peers (a
few will be ignored since they're in Path already), and it will
subsequently send 438 <msgid> ("no thanks") to all its other peers.
the increase in traffic is 50*1500000*34*2 == 4.7 GiB, or a little
more than a percent. (by symmetry this increase will be both inbound
and outbound.) that's worst case, INN vs. full MD5, and every article
on Usenet using this new convention. more realistically, only half
the articles will be binary posts, and the switch will be from Power
Post. then the increase is only 787 MiB. I think this is down in the
noise.
I'll note that INN's history file will not be impacted by this at all,
since they make a MD5 hash of the msgid and uses that as the key.
Diablo does the same thing, except it uses CRC64.
> And I accept that applications "want" to make the decision without
> even downloading the headers. But in fact they ARE downloading the
> headers - now all combined into one "super-header-msgid".
>
> I agree if you want to reach that it is not necessary to add new
> headers or to deliver such info as MIME headers even in XOVER.
> (which requires hard to get server-changes)
adding the MIME headers to XOVER will slow down XOVER for everyone,
but it's only useful for the people interested in binaries. it's
better to have tools which need it ask for the headers using XHDR, and
make sure that the server can handle that operation quickly.
> This is the way Jeremy Nixon - and a lot of other people prefer
> - and are even working on. I am wondering why they are not
> adding their comments here. If we would add all this information
> to the message-id, then we can _finally_ forget MIME on Usenet.
oh no, not at all. MIME definitely has its place. especially the
Content-Type is useful information which I don't think we want to put
in the msgid. for text articles, the charset specification is very
useful until we manage to make a switch to UTF-8 (yeah, right).
--
Kjetil T. ==. ,,==. ,,==. ,,==. ,,==. ,,==
::://:::://:::://:::://:::://::::
=='' `=='' `=='' `=='' `=='' `== http://folding.stanford.edu
Re: [FNTP] 'in-completeness'
Author: Curt Welch
Date: Tue, 01 Oct 2002 13:39
Date: Tue, 01 Oct 2002 13:39
85 lines
5326 bytes
5326 bytes
archiver@i3w.com (Juergen Helbing) wrote:
> 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 ?
He stated the conlusion above. You simply can't use a Message-ID format
where you can deduce the other Message-IDs given the first one. You have
to add randomness to it to make it safe.
> Is it worth to care about it ?
Why would you ignore it? Why, when every possible door open for abuse on
Usenet has been used, would you open a new one when it's not needed?
> Would it be an argument to stop multipart identification ?
No. I don't think you see Andrew's point. You suggested (4 messages
back):
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.
With that format, the second part 1 shows up, someone looking to cause
trouble could post short text messages to alt.test with the IDs of all the
remaning parts (this would be done automatcially with software, not
manually). The text messages would move though most of Usenet in a few
seconds. Because they have the same Message-ID as the multipart message,
and because they move much faster through Usenet, most servers would end up
with copies of the text messages and would refuse the real messages if they
were ever offered.
The fake messages wouldn't even be in the same group, so someone scaning
the group would think that the missing parts were just caused by "Normal
Usenet crap". You would have to fetch the messages by ID to understant
what happened.
To fix this, all you have to do is add randomness to your Message-ID:
<p1o3s4.n538gbue.abcdefghijklmno@server.com.bin>
<p2o3s4.ojbn76en.abcdefghijklmno@server.com.bin>
^^^^^^^^ extra random stuff that changes with each ID.
This makes it much harder to block messages by ID because you would have
to post hundreds of thousands of fake messages for every one article you
wanted to block.
You can still use your IDs to correctly identify parts, you just have to
make sure that some part of the ID is random and that there is at least 16
bits or so of randomness there.
This means that given one ID, you can not predict what the others will be.
Any scheme that allows the "good guy" to predict Message-IDs is unworkable
on Usenet because of this abuse problem.
And don't confuse this abuse problem with the one where people post fake
messages like they can do today. If I post a multipart message now, anyone
can post messages to the same group, with the same Subject, and the same
From: line etc. That form of potential abuse is already here. But, when
you do that, it doesn't block or cancel the orginal post, it just adds more
noise that could confuse the users and the download tools. The orginal
articles will still be there.
--
Curt Welch http://CurtWelch.Com/
curt@kcwc.com Webmaster for http://NewsReader.Com/
Re: [FNTP] 'in-completeness'
Author: Curt Welch
Date: Tue, 01 Oct 2002 14:24
Date: Tue, 01 Oct 2002 14:24
89 lines
5567 bytes
5567 bytes
archiver@i3w.com (Juergen Helbing) wrote: > 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_. Ok, that's a valid issue. > >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 ? To be an advantage to the download tool, with today's Usenet, it must be in the XOVER data somewhere. We talked about hidding it in "fake" Message-IDs in the References: header. We have talked about putting it in the Subject. The From header could be used as well (it's not used to hold e-mail addresses anymore anyway for most posts). But the place where it does the most good and makes the most sense always seems to be the Message-ID. I have argued only using a small hash in the Message-ID and putting the large form of the hash anywhere else in the headers (not even in the XOVER headers). That would allow download tools to spot potential matches using only XOVER data but then force them to do a HEAD command on those articles to verify that the file is correct. But without a hash, then there is now way to match up reposts of the same file. Someone other than the orginal poster can re-post segments, or repost the entire file 2 weeks later and help everyonet that didn't get it the first time. But without a hash, you can't write an automated download tool to deal with reposts. The Message-ID is something that should identify the post. The hash of the file included fits into the reason we use Message-IDs very cleanly. If Usenet is to one day trasport files and not just articles with files hidden in them, putting the hash in the Message-ID is a very natural way to do things. > >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. Where are you saying the hash belongs? Not in the body I hope where it is useless for the tasks I've been talking about. > 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, ... Good points. There's always someone that doesn't like what's posted and part of what is good about Usenet is the ability to continue to "speak" even when someone is trying to shout you down. > 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. Well, true. If a file which some group of people don't want to see posted is identified by its hash, then it becomes easy to spot re-posts of the exact same file - no matter where it's posted on Usenet even if you have the correct access to a feed server that can scan for it. But any poster dealing with that problem can still use this system, they just have to make minor, 1 bit changes to the file to prevent the hash from being the same. And for those posts, the hash would not have as much value. But it's still useful. It can still be used to allow reposts of missing segments of the post. It can still be used by news servers to store and combine files together. It can still be used by news feeds trying to thin a feed down to a useable size to prevent backlogs which cause articles of all sizes and types to be randomly dropped. > 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. So where do you think they belong? -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Re: [FNTP] 'in-completeness'
Author: Curt Welch
Date: Tue, 01 Oct 2002 14:48
Date: Tue, 01 Oct 2002 14:48
55 lines
3882 bytes
3882 bytes
archiver@i3w.com (Juergen Helbing) wrote: > Klaas <spamhole@klaas.ca> wrote: > We fundamentally disagree: > The goal of this thread _is_ to patch just one problem - incompleteness. I don't think anything we are talking about in this thread will "fix" the incompleteness problem. At best, it will shape the problem into something which isn't as bad to deal with. i.e. we can make it easier for servers to drop entire multipart posts instead of dropping random articles. And we can make it much easier for users to make use of reposts - even reposts not meant to "fix" the orginal. But neither of these will "fix" the missing article problem. They both will instead make it worse. > There is no reason to repeat all this again. There is some reason to repeat it again. > And my experience with yEnc tells me now that it is _possible_ > to make changes within an acceptable period of time. > And I dont see any reason to discuss an "entire solution" for > the next three years when it is possible to solve incompleteness > seperately. Ok, so what do you see as something we can do to solve the incompleteness problem? And what is this problem to you? Are you only talking about the problem of a multipart post having data from the middle missing or are you talking about the general problem of articles not be propigated to all servers? > We dont need reposts if the original transmission is complete. > All "nice tries" to operate with "filling and repost databases" and > "hashes" is not necessary if we are able to make sure that multiparts > are properly propagated. > It is better to fix the problem than to create a tool which circumwents > it. Of course. But I haven't seen anything even mentioned here that makes any progress towards fixing the dropped article problems we now live with. Do you think raising the max article size to 10MB is going to actulaly help Cidera justify adding more bandwidth to their service? Or help hunreds of usenet sites decide that 50 Mbit of bandwith is worth burning just for Usenet? And how is adding part numbers to the message-id going to help? I felt like we already gave up "fixing" the incomplete problem in this thread and had moved on to "learning to live with it". -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Re: [FNTP] 'in-completeness'
Author: Curt Welch
Date: Tue, 01 Oct 2002 15:06
Date: Tue, 01 Oct 2002 15:06
33 lines
3130 bytes
3130 bytes
archiver@i3w.com (Juergen Helbing) wrote: > Kjetil Torgrim Homme <kjetilho@haey.ifi.uio.no> wrote: > >okay, .$ is good. Curt may be right that we don't really need to add > >anything to the RHS, though. > > Are you both sure ? > I believe that we need to have anything which indicates the > "new style" properly. Perhaps I'll find it later. No mater what format you pick, you can make it clear that no new server/newsreader should generate a message in that format unless it was a binary file, but there's nothing you can do to prevent an old server from doing it by accident. All you can do is reduce the probability of that accient happening down to a level low enough that it's not an issue. My point is that you don't need to use a .bin fake TLD to do that. You can put .bin (or any other unique set of symbols) in the LHS just as easilly and still get the probability of an accidential collision low enough that it won't be a problem. I had suggested a pattern something like $UB$.*$$ as something I felt was unique enough to reduce problems to a level of unimportance. If you used a LHS pattern you would want to do some testing on real Message-IDs and get the collision rate down to zero over a multiple day trial. With some study of real Message-IDs in use today, I'm sure it would be easiy to find something that everyeone felt was safe. The advantage is that you don't have to break the current symantatics of Message-IDs which you will do if you add .bin to the RHS. -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Re: [FNTP] 'in-completeness'
Author: Kjetil Torgrim Homme
Date: Tue, 01 Oct 2002 15:27
Date: Tue, 01 Oct 2002 15:27
30 lines
2588 bytes
2588 bytes
[Curt Welch]:
>
> Of course. But I haven't seen anything even mentioned here that
> makes any progress towards fixing the dropped article problems we
> now live with.
we need to do some groundwork here into the causes and effect. I'll
make some statements, and you say agree/disagree:
incompleteness only happens when a system is overloaded
articles go missing when a peer is backlogged
to solve the incompleteness problem, we need to change the behaviour
of servers with backlogged peers.
articles will always go missing, but we can shape the traffic so
that missing articles are concentrated on a few (random) files
rather than evenly distributed over all files.
if you send a peer CHECK msgid, do you have to send it to him with a
TAKETHIS if he asks for it? how will servers react to such an
implicit broken promise? (this could be used by clever feeders to
find out how to maximise completion.)
--
Kjetil T. ==. ,,==. ,,==. ,,==. ,,==. ,,==
::://:::://:::://:::://:::://::::
=='' `=='' `=='' `=='' `=='' `== http://folding.stanford.edu
Re: [FNTP] 'in-completeness'
Author: Russ Allbery
Date: Tue, 01 Oct 2002 15:38
Date: Tue, 01 Oct 2002 15:38
24 lines
2293 bytes
2293 bytes
Juergen Helbing <archiver@i3w.com> writes:
> curt@kcwc.com (Curt Welch) wrote:
>> 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).
> The tendency in the last years is that ISPs are no longer offering
> news-servers at all - because text-usenet _is_ free. This will
> concentrate Text-Usenet to the two handful of "free" text servers - and
> this will be the final end of Text-Usenet the way we know it today.
Why on earth would it mean that?
I can assure you that I, and many other educational institutions that I'm
directly familiar with, will continue carrying the text Usenet no matter
what happens to the binary Usenet. After all, many of us are *already*
not carrying binaries.
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: [FNTP] 'in-completeness'
Author: Curt Welch
Date: Tue, 01 Oct 2002 15:58
Date: Tue, 01 Oct 2002 15:58
37 lines
3063 bytes
3063 bytes
archiver@i3w.com (Juergen Helbing) wrote: > curt@kcwc.com (Curt Welch) wrote: > The tendency in the last years is that ISPs are no longer offering > news-servers at all - because text-usenet _is_ free. I think it has a lot more to do with the fact that binary usenet is far too expensive to offer and running a text-only server is not as easy as it sounds because 1) it's hard to get a text-only feed that doesn't allow binaries to keep leaking in and 2) it's hard to prevent your users from posting binaries. 3) anything you do to offer text-only usenet leeds to constant complaints such as - "why won't you raise your article size limit" - or "why are so many posts missing?" This very thread is just such an example. The _reason_ we have missing posts is because lots of ISPs have been trying to run "reduced" servers for years now. > This will > concentrate Text-Usenet to the two handful of "free" text servers - and > this will be the final end of Text-Usenet the way we know it today. If there was some other reason that the binary files actually left Usenet, then the ISPs would be happy to run Usenet servers again. You don't want 100 million people trying to read news from 3 servers. It works much better if you use Usenet as it was intended to distribute the read load over hundreds of servers located close (network wise) to the users. > Now remove the huge Binary NSPs - and you'll see what can happen. It's the need for huge Binary NSPs that is forcing usenet into a "big 3" world. You have your logic backwards. -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Re: [FNTP] 'in-completeness'
Author: Curt Welch
Date: Tue, 01 Oct 2002 16:32
Date: Tue, 01 Oct 2002 16:32
62 lines
3921 bytes
3921 bytes
Kjetil Torgrim Homme <kjetilho@haey.ifi.uio.no> wrote: > [Curt Welch]: > > > > Of course. But I haven't seen anything even mentioned here that > > makes any progress towards fixing the dropped article problems we > > now live with. > > we need to do some groundwork here into the causes and effect. I'll > make some statements, and you say agree/disagree: > > incompleteness only happens when a system is overloaded Well, the machine is not always overloaded. Sometimes it would be overloaded if it tried to get a full feed, but was configued (though feeds etc) to drop lots of stuff so it wouldn't get overloaded. > articles go missing when a peer is backlogged For sure - if the backlog exceeds the max queue size of the sending server. > to solve the incompleteness problem, we need to change the behaviour > of servers with backlogged peers. Yes. > articles will always go missing, but we can shape the traffic so > that missing articles are concentrated on a few (random) files > rather than evenly distributed over all files. That is already being done on a regular basis. Feeds tend to be configued to move smaller files with higher priority than larger articles. The logic is that it's better to drop a few large articles than hundreds of small articles. > if you send a peer CHECK msgid, do you have to send it to him with a > TAKETHIS if he asks for it? No, but it's not nice to do that. The receiving site must be able to deal with that incase the sending site crashes or shuts down without getting to the takethis. > how will servers react to such an > implicit broken promise? It will cause them to send "try again later" responses to all the other peers which offer the same article. At some point, the server times out and stops waiting for the first site to send the article, and if the other peers haven't given up on the "try again later" responses, they will in theory send the article. But overall, it means you slow down the delivery of the article you sent the fake "check" for, and you risk it never making it to the server. > (this could be used by clever feeders to > find out how to maximise completion.) How? What are you think there? -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Re: [FNTP] 'in-completeness'
Author: Klaas
Date: Tue, 01 Oct 2002 18:46
Date: Tue, 01 Oct 2002 18:46
18 lines
1873 bytes
1873 bytes
After careful consideration, Juergen Helbing muttered: > Klaas <spamhole@klaas.ca> 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. >> >>I wouldn't mind a reference to that survey! > > There was no poll yet - so I dont have exact data myself. > (I saw this in various discussions when it came to the > point that Binary Usenet would be completely seperated). > Any Msg-IDs to the threads? -Mike
Re: [FNTP] 'in-completeness'
Author: Kjetil Torgrim Homme
Date: Tue, 01 Oct 2002 22:39
Date: Tue, 01 Oct 2002 22:39
129 lines
7041 bytes
7041 bytes
[Curt Welch]:
>
> Kjetil Torgrim Homme <kjetilho@haey.ifi.uio.no> wrote:
> > incompleteness only happens when a system is overloaded
>
> Well, the machine is not always overloaded. Sometimes it would be
> overloaded if it tried to get a full feed, but was configued
> (though feeds etc) to drop lots of stuff so it wouldn't get
> overloaded.
size limit, mainly. yes. but this wouldn't be apparent to the users
if the parts were the same size. (I don't care about incompleteness
in the sense complete groups being unavailable.)
> > articles go missing when a peer is backlogged
>
> For sure - if the backlog exceeds the max queue size of the
> sending server.
right. this tends to be a time limit, due to self expiration of
transit spools.
> > to solve the incompleteness problem, we need to change the
> > behaviour of servers with backlogged peers.
>
> Yes.
>
> > articles will always go missing, but we can shape the traffic so
> > that missing articles are concentrated on a few (random) files
> > rather than evenly distributed over all files.
>
> That is already being done on a regular basis. Feeds tend to be
> configued to move smaller files with higher priority than larger
> articles. The logic is that it's better to drop a few large
> articles than hundreds of small articles.
right, we do this too, this makes sure that text Usenet is complete.
actually, they are the same priority, but since the articles are
smaller, they will transmit faster with less use of resources, so in
practice they are prioritised.
> > if you send a peer CHECK msgid, do you have to send it to him
> > with a TAKETHIS if he asks for it?
>
> No, but it's not nice to do that. The receiving site must be able
> to deal with that incase the sending site crashes or shuts down
> without getting to the takethis.
>
> > how will servers react to such an implicit broken promise?
>
> It will cause them to send "try again later" responses to all the
> other peers which offer the same article. At some point, the
> server times out and stops waiting for the first site to send the
> article, and if the other peers haven't given up on the "try again
> later" responses, they will in theory send the article.
yeah right... this may be a source for incompleteness. if I recall
correctly, Diablo does this right, but INN 2.x ignored "try later"?
> But overall, it means you slow down the delivery of the article
> you sent the fake "check" for, and you risk it never making it to
> the server.
thanks.
> > (this could be used by clever feeders to find out how to
> > maximise completion.)
>
> How? What are you think there?
well, I outlined an algorithm where a feeder kept a database of the
completeness each file has on its peers. it can't know what parts its
peer has received from others. a speculative CHECK could map that
out.
here's the algorithm again, slightly modified and more spelled out:
server receives a message <''offset'segsize'total'mhash''random@rhs>
store it in history, as usual.
increase octet count in binary history, using total/hash/rhs as the
key. if creating a new entry, initialise total size.
add the message to each peer's queue.
when a message is sent to a peer, update the binary history stored
for that peer as above. the same update happens if the peer says
"Duplicate". when the file is completely transmitted, the binary
history entry can be removed.
when expire runs, update the local binary history appropriately (not
sure if it is worth the effort to do it accurately, just marking the
tuple as incomplete should suffice).
if a peer is backlogged (the queue is more than five minutes long,
or something like that), we try to be intelligent, and sort the
queue.
for all files which are complete in the transit spool, sort the
files so that the file with least remaining octets at the peer is
sent first. within a file, send the parts in offset order. (this
will typically be the same as chronological ordering.)
then do the same thing to files which are incomplete in the
transit spool.
back of the envelope calculation time... there is 400 GiB of data
every day. the average file size is something like 20 MiB (taken from
thin air). the median size is of course much smaller. this means
there are 200000 files transmitted every day. this is the number of
entries there will be in the local binary history. the key is 20
octets + rhs, hash it into 64 octets. the value is small, 8 octets.
add some overhead, and it should still fit into 30 MiB. the binary
history for each peer can be smaller, since only incomplete files will
be listed there. the size of this is not frightening, the number of
I/O operations is more worrying.
it would be more efficient to use a single database for all the peers,
but this leads to concurrency issues when updating it. possibly not a
problem if mmap'ed, and each process only increasing the octet count
for the peer it is working on. in such an implementation, you only
need 4 octets per peer, and approx. 90 MiB more RAM for 100 peers.
--
Kjetil T. ==. ,,==. ,,==. ,,==. ,,==. ,,==
::://:::://:::://:::://:::://::::
=='' `=='' `=='' `=='' `=='' `== http://folding.stanford.edu
Re: [FNTP] 'in-completeness'
Author: Juergen Helbing
Date: Wed, 02 Oct 2002 04:41
Date: Wed, 02 Oct 2002 04:41
60 lines
3918 bytes
3918 bytes
curt@kcwc.com (Curt Welch) wrote: >To fix this, all you have to do is add randomness to your Message-ID: > <p1o3s4.n538gbue.abcdefghijklmno@server.com.bin> > <p2o3s4.ojbn76en.abcdefghijklmno@server.com.bin> > ^^^^^^^^ extra random stuff that changes with each ID. >This makes it much harder to block messages by ID because you would have >to post hundreds of thousands of fake messages for every one article you >wanted to block. Thanks for the clarifications. >And don't confuse this abuse problem with the one where people post fake >messages like they can do today. If I post a multipart message now, anyone >can post messages to the same group, with the same Subject, and the same >From: line etc. That form of potential abuse is already here. But, when >you do that, it doesn't block or cancel the orginal post, it just adds more >noise that could confuse the users and the download tools. The orginal >articles will still be there. I agree that it would be worse if messages are not propagated because someone is faking msg-ids rather than "just confusing" downloading tools. If our "dream" of a "better binary usenet" where files can be identified automatically would become true, then such "forgery" would have a very similar effect: The automated tools (serverside/readerside) would be confused - and manual intervention would become necessary. Done with automated tools this seems to be a real danger for our efforts. Those people who _wanted_ to disturb the regular operation of Binary Usenet to a point where it becomes unusable would have an easy game. Unfortunately life could be far more difficult: No matter what kind of "binary identification" we are going to introduce: Some sickos might "intercept" them - and send out own binaries as a "backpack". Servers cannot decide which msgs really belong together - unless they are scanning the full content for plausibility. So they would treat all the original and faked messages as "one entity" and try their very best to propagate them. This applies to all kinds of "modified and extended msg-id" - because the part which 'identifies' the binary is always public - and could be always faked. Does anybody have an idea how we could label splitted binaries generally in a way that it could not be faked as soon as the first parts are propagated ? It would not be necessary to do this in the msg-id. If all kinds of "labelling" are "unsecure" by definition then I tend to ignore that point entirely - and rely on tools for detection and abuse-departments the same way we fight this already today. -- Juergen
Re: [FNTP] 'in-completeness'
Author: Juergen Helbing
Date: Wed, 02 Oct 2002 04:57
Date: Wed, 02 Oct 2002 04:57
62 lines
3554 bytes
3554 bytes
curt@kcwc.com (Curt Welch) wrote: >> What is the reason to place it inside the message id to get this ? > >To be an advantage to the download tool, with today's Usenet, it must be in >the XOVER data somewhere. Yes. >We talked about hidding it in "fake" Message-IDs in the References: header. A really good place. Did meanwhile anybody make experiments ? >We have talked about putting it in the Subject. This is an idea I would even favor: As soon as a message is a "binary message" (identified by the .bin> extension of the msgid) then we could specify _all_ other headers the way we like them. >The From header could be used as well (it's not used to hold e-mail >addresses anymore anyway for most posts). Yes - really. >But without a hash, then there is now way to match up reposts of the same >file. Someone other than the orginal poster can re-post segments, or >repost the entire file 2 weeks later and help everyonet that didn't get it >the first time. But without a hash, you can't write an automated download >tool to deal with reposts. Did you already consider that "reposting _one_ segment" two weeks later: <offset45000'size10000'.....> would create an "incomplete binary" by defintion - because that repost would not be a "full multipart" ? Will you extend the msg-id now also by a "repost-tag" - and a "counter" to identify the number of the repost - and perhaps a sender id in case that three people are sending reposts ? Or will you use other headers - leaving that "incomplete part" alone ? >Where are you saying the hash belongs? Not in the body I hope where it is >useless for the tasks I've been talking about. All that additional informations belongs to the message-headers. Jeremy Nicon and Claus Faerber made own proposals - which are unfortunately a bit of "overkill" - because they blow up the XOVER (Content-XXX) to unusability - but I believe that the Subject: or From: Headers would be GREAT - simply because most newsreader permit _sorting_ messages by them. (From that point of view I must modify my own proposal - and place the part/total/size after the unique part). And - devils advocate - it might even be available copied in the body for systems which dont keep the headers - or mangle them. I _agree_ that we need that info in headers available in standard XOVER. -- Juergen
Re: [FNTP] 'in-completeness'
Author: Juergen Helbing
Date: Wed, 02 Oct 2002 05:12
Date: Wed, 02 Oct 2002 05:12
67 lines
3569 bytes
3569 bytes
curt@kcwc.com (Curt Welch) wrote: >I don't think anything we are talking about in this thread will "fix" >the incompleteness problem. The discussion about "identifying multipart entities by msg-id" originated from _your_ wish that servers should know that they are transporting _files_ rather than messages. AFAIR you said that this would be the pre-condition to improve completeness. So I'm twisting my mind to plase you :-) >At best, it will shape the problem into >something which isn't as bad to deal with. i.e. we can make it easier for >servers to drop entire multipart posts instead of dropping random articles. You should not write this publically - even it might be on your mind. Such "advantages" would guarantee that the users would reject using that scheme. >But neither of these will "fix" the missing article problem. They both >will instead make it worse. Ooops. More hours wasted.... :-( >Ok, so what do you see as something we can do to solve the incompleteness >problem? There have been more answers at the beginning of this thread. We'll have to come back to them now. >And what is this problem to you? Are you only talking about the problem of >a multipart post having data from the middle missing or are you talking >about the general problem of articles not be propigated to all servers? The problem for me is incompleteness overall. For multiparts it is really urgent. >Do you think raising the max article size to 10MB is going to actulaly help >Cidera justify adding more bandwidth to their service? Your explanations were detailled enough - so the idea of "larger articles" is finally "off the stove". >And how is adding part numbers to the message-id going to help? I hope you can tell my why you asked for it. :-) My "simplified" approach would have made it possible to fetch "missing segments" from 'backup-hosts' even without fetching their XOVER-list by asking for the "expected" msg-id. We can fight incompleteness by adding power to the network, but adding redudant information (PAR) or by adding "backup-paths" for upstream/downstream on user-side. But identifying multiparts properly should be solved in all cases. >I felt like we already gave up "fixing" the incomplete problem in this >thread and had moved on to "learning to live with it". I dont feel this. -- Juergen
Re: [FNTP] 'in-completeness'
Author: Juergen Helbing
Date: Wed, 02 Oct 2002 05:24
Date: Wed, 02 Oct 2002 05:24
49 lines
3031 bytes
3031 bytes
Kjetil Torgrim Homme <kjetilho@haey.ifi.uio.no> wrote: >> A filter on .RAR would generally help :-) > >the transit server in front of my reader server has no way of >implementing a RAR-filter efficiently. what should it do, look at the >Subject? I am sure that "cleanfeed" will help you. Not against receiving these "trailers" but for hiding them and removing them from your outgoing feeds - and disks. >> And as soon as we are having the "total size" as a part of the >> msgid ( <p55o55s6....> here: 6 MB large) your problems are solved >> finally. > >yes, that will certainly improve matters. and if we can make >something so that the file is split into 3795 parts rather than 69 >RAR-files each consisting of 55 parts, things would be wonderful. if >we can make it as reliable as RAR files, users surely will want to >switch. RAR files are a pain, really. You are absolutely right. We are having two obstacles: First we need PAR files which can deal with 3795 parts. (AFAIR they are working on that problem right now). Actually PAR files can "protect" only up to 255 files. The second problem is that some news-servers dont accept multiparts with so many parts. Some admins seems to have filters to avoid the "5000 parts each 5 kBytes" problem. The third problem is that a lot of hosts no longer show "incomplete multiparts". And a multipart with 3795 parts _will_ be incomplete on most servers all the time. >I think you overestimate the cost of extending the Message-ID. they >are rather long today as well. Forte Agent's LHS are always 34 >octets. Airnews' are always 50 octets. Power Post's LHS is 25. on >the other hand, Gnus has a 13 octet LHS, and INN only 12. You are right - we could use the msg-id. Let's hope that we'll find a solution to that ugly fake problem. -- Juergen
Re: [FNTP] 'in-completeness'
Author: Juergen Helbing
Date: Wed, 02 Oct 2002 05:32
Date: Wed, 02 Oct 2002 05:32
40 lines
2737 bytes
2737 bytes
curt@kcwc.com (Curt Welch) wrote: >> Are you both sure ? >> I believe that we need to have anything which indicates the >> "new style" properly. Perhaps I'll find it later. > >No mater what format you pick, you can make it clear that no new >server/newsreader should generate a message in that format unless it was a >binary file, but there's nothing you can do to prevent an old server from >doing it by accident. I believe that no old server would add any kind of "reserved" TLD code at the RHS "by accident". >All you can do is reduce the probability of that >accient happening down to a level low enough that it's not an issue. My >point is that you don't need to use a .bin fake TLD to do that. You can >put .bin (or any other unique set of symbols) in the LHS just as easilly >and still get the probability of an accidential collision low enough that >it won't be a problem. On the LHS where random and time codes are used every kind of combination might be occur - and would be even permitted today. That's why I would prefer the RHS for _binary_ identification. >The advantage is >that you don't have to break the current symantatics of Message-IDs which >you will do if you add .bin to the RHS. I dont know what the "spec purists" would say. But I believe they would prefer a proper "break of current symantics" (i.E: a redefinition) which could be very easily implemented by everybody who wants to filter binaries efficiently. Perhaps we should ask the "RFC people" which way they propose. -- Juergen
Re: [FNTP] 'in-completeness'
Author: Juergen Helbing
Date: Wed, 02 Oct 2002 05:37
Date: Wed, 02 Oct 2002 05:37
19 lines
1789 bytes
1789 bytes
Bas Ruiter <lordsnow@home.nl> wrote: >Same as yourself, an idea I once had is to put up a CRC32 (preferably >md5) server which can be queried. It's fed by the contents of the >original posters .csv and .crc files. >Adding cover, index, whatever functionality would be a bonus too. One of my servers is able to answer to such requests: http://myfile/alt.binaries.moderated.pinup-art/c-ob001__$F234511$Rabcdef$.jpg With $F is the filelength and $R is the CRC32. >Unfortunately I didnt and don't have the means to try it out. I did - but I'm very uncertain if it would help Usenet. -- Juergen
Re: [FNTP] 'in-completeness'
Author: Juergen Helbing
Date: Wed, 02 Oct 2002 06:17
Date: Wed, 02 Oct 2002 06:17
85 lines
4322 bytes
4322 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. > >I wasn't talking about a pokey CRC32 hash, but a md5-160 or -190. This is not a question of the quality of the hash. Users usually dont scan 1.000.000 files in all newsgroups. (which would be the problem for a huge query server). >And not having to download the same file twice is exactly the point! >(from a user's point of view). So you believe that it would be a nice strategy to rely on MD5 to seperate "new binaries" from "I have them already" ? As a fan of "alt.binaries.bettie-page" I can tell you that there can be dozens of variants of the same picture with different MD5. The last time I tried to "unify" Bettie Page I reduced > 10000 pics down to 1400 manually. And this was done _after_ the automatic identity check :-)) >In the future everyone would be able to query an online MD5 database. >It may also be used to build net-nanny type filters in programs this >way, to block unwanted files. Far too easy to trick out. (The media industry is working on this for a long time now - they never will succeed :-))) >It -is- possible to create a file so that it has a certain CRC value. >It's impossible to do this with MD5 tho. It would be _very_ easy to "fake" a message that the content does not match the "MD5" which the "automated retriever" would use for the "I download it now" decision. The only "real" application for a perfect MD5 match would be that a user decides that he wants to fetch all binaries from a CSV list which is also posted together with the binaries. And if some are not yet present, then the newsreader could store the missing ones and retrieve them "later". But before THIS becomes reality it would be necesary that CSVs are more widely used. And in this case (if you are not able to change the behavior of ten thousands of contributors) you _will_ use CRC32 and filesize and filename for proper detection - because _nobody_ is using MD5 for proper identification. Binary Usenet is based on CSV/SFV - and it would be a giants job to change this. You are _right_ that MD5 is superior to CRC32+size. _I_ wanted to have something which fits into the existing infrastructure - so yEnc uses size and CRC32. You can _try_ to change everything with a "superior" method. And I even agree that it would be the best way. But I doubt that such "perfect" solutions can have success...... My own message here reflect _always_ the "user part" in me. And I am always thinking how_I_ would use new things (or how the few hundred people I know would do it). This is harder than sitting in the sandbox and thinking about "great solutions"...... Be sure that I was far more 'formalistic' when I was younger. The "marketing and sales" department changes my minds fundamentally. Unfortunately life is far more difficult now.... Please keep this in mind when you read my messages here. -- Juergen
Re: [FNTP] 'in-completeness'
Author: Juergen Helbing
Date: Wed, 02 Oct 2002 06:26
Date: Wed, 02 Oct 2002 06:26
27 lines
1747 bytes
1747 bytes
Russ Allbery <rra@stanford.edu> wrote: >I can assure you that I, and many other educational institutions that I'm >directly familiar with, will continue carrying the text Usenet no matter >what happens to the binary Usenet. Yes - the "academical" part of Usenet will survive forever. I dont see any danger for the sci.* hierarchy. >After all, many of us are *already* not carrying binaries. Yes, you are right. But your students are the most versatile hackers in the world and they will have access to Binaries whenever they want. And at Stanford - and at all other universities they have endless bandwidth to enjoy it..... (I love those guys/gals who are posting 5 Gigs per day :-) A curious question to you directly: How many terabytes with Binary Newsgroup Content are routed through the GigaBit connectivity of Stanford every day ? What are you doing to justify that you _dont_ need a binary news-server? -- Juergen
Re: [FNTP] 'in-completeness'
Author: Juergen Helbing
Date: Wed, 02 Oct 2002 06:42
Date: Wed, 02 Oct 2002 06:42
35 lines
2197 bytes
2197 bytes
curt@kcwc.com (Curt Welch) wrote: >The _reason_ we have missing >posts is because lots of ISPs have been trying to run "reduced" servers for >years now. I agree. And the administrative problems are not solved. 10.000 admins are using 10.000 policies to prevent messages from being distributed. >If there was some other reason that the binary files actually left Usenet, >then the ISPs would be happy to run Usenet servers again. I'm afraid that they are happy not to run a news-server. >You don't want >100 million people trying to read news from 3 servers. It works much >better if you use Usenet as it was intended to distribute the read load >over hundreds of servers located close (network wise) to the users. A nice idea - if we could reach a point where users _can_ read news from "close" servers. >> Now remove the huge Binary NSPs - and you'll see what can happen. >It's the need for huge Binary NSPs that is forcing usenet into a "big 3" >world. You have your logic backwards. The question is whether we can reverse the current tendancy. I dont believe that this is "my logic". -- Juergen
Re: [FNTP] 'in-completeness'
Author: Juergen Helbing
Date: Wed, 02 Oct 2002 06:47
Date: Wed, 02 Oct 2002 06:47
17 lines
1317 bytes
1317 bytes
"Howard Swinehart" <howard@supernet.com> wrote: >> No, the NSPs could offer FTP servers. > >Maybe. I wonder if that would increase or decrease the costs for the >NSP though. If it increases the cost, they won't be interested. I'm afraid that every step "forward" would require investments in installation time, software updates, costs. If your statement is correct then we can stop any progress. But I still hope that "quality of service" might be also an argument. -- Juergen
Re: [FNTP] 'in-completeness'
Author: Kjetil Torgrim Homme
Date: Wed, 02 Oct 2002 09:40
Date: Wed, 02 Oct 2002 09:40
42 lines
3076 bytes
3076 bytes
[Juergen Helbing]:
>
> curt@kcwc.com (Curt Welch) wrote:
>
> >The From header could be used as well (it's not used to hold e-mail
> >addresses anymore anyway for most posts).
>
> Yes - really.
this one I really don't like. References is fine.
> Did you already consider that "reposting _one_ segment" two weeks
> later: <offset45000'size10000'.....> would create an "incomplete
> binary" by defintion - because that repost would not be a "full
> multipart" ?
>
> Will you extend the msg-id now also by a "repost-tag" - and a
> "counter" to identify the number of the repost - and perhaps a
> sender id in case that three people are sending reposts ?
a repost will confuse the admin's completeness statistics, so it would
be good to tag them as reposts. this is useful information for the
transit priority algorithm as well. I don't think we need a sender
id. we have the domain part, but of course lots of people will post
from the same giganews.com or whatever. for reposts, it really
doesn't matter.
(btw, there needs to be a change to my suggested transit algorithm:
when a file reaches 100%, it can not be deleted from history, since it
can have been fooled by forged msgid attacks, or by two people posting
the same file from the same domain.)
> I _agree_ that we need that info in headers available in standard
> XOVER.
what's wrong with XHDR?
--
Kjetil T. ==. ,,==. ,,==. ,,==. ,,==. ,,==
::://:::://:::://:::://:::://::::
=='' `=='' `=='' `=='' `=='' `== http://folding.stanford.edu
Re: [FNTP] 'in-completeness'
Author: Kjetil Torgrim Homme
Date: Wed, 02 Oct 2002 11:09
Date: Wed, 02 Oct 2002 11:09
71 lines
3994 bytes
3994 bytes
[Juergen Helbing]:
>
> I believe that no old server would add any kind of "reserved" TLD
> code at the RHS "by accident".
Outlook Express would ...
> On the LHS where random and time codes are used every kind of
> combination might be occur - and would be even permitted today.
> That's why I would prefer the RHS for _binary_ identification.
I showed that the legal characters ' { } did not appear in an
extensive sample of msgids used on Usenet. today I increased the
sample to 4427858. of these 882 were invalid, mostly missing angle
brackets.
here's the frequency count for the remaining 4426976 msgids, I include
only the legal special characters. many illegal characters are more
used than these. first column is count, second is ASCII value, third
is the character.
122 33 !
50846 35 #
3879585 36 $
210280 37 %
93 38 &
89 39 '
2124 42 *
7054 43 +
363729 45 -
4072139 46 .
2180 47 /
9247 61 =
39 63 ?
40 94 ^
346376 95 _
0 96 `
92 123 {
310 124 |
85 125 }
52 126 ~
the backtick was completely unused in this sample. we see that ' { }
are very seldom in this sample as well. there is no lack of good
candidates which are extremely unlikely to show up in a msgid.
! ? ^ ~ all showed up twice in the same msgid. there was no occurence
of a msgid with two apostrophes in it.
> >The advantage is that you don't have to break the current
> >symantatics of Message-IDs which you will do if you add .bin to
> >the RHS.
>
> I dont know what the "spec purists" would say. But I believe they
> would prefer a proper "break of current symantics" (i.E: a
> redefinition) which could be very easily implemented by everybody
> who wants to filter binaries efficiently.
well, there is a precedent with the $alz convention ("cancel."), but
it is not particularily liked in USEFOR for a number of reasons,
perhaps most importantly that a third party (the canceller) sends
messages in the namespace of the first party (the spammer).
I don't think those objections apply here, since the poster is not
transgressing into someone else's namespace.
--
Kjetil T. ==. ,,==. ,,==. ,,==. ,,==. ,,==
::://:::://:::://:::://:::://::::
=='' `=='' `=='' `=='' `=='' `== http://folding.stanford.edu
Re: [FNTP] 'in-completeness'
Author: Curt Welch
Date: Wed, 02 Oct 2002 15:38
Date: Wed, 02 Oct 2002 15:38
119 lines
8059 bytes
8059 bytes
archiver@i3w.com (Juergen Helbing) wrote: > curt@kcwc.com (Curt Welch) wrote: > I agree that it would be worse if messages are not propagated because > someone is faking msg-ids rather than "just confusing" downloading > tools. > If our "dream" of a "better binary usenet" where files can be identified > automatically would become true, then such "forgery" would have a > very similar effect: The automated tools (serverside/readerside) would > be confused - and manual intervention would become necessary. > Done with automated tools this seems to be a real danger for > our efforts. Yeah, this is worth looking into. Automated systems that fail completly once a single fake message is added to the group wouldn't be very useful. We probably need ways to make it resonable for the automated tools to identify the fakes from the real parts. > Unfortunately life could be far more difficult: No matter what kind of > "binary identification" we are going to introduce: Some sickos > might "intercept" them - and send out own binaries as a "backpack". Well, to start with, the download tools can look at the size of the message and know it's fake if it's not large enough to hold what it says it holds. Or download the segment and throw it out as trash if the decoded data does not fit what the segment information claimed was in the article (something it would do anyhow). And it could tend to use segments from the same source (From: line, maybe even Path: tail) first if possible so that if all the orginal segments are available from the same source, it's more likely they would be the valid ones. But we want to be able to use segments posted by other people, so we can't just throw them out. When you post offset/size segments, the other think you can do is overlap the segements so the last 50 bytes of one segment is repeated as the first 50 bytes of the next segment. When the segments overlapped, the download tool should not just ignore the bytes from the second segment, but verify that they are the same. That would be another possible tool to spot fakes - and another thing the tool generating the fakes would have to get right in order to disrupt the download. But, I guess the guy trying to fool the download tool is already creating custom software to duplicate the hash etc, so makeing it get the overlap bytes correct would not be hard either. But past that, what the tool will be left with is a collection of segments some of which are real, and some which are fakes thrown in to try and confuse the tool. It would be forced to try a game of mix and match to find which combinations of segments, when combined, produced a file with a valid hash. Using one of the cryptographic hashes makes it very very hard to fake that. But, if you have a 100 part post, with 10 fake parts added, and no way for the tool to identify the fakes from the reals other than trying every combination, that won't be very workable because the number of combinations and the amount of time required to recalculate the hash would take way too long. The user could be brought in to examine the articles and make a guess at what combinations to try I guess. Looking at Dates: and Path: headers and any other headers that were added might help a real person spot the fakes from the reals and allow them to delete the fakes from the set and let the tool then try to combine what was left. So I guess the tool could just have an error message that says "too many conflicing segments - please delete some from the set). This would allow end-user download tools to deal with the problem, but it's not going to help something like a news server which was trying to do all the combining automatically. I suspect the answer there becomes it can't. All it can do is group all the messages together (with all the overlaps from the fakes etc included), and let the end user figure out the answer. But by "group together", I'm thinking in terms of a new binary XOVER command which would list all the segements for the same file in one group, with much less overhead than the current XOVER command has. > Servers cannot decide which msgs really belong together - unless > they are scanning the full content for plausibility. So they would > treat all the original and faked messages as "one entity" and > try their very best to propagate them. Yeah, that's what I was just thinking. :) > This applies to all kinds of "modified and extended msg-id" > - because the part which 'identifies' the binary is always > public - and could be always faked. Right, it's impossible to prevent that I believe with a system like Usenet. > Does anybody have an idea how we could label splitted > binaries generally in a way that it could not be faked as > soon as the first parts are propagated ? It would not be > necessary to do this in the msg-id. I suspect there is more we could do with secure hashes to make the job of sorting out the fakes from the real segments easier for the download tool. For example, if the posting tool calculated an MD5 hash of each segement it was going to post, and included all those hash values in every segment, then you reduce the mix-and-max problem down from one of a 500MB problem to a 500KB problem (assuming you have the MD5 for every 500KB segment). Even if re-posts happend on different boundries, you could find all the segments needed to reconstruct each 500KB section of the file, and play the mix-and-max game only on those segments until you found the ones which correclty reconstructed that part of the file. So, you would need a way to list offset-size-hash values in the article - like at the end of the normal data. This is easy when yEnc is used because yEnc has an end-of-data marker even when multipart files are used. You could just add the list of segment hash values at the end in some standard format and the current yEnc decoding tools would ignore it. MIME of course makes it simple as well. BTW, dealing with the fake segments makes the idea of using a quick hash (of only the first X bytes of the file) unworkable. You would need to calculate the hash on the entire file in order to prevent these forged parts from breaking things. -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Re: [FNTP] 'in-completeness'
Author: Brian Truitt
Date: Wed, 02 Oct 2002 16:51
Date: Wed, 02 Oct 2002 16:51
47 lines
3513 bytes
3513 bytes
"Curt Welch" <curt@kcwc.com> wrote in message news:20021002113832.345$xh@newsreader.com... > archiver@i3w.com (Juergen Helbing) wrote: > > curt@kcwc.com (Curt Welch) wrote: > > So, you would need a way to list offset-size-hash values in the article - > like at the end of the normal data. This is easy when yEnc is used because > yEnc has an end-of-data marker even when multipart files are used. You > could just add the list of segment hash values at the end in some standard > format and the current yEnc decoding tools would ignore it. MIME of course > makes it simple as well. If you have a beginning-of-data and end-of-data marker in each segment, the posting program could do something like this: For each segment, pick an 8 character random string. crypt() that string, or other non-trivial to reverse function, and put the crypt()ed value (or some fraction thereof, maybe first 8 charaters) in the end-of-data tag. Put the original 8-character string in the beginning-of-data tag in the next part. This way, the person trying to fake the posts would have to reverse-engineer the crypt() value before you could get the next post out, which in all likelyhood isn't gonna happen. Of course, if the posters server is collecting all the posts before passing them on to peers, it's be a slim to none chance that someone could get out a fake post with the same msg-id, correct size, and matching cryptlinks before the server could push all the parts to the next peer in line for it. > > BTW, dealing with the fake segments makes the idea of using a quick hash > (of only the first X bytes of the file) unworkable. You would need to > calculate the hash on the entire file in order to prevent these forged > parts from breaking things. > > -- > Curt Welch http://CurtWelch.Com/ > curt@kcwc.com Webmaster for http://NewsReader.Com/
Re: [FNTP] 'in-completeness'
Author: Brian Truitt
Date: Wed, 02 Oct 2002 17:11
Date: Wed, 02 Oct 2002 17:11
40 lines
2564 bytes
2564 bytes
"Howard Swinehart" <howard@supernet.com> wrote in message news:3d976bf8$1_1@corp-news.newsgroups.com... > 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. One huge disadvantage I see to this is there is no link from the data back to the message that points to it. If the site hosting the bulk of the data removes it 10 minutes after it is posted, what tells the 10k servers out there to expire that message? I don't see any easy way to do that that couldn't be forged or that wouldn't be a technical disaster. Not to mention if a popular posting sight goes down, everyone across usenet simultaneously loses access to that content and has to deal with screaming raving customers =) > > 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'
Author: Brian Truitt
Date: Wed, 02 Oct 2002 17:23
Date: Wed, 02 Oct 2002 17:23
20 lines
2066 bytes
2066 bytes
"Juergen Helbing" <archiver@i3w.com> wrote in message news:42319.1a2201@archiver.winews.net... [snip] > Do you believe that your users would accept a "news-proxy" > which allows them to contact external NSPs as usual > - but which intercepts article downloads and delivers them > from your local news-server if they are available ? Hmmm, interesting concept. It would allow them to save space on download caps with the NSP's, and would help keep traffic on the internal network a bit more. However, I'd have a hard time selling the idea to people when they can already do that with some client software, which doesn't require passing a clear-text username and password thru an intermediary, which would be a guaranteed sticking point with people. In the end it would help me with traffic, but unfortunately wouldn't help in the long run with collecting statistics.
Re: [FNTP] 'in-completeness'
Author: Russ Allbery
Date: Wed, 02 Oct 2002 18:44
Date: Wed, 02 Oct 2002 18:44
25 lines
2033 bytes
2033 bytes
Juergen Helbing <archiver@i3w.com> writes:
> A curious question to you directly: How many terabytes with Binary
> Newsgroup Content are routed through the GigaBit connectivity of
> Stanford every day ?
Given the bandwidth throttling that we do on the residence nets, probably
not as much as you might think.
> What are you doing to justify that you _dont_ need a binary news-server?
Pointing out to people that those users aren't going to use Usenet anyway
whether we carry binaries or not? Do you seriously think that
peer-to-peer file sharing users would switch to Usenet? I think you're
fooling yourself if you do.
I'm also not sure you understand the distinction between permitted and
supported.
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: [FNTP] 'in-completeness'
Author: Kjetil Torgrim Homme
Date: Wed, 02 Oct 2002 20:18
Date: Wed, 02 Oct 2002 20:18
29 lines
2880 bytes
2880 bytes
[Brian Truitt]:
>
> "Juergen Helbing" <archiver@i3w.com> wrote:
> > Do you believe that your users would accept a "news-proxy"
> > which allows them to contact external NSPs as usual
> > - but which intercepts article downloads and delivers them
> > from your local news-server if they are available ?
>
> Hmmm, interesting concept. It would allow them to save space on
> download caps with the NSP's, and would help keep traffic on the
> internal network a bit more. However, I'd have a hard time
> selling the idea to people when they can already do that with some
> client software, which doesn't require passing a clear-text
> username and password thru an intermediary, which would be a
> guaranteed sticking point with people.
it is pretty common to have transparent HTTP proxies, most customers
never notice. an NNTP proxy would work just as well. remember the
intermediary in question controls the net infrastructure, and so could
sniff your password anyway. of course, only the commands ARTICLE
msgid and HEAD msgid could be satisfied locally. (I don't think
implementing caching is worth the trouble.) I see only one problem:
NSPs with per-IP limits.
--
Kjetil T. ==. ,,==. ,,==. ,,==. ,,==. ,,==
::://:::://:::://:::://:::://::::
=='' `=='' `=='' `=='' `=='' `== http://folding.stanford.edu
Re: [FNTP] 'in-completeness'
Author: Kjetil Torgrim Homme
Date: Wed, 02 Oct 2002 20:28
Date: Wed, 02 Oct 2002 20:28
37 lines
3335 bytes
3335 bytes
[Curt Welch]:
>
> When you post offset/size segments, the other think you can do is
> overlap the segements so the last 50 bytes of one segment is
> repeated as the first 50 bytes of the next segment. When the
> segments overlapped, the download tool should not just ignore the
> bytes from the second segment, but verify that they are the same.
this is a very good idea!
very cheap and easy to implement. 50 octets is overkill, even.
predicting just 10 bytes will be _very_ difficult, if we assume that
the transmitted data is compressed.
> That would be another possible tool to spot fakes - and another
> thing the tool generating the fakes would have to get right in
> order to disrupt the download. But, I guess the guy trying to
> fool the download tool is already creating custom software to
> duplicate the hash etc, so makeing it get the overlap bytes
> correct would not be hard either.
well, it reduces the time window considerably. without the overlap,
he can start emitting bogus part 20 when he sees part 1. with the
overlap, he won't know how the bogus part 20 should start without
seeing part 19 first. since his article needs to be as large as the
real part 20, he needs to be very well connected to receive part 19
instantly, and a connection to the Internet which is faster than his
victim to beat him to it.
I guess it's down to studying Path and X-Trace information manually if
any attacker is that determined. and then the X-Complaints-To...
--
Kjetil T. ==. ,,==. ,,==. ,,==. ,,==. ,,==
::://:::://:::://:::://:::://::::
=='' `=='' `=='' `=='' `=='' `== http://folding.stanford.edu
Re: [FNTP] 'in-completeness'
Author: JP Velders
Date: Wed, 02 Oct 2002 22:57
Date: Wed, 02 Oct 2002 22:57
108 lines
6509 bytes
6509 bytes
Though fairly new at the "let's get some binaries from the Net", I do however feel I can add something to this discussion. In article <1rheg68lr5.fsf@einn.ifi.uio.no>, Kjetil Torgrim Homme wrote: >> And as soon as we are having the "total size" as a part of the >> msgid ( <p55o55s6....> here: 6 MB large) your problems are solved >> finally. > yes, that will certainly improve matters. and if we can make > something so that the file is split into 3795 parts rather than 69 > RAR-files each consisting of 55 parts, things would be wonderful. if > we can make it as reliable as RAR files, users surely will want to > switch. RAR files are a pain, really. As summarized by others there are several problems, which "we" should *not* attempt at solving all together: 1. incompleteness of parts, and thus of multipart rars 2. the need for filtering out binary "stuff" ad 2: As others have stated, this should be done _somewhere_ in a message, such that a newsserver can identify it _easily_, not by applying filters to the post itself. I'm however in the dark as to the how and where ;D ad 1: Plenty of reasons, but those are just as valid for *text* posts as for binary posts. If my ISP's transit server fails and they loose news, then both binary and text groups are affected. It's not something which can be fixed easily, a lot of ideas exist about it though... Just for fun a crazy idea I had: have certain servers at certain points in the "fabric of usenet" and have them "broadcast" the incoming articles to their peers, which then inject them to their peers. It would make Usenet more resilient, but would also cause a lot of other problems ;D But there is a much more simple _problem_. If we try and fix problems one by one, one step at a time, we will (hopefully) end up with something much better then seeking for the Holy Grail (or Holy Handgrenade). Clearly the increasing use of PAR-files has shown something: by adding redundancy you can counter some of usenet's inadequacies. Why not take that part and think of an improved (or new ;) ) way(s) of posting multipart binary stuff. I think the first thing to consider is that certain PAR and RAR benefits need to be *integrated*. Let's take something from PAR; given enough samples of the complete dataset, it can recreate missing parts. But sometimes you only need 2 or 3 parts to have another RAR or PAR file complete. Asking for reposts of the entire file is stupid, you only need a couple of parts. RAR allows you to split a file into smaller chunks. Let's also take something from yEnc, it has a header which allows you to place a part into context (it's a file of size X, this part is position A through B of that file). Instead of relying on special strings in subjects it's a step forward. If you combine those traits, you could have an *encoding* which would have a high level of resilience, namely allowing for certain (any ?) parts to be recreated if only enough of the entire set of posts is available. Reposts would then ideally only have to be done for a (small ?) number of *small* parts, thus reducing the amount of additional load imposed by reposts. Increased overall size would probably be a side effect of adding very high resilience, though it would bring down the repost volume. The user-experience (of both sending and receiving parties) would greatly increase if you could have your leech-client create "repost requests", which could be collected by the post-client, and then be used to repost certain parts of the original file again, hopefully satisfying several (overlapping ?) requests at once. If those reposts could be generated based on the original file (and some info in a database) without needing access to all of the parts, then the ease of use would increase even more. Nowadays people need to have their .rar and .par files laying around, and will probably remove them after a couple of days because of the doubling of disk-usage... By tackling this part it's possible to solve some short-term issues, and improve the situation of binary posting for the coming years. All information (header and data) are outside of the NNTP-protocol and Article-header structure, they are solely in the article body. Thus do not require changes to the current usenet infrastructure. Something which is design criterium #1 IMHO. Now as for fixing the propagation of all articles to every server, that's something different, and probably would definitely require changes to the usenet infrastructure. And as such is something which shouldn't be thought of mildly, we're still using DNS and NNTP/Usenet because in spite of their faults, they're also the most elegant, simple and effective ways of distributing information. Successors need to embody their strong points, not just improve or fix the faults. Well, it's getting late, so I'd better stop now ;D Kind Regards, JP Velders
Re: [FNTP] 'in-completeness'
Author: Kjetil Torgrim Homme
Date: Wed, 02 Oct 2002 23:45
Date: Wed, 02 Oct 2002 23:45
91 lines
5829 bytes
5829 bytes
[JP Velders]:
>
> As summarized by others there are several problems, which
> "we" should *not* attempt at solving all together:
> 1. incompleteness of parts, and thus of multipart rars
> 2. the need for filtering out binary "stuff"
I don't understand why, if we come up with a scheme which _can_.
> ad 2:
> As others have stated, this should be done _somewhere_ in a
> message, such that a newsserver can identify it _easily_,
> not by applying filters to the post itself. I'm however in
> the dark as to the how and where ;D
I don't understand what you are saying here.
> ad 1:
> Plenty of reasons, but those are just as valid for *text* posts
> as for binary posts. If my ISP's transit server fails and they
> loose news, then both binary and text groups are affected.
this is not true in general. if the failure is lack of resources,
text articles (actually, small articles) will typically have priority.
similarily, if my transit server suffers from a crash, my main peer
will keep a longer queue of text articles than binaries. my server
will be losing binaries after just 3-4 hours of downtime, but even
after 2-3 days, all text articles (this time, actual text articles as
classified by Diablo), will eventually show up on my server with no
holes.
> It's not something which can be fixed easily, a lot of ideas exist
> about it though... Just for fun a crazy idea I had: have certain
> servers at certain points in the "fabric of usenet" and have them
> "broadcast" the incoming articles to their peers, which then
> inject them to their peers. It would make Usenet more resilient,
> but would also cause a lot of other problems ;D
uh, isn't this how Usenet works?
> Clearly the increasing use of PAR-files has shown something: by
> adding redundancy you can counter some of usenet's inadequacies.
sure, let's fix the problem of overloaded servers and network links by
increasing the overhead of sending a file.
> I think the first thing to consider is that certain PAR and RAR
> benefits need to be *integrated*. Let's take something from PAR;
> given enough samples of the complete dataset, it can recreate
> missing parts. But sometimes you only need 2 or 3 parts to have
> another RAR or PAR file complete. Asking for reposts of the entire
> file is stupid, you only need a couple of parts. RAR allows you to
> split a file into smaller chunks.
please, just get rid of RAR. it doesn't improve anything. instead of
asking for a repost of r04, ask for a repost of part 393 of 1123. or
even better, of octet interval 226891952..227470758. anyone can
satisfy that request by having a copy of the complete file.
> Let's also take something from yEnc, it has a header which allows
> you to place a part into context (it's a file of size X, this part
> is position A through B of that file). Instead of relying on
> special strings in subjects it's a step forward.
I thought yEnc did this?
> If those reposts could be generated based on the original file
> (and some info in a database) without needing access to all of the
> parts, then the ease of use would increase even more. Nowadays
> people need to have their .rar and .par files laying around, and
> will probably remove them after a couple of days because of the
> doubling of disk-usage...
right. just say no to RAR.
> By tackling this part it's possible to solve some short-term
> issues, and improve the situation of binary posting for the coming
> years. All information (header and data) are outside of the
> NNTP-protocol and Article-header structure, they are solely in the
> article body. Thus do not require changes to the current usenet
> infrastructure. Something which is design criterium #1 IMHO.
then it is impossible to fix it. the only fix is "please upgrade your
servers faster than people are posting", and we've tried that for the
last decade without succeeding.
--
Kjetil T. ==. ,,==. ,,==. ,,==. ,,==. ,,==
::://:::://:::://:::://:::://::::
=='' `=='' `=='' `=='' `=='' `== http://folding.stanford.edu
Re: [FNTP] 'in-completeness'
Author: Curt Welch
Date: Thu, 03 Oct 2002 01:33
Date: Thu, 03 Oct 2002 01:33
25 lines
2576 bytes
2576 bytes
archiver@i3w.com (Juergen Helbing) wrote: > Did you already consider that "reposting _one_ segment" two weeks later: > <offset45000'size10000'.....> would create an "incomplete binary" > by defintion - because that repost would not be a "full multipart" ? Of course. There's nothing wrong with incomplete binaries. Anyone that trys to calculate the number of articles "lost" by measuring complete multipart posts is a fool anyway. > Will you extend the msg-id now also by a "repost-tag" - and a "counter" > to identify the number of the repost - and perhaps a sender id in case > that three people are sending reposts ? I see no need for any of that. > Or will you use other headers - leaving that "incomplete part" alone ? I see no need to indicate it was a "partial post" or a "repost" anywhere. You could stick it in the subject if you felt like it had to go somewhere. -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Re: [FNTP] 'in-completeness'
Author: Curt Welch
Date: Thu, 03 Oct 2002 01:46
Date: Thu, 03 Oct 2002 01:46
51 lines
3944 bytes
3944 bytes
archiver@i3w.com (Juergen Helbing) wrote: > curt@kcwc.com (Curt Welch) wrote: > > >I don't think anything we are talking about in this thread will "fix" > >the incompleteness problem. > > The discussion about "identifying multipart entities by msg-id" > originated from _your_ wish that servers should know that > they are transporting _files_ rather than messages. > > AFAIR you said that this would be the pre-condition to improve > completeness. So I'm twisting my mind to plase you :-) I think allowing servers to "know" about the files they are trying to transport can lead to a lot of things working better. But the one thing it will not fix is the fact that many sites just can't keep up with the growth of usenet and there's nothing we can do to fix that other than stopping the growth. Anything we do to make Usenet work better, will only make it grow more. Anything we do to make it easier to "live with missing articles", will only encourge people to continue to run broken servers. I don't think any of these message-ids ideas will help fix the missing article problem. It could lead to servers being smarter about which articles they drop so that we end up with more complete files or less "broken" multiparts. But we will still have lots of missing articles on servers that can't keep up. > The problem for me is incompleteness overall. > For multiparts it is really urgent. I really just don't see that. The reason we have this problems is because the users are using servers that are broken. If they want to fix it, all they have to do is sign up for a server which isn't broken. There are quite a few to choose from. If the users aren't willing to pay $10 per month (or so) to solve this problem, then it's pointless for us to try and fix it for them because the only solution is for someone to pay for it. And if they aren't willing to pay for it why should we? > My "simplified" approach would have made it possible to > fetch "missing segments" from 'backup-hosts' even without > fetching their XOVER-list by asking for the "expected" msg-id. Ah, but as it was discussed, this is not possible. If you can predict the message-id, then you open the door for some real bad abuse. There's no way to get around that with usenet. -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Re: [FNTP] 'in-completeness'
Author: Curt Welch
Date: Thu, 03 Oct 2002 02:00
Date: Thu, 03 Oct 2002 02:00
41 lines
3437 bytes
3437 bytes
archiver@i3w.com (Juergen Helbing) wrote: > On the LHS where random and time codes are used every kind of > combination might be occur - and would be even permitted today. > That's why I would prefer the RHS for _binary_ identification. I think you missed my point. .bin on the right is an obvious low probability item, so it's an easy "safe" choice. Whereas the correct type of pattern on the LFS, though not as obvious, is no doubt still a few orders of magnatude beyond "safe" enough. Why mess up the RHS, which laready has a defined meaning (must be a valid domain name), when we don't have to? > >The advantage is > >that you don't have to break the current symantatics of Message-IDs > >which you will do if you add .bin to the RHS. > > I dont know what the "spec purists" would say. > But I believe they would prefer a proper "break of current symantics" > (i.E: a redefinition) which could be very easily implemented by > everybody who wants to filter binaries efficiently. Spotting $UB$.*$$ in the left hand side is not easy? If you spot .bin on the right had side the job is not done. You still have to parse the information out of the LFS. And if the parsing of that side fails, then you ignore the message ID just as if the .bin TLD was not there. Why not just leave out the .bin test which by itself is worthless anyway and just parse the ID and only consider it valid if it passes the test for a proper format? > Perhaps we should ask the "RFC people" which way they propose. My way doesn't break the RFC so you don't have to ask them. .bin breaks the RFC so you have to change it. Which do you think the "RFC people" would pick? Something the violates the RFC or something that doesn't? -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Re: [FNTP] 'in-completeness'
Author: Curt Welch
Date: Thu, 03 Oct 2002 02:12
Date: Thu, 03 Oct 2002 02:12
33 lines
2933 bytes
2933 bytes
archiver@i3w.com (Juergen Helbing) wrote: > As a fan of "alt.binaries.bettie-page" I can tell you that > there can be dozens of variants of the same picture > with different MD5. > The last time I tried to "unify" Bettie Page I reduced > 10000 > pics down to 1400 manually. And this was done _after_ > the automatic identity check :-)) But also think about what might happen if everyone was using download tools that could spot files like that. Maybe people wouldn't be so sloppy about reposting files which were a minior variation of other files? > The only "real" application for a perfect MD5 match would be > that a user decides that he wants to fetch all binaries from > a CSV list which is also posted together with the binaries. Your "preventing duplicate downloads" experence shows a hash right now isn't all that useful, but the real point of the hash that I think should be useful on day one is to allow download tools to do a much better job of taking advantage of a repost to fill in missing holes. This is something needed for the larger files, and not as much for the pictures. But, I think using a reah hash of the file to identify the file is something that's "just the right way to do it". It's something that opens the door for other systems to take advantage of it if it becomes the "norm" for usenet. -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Re: [FNTP] 'in-completeness'
Author: Curt Welch
Date: Thu, 03 Oct 2002 02:19
Date: Thu, 03 Oct 2002 02:19
20 lines
2455 bytes
2455 bytes
Kjetil Torgrim Homme <kjetilho@haey.ifi.uio.no> wrote: > what's wrong with XHDR? The highwind servers only support XOVER headers with the XHDR command. They broke XHDR. So if a header is not one of the XOVER headers, there will be servers where XHDR can't be used to read it. SO it really needs to be kept in one of the XOVER headers if we want it to be useable without forcing newsreadeers to use HEAD for each article. There are things where simply a marker in a XOVER header is all you need there and then make the newsreader do a HEAD for each article before it's downloaded to get the full facts. But you only want to do that for cases where it will not require a HEAD on thousands of articles that never get downloaded. -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Re: [FNTP] 'in-completeness'
Author: Curt Welch
Date: Thu, 03 Oct 2002 02:38
Date: Thu, 03 Oct 2002 02:38
18 lines
2536 bytes
2536 bytes
"Brian Truitt" <btruitt@rcn.com> wrote: > This way, the person trying to fake the posts would have to > reverse-engineer the crypt() value before you could get the next post > out, which in all likelyhood isn't gonna happen. The type of attack I was talking about can happen hours after the entire orginal post was sent out. It doens't have to beat the orginal. It just has to be a clone of the orginal (with a slightly different Message-ID -- but that's easy because all mesage IDs have some random parts in them already). So the type of defense you talk about isn't going to help. They can post their clone after they have seen your "answer" in the next post. -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Re: [FNTP] 'in-completeness'
Author: Curt Welch
Date: Thu, 03 Oct 2002 03:04
Date: Thu, 03 Oct 2002 03:04
27 lines
3068 bytes
3068 bytes
JP Velders <jpv@news.veldersjes.net> wrote: > The user-experience (of both sending and receiving parties) > would greatly increase if you could have your leech-client > create "repost requests", We've talked about that. requests could be generated automatically and filled automatically - or at least, presented to the user with a "you have the file this guy needs, do you want to help him by reposting the segments he wants or a set of PAR files to fill all his needs" dialog. And with the use of a standard hash to identify the files, anyone who had downloaded the file at any time in the past could still help with repost requests. It's probably something to look at for a step-two of this type of technology, but you have to be real careful not to encourage everyone that missed a single part of the orginal post to post one of the repost requests or else the group could get flooded with thousands of these articles and that could cause more problems for people than the missing files caused in the first place. But, if there was some type of automated system for documenting what someone needs, then you could automate the repost so that anyone that downloaded the orginal could help out with the reposting. Of course, using PAR-like technology to allow a single re-post to help solve problems for many people would be a good thing as well. -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Re: [FNTP] 'in-completeness'
Author: Curt Welch
Date: Thu, 03 Oct 2002 04:05
Date: Thu, 03 Oct 2002 04:05
58 lines
4390 bytes
4390 bytes
Kjetil Torgrim Homme <kjetilho@ifi.uio.no> wrote:
> [Juergen Helbing]:
> >
> > I believe that no old server would add any kind of "reserved" TLD
> > code at the RHS "by accident".
>
> Outlook Express would ...
>
> > On the LHS where random and time codes are used every kind of
> > combination might be occur - and would be even permitted today.
> > That's why I would prefer the RHS for _binary_ identification.
>
> I showed that the legal characters ' { } did not appear in an
> extensive sample of msgids used on Usenet. today I increased the
> sample to 4427858. of these 882 were invalid, mostly missing angle
> brackets.
> the backtick was completely unused in this sample. we see that ' { }
> are very seldom in this sample as well. there is no lack of good
> candidates which are extremely unlikely to show up in a msgid.
Or, just to make my point, you don't even have to go to the unlikely
characters. I just scaned my text article spool and extracted 5478595
message-ids. Not a single message ID had the 4 character patteren $UB$ in
it. And I was suggesting that it would take $UB$.*$$ where .* was proabbly
some better defined language as well where the "match" would fail of the
message ID didn't all match.
For example, the standard could be something like:
$UB$<hash>$o<offset>$s<size>$$
where <hash> was required for all binary posts and must be some
exact length and encoded with some well defined base64 set of characters
(which did not include $), and the $o<offset> and $s<size> could be
optional.
So not only would there need to be a $UB$, but it must also be followed by
N characters from a base64 character set tht did not include dollar and
then followed by a $. The odds of this happening by chance are so small as
to be unimportant. And the only damage it would cause when it did happen
would be 1) the article might get filtered at a text-only server thinking
it was a binary, and 2), binary download tools might think it was a binary
and list it as a file which could be downloaded. But it would not match it
with any other binary unless the hash actually matched some other file.
But if you then used a character seldome used in Message-IDs like ' instead
of $, the odds get so small they are hard to imagine. But using a quote
charcater I think would not be a good choice anyhow because of the trouble
it can cause eleswhere in the world when you try to pass message-ids though
other systems (like Unix command line arguments for example). It's a bitch
when cut and past doesn't work for example because the Message-ID contains
" or ' or both.
--
Curt Welch http://CurtWelch.Com/
curt@kcwc.com Webmaster for http://NewsReader.Com/
Re: [FNTP] 'in-completeness'
Author: Juergen Helbing
Date: Thu, 03 Oct 2002 05:00
Date: Thu, 03 Oct 2002 05:00
37 lines
2141 bytes
2141 bytes
Russ Allbery <rra@stanford.edu> wrote: >Do you seriously think that >peer-to-peer file sharing users would switch to Usenet? I think you're >fooling yourself if you do. Some of the PC magazines I'm reading have started to report now regularily about Usenet. A length article last month even stated that users who are sick of the low speed - and the other problems of P2P - are searching for alternative systems. And they show that Usenet is one. I've been using P2P some months - but my sons are using it daily. Whenever they see that I'm fetching a 500 Meg video with three hours and they have to wait two days they have a crisis :-) Usenet _has_ potential. But before it can become more popular it must become more powerful. A few million more users would be a disaster with the current situation. >I'm also not sure you understand the distinction between permitted and >supported. I understand this very well. But I've learned from another answer that you cannot measure what your students are really doing. So the decision if you should not just permit but support it - to keep bandwidth usage reasonable - cannot be made. Of course a good binary news-server would also be a source of pleasure and the students might like it more than working - what they should not :-) -- Juergen
Re: [FNTP] 'in-completeness'
Author: JP Velders
Date: Thu, 03 Oct 2002 07:25
Date: Thu, 03 Oct 2002 07:25
164 lines
9441 bytes
9441 bytes
In article <1rheg4iewh.fsf@atta.ifi.uio.no>, Kjetil Torgrim Homme wrote: > [JP Velders]: >> As summarized by others there are several problems, which >> "we" should *not* attempt at solving all together: >> 1. incompleteness of parts, and thus of multipart rars >> 2. the need for filtering out binary "stuff" > I don't understand why, if we come up with a scheme which _can_. Because it's too much all at once. There is a reason why we have RFC's for a lot of protocols, which *together* form the Internet. We don't need another "this will fix everything" protocol, that will only delay adoptation and implementation. 10 small steps become 1 leap... >> ad 2: >> As others have stated, this should be done _somewhere_ in a >> message, such that a newsserver can identify it _easily_, >> not by applying filters to the post itself. I'm however in >> the dark as to the how and where ;D > I don't understand what you are saying here. Identifying binary posts for throttling or spooling to other areas should be as simple as possible. If a newsserver has to parse the *whole* article (or a substantial part of it) to find out, then it stinks. >> ad 1: >> Plenty of reasons, but those are just as valid for *text* posts >> as for binary posts. If my ISP's transit server fails and they >> loose news, then both binary and text groups are affected. > this is not true in general. if the failure is lack of resources, > text articles (actually, small articles) will typically have priority. Yes, and why would *we* need to change that ? Administrators make the policies for their servers. It's not our job to set those policies for them. If certain admins decide that text-spooling takes preference over binary-spooling, then so be it. What we *can* change however are the reasons they have for making such a policy! If we come up with a technique which reduces the total traffic a normal binary post will introduce (including reposts) for example. If they are then able to *easily* identify those "new style binary posts" more easily _in_ _transit_ wouldn't we perhaps get the following "spooling preference": 1. text 2. new style binary 3. old style binary > [ ... ] >> It's not something which can be fixed easily, a lot of ideas exist >> about it though... Just for fun a crazy idea I had: have certain >> servers at certain points in the "fabric of Usenet" and have them >> "broadcast" the incoming articles to their peers, which then >> inject them to their peers. It would make Usenet more resilient, >> but would also cause a lot of other problems ;D > uh, isn't this how Usenet works? Sort of, right now you rely on being as wel connected to everyone you can find and that *they* are also as well connected. It's only as strong as the weakest link, which can be "obscured" from your view. By placing "listening stations" at certain points and have the articles they pick up be injected by several other "stations" into their surrounding (normal) Usenet feeds, you add an extra layer of protection against missing articles. The articles need to reach one of those "listening stations" though for them to be of any use... >> Clearly the increasing use of PAR-files has shown something: by >> adding redundancy you can counter some of Usenet's inadequacies. > sure, let's fix the problem of overloaded servers and network links by > increasing the overhead of sending a file. I didn't say we should do more rar'n'par ! In order to come up with something *better*, you need to look at what's being used now, assess the strengths and weaknesses, and use those to come up with a design requirement. Whether *all* strengths can be used and all weaknesses fixed is something which comes later. First you need to have an overview, it's no use to just "start doing something". >> I think the first thing to consider is that certain PAR and RAR >> benefits need to be *integrated*. Let's take something from PAR; >> given enough samples of the complete dataset, it can recreate >> missing parts. But sometimes you only need 2 or 3 parts to have >> another RAR or PAR file complete. Asking for reposts of the entire >> file is stupid, you only need a couple of parts. RAR allows you to >> split a file into smaller chunks. > please, just get rid of RAR. it doesn't improve anything. instead of > asking for a repost of r04, ask for a repost of part 393 of 1123. or > even better, of octet interval 226891952..227470758. anyone can > satisfy that request by having a copy of the complete file. Uhm, did you read my entire post before starting to reply ? The reason people use RAR is because it splits the original file into smaller parts, why those smaller parts ? Because if one part gets damaged, only that smaller part needs to be reposted. And yes posting only the missing Usenet-parts is the way to go. But we need to come up with something that would allow certain parts to be missing, and not bomb because there's also a PAR-part missing. >> Let's also take something from yEnc, it has a header which allows >> you to place a part into context (it's a file of size X, this part >> is position A through B of that file). Instead of relying on >> special strings in subjects it's a step forward. > I thought yEnc did this? Yes, but I'm referring to all the ".r00" through ".r99" stuff ;) >> If those reposts could be generated based on the original file >> (and some info in a database) without needing access to all of the >> parts, then the ease of use would increase even more. Nowadays >> people need to have their .rar and .par files laying around, and >> will probably remove them after a couple of days because of the >> doubling of disk-usage... > right. just say no to RAR. I think 99% of the news-people agree to that, on the premise that there's something which eliminates the use of RAR, right now there isn't. That's also one of the reasons we're having this discussion... ;) >> By tackling this part it's possible to solve some short-term >> issues, and improve the situation of binary posting for the coming >> years. All information (header and data) are outside of the >> NNTP-protocol and Article-header structure, they are solely in the >> article body. Thus do not require changes to the current Usenet >> infrastructure. Something which is design criterium #1 IMHO. > then it is impossible to fix it. the only fix is "please upgrade your > servers faster than people are posting", and we've tried that for the > last decade without succeeding. And again, redoing Usenet is something which is better left to the people who run major sites, there are a lot more problems then just binaries. As a tried to explain: * eliminate the need for _seperate_ PAR stuff * eliminate the need for RAR I think we need to come up with a *new* encoding which has: * build in resilience (like PAR, RAID like) for missing parts; * superior handling and identification of missing parts, or even better; * the capability to identify which *subset* of the missing parts would be needed to be able to decode the file; * no need for RAR-splitting (essentially what's above ;D); * a (perhaps) better way of packing information into a Usenet stream; (yEnc does part of this already, though I'm not sure whether it can be optimized any further) Repost traffic (because of reposting complete .p?? or .r?? files) is very high and is IMHO a *major* reason why binary posts are unwanted at many sites. The principle stands people have about binary posts won't change if we come up with newer encodings or even a new Usenet structure. But by streamlining, and reducing overall traffic, we gain more then by redoing Usenet. Kind regards, JP Velders
Page 3 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