🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
11 messages
11 total messages Started by Juergen Helbing Wed, 27 Aug 2003 04:58
Latest status for xBin ? Links ? Docs ?
#66570
Author: Juergen Helbing
Date: Wed, 27 Aug 2003 04:58
18 lines
1319 bytes
I'm now going to extend my own binary autoposter by
'automated splitting' and PAR+PAR2 creation combined
with automatic joining and repair by the reader.
Together with better index-messages it will be a fast,
convenient and easy-to-use method to use huge
binaries on Binary Usenet (and the MyNews Network ;-).

I also want to include the necessary xBin headers.
Is there meanwhile any kind of "draft" or "example code"
which could be easily used to examine the source files
and to create the necessary headers+MsgIds ?


TIA
-- 
Juergen

Re: Latest status for xBin ? Links ? Docs ?
#66573
Author: Curt Welch
Date: Wed, 27 Aug 2003 20:14
35 lines
2927 bytes
archiver@i3w.com (Juergen Helbing) wrote:
> I'm now going to extend my own binary autoposter by
> 'automated splitting' and PAR+PAR2 creation combined
> with automatic joining and repair by the reader.
> Together with better index-messages it will be a fast,
> convenient and easy-to-use method to use huge
> binaries on Binary Usenet (and the MyNews Network ;-).
>
> I also want to include the necessary xBin headers.
> Is there meanwhile any kind of "draft" or "example code"
> which could be easily used to examine the source files
> and to create the necessary headers+MsgIds ?

I got side tracked some time ago and have done nothing more with xBin.
It's an idea with potential which just hasn't been turned into reality.

We had lots of good debates about how things should/could be done but there
were no final decisions made for many of the key issues so there really is
nothing you can use at this point - other than ideas.  There's quite a few
complex issues still to be worked out.

There was a rough draft for the message-id standard created and posted here
(I forget who did it), and there was some sample code created as well and
posted here (or a link posted to it).  I too have sample Unix code for
posting files with xBin headers.  But my code doesn't include some of the
important things we discussed here.

There is my xbin.org web site, but it's got nothing useful on it.
Searching google for xbin articles in this group is your best bet for
following the discussion.  But there were a ton of articles about it (i see
700+ on google) so it would take a lot of work to read through them.

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/
Re: Latest status for xBin ? Links ? Docs ?
#66579
Author: Rene
Date: Thu, 28 Aug 2003 12:34
33 lines
2356 bytes
curt@kcwc.com (Curt Welch) wrote:
> archiver@i3w.com (Juergen Helbing) wrote:
> > I also want to include the necessary xBin headers.
> > Is there meanwhile any kind of "draft" or "example code"
> > which could be easily used to examine the source files
> > and to create the necessary headers+MsgIds ?
>
> We had lots of good debates about how things should/could be done but
> there were no final decisions made for many of the key issues so there
> really is nothing you can use at this point - other than ideas.  There's
> quite a few complex issues still to be worked out.

If you leave out parity and composite-documents (that mark several files
belonging together) then the best writeup is the one from Kjetil in

MSG-ID <1rlm0vo71a.fsf@vingodur.ifi.uio.no>

Probably best if you read a bit through that entire thread, here's a google
link for it (note that it starts with the first draft and not the message
whose MID I gave you above):
http://www.google.ch/groups?hl=de&lr=&ie=UTF-8&oe=UTF-8&threadm=1rvg0ehvar.
fsf%40vingodur.ifi.uio.no&rnum=1&prev=/groups%3Fq%3Dgroup:news.software.nnt
p%2Binsubject:xBin%2Bauthor:Kjetil%26hl%3Dde%26lr%3D%26ie%3DUTF-8%26oe%3DUT
F-8%26selm%3D1rvg0ehvar.fsf%2540vingodur.ifi.uio.no%26rnum%3D1

HTH and
CU

Rene

-- 
-------------------- http://NewsReader.Com/ --------------------
Usenet Newsgroup Service              New Rate! $9.95/Month 50GB
Re: Latest status for xBin ? Links ? Docs ?
#66580
Author: Rene
Date: Thu, 28 Aug 2003 15:57
94 lines
5274 bytes
<--> wrote:
> Rene <invalid@email.addr> wrote:
>
> >If you leave out parity and composite-documents (that mark several files
> >belonging together) then the best writeup is the one from Kjetil in
> >
> >MSG-ID <1rlm0vo71a.fsf@vingodur.ifi.uio.no>
> >
> >Probably best if you read a bit through that entire thread, here's a
> >google link for it (note that it starts with the first draft and not the
> >message whose MID I gave you above):
[snipped long url]

