🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
25 messages
25 total messages Started by _ Wed, 26 Aug 2009 20:46
--
#81680
Author: _
Date: Wed, 26 Aug 2009 20:46
13 lines
1532 bytes

INN developers, why won't INN accept raw·binary ?
On Diablo servers, this is OK:

“ Content-Type: Image/PNG

  Content-Transfer-Encoding: Binary
  Content-Disposition: Attachment; fileName="UTF-8.PNG" ”.

In the body, null bytes are OK and there's no such thing as “lines”;
so line·length isn't an issue, "\r\n.\r\n" terminates the post.

P.S. I'm subscribed to Alt.Free.Newsservers, not News.software.NNTP.
Re:  INN developers, why won't INN accept raw·binary ?
#81681
Author: Russ Allbery
Date: Wed, 26 Aug 2009 21:03
43 lines
3367 bytes
_@Jeff_Relf.Seattle.inValid writes:

> INN developers, why won't INN accept raw·binary ?
> On Diablo servers, this is OK:

> “ Content-Type: Image/PNG

>   Content-Transfer-Encoding: Binary
>   Content-Disposition: Attachment; fileName="UTF-8.PNG" ”.

> In the body, null bytes are OK and there's no such thing as “lines”;
> so line·length isn't an issue, "\r\n.\r\n" terminates the post.

> P.S. I'm subscribed to Alt.Free.Newsservers, not News.software.NNTP.

There are two problems.

One is that INN internally is not binary-clean.  It would truncate
articles at the first nul.  Changing this is possible, but it's not
trivial and requires thoroughly auditing the code and writing some
corresponding test cases.

The other is that the NNTP protocol does not allow binary data and cannot
correctly without introducing a new command.  It forces a CRLF at the end
of the article, which could corrupt a binary at the end of the message.
We shouldn't deploy a solution that works 99% of the time via some
hand-waving.  If we're going to support the binary CTE over NNTP, we
should do it properly and define an extension with a separate command that
takes the length of the message and doesn't require either dot-stuffing or
scanning the article for a terminator.

In practice, given the existence of things like yEnc and a somewhat
general lack of interest in putting a lot of effort into binary article
handling, there doesn't seem to be enough enthusiasm on anyone's part to
do the work required.  During the NNTP IETF working group discussions,
binary article transport came up several times and several people said
that NNTP should handle it, but no one wrote a specification.

-- 
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.
--
#81682
Author: _
Date: Wed, 26 Aug 2009 23:03
52 lines
3142 bytes

Thank you, Russ Allbery, that was very nice.
The "\r\n.\r\n" terminator isn't part of a binary·body, of course.

I posted my picture ( www.JeffRelf.F-M.FM/Jeff_Relf_Aug_2005.JPG ),
raw and 100 percent unAltered, 65 kiloBytes; Message-ID:
  _@Jeff_Relf.Seattle.2009_Aug15.8.29pm.Lt
  [ via News.Shared-Secrets.COM:80, a Diablo server ]
  
I raw·downloaded/copied the body to a file;
it displays perfectly, no alterations.

The only overhead was the header;
posted, the size of the file's data was neither inflated nor deflated.

When it comes to posting raw·binary, I'll stick to Diablo servers.
       ··················
Switching topics, I'd love to post Unicode Message-ID's,
isn't UTF-8 the charset of the NNTP header ?

By default, your newsReader (eMacs) assumes NNTP headers
are using the Windows-1252 charset; for example, you posted:

  Subject: Re: =?utf-8?B?w6/Cu8K/?= INN 
  Subject: Re:  INN

My “Subject:” line began with U+FeFF, as did the body.
UTF+FeFF is white·space, same as ASCII 32 or U+00A0 (hard space).

<Windows.H>'s GetStringTypeW() tells you what's whitespace:

  www.JeffRelf.F-M.FM/X.CPP
  LnP  P = Funky - 1 ;
  GetStringTypeW( CT_CTYPE1, Funky, cnt·Props, BoProps );
  Loop( cnt·Props )
    if ( P++, !*++Prop || *Prop & C1_CNTRL )
      wmemmove( P, P+1, --cnt·Real - ( P - Funky ) ), --P ;

