🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
404 messages
404 total messages Page 3 of 9 Started by Chris Morse Sun, 22 Dec 2002 04:25
Page 3 of 9 • 404 total messages
Re: xBin (Power-Post 2003 - requesting input from authorities..)
#62566
Author: Curt Welch
Date: Mon, 30 Dec 2002 02:37
73 lines
5513 bytes
Bas Ruiter <lordsnow@home.nl> wrote:
> > OK, thanks (Bas too). What is the optimal maximum?
>
> As large as possible, within excisting limits.
>
> A limit may be the max size accepted by a news server. For example,
> my own provider (@home) has a limit of about 500kB per article.

On usenet today, the larger the articles, the more limited it's
distribution will be, and the more likely it will be dropped by accident
instead of by design.  The hope with xBin is that most articles will be
dropped by design instead of by accident, and they will be dropped based on
the size of the entire file being transported and not on the size of each
multipart article.

With the exception of the effects of spam filters which block multipart
posts with small sizes, the smaller the part size, the more likely the
entire thing will arrive in-tact.  That's of course a very bad fact because
it encourages posters to post smaller sizes when in fact you want them to
post in fewer larger sizes.  The only reason they don't post 2K articles is
because it fills their groups up with so many articles that it takes longer
to download headers than it would to download the articles.

Anything over 500KB per part is geting into the poor propigation range.
INN used to have (and may still have) a 1,000,000 byte max article size, so
anything over that is guaranteed to be limited in it's distribution.  The
Highwind servers have a 4MB default, so articles up to that size can still
reach a lot of major sites as long as you post it to one of the major sites
to start with.  Diablo seems to have no real file limit, so if you post it
one of the sites using the Dibalo reader technology (Newshosting for
example), you can post huge things, but the articles will go almost
nowhwere.  I've seen 10MB+ articles comming from newshosting (which I
rejected because my servers have a 4MB article size limit).

300K to 400K per article is a typical multipart size these days.  But if
xBin takes off, and sites with limited capacity start to filter by file
size instead of article size, we might see that article size move to twice
that.

The other reason large files aren't popular is becaus NNTP supports no
feature to allow for restarting a failed download of an an article.  The
larger the articles, the more you have to re-download on a disconnect
problem.  But that's not the main probelm right now. If it becomes one, we
can look at fixing that changing NNTP to support partial file downloads.

What might be better actually is to add a DATA download option for xBin
aritcles that will just send the data in pure binary format and with that
command, add a byte range command to support a restart.

Hell, now that I think abou tit, why not make the news serers keep track of
all the parts and allow the download tool to just ask for the whole thing
in binary "DATA <$XB$HHdjfhsdf7ys87y76sdf$oasdf$sAOkj$$>" where the Xbin ID
could be a full message-id, or just a "specification" of the segment of
data you wanted.  The server can them find the files, decode them, verify
them, and send you the raw 8bit data.

You could add another command to ask the server for all the Message-IDs it
currently had for a given file you were looking for (IDSFOR).  Once you had
that list, the tool could download the articles, or use the "DATA" command
to get the raw data for each aricle.  This would totaly bypass the need for
header downloads and the need to know what groups to "scan" to find files.
It requires entire new server featurs to be added of course, but it could
be done.

People that post binary files could post announcements in text groups
designed to do that and the binary files would be posted to binary groups
which no one would ever have to waste their time scanning  headers in
(except those still using OE).

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/
Re: Power-Post 2003 - requesting input from authorities..
#62567
Author: Jeffrey M. Vinocur
Date: Mon, 30 Dec 2002 02:42
22 lines
1898 bytes
In article <20021229210044.396$Gw@newsreader.com>,
Curt Welch <curt@kcwc.com> wrote:
>
>In addittion, most people that post binaries to Usenet don't want "clear
>proof" that they posted it, so even though crypto signatures would be a
>"good thing" for much of Usenet, and for all copyright holders, it would
>not likely go far with the Usenet binary community.

Well, nobody says a person can only have one PGP key, or that a
PGP key has to be associated with a your social security number
of something.  Whatever handle a person uses for posting binaries
could have its own PGP key, certainly.

I guess it would eliminate plausible deniability ("That's my
usual handle, but that particular post is a forgery!"), though.



-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: xBin (Power-Post 2003 - requesting input from authorities..)
#62568
Author: Jeffrey M. Vinocur
Date: Mon, 30 Dec 2002 02:52
53 lines
3226 bytes
In article <20021229213702.267$Ag@newsreader.com>,
Curt Welch <curt@kcwc.com> wrote:
>
>INN used to have (and may still have) a 1,000,000 byte max article size, 

The admin is free to set it as he wishes, but that is the current
default, yes.


>The other reason large files aren't popular is becaus NNTP supports no
>feature to allow for restarting a failed download of an an article.  The
>larger the articles, the more you have to re-download on a disconnect
>problem.  But that's not the main probelm right now. If it becomes one, we
>can look at fixing that changing NNTP to support partial file downloads.

It's funny.  This feature alone, combined with support for
unbounded size posts, would be *so* close to everything you can
hope to accomplish with this whole xBin scheme even if it has
full server support:
- you'd reduce the size of overview transfers
- it would be impossible to disrupt someone else's article or
  forge a part of it
- things like feeding and expiration could be done by file size
  instead of article size
- the entire article would make it to a server or not, and expire
  at all once when the time came

And while it would increase the time to traverse the length and
breadth of Usenet (unless somebody implements an extension for
servers to choose to start sending out the start of a big article
before the entire thing has arrived, and be able to abort in the
middle if something goes wrong), I don't know that that would be
catastrophic.  The diameter of full-binary Usenet is getting
pretty small, I think.

But I suspect you'll object for two reasons:
- a user will have trouble posting such a big article (although a
  resumable POST command could fix that)
- a server won't be able to carry a "sliding window" subset of an
  article, where the first parts expire before the last parts
  have arrived

And I'm forced to agree that that *one* deficiency is enough to
stand in the way.

(Besides, getting all the servers to support unbounded article
sizes would be a mess.  Oh well.)


-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: Power-Post 2003 - requesting input from authorities..
#62575
Author: Jeremy
Date: Mon, 30 Dec 2002 05:07
30 lines
2549 bytes
Curt Welch <curt@kcwc.com> wrote:

> In addittion, most people that post binaries to Usenet don't want "clear
> proof" that they posted it, so even though crypto signatures would be a
> "good thing" for much of Usenet, and for all copyright holders, it would
> not likely go far with the Usenet binary community.

A digital signature needn't be associated with your real identity.  Posters
do tend to want to have their posts associated with their assumed "net
identity", though, which would be accomplished with signatures.  All you'd
have to do to disassociate yourself with the identity is "lose" the secret
key.

At the same time, it might be cool just in general to have a standard way
to sign a post where the signature goes in the headers, rather than
making ugly message bodies with all the PGP stuff in them.  It might get
more people to sign their posts.  This would be quite trivial to design
and implement, too -- really just a matter of working out the details of
how best to present the data and how to format the signature in a header.

> Right.  One fits nicely into Usenet.  The other would be nicely rejected by
> Usenet.  Both very simlar and both achieve much of the same thing, but one
> has a chance of being accepted and one doesn't.

Yeah, and we thought yEnc wouldn't make it out of the starting gate, either.
Shows how much we know. :)

-- 
Jeremy  |  jeremy@exit109.com
Re: Power-Post 2003 - requesting input from authorities..
#62576
Author: Russ Allbery
Date: Mon, 30 Dec 2002 05:18
18 lines
1973 bytes
Jeremy <jeremy@exit109.com> writes:

> At the same time, it might be cool just in general to have a standard
> way to sign a post where the signature goes in the headers, rather than
> making ugly message bodies with all the PGP stuff in them.  It might get
> more people to sign their posts.  This would be quite trivial to design
> and implement, too -- really just a matter of working out the details of
> how best to present the data and how to format the signature in a
> header.

The control message signing protocol is probably 80% of the way there.

-- 
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: Power-Post 2003 - requesting input from authorities..
#62579
Author: Curt Welch
Date: Mon, 30 Dec 2002 06:41
41 lines
3283 bytes
Jeremy <jeremy@exit109.com> wrote:
> Curt Welch <curt@kcwc.com> wrote:
>
> > In addittion, most people that post binaries to Usenet don't want
> > "clear proof" that they posted it, so even though crypto signatures
> > would be a "good thing" for much of Usenet, and for all copyright
> > holders, it would not likely go far with the Usenet binary community.
>
> A digital signature needn't be associated with your real identity.
> Posters do tend to want to have their posts associated with their assumed
> "net identity", though, which would be accomplished with signatures.  All
> you'd have to do to disassociate yourself with the identity is "lose" the
> secret key.

Good points. The public key could be distributed to a public place that has
nothing to do with the authors and then you would have a way of knowing
that all articles came from the same source even if you have no way of
knowing what that source was.  That could work.

And anyone that didn't want to have all their posts linked to the same
source could even genrate new keys on a regular basis and change their ID.

But the hash system is a simpler and easier solution for the binary problem
of preventing fakes and allowing thrid party re-posts, but it would be good
to have a standard way to sign Usenet articles for many other reasons as
well.

That helps with the trust issue to know that a post was most likely what it
says it was  - i.e. "so and so has been posting stuff for 3 years and the
digital-sig says this was posted by him".

Combined with the xBin hash, anyone could post a text article anouncing a
binary post and just sign the text article.  Because the text article
included the xBin ID for the file, you can then fetch the file and know you
got what the guy said he posted without them having to also sign the binary
articles.  This of course could be done with PGP if anyone cared.

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/
Re: xBin (Power-Post 2003 - requesting input from authorities..)
#62580
Author: Curt Welch
Date: Mon, 30 Dec 2002 07:07
31 lines
2969 bytes
jeff@litech.org (Jeffrey M. Vinocur) wrote:
> (Besides, getting all the servers to support unbounded article
> sizes would be a mess.  Oh well.)