> note: please use X-No-Archive or strip my nym from replies,
> you'll know why if you don't.

Since I detest the former I did the latter. Hope it helps.

> I dug through the thread about a month ago.  I'm sure you and
> Curt realize that for this to take off, a real specification
> and reference implementation need to happen, with _no_ abiguity.

Yes, but neiter he nor I have time for it at the moment. My test
implementation is somewhere between 30 and 40% (hard to judge) and I don't
see any chance to pick it up again before October. Unless the company I'm
working for atm is firing me the next few days, that is :-).

That said, I'm convinced that the message above is sufficent to write a
working upload- and download client which provides complete data integrity
ensurance and easy and unambigous article retrieval without using the
subject, either through the message-ID (any server who doesn't
change/ignores user provided MIDs) or by using XHDR (if the server can
apply it to the X-BIN-header).

For that to work, only the organisation of datablocks into a merkle-tree
using SHA1 and the encoding of the SHA1 hash values into the header(s) is
required.

> I realize that takes a lot of effort and I'm not one to ask
> others to do work on my behalf, so please don't take this reply
> as such.

I would love to continue on the project but I just don't have the time
right now. And working ~ 10 hrs a day in front of a display severly
decreases my motivation to spend more time in front of the pc in spare free
time.

> Newsreaders have no incentive to support headers that don't
> exist.  The push for an X-BIN: header (or whatever the name
> chosen) will need to come from a news posting tool - just as
> it was for yEnc.  This time around though, whomever is the
> trailblazer ought to think through the specification and set
> it in granite so that people supporting it don't have to worry
> about the issues face with yEnc (i.e., quotes around filenames,
> location of the multipart numbers, etc.).

Yes you are right about that. However we are basically still in the proof
of concept phase (although as I said, the spec is in my opinion since long
sufficient enough to enable up/downloading/searching of xBin files and
ensures data integrity protection. It just needs to be prooven that this is
so, and to see if there are additional problems that noone thought of up
until now)

> I'm in the process of writing my own version of a Power-Post
> like tool and will certainly try to implement some sort of
> authentication hash scheme.  It would help me if I got guidance
> or a summary of what the specification should be, otherwise
> I'll present whatever I develop and make changes from there.

If you want authentication of the file (to guarantee data integrity) skim
through the part of the xBin pseudo-spec that explains the tree and how it
is built as well as the section about the header-data.

If you want authentication of the poster, then just slap any known good
system for that on top of the encoded files. Authentication/Validation is
nothing that xBin tries to do, so you can do there whatever you want, it
won't create incompatibilities.

> What I'm working towards is an app that does most of the header
> processing as the files are added to the posting queue.  PKZip
> file CRC integrity checks will be part of the addition process.
> Computing hash values can be done at that time as well.

Yes, but for the xBin merkle-tree, you need to do that once, for the full
file, you won't have the necessary header information before this is done
once.

CU

Rene

-- 
-------------------- http://NewsReader.Com/ --------------------
Usenet Newsgroup Service              New Rate! $9.95/Month 50GB
Re: Latest status for xBin ? Links ? Docs ?
#66604
Author: Juergen Helbing
Date: Tue, 02 Sep 2003 05:43
23 lines
1649 bytes
curt@kcwc.com (Curt Welch) wrote:

>We had lots of good debates about how things should/could be done but there
>were no final decisions made for many of the key issues so there really is
>nothing you can use at this point - other than ideas.  