In UTF-8, U+FeFF is known as the “UTF-8 signature”, hex: eF, bb, bF.

RFC 2781, a.k.a. “UTF-16, an encoding of ISO 10646”, section 3.2 says:
“ In particular, in UTF-16 plain text,
  it is likely, but not certain, that an initial 0xFEFF is a signature.
  
  When concatenating two strings,
  it is important to strip out those signatures, 
  because, otherwise, the resulting string may contain an 
  unintended "ZERO WIDTH NON-BREAKING SPACE" at the connection point.
  
  Also, some specifications mandate 
  an initial 0xFEFF character in objects labelled as UTF-16 and
  specify that this signature is not part of the object. ”.
Re:  I'd love to post Unicode Message-ID's.
#81684
Author: Russ Allbery
Date: Wed, 26 Aug 2009 23:13
53 lines
3726 bytes
_@Jeff_Relf.Seattle.inValid writes:

> Thank you, Russ Allbery, that was very nice.
> The "\r\n.\r\n" terminator isn't part of a binary·body, of course.

Right.  The NNTP protocol says that the first \r\n there is part of the
body, which is the main reason why one can't just treat it as a byte
stream and not worry about the issue.

> I posted my picture ( www.JeffRelf.F-M.FM/Jeff_Relf_Aug_2005.JPG ),
> raw and 100 percent unAltered, 65 kiloBytes; Message-ID:
>   _@Jeff_Relf.Seattle.2009_Aug15.8.29pm.Lt
>   [ via News.Shared-Secrets.COM:80, a Diablo server ]
>   
> I raw·downloaded/copied the body to a file;
> it displays perfectly, no alterations.

A lot of binary data formats don't care about the trailing \r\n, but some
will.

> The only overhead was the header;
> posted, the size of the file's data was neither inflated nor deflated.

> When it comes to posting raw·binary, I'll stick to Diablo servers.

You pretty much have to, since INN will reject such messages.  :)

> Switching topics, I'd love to post Unicode Message-ID's, isn't UTF-8 the
> charset of the NNTP header ?

NNTP uses Unicode.  The article format, which is not governed by NNTP,
does not for header fields.  Usenet articles are essentially a profile of
mail messages, with some variations, and mail messages do not allow
Unicode in header fields without RFC 2047 encoding, and then only in
specific header fields.  Based on the long discussions that have happened
about this in the e-mail working group and the attitude of the IETF on
this point and on backward compatibility in e-mail in general, I think
it's extremely unlikely that this will ever change.

One can just ignore that and send UTF-8 in headers and by and large all
the software copes, but since some Usenet hierarchies have a local
convention that all 8-bit character sets are ISO 8859-15 or some other
character set, you won't get reliable results.  You can't, of course, send
UTF-16 because it contains nul characters and very little software is
going to cope with that.  Given that UTF-8 is the preferred Unicode
encoding for IETF network protocols anyway, I personally don't think it's
worth putting any effort into making UTF-16 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.
--
#81683
Author: _
Date: Thu, 27 Aug 2009 00:48
10 lines
1624 bytes

Article·Format could support headers that begin with U+FeFF (in UTF-16);
older code would barf on the null·bytes yet “insiders” could exploit it.

As a test, the Message-ID of my previous post had a U+00B7 (in UTF-8):
  ·@Jeff_Relf.Seattle.2009·Aug26.5.16pm.0G

Only Shared-Secrets (running Diablo) accepted it.
On INN servers, you can't even request it, you get:
  501 Syntax error in message-ID
Re:  null·bytes
#81685
Author: Russ Allbery
Date: Thu, 27 Aug 2009 01:06
19 lines
2137 bytes
_@Jeff_Relf.Seattle.inValid writes:

> As a test, the Message-ID of my previous post had a U+00B7 (in UTF-8):
>   ·@Jeff_Relf.Seattle.2009·Aug26.5.16pm.0G

> Only Shared-Secrets (running Diablo) accepted it.
> On INN servers, you can't even request it, you get:
>   501 Syntax error in message-ID