My server would need either some serious hacking, to make unbound or even
(very large) articles work.  It's built from the ground up on the
assumption that 1) all articles can fit in memory with ease, and 2) a lot
of articles can fit in memory with ease at the same time.  It's a news
article router.  You would also break every IP router in the world on the
Internet if you decided to try and make 100MB MTUs work as well.

You have to chop up the files to deal with them, it's just an issue of how
much the end user ends up having to deal with the parts like it works now,
or whether it's all hidden from them (like on every TCP connection).

xBin is compatible with what is done now, but gets us much closer to where
we don't have to think about a binary as lots of little pieces with parts
missing.  We will be able to think about as a file which is 75% complete
and still in the processing of "downloading".  No one has to download
thousands of headers for mutliple server and look at them.  People will
stop looking at the binary post itself, the download tool deals with that.
They will just look a the announcements which are small single article text
files posted to a group what has no binary files in it.  Sorting though
groups with thousands of multipart headers will be a thing of the past.
People will stop carring that the binary files are split into thousands of
parts because they won't have to deal with the issue anymore.

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/
Re: Power-Post 2003 - requesting input from authorities..
#62598
Author: Jeremy
Date: Tue, 31 Dec 2002 03:52
27 lines
2281 bytes
Russ Allbery  <rra@stanford.edu> wrote:

>> At the same time, it might be cool just in general to have a standard
>> way to sign a post where the signature goes in the headers, rather
>> than making ugly message bodies with all the PGP stuff in them.  It
>> might get more people to sign their posts.  This would be quite
>> trivial to design and implement, too -- really just a matter of
>> working out the details of how best to present the data and how to
>> format the signature in a header.
> 
> The control message signing protocol is probably 80% of the way there.

That's pretty much what I was thinking.  All you really need to do is
define how to say which headers are included in the signed data, and
how you take the data (headers and body) and format it to be signed
(ie, line endings, etc), and then how the signature should be placed
into a header.

Is there any particular reason no one ever did this for general article
signing?  Is it just that no one felt like it or thought to do it, or
is there a technical barrier I'm not thinking of?  It seems like it
would be extremely trivial to implement.  I know I'd be much more inclined
to sign posts if it didn't make them so ugly and unweidly.

-- 
Jeremy  |  jeremy@exit109.com
Re: Power-Post 2003 - requesting input from authorities..
#62599
Author: Jeremy
Date: Tue, 31 Dec 2002 03:56
35 lines
2609 bytes
Curt Welch <curt@kcwc.com> wrote:

> Good points. The public key could be distributed to a public place that has
> nothing to do with the authors and then you would have a way of knowing
> that all articles came from the same source even if you have no way of
> knowing what that source was.  That could work.
> 
> And anyone that didn't want to have all their posts linked to the same
> source could even genrate new keys on a regular basis and change their ID.

Yep.  And, in a case where you have a semi-organized "group" collectively
doing posting, they could make some kind of arrangement like each member
having their own key, which they can change at will to avoid being traced
back to their real identity, but all members' keys would be signed by a
master key for the group, forming their basis of community trust.  The
possibilities are endless.

> But the hash system is a simpler and easier solution for the binary problem
> of preventing fakes and allowing thrid party re-posts, but it would be good
> to have a standard way to sign Usenet articles for many other reasons as
> well.

I'm thinking that the two systems would go well together.

> That helps with the trust issue to know that a post was most likely what it
> says it was  - i.e. "so and so has been posting stuff for 3 years and the
> digital-sig says this was posted by him".

Or even, "Well, this guy is pretty new, and I don't know who the heck he is,
but his key is signed by so and so who has been posting stuff for 3 years,
so he's probably okay."

-- 
Jeremy  |  jeremy@exit109.com
Re: Power-Post 2003 - requesting input from authorities..
#62603
Author: Kjetil Torgrim Homme
Date: Tue, 31 Dec 2002 04:34
55 lines
3582 bytes
[Jeremy]:
>
>   Is there any particular reason no one ever did this for general
>   article signing?  Is it just that no one felt like it or thought
>   to do it, or is there a technical barrier I'm not thinking of?  It
>   seems like it would be extremely trivial to implement.  I know I'd
>   be much more inclined to sign posts if it didn't make them so ugly
>   and unweidly.

*jumps up and down* Matt Dillon's DGP!  I do not understand why this
never created much buzz.  perhaps it's regarded too radical or
complicated.  but Cancel-locks aren't that much easier, and this is a
much more general solution.