Nothing I can use at this time <sigh>  ....
The last time is used "just an idea" I ran into big trouble :-(

>There's quite a few complex issues still to be worked out.

Is there a summary of these 'open issues' ?

I'm having n.s.n. archived for a few years, but that discussion
is far too complex to review.

The more important question:
Is everybody still convinced that xBin would be the right way ?

CU
-- 
Juergen
Re: Latest status for xBin ? Links ? Docs ?
#66606
Author: Rene
Date: Tue, 02 Sep 2003 12:11
30 lines
2091 bytes
archiver@i3w.com (Juergen Helbing) wrote:
> Nothing I can use at this time <sigh>  ....
> The last time is used "just an idea" I ran into big trouble :-(

Well one way to avoid or at least lessen the chance for that is to discuss
your idea with several people and get opinions.

Then the usual cycle: change, test, discuss, and repeat all over.

> >There's quite a few complex issues still to be worked out.
> Is there a summary of these 'open issues' ?

I think not. The issues I remember right now are: parity data, blocksize,
if it is really necessary to use the MID, article size difference,
automatic (ie non user-generated)repost request and "set-messages" (to
group together different single files)

> The more important question:
> Is everybody still convinced that xBin would be the right way ?

I don't think everybody ever was :-) But to answer the question: the right
way to do what exactly ?

CU

Rene

-- 
-------------------- http://NewsReader.Com/ --------------------
Usenet Newsgroup Service              New Rate! $9.95/Month 50GB
Re: Latest status for xBin ? Links ? Docs ?
#66640
Author: Mirco Romanato
Date: Mon, 08 Sep 2003 07:59
44 lines
2870 bytes
"Juergen Helbing" <archiver@i3w.com> ha scritto nel messaggio
news:02437.293200@archiver.winews.net...
> curt@kcwc.com (Curt Welch) wrote:

> >We had lots of good debates about how things should/could be done but
there
> >were no final decisions made for many of the key issues so there really
is
> >nothing you can use at this point - other than ideas.

> Nothing I can use at this time <sigh>  ....
> The last time is used "just an idea" I ran into big trouble :-(

> >There's quite a few complex issues still to be worked out.

> Is there a summary of these 'open issues' ?

> I'm having n.s.n. archived for a few years, but that discussion
> is far too complex to review.

> The more important question:
> Is everybody still convinced that xBin would be the right way ?

Don't need everybody to be convinced about xBin.
Need that only one be convinced and able to write the stuff.
xBin have the chance to change the way we think and use Usenet binaries and
enable the cross-support with filesharing applications like gnutella and
eDonkey.

The open issues are:
1) What are the size limits of the headers?
2) How will be writed the hash tree's complement in the headers?
3) How to name the extension (X-BIN would be obviuos, but I feel that using
the existing but unused X-URI header would be better, because it could use
the same protocols in gnutella and eDonkey - X-URI:URN:SHA1={SHA1} or
X-URI:URN:BITPRINT={SHA1"."TigerTreeRoot} - also it enable to write
X-URI:URL:HTTP://{} or X-URI:URL:FTP://{}).
4) The size of every chunk posted and how change it if the size postable
increase.


Mirco

Re: Latest status for xBin ? Links ? Docs ?
#66642
Author: (akula)
Date: Mon, 08 Sep 2003 15:28
89 lines
5178 bytes
"Mirco Romanato" <painlord2k@yahoo.it> wrote:

>"Juergen Helbing" <archiver@i3w.com> ha scritto nel messaggio
>news:02437.293200@archiver.winews.net...
>> curt@kcwc.com (Curt Welch) wrote:
>
>> >We had lots of good debates about how things should/could be done but
>there
>> >were no final decisions made for many of the key issues so there really
>is
>> >nothing you can use at this point - other than ideas.
>
>> Nothing I can use at this time <sigh>  ....
>> The last time is used "just an idea" I ran into big trouble :-(
>
>> >There's quite a few complex issues still to be worked out.
>
>> Is there a summary of these 'open issues' ?
>
>> I'm having n.s.n. archived for a few years, but that discussion
>> is far too complex to review.
>
>> The more important question:
>> Is everybody still convinced that xBin would be the right way ?
>
>Don't need everybody to be convinced about xBin.
>Need that only one be convinced and able to write the stuff.
>xBin have the chance to change the way we think and use Usenet binaries and
>enable the cross-support with filesharing applications like gnutella and
>eDonkey.
>
>The open issues are:
>1) What are the size limits of the headers?
>2) How will be writed the hash tree's complement in the headers?
>3) How to name the extension (X-BIN would be obviuos, but I feel that using
>the existing but unused X-URI header would be better, because it could use
>the same protocols in gnutella and eDonkey - X-URI:URN:SHA1={SHA1} or
>X-URI:URN:BITPRINT={SHA1"."TigerTreeRoot} - also it enable to write
>X-URI:URL:HTTP://{} or X-URI:URL:FTP://{}).
>4) The size of every chunk posted and how change it if the size postable
>increase.
>
Note: please use X-No-Archive: yes or strip my nym from your reply.
You'll know why soon afterwards if you don't.

I think that there are many more issues to consider than just those
you list above.  I see no reason to restrict the standard to comply
with p2p either.

Here's my motivation for development and implementation of something
like xBin.

1. Provide a programmatic means of distinguishing genuine articles
comprising a multipart binary attachment from jamming messages sent
to corrupt it by a 3rd party.
2. Provide a programatic means of reducing redundant messages by
identifying missing messages through a unique identifier.