I can't speak to Diablo, since I've never been involved in the
development, but I believe it's philosophy has generally been to be
generous about what it accepts.  INN tends to be stricter and tries to
comply with the standards available and changes when the standards do.

-- 
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: I'd love to post Unicode Message-ID's.
#81688
Author: Julien ÉLIE
Date: Thu, 27 Aug 2009 06:17
25 lines
2186 bytes
Hi Jeff,

> My “Subject:” line began with U+FeFF, as did the body.
> UTF+FeFF is white·space, same as ASCII 32 or U+00A0 (hard space).

"Same"?
U+00A0 is a non-breaking space (known as "~" in LaTeX for instance),
very useful in French typography because a non-breaking space is
inserted before a few punctuation marks.
  Test: "Ah!"
is written in French:
  Test : « Ah ! »
(you have 4 U+00A0 and 1 U+0020 -- though Windows Mail possibly broke
them when sending...)

Your U+FEFF is the BOM (Byte Order Mark).

Other spaces exist, e.g. the thin space U+2009 which should be
used as a thousands separator...

-- 
Julien ÉLIE

« Medicorum nutrix est intemperantia. » 
--
#81687
Author: Paul Tomblin
Date: Thu, 27 Aug 2009 12:37
13 lines
1673 bytes
In a previous article, _@Jeff_Relf.Seattle.inValid said:
>When it comes to posting raw·binary, I'll stick to Diablo servers.

If your purpose is to only communicate with a subset of the servers out
there, by all means do so.  But if you want to communicate with the rest
of Usenet, you should stick to the standards.


-- 
Paul Tomblin <ptomblin@xcski.com> http://blog.xcski.com/
Here in the US, we are so schizoid and deeply opposed to government
censorship that we insist on having unaccountable private parties
to do it instead.  -- Bill Cole
Re:  I'd love to post Unicode Message-ID's.
#81690
Author: Son of Serpent Esq
Date: Thu, 27 Aug 2009 13:23
12 lines
1608 bytes
Paul Tomblin wrote:
> In a previous article, _@Jeff_Relf.Seattle.inValid said:
>>When it comes to posting raw·binary, I'll stick to Diablo servers.
>
> If your purpose is to only communicate with a subset of the servers out
> there, by all means do so.  But if you want to communicate with the rest
> of Usenet, you should stick to the standards.

These standards... and traditions are a good thing on usenet. It's
also good to sometimes push that envelope just a little and stretch
those old boundaries.
Re:  I'd love to post Unicode Message-ID's.
#81692
Author: Bert Hyman
Date: Thu, 27 Aug 2009 13:36
15 lines
1808 bytes
In news:h761d6$6ls$2@tioat.net Son of Serpent Esq <junior@tioat.net>
wrote: 

> These standards... and traditions are a good thing on usenet. It's
> also good to sometimes push that envelope just a little and stretch
> those old boundaries.

Traditions and technical standards are quite different things.

If you "push the envelope" of a technical standard is just a cute way of
saying that you're violating the standard, and you'll probably find that
your messages get dropped on the floor somewhere. 

-- 
Bert Hyman	St. Paul, MN	bert@iphouse.com
Re:  I'd love to post Unicode Message-ID's.
#81691
Author: Son of Serpent Esq
Date: Thu, 27 Aug 2009 15:13
28 lines
2298 bytes
Bert Hyman wrote:
> In news:h761d6$6ls$2@tioat.net Son of Serpent Esq <junior@tioat.net>
> wrote: 
>
>> These standards... and traditions are a good thing on usenet. It's
>> also good to sometimes push that envelope just a little and stretch
>> those old boundaries.
>
> Traditions and technical standards are quite different things.
>
> If you "push the envelope" of a technical standard is just a cute way of
> saying that you're violating the standard, and you'll probably find that
> your messages get dropped on the floor somewhere. 

This thread was started by someone that wrote a news client and who
seems to enjoy testing different "things" with it. We are talking
about one person here, not some big corporation that can inflict a
certain software application on usenet that doesn't completely
violate every single technical standard for the nntp protocal but
does a damned good job of fucking up just about any tradition worth
having on usenet. So, even though traditions and technical standards
are not quite the same thing, there is a gray area in there
somewhere it would seem.