[http://folk.uio.no/kjetilho/tmp/README.DGP]:

    The DGP module is designed to support the following administrative news
    functions:

        * Arbitrary signing of articles.

        * Temporary and semi-permanent distribution of keys and
          certificates.

        * Multiple entities can sign an article.  For example, the
          NNTP server might sign an article.  The user's news client
          might also sign the article.  A moderator might add his
          signature before posting the article.

        * Hierarchical delegation of both keys and certificates.  Keys
          for storage, certificates to glue hierarchy of access rights
          together.

        * General keyword based set of (wildcarded) access rights,
          group wildcarding attributes, and name-space rights, both
          logically AND propogated down the delegation chain.

        * Used by the Control infrastructure to manage control
          messages for various functions, including newgroup,
          checkgroups, cancels, etc...

        * Used by News admins to allow direct third party
          administrative control (i.e. cancelbots and other features).

        * Used by news servers to add their own signatures for later
          administrative control (i.e. so a news admin can
          cancel/supersede his own user's articles).

        * Used to allow users to sign messages in order to later
          authenticate personal cancels & supersedes.

-- 
Kjetil T.			|  read and make up your own mind
				|  http://www.cactus48.com/truth.html
Re: Power-Post 2003 - requesting input from authorities..
#62606
Author: Russell Vincent
Date: Tue, 31 Dec 2002 05:04
15 lines
1452 bytes
Kjetil Torgrim Homme <kjetilho@haey.ifi.uio.no> wrote:
> *jumps up and down* Matt Dillon's DGP!  I do not understand why this
> never created much buzz.

Perhaps because of (from Diablo source code):

const char *
DGPVerify(Control *ctl, const char *art, int artLen)
{
    return("dgp protocol not implemented yet\n");
}

 -Russell

Re: Power-Post 2003 - requesting input from authorities..
#62607
Author: Russ Allbery
Date: Tue, 31 Dec 2002 05:05
47 lines
3658 bytes
Jeremy <jeremy@exit109.com> writes:

> That's pretty much what I was thinking.  All you really need to do is
> define how to say which headers are included in the signed data, and how
> you take the data (headers and body) and format it to be signed (ie,
> line endings, etc), and then how the signature should be placed into a
> header.

Yeah, and the control message signing stuff already does all of that,
although the protocol could probably stand to be reworked into more formal
language so that all of the edge cases could be flushed out and dealt
with.  I expect that there are some landmines waiting in the form of line
ending transformations, weird compatibility issues between versions of
PGP, and other such things.

> Is there any particular reason no one ever did this for general article
> signing?  Is it just that no one felt like it or thought to do it, or is
> there a technical barrier I'm not thinking of?  It seems like it would
> be extremely trivial to implement.  I know I'd be much more inclined to
> sign posts if it didn't make them so ugly and unweidly.

I think it's mostly because no one has sat down and done the generic case
that I know of, other than Charles Lindsey's I-D that he wrote for USEFOR
and that I've not looked at in any detail because I was focused on other
things at the time.  We have PGPMoose for one aspect of it and the control
message signing algorithm for another aspect of it, both of them doing
something very similar.

The hardest part would probably be getting the PGP bits right.  The
control message protocol, and I think PGPMoose, ended up being largely
defined by "this is what PGP does" rather than by a standard, and now we
have an OpenPGP standard and all this other stuff about differences
between detached signatures and attached signatures and the like.  Someone
who really understands PGP would likely need to sit down and review what's
going on and help with the specification of what OpenPGP functions and
formats to use.

I never have understood why mail went the direction that it did, avoiding
any signing of headers at all.  There's probably some good reason behind
that that I'd want to know about before fiddling with signing headers.

-- 
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: Power-Post 2003 - requesting input from authorities..
#62608
Author: Kjetil Torgrim Homme
Date: Tue, 31 Dec 2002 05:16
20 lines
2077 bytes
[Russell Vincent]:
>
>   Kjetil Torgrim Homme <kjetilho@haey.ifi.uio.no> wrote:
>   > *jumps up and down* Matt Dillon's DGP!  I do not understand why this
>   > never created much buzz.
>   
>   Perhaps because of (from Diablo source code):
>   
>       return("dgp protocol not implemented yet\n");

well, Diablo wasn't in very widespread use when Matt came up with DGP
anyway, it was strictly a feeder!  we'll also need to implement it in
INN to have any hope of achieving penetration.  but first the spec
must be fleshed out.  it's a good starting point, but not nearly
precise enough to be published as an RFC.  so, what do you think?

-- 
Kjetil T.			|  read and make up your own mind
				|  http://www.cactus48.com/truth.html
Re: Power-Post 2003 - requesting input from authorities..
#62609
Author: Jeffrey M. Vinocur
Date: Tue, 31 Dec 2002 05:28
15 lines
1634 bytes
In article <ylwulqzskw.fsf@windlord.stanford.edu>,
Russ Allbery  <rra@stanford.edu> wrote:
>
>I never have understood why mail went the direction that it did, avoiding
>any signing of headers at all.  There's probably some good reason behind
>that that I'd want to know about before fiddling with signing headers.

At a guess -- aren't the most interesting headers subject to
modification by the server?  Hostname rewriting/canonicalization
and such things?

-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: Power-Post 2003 - requesting input from authorities..
#62610
Author: Russ Allbery
Date: Tue, 31 Dec 2002 06:01
22 lines
2049 bytes
Jeffrey M Vinocur <jeff@litech.org> writes:
> Russ Allbery  <rra@stanford.edu> wrote:

>> I never have understood why mail went the direction that it did,
>> avoiding any signing of headers at all.  There's probably some good
>> reason behind that that I'd want to know about before fiddling with
>> signing headers.

> At a guess -- aren't the most interesting headers subject to
> modification by the server?  Hostname rewriting/canonicalization and
> such things?

Oh, yeah, that's right.  sendmail fiddles with everything.  (Well, not
message ID, date, and subject, so far as I know, but from and to, which
are rather interesting ones.)

-- 
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: Power-Post 2003 - requesting input from authorities..
#62612
Author: Rene
Date: Tue, 31 Dec 2002 14:04
53 lines
3683 bytes
Jeremy <jeremy@exit109.com> wrote:
> Yep.  And, in a case where you have a semi-organized "group" collectively
> doing posting, they could make some kind of arrangement like each member
> having their own key, which they can change at will to avoid being traced
> back to their real identity, but all members' keys would be signed by a
> master key for the group, forming their basis of community trust.  The
> possibilities are endless.

There's still problems with that. For example: PosterX has his key and
makes his posting using his key. All fine.

Now 2 months later I start posting the same data. I will use the same
article length. In fact, I downloaded PosterX's articles, I didn't decode
them. So I can send them out with the very same signature (assuming the
signature does not cover the message id) There would be no difference, the
signature matches the data. Being the evil bastard that I am, I of course
don't send all parts but stop somewhere. People putting trust into that
signature would then blame the original holder of the signature, PosterX.

Now this won't work if for example the message-id is included into that
Signature. This however requires the message-id being immutable and it must
be known to the poster before posting. I don't know if this condition is
always met.

Also, you can't verify any signature before you downloaded the full
article. Afterwards you have all the data to check the signature. But not
before you download. Because the signature is nothing static, it is
dependant on the payload data of the article (plus probably some headers)

> I'm thinking that the two systems would go well together.

Yes, you can always put a signature on top of any one article, so also on
xBin postings. However, xBin does not require them. It does not work
"better" when it has a signature of a poster. xBin actually allows to
gather parts of a file even when it has been sent by different posters
using different article-sizes and different encodings.

The main difference is: xBin's hash identifies a file, signatures identify
posters.

> Or even, "Well, this guy is pretty new, and I don't know who the heck he
> is, but his key is signed by so and so who has been posting stuff for 3
> years, so he's probably okay."

Yes but to be able to sign keys of others AND check the keys of those
"others" you need a fully operational PKI (public key infrastructure). Some
are out there, some cost (verisign) some do not. But you will need to rely
on an external structure.

-- 
-------------------- http://NewsReader.Com/ --------------------
Usenet Newsgroup Service              New Rate! $9.95/Month 50GB
Re: Power-Post 2003 - requesting input from authorities..
#62613
Author: Rene
Date: Tue, 31 Dec 2002 14:07
15 lines
1642 bytes
Kjetil Torgrim Homme <kjetilho@haey.ifi.uio.no> wrote:
[..]
>         * Used by News admins to allow direct third party
>           administrative control (i.e. cancelbots and other features).

Can I have the RIAA key please?

Implement this system, then force it into the standard so every newsserver
must support that. THEN you'll have the government asking for its full
access keys...

-- 
-------------------- http://NewsReader.Com/ --------------------
Usenet Newsgroup Service              New Rate! $9.95/Month 50GB
Re: Power-Post 2003 - requesting input from authorities..
#62621
Author: Jeremy
Date: Wed, 01 Jan 2003 00:44
47 lines
3323 bytes
Russ Allbery  <rra@stanford.edu> wrote:

> Yeah, and the control message signing stuff already does all of that,
> although the protocol could probably stand to be reworked into more formal
> language so that all of the edge cases could be flushed out and dealt
> with.  I expect that there are some landmines waiting in the form of line
> ending transformations, weird compatibility issues between versions of
> PGP, and other such things.

I thought of one sticky issue: Usenet posts can end up in email.

Then, From headers can be rewritten by well-meaning relays; Subjects could
have tags added; Message-IDs could be changed.  8-bit bodies could be
recoded into a 7-bit-safe CTE, or simply munged.  Bodies containing things
like trailing spaces could be irreversibly damaged, and lines starting
in "From" could be escaped.  Much of the body stuff could be prevented by
using quoted-printable, but it would be unfortunate to have to require that.

It would sure be nice if servers would send posts to moderators encapsulated
as MIME attachments, but they don't.

> The hardest part would probably be getting the PGP bits right.  The
> control message protocol, and I think PGPMoose, ended up being largely
> defined by "this is what PGP does" rather than by a standard, and now we
> have an OpenPGP standard and all this other stuff about differences
> between detached signatures and attached signatures and the like.  Someone
> who really understands PGP would likely need to sit down and review what's
> going on and help with the specification of what OpenPGP functions and
> formats to use.

I haven't read the OpenPGP standard, myself.  My thought was to generate
a detached signature of the appropriate data, and stick it in a header;
either generate it ascii-armored, or just make a binary one and convert
it to hex.

> I never have understood why mail went the direction that it did, avoiding
> any signing of headers at all.  There's probably some good reason behind
> that that I'd want to know about before fiddling with signing headers.

Headers in email are subject to change.  This is also why email uses
PGP/MIME, or at least should in cases where it doesn't already -- you
can't really sign the headers, and you need to be able to get the body
in some consistent, canonical state.

-- 
Jeremy  |  jeremy@exit109.com
Re: Power-Post 2003 - requesting input from authorities..
#62622
Author: Jeremy
Date: Wed, 01 Jan 2003 00:47
45 lines
3059 bytes
Rene  <invalid@email.addr> wrote:

> There's still problems with that. For example: PosterX has his key and
> makes his posting using his key. All fine.
> 
> Now 2 months later I start posting the same data. I will use the same
> article length. In fact, I downloaded PosterX's articles, I didn't decode
> them. So I can send them out with the very same signature (assuming the
> signature does not cover the message id) There would be no difference, the
> signature matches the data. Being the evil bastard that I am, I of course
> don't send all parts but stop somewhere. People putting trust into that
> signature would then blame the original holder of the signature, PosterX.

The Message-ID can be signed by any posting agent which generates its own
IDs.  Also, a signature includes the date and time it was created; if that
is two months in the past, the post becomes suspect.

> Now this won't work if for example the message-id is included into that
> Signature. This however requires the message-id being immutable and it must
> be known to the poster before posting. I don't know if this condition is
> always met.

The message-id shouldn't change as long as the post stays on Usenet.  Having
the ID at posting time is accomplished by having the client generate it.

>> I'm thinking that the two systems would go well together.
> 
> Yes, you can always put a signature on top of any one article, so also on
> xBin postings. However, xBin does not require them. It does not work
> "better" when it has a signature of a poster.

I'm certainly not suggesting that xBin should require crypto signatures.
At this point, I'm really just saying, "hey, both things could work."

> Yes but to be able to sign keys of others AND check the keys of those
> "others" you need a fully operational PKI (public key infrastructure). Some
> are out there, some cost (verisign) some do not. But you will need to rely
> on an external structure.

Yeah, but PGP already has a perfectly good one, so that seems to be to be
a solved problem.

-- 
Jeremy  |  jeremy@exit109.com
Re: Power-Post 2003 - requesting input from authorities..
#62623
Author: Frank Durda IV
Date: Wed, 01 Jan 2003 04:03
81 lines
5144 bytes
Chris Morse <chris@invalid.com> wrote:
: I would very much like to hear any ideas, suggestions or comments.
: Best practices, application client/server behaviour changes, etc.  My
: goal is to provide a quality free posting tool for the usenet
: community, but to also "play nice" with the servers.  I realize that a
: lot of people use Power-Post, so I feel that extra care should be
: taken.  Your input will directly affect it's implementation, as will
: the input from the beta team.


You bet!  When posting multi-part sets, how about adding the following
headers to each post of the set, as appropriate:

X-Last-Message-ID: <MessageID of previous post in set, if there was one>
or
X-Last-Message-ID: BEGIN

and

X-Next-Message-ID: <MessageID of next post in set, included if there is one>
or
X-Next-Message-ID: END

I suggested adding these to PowerPost via email to the author some time back
for a completely different reason*, but with todays fake part post situation,
this simple addition would provide the software that reassembles multi-part
sets with a consistency chain to check.  Such a system is reasonably
protected from any posts made by third parties that happen to have Subject:
headers that are attempting to mimic (and botch) multi-part sets made by
others.  

Effectively, the Subject: header would no longer be the sole mechanism
used to locate and reassemble the parts of multi-part sets.  Subject: headers
could still be used by legacy reader software, but newer software that looked
at these two new headers would not need the Subject: header at all, or both
the Subject and the X-Next/X-Last headers could be used to validate things.


* The reason I originally wanted it was so that servers would know the
  Message-ID of the odd posts that failed to show up in a set, and the
  servers could automatically try to find and fill those missing articles by
  doing repetitive recovery, walking the chain in whichever directions were
  needed to get all the missing Message-IDs.  That reason is still valid,
  and can be of use to individuals as well as server operators.


As a bonus to help reduce reposts, I also suggest that the re-assembly
software should accept <MID> or accept <repostN.MID> if the simple <MID> is
missing when trying to locate a post that was stated in a
X-Next-Message-ID: <MID> or X-Last-Message-ID: <MID> header.  By allowing
this bit of fuzzy matching here ONLY when the simple <MID> is not available,
it would allow for single parts to be reposted up to ten times to make a
set whole, without having to repost the entire set.  (To avoid abuse of the
fuzzy mechanism, if multiple <repostN.MID> posts exist and the simple <MID>
does not, the <repostN.MID> with the lowest absolute numeric value in the
"N" ([0-9]) that is available is the one to use.  This check prevents any
bogus parts sent out later from getting consideration over parts sent
earlier, the earlier of which are probably the originals.)

(If the original poster is trying to fix an error in a post, don't use this
 repost mechanism to try to patch a botch, start over.)


Although having this or any other multi-part posting software include these
two new headers by default would be the way to go, there has to be an option
to allow them to be turned off, as in some rare cases the poster doesn't
get to select the Message-IDs that ultimately appear on the propagated
articles (the server that accepts the POST command discards the submitted
Message-ID or they are going through some web-based portal) so this feature
needs to be turned off in those cases.  Still, for the vast majority of
people posting binaries, there would be immediate benefit from having these
extra headers available.


Frank Durda IV - only this address works:|"I picked up a Magic 8-Ball the
   <uhclem.jan03%nemesis.lonestar.org>   | other day and it said 'Outlook
This Anti-spam address expires Jan. 31st | not so good'.  I said 'Sure,
	http://nemesis.lonestar.org      | but Microsoft still ships it.'"
Copr. 2002, ask before reprinting.

Re: Power-Post 2003 - requesting input from authorities..
#62625
Author: Kjetil Torgrim Homme
Date: Wed, 01 Jan 2003 04:14
19 lines
1979 bytes
[Rene]:
>
>   Kjetil Torgrim Homme <kjetilho@haey.ifi.uio.no> wrote:
>   [..]
>   >         * Used by News admins to allow direct third party
>   >           administrative control (i.e. cancelbots and other features).
>   
>   Can I have the RIAA key please?
>   
>   Implement this system, then force it into the standard so every
>   newsserver must support that. THEN you'll have the government
>   asking for its full access keys...

what's stopping them from issuing normal cancel messages today?

-- 
Kjetil T.			|  read and make up your own mind
				|  http://www.cactus48.com/truth.html
Re: Power-Post 2003 - requesting input from authorities..
#62627
Author: Curt Welch
Date: Wed, 01 Jan 2003 06:04
17 lines
1871 bytes
Frank Durda IV <uhclem.jan03@nemesis.lonestar.org> wrote:
> X-Next-Message-ID: <MessageID of next post in set, included if there is
>   one>

You seem to have missed the huge abuse hole that would open up.

Some people take many minutes to upload each part of a multipart set.
Anyone looking to create abuse only has to grab that message id and post a
small text message with the same ID.  And if the small text message "looks"
like the next post in the series and includes a few bytes of data, he's
stolen the chain from the orginal poster and can then finsh the post with
any garbage he wants.

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/
Re: Power-Post 2003 - requesting input from authorities..
#62629
Author: Frank Durda IV
Date: Wed, 01 Jan 2003 19:42
72 lines
5301 bytes
Curt Welch <curt@kcwc.com> wrote:
: Frank Durda IV <uhclem.jan03@nemesis.lonestar.org> wrote:
:> X-Next-Message-ID: <MessageID of next post in set, included if there is
:>   one>
: 
: You seem to have missed the huge abuse hole that would open up.
: 
: Some people take many minutes to upload each part of a multipart set.
: Anyone looking to create abuse only has to grab that message id and post a
: small text message with the same ID.  And if the small text message "looks"
: like the next post in the series and includes a few bytes of data, he's
: stolen the chain from the orginal poster and can then finsh the post with
: any garbage he wants.

Yes, I know this "hole" is there, but it is more of a pin-prick than the
sizable vulnerability you suggest when you consider the time lag built into
USENET intra-site and inter-site propagation.  The people typically spoiling
a given set are not on the same server as the poster.  If they were, those
individual situation would get rectified immediately, by ejection of the
interloper, unless you have a brain-dead administrator.   I'm afraid we
can't always fix or work around "stupid".

No, the interlopers who attempt this sort of thing are elsewhere, and even if
official post #1 propagates from site X to site Y (where the offender lives)
in a few seconds, the fact is that most servers just aren't in a position to
announce and show a newly-arrived article to clients for a bit, due to running
border servers, having spam filtering, any internal buffering that occurs,
and so on.

Plus, once the article is actually available for viewing by the potential
interloper, the interloper would have to be constantly rescanning the target
group or groups for an updated active high number (or using NEWNEWS if allowed)
and pulling headers to find targets, then maybe the body, composing the
forgery, and sending it out.  By the time all that happens, the real poster
(even on a slower upload speed) should have managed to complete posting the
next part, particularly if they are of typical size, 400-700K.   In my
opinion, the window of vulnerability is sufficiently small to still justify
the obvious gains that such a system provides all the rest of the time.

The poster also partly controls his/her own vulnerability.  If the individual
posts are 1Meg in size and they are posting on a 128Kbit DSL uplink, then
each post will be about 63 seconds apart, which is still a pretty small
window for someone elsewhere to detect and preemptively post something that
just happens to have the "next" Message-ID.   If the same set was being
posted with 600K parts, not only will they propagate more reliably, but the
window of vulnerability falls to 38.4 seconds, a value that makes it
extremely difficult to beat, particularly from anyone attempting to do so
from a different server.

Of course, all this assumes that the posting software generates Message-IDs
that aren't produced in some obvious or remotely predictable sequence, like
0001, 0002, 0003, etc.   That would defeat everything, including most of
the other ideas suggested here, as the interloper could simply pre-load USENET
with the Message-IDs that the real poster would eventually try to use, causing
the posting itself to fail.

What I suggest will work, will work effectively, and won't require everyone
to be out computing factorials or going through other time-consuming dances.
What I suggest is also backward compatible, since it doesn't require the
Subject: header currently used to be altered at all.  Newer readers simply
won't have to rely on the Subject: header alone (or at all) to put things
back together.  Plus there are the bandwidth savings of being able to 
individual reposts that are also good.


Frank Durda IV - only this address works:|"Friends don't let friends spam.
   <uhclem.jan03%nemesis.lonestar.org>   | Or anyone else."
This Anti-spam address expires Jan. 31st | - This message was brought to you
        http://nemesis.lonestar.org      | by the non-Ad Council, and MASS,
Copr. 2003, ask before reprinting.       | Millions Against Stupid Spammers

Re: Power-Post 2003 - requesting input from authorities..
#62630
Author: greg andruk
Date: Wed, 01 Jan 2003 20:25
11 lines
1818 bytes
Frank Durda IV wrote:

> X-Last-Message-ID: <MessageID of previous post in set, if there was one>

> X-Next-Message-ID: <MessageID of next post in set, included if there is one>

Yep. that's all that's really needed.  The truly paranoid can also include 
checksums/hashes of those neighboring parts if they really want, but it's 
bordering on serious overkill given the value of the information being 
downloaded.
Re: Power-Post 2003 - requesting input from authorities..
#62632
Author: Kjetil Torgrim Homme
Date: Wed, 01 Jan 2003 21:35
22 lines
2060 bytes
[greg andruk]:
>
>   Frank Durda IV wrote:
>   
>   > X-Last-Message-ID: <MessageID of previous post in set, if there was one>
>   
>   > X-Next-Message-ID: <MessageID of next post in set, included if
>   > there is one>
>   
>   Yep. that's all that's really needed.  The truly paranoid can also
>   include checksums/hashes of those neighboring parts if they really
>   want, but it's bordering on serious overkill given the value of
>   the information being downloaded.

why settle for a bandaid when there is a proposal which solves both
this problem and helps overloaded servers making intelligent
decisions, thereby improving service quality?

-- 
Kjetil T.			|  read and make up your own mind
				|  http://www.cactus48.com/truth.html
Re: Power-Post 2003 - requesting input from authorities..
#62633
Author: Curt Welch
Date: Wed, 01 Jan 2003 21:37
63 lines
4468 bytes
Frank Durda IV <uhclem.jan03@nemesis.lonestar.org> wrote:
> No, the interlopers who attempt this sort of thing are elsewhere, and
> even if official post #1 propagates from site X to site Y (where the
> offender lives) in a few seconds, the fact is that most servers just
> aren't in a position to announce and show a newly-arrived article to
> clients for a bit, due to running border servers, having spam filtering,
> any internal buffering that occurs, and so on.