The material I'm considering comes in two forms:
a. Multivolume RAR archives bundled with a File_id.diz and a variable
number of *.nfo files into a PKZip file.
b. Multivolume RAR archives with associated *.sfv and *.nfo files.

While I'm at it, I'd also like to:
I. Determine where corruption occurred - at the source or in-transit.
If the source is corrupt, resending the message will not help.

p2p puts both the downloaders and the suppliers of copyrighted or
illegal material at risk.  Usenet (except in rare cases) only puts
the poster at risk.  Even those systems that attempt to thwart RIAA/MPAA
monitoring or identification of downloaders are still succeptible to
sniffing.  I just see too many risks involved in p2p that can be avoided
via usenet.

The Zipped archives I reference above will not have a unique hash
value because some ftp sites insert their own *.nfo files.  I can't
change the creation and distribution system supplying the files, so
I'll have to adjust.

The posting tool I'm working on will do many computations as files
are added to the posting queue.  CRC32 and md5 values will be precomputed
and sequence numbering checks will be part of the process.  Computing
other hash values is just a matter of writing code, speed is not an issue
(provided that it doesn't take more than a minute or so per file).

Despite my skepticism about comforming to p2p standards, I am perfectly
willing to reuse or adapt someone else's C++ code.  I can hunt down eMule
or other eDonkey source code on my own.  If you have URLs for other things
I should look at, I'll check them out.
Re: Latest status for xBin ? Links ? Docs ?
#66656
Author: Mirco Romanato
Date: Thu, 11 Sep 2003 17:47
113 lines
6268 bytes
(unnamed) wrote:
> "Mirco Romanato" <painlord2k@yahoo.it> wrote:

> I think that there are many more issues to consider than just those
> you list above.  I see no reason to restrict the standard to comply
> with p2p either.

No way I want restrict anything.
I want only XBIN work with Gnutella and eDonkey standards.
The use of Magnet links notation for the X-URI: is proposed because it 
can be extended easily to different hashes if SHA1 or TigerTree or MD5 
will be compromised.
This is the ratios of bitprint schema SHA1+".".TTH.
Adversaries must break SHA1 AND TTH in the same time to succeed in 
poisoning the metadata about the files.




> Here's my motivation for development and implementation of something
> like xBin.
> 
> 1. Provide a programmatic means of distinguishing genuine articles
> comprising a multipart binary attachment from jamming messages sent
> to corrupt it by a 3rd party.
> 2. Provide a programatic means of reducing redundant messages by
> identifying missing messages through a unique identifier.

This is because I think XBIN can be easily adapted to e-mail.



> The material I'm considering comes in two forms:
> a. Multivolume RAR archives bundled with a File_id.diz and a variable
> number of *.nfo files into a PKZip file.
> b. Multivolume RAR archives with associated *.sfv and *.nfo files.

> While I'm at it, I'd also like to:
> I. Determine where corruption occurred - at the source or in-transit.
> If the source is corrupt, resending the message will not help.

I think there is no easy way to assure that corruption happen in-transit 
or at sources.
You need a honest source that check the hash of the data before sending 
it. And honesty/trust don't came without cost.
If the hash and the data don't match, you are able to know where the 
corruption came from - source or channel.
You can only retry the same source or another.



> p2p puts both the downloaders and the suppliers of copyrighted or
> illegal material at risk.  Usenet (except in rare cases) only puts
> the poster at risk.  Even those systems that attempt to thwart RIAA/MPAA
> monitoring or identification of downloaders are still succeptible to
> sniffing.  I just see too many risks involved in p2p that can be avoided
> via usenet.

There is a trend to implement SSL communication in the peers.
So sniffer can know the size of the data transfered but not what it is.
Also, appear to me that Secure Computing could be an interesting source 
of protection.
With "Palladium" ON, a signed P2P/filesharing application could run 
without give away easily the data and the identities and location of the 
users.
As I know, breaking in a secure system is unlawful under USA law for all 
without a warrant.
Just now, they only start a connection in clear text with a custom 
client that record IPs, times, filenames and maybe other metadata.


> The Zipped archives I reference above will not have a unique hash
> value because some ftp sites insert their own *.nfo files.  I can't
> change the creation and distribution system supplying the files, so
> I'll have to adjust.

The archives can be treated like collections of hashes [of the files 
they store]. So, if people can know what there are inside, they can 
choose what they want download.

Also, with new tools, distribution can change from its own.

People use IRC or DC for primary distribution because the envaironment 
is easy to control (more trust)
Enabling the use of e-mail can give a new type of control and trust of 
the partners.

> The posting tool I'm working on will do many computations as files
> are added to the posting queue.  CRC32 and md5 values will be precomputed
> and sequence numbering checks will be part of the process.  Computing
> other hash values is just a matter of writing code, speed is not an issue
> (provided that it doesn't take more than a minute or so per file).

If speed is not an issue, and 10 second delay either, I see that 
Slavasoft put out two libraries QuickHash and QuickCrypt with all the 
needed hashes and more (and compute the eDonkey hashes directly)

You will need only to add the tigertree code, but you have the tiger 
hash function

> Despite my skepticism about comforming to p2p standards, I am perfectly
> willing to reuse or adapt someone else's C++ code.  I can hunt down eMule
> or other eDonkey source code on my own.  If you have URLs for other things
> I should look at, I'll check them out.

For code example and standards, I advice you to search "the_gdf" forum 
on yahoo groups, the old posts in this group I wrote few months ago, on 
sourceforge look for bitzi bitcollider project, the gnutella 
documentation project, the tigertree project, the open content network 
site for THEX protocol for exchanging trees of hashes.

Regards
Re: Latest status for xBin ? Links ? Docs ?
#66662
Author: David Magda
Date: Thu, 11 Sep 2003 23:09
28 lines
2389 bytes
Mirco Romanato <painlord2k@libero.it> writes:
[...]
> The use of Magnet links notation for the X-URI: is proposed because
> it can be extended easily to different hashes if SHA1 or TigerTree
> or MD5 will be compromised.
[...]

MD5 is no longer recommended for new applications. I forget the
details, you may want to ask the people over in sci.crypt.


> There is a trend to implement SSL communication in the peers.  So
> sniffer can know the size of the data transfered but not what it
> is.
[...]

Not necessarilly. You can transmit garbage packets (packets that say
"discard me"), and a listener wouldn't be able to tell whether the
cyphertext is data or noise.

Combine a P2P network with BitTorrent, and now you it gets more
difficult to determine exactly what's being transferred.

-- 
David Magda <dmagda at ee.ryerson.ca>, http://www.magda.ca/
Because the innovator has for enemies all those who have done well under
the old conditions, and lukewarm defenders in those who may do well 
under the new. -- Niccolo Machiavelli, _The Prince_, Chapter VI
Re: Latest status for xBin ? Links ? Docs ?
#66664
Author: Curt Welch
Date: Fri, 12 Sep 2003 17:39
59 lines
3879 bytes
archiver@i3w.com (Juergen Helbing) wrote:
> curt@kcwc.com (Curt Welch) wrote:
>
> >We had lots of good debates about how things should/could be done but
> >there were no final decisions made for many of the key issues so there
> >really is nothing you can use at this point - other than ideas.
>
> Nothing I can use at this time <sigh>  ....
> The last time is used "just an idea" I ran into big trouble :-(
>
> >There's quite a few complex issues still to be worked out.
>
> Is there a summary of these 'open issues' ?

Well, a few people answered your question but you notice the answers are
different.

xBin potentialy can address many issues.  The decisions which have to be
made will be based on the importance of each issue the standard is trying
to address.

How important is compatibility with P2P systems?  How important is
compatibility with MIME?  How important is compatiblity with older usenet
servers?  With existing news clients?  Home important is simplicity and how
important is "doing it right"?  Should the system extend well outside of
Usenet or should be only what works best for Usenet?

The one thing that is clear is that everyone that has discussed xBin has a
different take on all the issues and as such they tend to lean in a
slightly different direction on each decision that needs to be made.  If
you try to make everyone happy you will get a typical designed-by-committee
result which will probably not be good for anything.

To turn xBin into something real, someone who is willing to write a
complete application for posting and reading xBin articles, but at the same
time, support non xBin posts, needs to be written.  Whoever is willing to
do that can make all the decisions and use as much or as little extral help
as they want.

Creating a standard without having someone working on a real-world tool at
the same time I think would be wrong.  Proof of concept code is a good
start, and we have some of that, but you need someone who is willing to
take it futher to lead the development of the idea.

> I'm having n.s.n. archived for a few years, but that discussion
> is far too complex to review.

Yeah, it would take weeks to go though it.

> The more important question:
> Is everybody still convinced that xBin would be the right way ?

No, not at all.  Many people agree that there are some good ideas in the
xBin approach, but there is clearly no universal agreement that the
approach is correct or that's it's even a good thing for Usenet.

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/
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