-- 
CORPORATION, n.  An ingenious device for obtaining individual
profit without individual responsibility.
--
#81697
Author: _
Date: Thu, 27 Aug 2009 17:19
2 lines
1121 bytes

<img src="http://newmedia.funnyjunk.com/pictures/1337cereal_001.jpg">
--
#81695
Author: Bert Hyman
Date: Thu, 27 Aug 2009 17:24
9 lines
1328 bytes
In news:_@Jeff_Relf.Seattle.2009_Aug27.10.19am.O3 
_@Jeff_Relf.Seattle.inValid wrote:

> Attachment decoded: untitled-1.htm

What?

-- 
Bert Hyman	St. Paul, MN	bert@iphouse.com
Re: This post isn't for everyone, only the HTML people.
#81699
Author: Steve Crook
Date: Thu, 27 Aug 2009 18:11
16 lines
1548 bytes
On 27 Aug 2009 17:24:21 GMT, Bert Hyman wrote in
Message-Id: <Xns9C747E33C2E7DVeebleFetzer@216.250.184.7>:

> In news:_@Jeff_Relf.Seattle.2009_Aug27.10.19am.O3 
> _@Jeff_Relf.Seattle.inValid wrote:
>
>> Attachment decoded: untitled-1.htm
>
> What?

Exactly.

It's Jeff's favourite game, (aside from glifs) to see how small a
percentage of Usenet he can get a message to propagate to.  This one
was in HTML and contained a link to an IMG.  That's a pretty sure way to
get it rejected by many servers.
Re: This post isn't for everyone, only the HTML people.
#81698
Author: Bert Hyman
Date: Thu, 27 Aug 2009 18:16
12 lines
1751 bytes
In news:slrnh9dj20.cr4.steve@news.mixmin.net Steve Crook
<steve@mixmin.net> wrote: 

> It's Jeff's favourite game, (aside from glifs) to see how small a
> percentage of Usenet he can get a message to propagate to.  This one
> was in HTML and contained a link to an IMG.  That's a pretty sure way
> to get it rejected by many servers.

He must be why god created killfiles.

-- 
Bert Hyman	St. Paul, MN	bert@iphouse.com
Re: This post isn't for everyone, only the HTML people.
#81701
Author: Gregory Hall
Date: Thu, 27 Aug 2009 18:21
17 lines
1662 bytes
"Steve Crook" <steve@mixmin.net> wrote in message 
news:slrnh9dj20.cr4.steve@news.mixmin.net...

> It's Jeff's favourite game, (aside from glifs) to see how small a
> percentage of Usenet he can get a message to propagate to.  This one
> was in HTML and contained a link to an IMG.  That's a pretty sure way to
> get it rejected by many servers.

If Jeff really wanted to see how small a percentage of Usenet he can 
propagate a message to he would be using Eternal-September or Mixmin to 
post.

-- 
Gregory Hall


--
#81700
Author: _
Date: Thu, 27 Aug 2009 19:06
5 lines
1303 bytes

My audience isn't that small, Steve.

Google Groups, MSN TV and Windows Live Mail (the power·houses)
display my HTML-only posts; FastMail.FM tells me they're being read.
Re: ? Google Groups, MSN TV and Windows Live Mail (the power·houses).
#81703
Author: Gregory Hall
Date: Thu, 27 Aug 2009 19:12
17 lines
1583 bytes
<_@Jeff_Relf.Seattle.inValid> wrote in message 
news:_@Jeff_Relf.Seattle.2009_Aug27.0.06pm.Fl...
>
> My audience isn't that small, Steve.
>
> Google Groups, MSN TV and Windows Live Mail (the power·houses)
> display my HTML-only posts; FastMail.FM tells me they're being read.



Alt.net also propagates HTML. These cheesy free news servers are just stuck 
in the past with their antique technology and unimaginative admins.

-- 
Gregory Hall 