My servers announce and show most new posts in under a second after they
are deliverd to me (transist delays getting to me can be many minutes
however).  Other do it as well.

If someone with a modem posts a 5 MB mp3 file as 12 parts of 400K each,
each part can easilly take 1 1/2 minutes to upload.  The entire post will
take 18 minutes to post.

You don't have to constantly scan groups looking for a post to show up.
For the above example, all you have to do is fetch headers once sometime in
that 18 minute time, grab the "next message-id" out of the last post to
show up, and post a text message with that that Message-ID.

All someone needs to do is get an account on a fast server, scan headers
once a day, and attack every partial post they find at that point in time
by posting a text message to some random group like alt.test though some
other open free posting site (post.newsfeeds.com etc).

> In my opinion, the window of vulnerability is
> sufficiently small to still justify the obvious gains that such a system
> provides all the rest of the time.

If everyone posting binaries were using that system, the "window" is 24x7.
It never closes. Someone is always in the middle of a multipart upload.  If
you goal is to simply disrupt usenet for the fun of it, it will be trivial
to find a partial upload to attack at any time of the day.

> The poster also partly controls his/her own vulnerability.  If the
> individual posts are 1Meg in size and they are posting on a 128Kbit DSL
> uplink, then each post will be about 63 seconds apart, which is still a
> pretty small window for someone elsewhere to detect and preemptively post
> something that just happens to have the "next" Message-ID.

Right, so you system will encourge people to post smaller articles.  2K
would be ideal.  That's a good thing to modivate the multipart posters to
do.

> What I suggest will work, will work effectively, and won't require
> everyone to be out computing factorials or going through other
> time-consuming dances.

The simplicity can't be beat.  And if it doesn't get abused, it would be
nice,  as long as the poster wasn't posting from Airnews of course since
this can't work from your own servers. (this is a plot for you to get all
binary posters off of Airnews isn't it? :)).

If people want to try it, go for it.  I'm not wrong about how easy it will
be to abuse, but I may be wrong about how much it would in fact be taken
advantage of.  The advantange might outweigh the harm.  I just don't
believe it.  But I also "knew" yEnc would go nowhere. :)

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/
Re: Power-Post 2003 - requesting input from authorities..
#62634
Author: greg andruk
Date: Wed, 01 Jan 2003 21:45
11 lines
1894 bytes
Kjetil Torgrim Homme wrote:

> why settle for a bandaid when there is a proposal which solves both
> this problem and helps overloaded servers making intelligent
> decisions, thereby improving service quality?

The tree stuff is nothing more than a more elaborate bandage.  It does 
nothing to actually fix the underlying problem that NNTP in its current 
form is a poor way to transfer large files.  You're looking at the wrong 
layer.
Re: Power-Post 2003 - requesting input from authorities..
#62637
Author: Kjetil Torgrim Homme
Date: Wed, 01 Jan 2003 22:11
19 lines
1963 bytes
[greg andruk]:
>
>   Kjetil Torgrim Homme wrote:
>   
>   > why settle for a bandaid when there is a proposal which solves both
>   > this problem and helps overloaded servers making intelligent
>   > decisions, thereby improving service quality?
>   
>   The tree stuff is nothing more than a more elaborate bandage.  It
>   does nothing to actually fix the underlying problem that NNTP in
>   its current form is a poor way to transfer large files.  You're
>   looking at the wrong layer.

please explain.

-- 
Kjetil T.			|  read and make up your own mind
				|  http://www.cactus48.com/truth.html
Re: Power-Post 2003 - requesting input from authorities..
#62638
Author: Jeremy
Date: Wed, 01 Jan 2003 22:20
24 lines
2207 bytes
Frank Durda IV  <uhclem.jan03@nemesis.lonestar.org> wrote:

> Although having this or any other multi-part posting software include these
> two new headers by default would be the way to go, there has to be an option
> to allow them to be turned off, as in some rare cases the poster doesn't
> get to select the Message-IDs that ultimately appear on the propagated
> articles (the server that accepts the POST command discards the submitted
> Message-ID or they are going through some web-based portal) so this feature
> needs to be turned off in those cases.

But aren't *your* users the best-known example of users who would be unable
to use this feature, and in fact for whom it would fail spectactularly if
they tried anyway?  You're just trying to get rid of the binary hog users,
aren't you? :)

Come to think of it, it's your users who would have trouble with the
digital signature stuff I've been musing about here lately, too, as they
would be unable to sign their message-ids.  Ah, if I could be Fluffy for
a day, I'd decree that client-supplied message-ids MUST NOT be discarded
or rewritten...

-- 
Jeremy  |  jeremy@exit109.com
Re: Power-Post 2003 - requesting input from authorities..
#62639
Author: Curt Welch
Date: Wed, 01 Jan 2003 22:35
21 lines
2154 bytes
Kjetil Torgrim Homme <kjetilho@haey.ifi.uio.no> wrote:
> why settle for a bandaid when there is a proposal which solves both
> this problem and helps overloaded servers making intelligent
> decisions, thereby improving service quality?

If it's too complex to understand, it's not seen as workable.  That's a big
problem with xBin.  It's not that people are too stupid to understand it,
it's just that it takes a lot more than 5 seconds of thought to comprehend.
And it takes even more to understand why it's infinitely better in all
regards (except the complexity issue).

If you can't get your point across in a 5 second sound-bite, it's hard to
get anyone to see your point.

The next prev idea is the 5 second sound-bite solution to the problem that
only something like xBin will actually be able to solve.

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/
Re: Power-Post 2003 - requesting input from authorities..
#62640
Author: Russ Allbery
Date: Wed, 01 Jan 2003 22:40
46 lines
3399 bytes
Kjetil Torgrim Homme <kjetilho@haey.ifi.uio.no> writes:
> [greg andruk]:

>>   The tree stuff is nothing more than a more elaborate bandage.  It
>>   does nothing to actually fix the underlying problem that NNTP in
>>   its current form is a poor way to transfer large files.  You're
>>   looking at the wrong layer.

> please explain.

I can't speak for Greg, but the parts that are bothering me about what
I've been reading, and I'll admit that I've not been reading that closely
and therefore may be misunderstanding something basic, have still been
talking about such things as multiple parts of a binary put into multiple
news messages.

I think a cleaner way of handling this may be to figure out the right way
to support articles of unlimited size, without running into the problems
that Curt refers to when it comes to server assumptions.  This would
require news servers to break long articles into multiple parts when
talking to each other, but this operation should ideally be considered
akin to packet fragmentation in TCP rather than exposed to the user; in
other words, once all the parts arrive, the message is reassembled from
the perspective of NNTP readers (even if not actually reassembled in the
article storage in the server).

For readers, one would then need to add resumable posts and resumable
downloads to handle those articles cleanly.

There's a lot of complexity whichever way you look at it, but I was
convinced by the arguments comparing the problem of handling long binaries
to the problems of packet fragmentation, and that sort of approach just
feels more theoretically sound to me.

Think of it this way:  Do we actually *want* to think about binaries split
across multiple news articles?  In our ideal world, assuming infinite
computer capabilities, don't we want that concept to just go away?  If so,
do we actually have to discard that desire, or is there a way we can make
that work?

-- 
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: Power-Post 2003 - requesting input from authorities..
#62641
Author: greg andruk
Date: Wed, 01 Jan 2003 22:57
9 lines
1863 bytes
Russ Allbery wrote:


> I think a cleaner way of handling this may be to figure out the right way
> to support articles of unlimited size, without running into the problems
> that Curt refers to when it comes to server assumptions.

That's the real problem that wants to be solved, yes.
Re: Power-Post 2003 - requesting input from authorities..
#62642
Author: Andrew - Supernews
Date: Wed, 01 Jan 2003 23:02
31 lines
2821 bytes
In article <ylk7hopk7n.fsf@windlord.stanford.edu>, Russ Allbery wrote:
> I think a cleaner way of handling this may be to figure out the right way
> to support articles of unlimited size, without running into the problems
> that Curt refers to when it comes to server assumptions.  This would
> require news servers to break long articles into multiple parts when
> talking to each other, but this operation should ideally be considered
> akin to packet fragmentation in TCP rather than exposed to the user; in
> other words, once all the parts arrive, the message is reassembled from
> the perspective of NNTP readers (even if not actually reassembled in the
> article storage in the server).

the flaw with this reasoning is that the breaking up of the file has to
happen _before_ it hits the first news server, otherwise you are relying
on that first network link (poster -> injection site), which is probably
the least reliable of any of the links involved, to be able to pass an
unlimited-size article in a single session.

> There's a lot of complexity whichever way you look at it, but I was
> convinced by the arguments comparing the problem of handling long binaries
> to the problems of packet fragmentation, and that sort of approach just
> feels more theoretically sound to me.

notice that the trend in dealing with packet fragmentation is to do it
_only_ at the originating site and not in-flight; while IPv4 can do it
either way, PMTU discovery is usually the default, whereas IPv6 has no
in-flight fragmentation at all.

-- 
Andrew, Supernews
http://www.supernews.com - individual and corporate NNTP services
Re: Power-Post 2003 - requesting input from authorities..
#62644
Author: Russ Allbery
Date: Wed, 01 Jan 2003 23:11
39 lines
3267 bytes
Andrew - Supernews <andrew+nonews@supernews.com> writes:

> the flaw with this reasoning is that the breaking up of the file has to
> happen _before_ it hits the first news server, otherwise you are relying
> on that first network link (poster -> injection site), which is probably
> the least reliable of any of the links involved, to be able to pass an
> unlimited-size article in a single session.

Yeah, that's why I mentioned resumable POST as one of the things that
would be required to make this work.

> notice that the trend in dealing with packet fragmentation is to do it
> _only_ at the originating site and not in-flight; while IPv4 can do it
> either way, PMTU discovery is usually the default, whereas IPv6 has no
> in-flight fragmentation at all.

I don't think it makes much difference to the underlying concept if the
article stays fragmented during its whole journey from the source to the
destination or if it gets reassembled and refragmented again (actually,
the former is likely better since it makes it easier to flood-fill); the
important part from my perspective is that ARTICLE should give you the
whole thing and POST should send the whole thing, without the user having
to think about the fragmentation and recovery from missing parts problems.

This does require resumable versions of both POST and ARTICLE so that the
client reader can basically fragment on demand.

One of the potential problems with this idea, though, is that it may lead
to more full-article reposts, which means that some of the error
correction ideas are probably still needed.  But I'd really like to see
how much of the complexity could be moved into the server, rather than
exposing it to the user.

-- 
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: Power-Post 2003 - requesting input from authorities..
#62646
Author: David Ball
Date: Wed, 01 Jan 2003 23:21
30 lines
3131 bytes
On Wed, 01 Jan 2003 23:02:39 -0000, Andrew - Supernews
<andrew+nonews@supernews.com> wrote:

>In article <ylk7hopk7n.fsf@windlord.stanford.edu>, Russ Allbery wrote:
>> I think a cleaner way of handling this may be to figure out the right way
>> to support articles of unlimited size, without running into the problems
>> that Curt refers to when it comes to server assumptions.  This would
>> require news servers to break long articles into multiple parts when
>> talking to each other, but this operation should ideally be considered
>> akin to packet fragmentation in TCP rather than exposed to the user; in
>> other words, once all the parts arrive, the message is reassembled from
>> the perspective of NNTP readers (even if not actually reassembled in the
>> article storage in the server).
>
>the flaw with this reasoning is that the breaking up of the file has to
>happen _before_ it hits the first news server, otherwise you are relying
>on that first network link (poster -> injection site), which is probably
>the least reliable of any of the links involved, to be able to pass an
>unlimited-size article in a single session.

If you're going to modify the protocol, then when a user starts to
post a binary article, how about returning them some kind of key. If
the session breaks, the server keeps the partial upload around for
20 minutes and the user can connect again and use the key to resume
the upload. Even if they're a dialup user and they get a different
IP, the key would server to validate them to continue the upload of
the binary post.

-- David
Re: Power-Post 2003 - requesting input from authorities..
#62647
Author: David Ball
Date: Wed, 01 Jan 2003 23:23
10 lines
1853 bytes
On Wed, 01 Jan 2003 15:11:17 -0800, Russ Allbery <rra@stanford.edu>
wrote:

>Yeah, that's why I mentioned resumable POST as one of the things that
>would be required to make this work.

Oops, I missed that part... Sorry for the redundant suggestion..