Re:  Google Groups, MSN TV and Windows Live Mail (the power·houses).
#81704
Author: Son of Serpent Esq
Date: Thu, 27 Aug 2009 19:16
6 lines
1403 bytes
_@Jeff_Relf.Seattle.inValid wrote:
> 
> My audience isn't that small, Steve.

I wait in eager anticipation of your next glif.
Re: This post isn't for everyone, only the HTML people.
#81708
Author: Fritz Wuehler
Date: Fri, 28 Aug 2009 01:57
22 lines
1797 bytes
Gregory Hall wrote:
> "Steve Crook" <steve@mixmin.net> wrote in message
> news:slrnh9dj20.cr4.steve@news.mixmin.net...
>
>> It's Jeff's favourite game, (aside from glifs) to see how small a
>> percentage of Usenet he can get a message to propagate to.  This one
>> was in HTML and contained a link to an IMG.  That's a pretty sure way to
>> get it rejected by many servers.
>
> If Jeff really wanted to see how small a percentage of Usenet he can
> propagate a message to he would be using Eternal-September or Mixmin to
> post.

Testing Mixmin.







Re:  Google Groups, MSN TV and Windows Live Mail (the power·houses).
#81711
Author: Steve Crook
Date: Fri, 28 Aug 2009 08:38
14 lines
1736 bytes
["Followup-To:" header set to alt.free.newsservers.]
On 27 Aug 2009 19:06:18 GMT, _@Jeff_Relf.Seattle.inValid wrote in
Message-Id: <_@Jeff_Relf.Seattle.2009_Aug27.0.06pm.Fl>:

> 
> My audience isn't that small, Steve.

Hi Jeff,

I wasn't implying that your audience was small, that's difficult to
quantify in Usenet terms.  Your audience was certainly a lower
percentage of readers than that of the posts referencing yours.  In this
particular instance you could have reached your entire audience by just
posting a link to the image.
--
#81710
Author: _
Date: Sat, 29 Aug 2009 01:21
13 lines
1542 bytes

I could post nothing but non·binary, HTML·only posts from here on
and I'd have a fine·enough audience.

Google·Groups modifies HTML-only posts, tags are modified.

For example, they delete the <PlainText> tag outright and
fail to switch to Plain·Text mode.

Plain·Text links inside a <PRE> tag don't get
converted to <A> links, etc.

I doubt anyone besides myself is posts non·binary, HTML·only.
--
#81713
Author: rone
Date: Sat, 29 Aug 2009 05:02
13 lines
1575 bytes
In article <_@jeff_relf.seattle.2009_aug27.0.06pm.fl>,
 <_@Jeff_Relf.Seattle.inValid> wrote:
>
>My audience isn't that small, Steve.

It's just your penis, then.

rone
-- 
"The priest jabbered incomprehensibly on the distinctive nature of Christian
actions, as opposed to Jewish and Muslim actions, in the world.  Not one word
about Mary.  No connection to the readings.  I am getting tired of this man,
and I think his liturgy is suspect."                   -- Richard Allan Baruz
Re:  a fine·enough audience
#81712
Author: Steve Crook
Date: Sat, 29 Aug 2009 10:10
12 lines
1674 bytes
["Followup-To:" header set to alt.free.newsservers.]
On 29 Aug 2009 01:21:47 GMT, _@Jeff_Relf.Seattle.inValid wrote in
Message-Id: <_@Jeff_Relf.Seattle.2009_Aug28.6.21pm.LQ>:

> 
> I could post nothing but non·binary, HTML·only posts from here on
> and I'd have a fine·enough audience.
Of course, that's your choice to make.

> I doubt anyone besides myself is posts non·binary, HTML·only.
Well, the stats I posted the other day indicate that actually quite a
few people do.  Especially the WebTV'ers.
--
#81714
Author: _
Date: Sat, 29 Aug 2009 10:33
8 lines
1267 bytes

Please show me an HTML·only post from Web·TV.
I saw only multi-part, e.g.:

  --WebTV-Mail-6310-24948
  Content-Type: Text/Plain; Charset=US-ASCII

  13313-4A8E527F-3773@storefull-3172.bay.webtv.net
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