-- David
Re: Power-Post 2003 - requesting input from authorities..
#62648
Author: Curt Welch
Date: Wed, 01 Jan 2003 23:39
114 lines
7525 bytes
Russ Allbery <rra@stanford.edu> wrote:
> I think a cleaner way of handling this may be to figure out the right way
> to support articles of unlimited size, without running into the problems
> that Curt refers to when it comes to server assumptions.

The trick here is to figure out a path through the swamp from where we are
now to where we want to go.  I see xBin as a very viable option for that
path.  It will take us to where we want to be.

We don't really need (or want) a way to transport huge articles.  There's
no need for text articles to be over 1MB in size.  I see no value in
wrapping DVDs in MIME format text articles and then creating a complex
system for news servers to split up huge text articles and put them back
together at the other side.

What I see value in is a way for news servers to transport huge files along
side the system which has always worked fine for transporting text
articles.

xBin is the start of the transformation from Usenet knowing how to
transport only one thing (text articles) to it being able to transport two
things (text articles, and binary data files).

xBin is the new "message-id" for data files, which already addresses the
need for spliting the file up for transport.  xBin is the "file segment"
ID, which a binary usenet transport system needs.

We talk a lot about how usenet wasn't designed for transporting binary
files.  It's designed for, and works well at, transporting text messages.
So why talk about breaking the system for transporting text so it works
better for transporting binaries?  Lets move the binaries out-of-band from
the text.

The goal of xBin is to acuratlly mark _every_ binary article on Usenet so
the servers can tell which are text files, and which are the binary files.

If we get to the point that a large percentage of the binary files are
being correctly labled, then we can fix the transport problems by setting
up alternate systems for moving the binary files.  For starters, it will be
trivial to set up alternate feeds to move the binary files out-of-band from
the text.  Right now, we can't acurattly even do that (well, Diablo I think
can do it, but it had to work hard to scan the aritcle and decide what it
is (is that =ybegin line a text message or is this a binary?).

We have talked about a lot of possible things that could be done with the
binary posts differently from the text, like fetch on demand through the
path, or fetch from the source server, or transport in pure binary, or
split and re-combine based on the transit needs, or fetch missing parts on
demand.  All this is very very hard to do when the data is hidden inside a
text article. But all if that is very very simple when you switch to a
system which is transporting files instead of articles.

So all these ideas first require us to split the binary articles from the
text articles, and to convert Usenet to a system where the binary posts are
not seen as text files, but instead are seen simply as binary files.

xBin allows is to make that split, and it gives the users a reason to help
us do it.

I see this taking us to a day where the binary files get transported
complety differently from the text.  The text will continue to work as it
does now, and there will be no need for a major re-write of all NNTP
servers to support some strange auto-split feature which is close to
impossible to support for text articles which by design are not
byte-for-byte identical from server to server.

I see us creating special usenet-binary transport servers which though may
work something like standard NNTP servers, are instead designed from the
ground up to only transport files.  When they receive file fragments, they
don't index it by newsgroup, it stores it with the rest of the fragments
the server already has in it's spool for the same file.  It will support a
protocol where you ask it about files (what fragments do you have for file
XYZ? (where XYZ is the xBin hash for the file), and you can download from
it any byte-range of the file you want which it has in it's spool.  This is
the natural way to support resumable downloads and works fine for a fixed
byte-for-byte "file" concept but has issues when you talk about "articles"
which are different from server to server.

For example, if you had a feature to allow you to download a byte range of
an article, and you downloaded half an article before you got disconnected,
and when you try to restart the download, you find the aritcle has expired.
Can you now go to a different server and finish the download?  What hapens
if CRs and LFs had been transformed somewhere in transport so the files
aren't the same size on both servers?  You won't be able to use a second
server to get the second half of the article.

But, the "file servers" are designed from the ground up to transport
"files" which are byte for byte identical everywhere in the world (and the
xBin signature allows you to prove that any partial set of bytes you get
for a file are in fact part of that file and are not a fake, and are not
corrupted).  So, if you couldn't finsish your download on server X, but
server Y still had the file, your download tool could automatically finish
it there.

And if a server has most of a file by is missing 1000 bytes out of the
middle, it knows how to ask for the missing from data from all other
servers without some stupid (next/prev message-id hack). It just says do
you have buytes 10,000 though 10,999 of file XYZ where XYZ is the hash for
the file.

You can make usenet articles look like and work like unchangeable files,
and then add partial transfer commands to NNTP, but that's a hell of a
conversion to make happen to Usenet.  Or, you could leave usenet alone, and
move the files to a system that works even better, but yet is closely tied
to Usenet.

But how do you get everyone to swtich?  xBin. It gives us a path to follow
from where we are now, to where we want to be, and every step along the way
helps everyone.

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/
Re: Power-Post 2003 - requesting input from authorities..
#62649
Author: Kjetil Torgrim Homme
Date: Wed, 01 Jan 2003 23:55
27 lines
2726 bytes
[Russ Allbery]:
>
>   I think a cleaner way of handling this may be to figure out the
>   right way to support articles of unlimited size, without running
>   into the problems that Curt refers to when it comes to server
>   assumptions.  This would require news servers to break long
>   articles into multiple parts when talking to each other, but this
>   operation should ideally be considered akin to packet
>   fragmentation in TCP rather than exposed to the user; in other
>   words, once all the parts arrive, the message is reassembled from
>   the perspective of NNTP readers (even if not actually reassembled
>   in the article storage in the server).

it seems almost impossible to introduce such a radical feature, and
you'd still have a security problem with an attacker sending a bogus
message with the same Message-ID from a different corner of the net.
ouch, the complexity of it all makes my head hurt.  you'd need
resumable IHAVE/CHECK, you'll need abortable commands, you may have to
redesign your server's storage (oodles of 2 GB CNFS buffers won't cut
it), you need to change every client software as well as server
software.  and you still haven't provided a way to filter based on
file size.  sorry, I think it is completely unrealistic.

-- 
Kjetil T.			|  read and make up your own mind
				|  http://www.cactus48.com/truth.html
Re: Power-Post 2003 - requesting input from authorities..
#62650
Author: Jeffrey M. Vinocur
Date: Thu, 02 Jan 2003 00:01
18 lines
1838 bytes
In article <fpt61vgc5bm7gs838u623809tpa13bbeb0@4ax.com>,
David Ball  <dball@booksnbytes.com> wrote:
>
>If you're going to modify the protocol, then when a user starts to
>post a binary article, how about returning them some kind of key. If
>the session breaks, the server keeps the partial upload around for
>20 minutes and the user can connect again and use the key to resume
>the upload. Even if they're a dialup user and they get a different
>IP, the key would server to validate them to continue the upload of
>the binary post.

I supppose the Message-ID would work for that, provided it's
generated in such a way that it can't be predicted.

-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: Power-Post 2003 - requesting input from authorities..
#62651
Author: Russ Allbery
Date: Thu, 02 Jan 2003 00:11
64 lines
4198 bytes
Kjetil Torgrim Homme <kjetilho@haey.ifi.uio.no> writes:

> it seems almost impossible to introduce such a radical feature, and
> you'd still have a security problem with an attacker sending a bogus
> message with the same Message-ID from a different corner of the net.

Yes, regardless of transfer scheme, checksums of some kind are required.

> you'd need resumable IHAVE/CHECK,

(I assume you mean TAKETHIS.)

I don't believe so.  You wouldn't use IHAVE/TAKETHIS for fragmented
articles; you'd use something else that's very similar but that supports a
concept of a message fragment, and that probably carries a checksum with
it.

> you'll need abortable commands,

I still don't think you need any more abort capability than NNTP has right
now.  Although if you really want abortable reader commands, there's a
fairly good way to do that:  serve out articles to readers over IMAP
rather than NNTP.  I presume that IMAP supports aborts; it's asynchronous,
anyway, which would make them easy to add if it doesn't already.

> you may have to redesign your server's storage (oodles of 2 GB CNFS
> buffers won't cut it),

Why not?  There's no reason why you can't fragment the article in storage,
and that's actually more convenient for doing outgoing transit.

> you need to change every client software as well as server software.

The whole point of how I'm looking at this is that you don't have to
change the client software at all unless you want resumable downloads or
uploads.  The binaries look just like articles look now.

> and you still haven't provided a way to filter based on file size.

I think that falls out pretty naturally, actually.

Curt also has an interesting point in terms of just moving the transport
of binaries completely out of the same path as text articles, but that's
the path that I find somewhat unrealistic from a cultural standpoint.
E-mail is going in exactly the opposite direction, and Usenet I expect
will follow e-mail.  The clear trend is towards rich messages with a full
language for tagging and composing messages of multiple parts, not towards
further partitioning messages into different types.

But the point about how to get there from here is well-taken.

It is possible that by putting full MIME parsing into the server, one can
sideline the binaries into a different transit system and then reassemble
the articles at the destination.  One of the nice things about MIME (cue
my yEnc rant again) is that it makes this sort of thing possible, because
the articles can be parsed programmatically.  I haven't really thought
that much about the implications of that approach, though.

-- 
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: Power-Post 2003 - requesting input from authorities..
#62652
Author: Russ Allbery
Date: Thu, 02 Jan 2003 00:14
34 lines
2917 bytes
The Profiteer <TheProfiteerBITESPAM@iplweb.org> writes:
> On 29 Dec 2002 12:41:42 GMT, Rene <invalid@email.addr> tossed the following
> into news.software.nntp:

>> Download one article of a file, and you already have all the
>> information you need to verify that article. You won't need additional
>> keys, additional systems, nothing. You have all you need.

> What if the first article of a file downloaded (note: not necessarily
> the "first" article of the post due to nature of Usenet propagation) is
> a 'spoof'?

Whichever article you get first with a given message ID *is* the real
article.  That's inherent to the Usenet message protocol.  Not much you
can do about that without tackling the problem of preventing forgeries in
general, which requires validated public key signatures or something
equivalent.

And even with that, Usenet is by its very nature vulnerable to a denial of
service attack by injecting messages with the same message ID.  It's not
clear to me that there's much that can be done technically about that.

In other words, this reduces to just a special case of someone posting a
message with the same message ID as another message.  The hashes will let
you make sure that all of the parts you have belong to the same message,
but they don't help you determine whether that article should be trusted.
You have to make that decision based on other information.

-- 
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: xBin (Power-Post 2003 - requesting input from authorities..)
#62653
Author: Kjetil Torgrim Homme
Date: Thu, 02 Jan 2003 01:28
25 lines
2651 bytes
[The Profiteer]:
>
>   X-No-Archive: yes

please turn it off, it's so awkward when I can't quote.

there will still be a place for topical newsgroup names.  in Norway,
an ISP was fined for carrying newsgroups which obviously contained
sexualised violence and child pornography.  without topical newsgroup
names, there would be no way to opt-out of that material for an ISP,
and at least no Norwegian ISP could offer binaries.

also, with xBin in place, it's trivial to filter out binary files no
matter where they are posted, since you can tell by Message-ID alono.
text only providers shouldn't mind binaries posted in text groups
much, they'd refuse to accept the message before even seeing the
Newsgroups header.  users reading text groups at binary providers
would not be so happy, since the text traffic would drown among the
binaries unless their client knew how to ignore messages posted using
the xBin Message-ID convention.

-- 
Kjetil T.			|  read and make up your own mind
				|  http://www.cactus48.com/truth.html
Re: Power-Post 2003 - requesting input from authorities..
#62656
Author: Frank Durda IV
Date: Thu, 02 Jan 2003 02:06
39 lines
3028 bytes
Curt Welch <curt@kcwc.com> wrote:
: If someone with a modem posts a 5 MB mp3 file as 12 parts of 400K each,
: each part can easilly take 1 1/2 minutes to upload.  The entire post will
: take 18 minutes to post.

No, the only point of worry is the period between posting two adjacent posts,
NOT the period between posting the first and last post of the set.  The total
size of the set and the number of posts that comprise the set are
immaterial.   (It's a doubly-linked list!)


: You don't have to constantly scan groups looking for a post to show up.
: For the above example, all you have to do is fetch headers once sometime in
: that 18 minute time, grab the "next message-id" out of the last post to
: show up, and post a text message with that that Message-ID.

Again, a link is protected as soon as the next post is posted, not later
when the entire set has been posted.


: If everyone posting binaries were using that system, the "window" is 24x7.
: It never closes. Someone is always in the middle of a multipart upload.  If
: you goal is to simply disrupt usenet for the fun of it, it will be trivial
: to find a partial upload to attack at any time of the day.

Also the same false assumption.  The gap only exists between the post
that states what the very next posts message-ID is going to be and when that
next post gets posted.  That's it.

With that confusion cleared-up, look at the idea again.


Frank Durda IV - only this address works:|Sign on back of a Cable TV truck:
   <uhclem.feb03%nemesis.lonestar.org>   |"This vehicle makes frequent stops."
This Anti-spam address expires Feb. 28th | (written in the dirt underneath:)
	http://nemesis.lonestar.org      |"Just like our cable service."
Copr. 2003, ask before reprinting.

Re: Power-Post 2003 - requesting input from authorities..
#62655
Author: Frank Durda IV
Date: Thu, 02 Jan 2003 03:18
97 lines
6407 bytes
Jeremy <jeremy@exit109.com> wrote:
: But aren't *your* users the best-known example of users who would be unable
: to use this feature, and in fact for whom it would fail spectactularly if
: they tried anyway?  You're just trying to get rid of the binary hog users,
: aren't you? :)

(I knew someone would bring this up, but the person I figured on probably
stays out of the technical groups for fear of being out-debated by a 'bot.)

That very thing you mention is being phased out and should be gone within a
month, long before anyone would likely be able to have new fragment-posting
and reassembly-receiving software working that used the doubly-linked
check mechanism as I suggested.  So, not an issue or obstacle.


The original reason for replacing customer <MID>s originally was as a simple
(but effective) duplicate catcher, as there used to be a nasty bug in Agent
that could cause a user to send two or twenty or four hundred copies of the
same post without the user even realizing it, although some wondered why
their modems' TX light stayed on for hours...   As our parent company actually
distributed this version of the software to customers, we had to live with
the problem existing in the bulk of our customers computers as best as we
could.

In that setup, the regenerated MID was a checksum of the message body, so it
prevented the duplicates from going anywhere.  Yeah, this was definitely
against the teachings of The Church of the RFC, but it solved a problem that
was causing complaints from customers and other administrators, and also got
rid of hundreds of spammers over the years without us having to do much at
all.  (Frequently, spammers would leave on their own, after posting for hours
or days and discovering that only one copy of each unique post went anywhere
other than the wall of shame, where they would eventually get caught and
shot anyway.)  We had checks on Path: content in posts to prevent loops
caused by the MID substitution.

Today, few people run that version of Agent anymore, because it broke very
badly on January 1st, 2000, so now we do more generic spam filtering on POST
input headed to local spools and outbound can catch most of the
idiots/spammers who are posting duplicate material locally, as well as those
that now alter each post to some trivial extent.


: Come to think of it, it's your users who would have trouble with the
: digital signature stuff I've been musing about here lately, too, as they
: would be unable to sign their message-ids.  Ah, if I could be Fluffy for
: a day, I'd decree that client-supplied message-ids MUST NOT be discarded
: or rewritten...


I still haven't come up with a better solution (nor have I seen an offered
alternative) than to not propagate binary bodies at all, instead propagating
pointers to the places where the bodies reside and can be directly obtained.
This would certainly settle the uuencode versus base64 versus Your Erratic
and Neurotic Coding system(TM) debates, since the binaries would be downloaded
in, well binary.*

Depending on your situation, donor bandwidth consumption could be better or
worse than what is consumed now, but since things would not have to be posted
over and over to get complete propagation, there would be some good to come
out of it in storage too.  Such a system might also help train the sites with
open-collector posting policies into making make some adjustments to how much
they stuff they are willing to suddenly be the donor for.    Right now, the
receiving sites are punished for the excesses allowed by the originating site.
That burden would immediately shift to the originating site, and such excesses
would likely end fairly quickly.

* (Using the YENC fuzzy math system, donor binary transport would be at least
   a 100% savings in Internet Bandwidth over uuencode or even YENC!  :-)   )


Of course, training (or forcing) people to use FTP or some other protocol 
to move binaries around to those that want them is the ultimate
"elegant solution".


I seriously doubt adding layers of complexity in the form of challenges
and cross-checks at higher layers will ever protect a protocol when its lower
layers remain fundamentally vulnerable to presence pre-loading, falsification
and impersonation, failed delivery and other faults we all know too well.

This "protect the skateboard with the broken wheel by dropping an Abrams tank
on top of it" stuff has gotten wacky enough that I'm surprised no one has
suggested a form of spread spectrum posting as a way to avoid the people trying
to inject noise into the transport layer.  Sigh.  I'll be finding part 17 of
all binary multi-part sets posted only in rec.pets.cats.the.other.white.meat
next, because that group happened to be the right place in the QAM
constellation for that part number.  :-(



Frank Durda IV - only this address works:|"Friends don't let friends spam.
   <uhclem.feb03%nemesis.lonestar.org>   | Or anyone else."
This Anti-spam address expires Feb. 28th | - This message was brought to you
        http://nemesis.lonestar.org      | by the non-Ad Council, and MASS,
Copr. 2003, ask before reprinting.       | Millions Against Stupid Spammers

Re: Power-Post 2003 - requesting input from authorities..
#62658
Author: Jeffrey M. Vinocur
Date: Thu, 02 Jan 2003 03:27
46 lines
3189 bytes
In article <E039A0E30BFBEE2A.77C70A528F979D8E.1A13272246193754@lp.airnews.net>,
Frank Durda IV  <uhclem.feb03@nemesis.lonestar.org> wrote:
>Curt Welch <curt@kcwc.com> wrote:
>: If someone with a modem posts a 5 MB mp3 file as 12 parts of 400K each,
>: each part can easilly take 1 1/2 minutes to upload.  The entire post will
>: take 18 minutes to post.
>
>No, the only point of worry is the period between posting two adjacent posts,
>NOT the period between posting the first and last post of the set.  The total
>size of the set and the number of posts that comprise the set are
>immaterial.   (It's a doubly-linked list!)

Then if one post is missing, you can't figure out how to link up
to the other half of the file.  Is that what you want?


>: If everyone posting binaries were using that system, the "window" is 24x7.
>: It never closes. Someone is always in the middle of a multipart upload.  If
>: you goal is to simply disrupt usenet for the fun of it, it will be trivial
>: to find a partial upload to attack at any time of the day.
>
>Also the same false assumption.  The gap only exists between the post
>that states what the very next posts message-ID is going to be and when that
>next post gets posted.  That's it.

You're not reading Curt carefully.

You *may* be right that it would be hard to target a specific
file being posted by a specific user (although I don't think it
would).  But his point is that whatever length that window is
relative to the time it takes to post one part, if you multiply
by millions of binary posts, it's not hard to find *some* file
you can interrupt.

Note that you don't have to beat the original poster to getting
the article to *his* server.  That would be pretty easy to work
around by inserting a one-minute delay or something.  But even if
it takes longer for the post to traverse the network than for one
part to be posted, an attacker can still disrupt the post on some
servers.


-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: Power-Post 2003 - requesting input from authorities..
#62659
Author: Curt Welch
Date: Thu, 02 Jan 2003 05:32
119 lines
7701 bytes
Russ Allbery <rra@stanford.edu> wrote:
> Curt also has an interesting point in terms of just moving the transport
> of binaries completely out of the same path as text articles, but that's
> the path that I find somewhat unrealistic from a cultural standpoint.

Asking the users to use ftp or http to move files is unrealistic.  Asking
them to use newsreaders which support a new NNTP FILE command, is not
unrealistic at all.  Asking us to create a new "binary usenet" transport
system is hard because of the complexites of migration to any new system.

But this xBin system of labeling binaries looks to me like the path out of
the woods.  At every step along the way, it's gives people a good reason to
do the conversion.

> E-mail is going in exactly the opposite direction, and Usenet I expect
> will follow e-mail.  The clear trend is towards rich messages with a full
> language for tagging and composing messages of multiple parts, not
> towards further partitioning messages into different types.

I think the fact that that Usenet and Mail share a common file format has
confused a lot of people into thinking they have more in common with each
other than it really does.

There are a lot of P2P file sharing systems in use today.  And there are a
lot of web-mirroing systems in use.  And there are a lot of file-cache
systems in use to help broadcast data to a wide audance.  Binary usenet has
a lot more in common with all of those than is does with any e-mail system.
Why would it make sense to make Usenet follow e-mail when the requirements
have almost nothing in common?

It's been clearly shown that "rich" text messages are not needed or wanted
on Usenet.

When sharing data, "rich bundles of information" have no place on P2P
networks or on Usenet.

the one-to-one nature of e-mail makes the requiremetns of even the data
very different than the one-to-many distribution of Usenet.  And it's not a
technically difference, it's a social one.

When you send e-mail, you know who it's going to, and you know what you
want to send them.  You don't send e-mails unless you believe the person
you are sending to wnats what you are sending them.  If a salesman wants to
send me some quotes and some contracts and some sales lit, he wants to be
able to bundle it into a single package and have it all delivered to me.
e-mail has a real requirement for "rich bundles" because of the social
needs of the application.

When you post to Usenet, you are not sending to a single person, you are
"sharing" with a group.  With this, you don't know for sure who wants what.
Because of that, you don't bundle.  The correct approach is break what you
"donate" to usenet into the smallest pieces which are useable on their own.
If you post an album, you post each song separtely because some people may
want a single song, but not the entire album.

If you post a set of pictures, each picture goes out as a separte article,
because many people would like to see individual pictures without having to
download an entire set.

If I read a group, and see 10 messages about xBin, I don't put all my
comments about all the messages into one article. I write different
articles for each comment.

Usenet has little to no need for "rich bundles of information".  e-mail has
a lot of need for it.  This is why we have MIME for e-mail, and why it gets
so little use on Usenet.

Usenet only needs to transport two things.  Plain text messaes, and files.

Because of history, Usenet was optimized for text messages first, and files
were latter added by hiding them inside the text messages.  If we had to do
it over, we would flip that.  We would set it for distributiong raw binary
files at the low level, and put the text messages as one type of file.
Some p2p systems that did get to be done "later" are doing just that.

But flipping it upside down is going to be a bitch, and may never be
justified.  But we can take the binary files out from inside the text
messages, and put them side-by-side with the text.

The first step is to stop hiding them inside the text messages.  That's
what xBin is all about.  The will still be "indside", but they will no
longer be hidden.

Once we get that done, step to, is to migrate Usenet so people treat the
binary posts as "files" instead of "messages".  We want people to be able
to post files to usent, and downlaod files form Usenet, and never thing
about the fact that they are stored as 1000 text messages.  xBin will allow
us to do that, even though the same "binary in text article" infrastructure
is being used to move everything".

Once people stop seeing the files as "articles", then we can start to
migrate the actauly transport, to do something better.  Servers will gain
the power (and "right") to fragment, reasymble, and reformat, the binary
articles any way they need to as long as the "file" is not corrupted.  Once
servers have this power, then we can experment with a wide range of
different transport and distribution options for the huge voulmes of binary
data that will on Usenet at this point.  Usenet binary servers will start
to migrate towards file cache systems instead of the entire "push" system
which works well for small text messages.  Text messages will be used to
announce, and talk about, what files were posted to Usenet.

Files will no longer be posted to newsgroups.  They will simply be posted
to "usenet".  If you want file XYZ (where XYZ is the universe hash name for
the file), there is no reason to look in a newsgroup for it, you just ask
the usenet server if it has any segements of that file.  Text messages
describing the posts will be sent to usenet.  For text, usenet will stay
much the same as it is now.  For files, it can become a large distributed
filesystem.  It will take a long time to get there, and it may never even
get there for one reason or another, but I think that's a good direction to
go in, and I see correctly labeling posts as the first step to makeing
"files" work better on Usenet.

Creating more complex ways to bundle them inside huge articles is just not
the way to do it.

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/
Re: Power-Post 2003 - requesting input from authorities..
#62661
Author: Curt Welch
Date: Thu, 02 Jan 2003 05:47
58 lines
4080 bytes
The Profiteer <TheProfiteerBITESPAM@iplweb.org> wrote:
> On 29 Dec 2002 12:41:42 GMT, Rene <invalid@email.addr> tossed the
> following into news.software.nntp:
>
> >
> >Download one article of a file, and you already have all the information

That should read: "Downonad _any_ article of a file, ..."

> >you need to verify that article. You won't need additional keys,
> >additional systems, nothing. You have all you need.
> >
> What if the first article of a file downloaded (note: not necessarily the
> "first" article of the post due to nature of Usenet propagation) is a
> 'spoof'?  With fraudulent hashes in the headers?  Or does the overall
> system proposed eliminate this possibility?

xBin totaly solves that problem.

Each article posted has all the data it needs in every article to prove
that the data is valid without having to look elsewhere.

This is because a unique file "hash" is calcuated for the entire file, and
that "hash"  becomes the name of the file.  It's included in the
Message-ID.

What you can prove just by looking at a single article, is that the data in
that article does hash to the correct file name - even though the data is
only part of the file.  The xBin ID in the Message-ID also tells you that
the data in the article is for bytes X to Y in the larger file of size Z.
This hash allows you to prove that all that information is valid and
prevents it from being faked.  If you change any of the information in the
article, the "filename" changes, and you know it's not part of the file you
are looking for.

The extra data needed to prove this are hash values from the rest of file.
You only need to include a few hundred bytes of hash data in each article
to make this work for typical sized files and it will be placed in an
X-Bin-Signature: header.

Because, just by looking at the Message-ID, you know what data is in the
article, and what "file" it is for, and you can prove this is all ture just
by scaning the article and recalculating the hash, download tools will be
able to automatcially find posts, and will _never_ make a mistake when
trying to identify parts.  It could be foolled into wasting time download
"fake" articles, but once the article is downloaded, it will be seen as a
fake, so the download tool can continue trying to find all the missing
parts it needs.

Subjects will no longer be used to find data at all.  Everyhing the
download tool needs to identify articles to downlaod is in the Message-ID.

It's an order of magnatude better than what is being done today.

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/
Re: Power-Post 2003 - requesting input from authorities..
#62662
Author: Curt Welch
Date: Thu, 02 Jan 2003 06:03
27 lines
2442 bytes
Frank Durda IV <uhclem.feb03@nemesis.lonestar.org> wrote:
> Curt Welch <curt@kcwc.com> wrote:
> With that confusion cleared-up, look at the idea again.

Oh, yeah, that's clear. :)

I'll try one more thing that might help you see...

A chain is only as strong as it's weakest link.  To break a chain, all you
have to do is break a single link.  When someone posts a 48 part "chained"
post, you have 48 links to choose from to break the post, not one as you
seem to think.

Like I said, I might be wrong about how often people will try to take
advantage of this weakness, but I'm not wrong about how easy it will be to
do so.

You can not pre-announce Message-IDs.  Period.  You can't do it by even 1
second because propagation delays can turn an inital 1 second into minutes
or hours on many remopte servers.  And because of differences in
propagation delays, you can't even get away with post announcing them by
anything less than many hours.

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/
Re: xBin (Power-Post 2003 - requesting input from authorities..)
#62663
Author: Curt Welch
Date: Thu, 02 Jan 2003 06:11
25 lines
2737 bytes
Kjetil Torgrim Homme <kjetilho@haey.ifi.uio.no> wrote:
> [The Profiteer]:
> >
> >   X-No-Archive: yes
>
> please turn it off, it's so awkward when I can't quote.
>
> there will still be a place for topical newsgroup names.  in Norway,
> an ISP was fined for carrying newsgroups which obviously contained
> sexualised violence and child pornography.  without topical newsgroup
> names, there would be no way to opt-out of that material for an ISP,
> and at least no Norwegian ISP could offer binaries.

Yeah, I talked about removing the "newsgroup" concept from binary files,
but people may still want to subset their binary feeds based on some larger
clasification of binary files.  But it may transform into groups quite
different from how the binary heirarchy currently works if all the
discussion and announcements are in one set of groups, and the files are in
another.  Though many binary hierarcies are already heading in that
direction.

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/
Re: Power-Post 2003 - requesting input from authorities..
#62664
Author: Curt Welch
Date: Thu, 02 Jan 2003 06:19
28 lines
2666 bytes
jeff@litech.org (Jeffrey M. Vinocur) wrote:
> In article
> <E039A0E30BFBEE2A.77C70A528F979D8E.1A13272246193754@lp.airnews.net>,
> Frank Durda IV  <uhclem.feb03@nemesis.lonestar.org> wrote:
> >Curt Welch <curt@kcwc.com> wrote:
> >: If someone with a modem posts a 5 MB mp3 file as 12 parts of 400K
> >: each, each part can easilly take 1 1/2 minutes to upload.  The entire
> >: post will take 18 minutes to post.
> >
> >No, the only point of worry is the period between posting two adjacent
> >posts, NOT the period between posting the first and last post of the
> >set.  The total size of the set and the number of posts that comprise
> >the set are immaterial.   (It's a doubly-linked list!)

You post parts 1/10, 2/10, 3/10,

I see 3/10, and hijack your post by sending out 4/10, 5/10, 6/10 etc all as
small text messages with their chain double linked back to your 3/10 post.
Any download tool looking at your fist 3 posts, my 7 posts, and your last 6
posts would see that your 6 posts were the ones that were not part of the
chain.  A human looking at it could tell which were valid and which were
fakes by looking at path headers and article sizes, but an automated
download tool trying to use the next prev links would easilly be fooled.

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/
Page 3 of 9 • 404 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