🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #74644

Re: RFC 3997 support in NNTP server software?

#74644
From: Grant Robertson
Date: Sat, 13 Jan 2007 04:46
55 lines
3754 bytes
In article <87ps9k5d4o.fsf@windlord.stanford.edu>, rra@stanford.edu 
says...
> Any news server should be able to cope with this provided that you don't
> need binary data (data with unpaired CR and LF, or with NUL).  RFC 3977
> doesn't allow such data anyway, so my assumption is that you don't.
> 
Darn, I read the whole RFC and I remember reading that but I didn't put 
the pieces together. I had thought the "no independent CR or LF" rule was 
just for commands and responses. But I just found it again in section 3.6 
in the second paragraph. Clear as day. 

However, section 10.2 doesn't seem to mention the "no independent CR or 
LF" rule. In fact it states, 

   ..."this specification allows
   the use of arbitrary 8-bit data in articles subject to the following
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   requirements and recommendations.

   o  The names of headers (e.g., "From" or "Subject") MUST be in
      US-ASCII.

   o  Header values SHOULD use US-ASCII or an encoding based on it, such
      as RFC 2047 [RFC2047], until such time as another approach has
      been standardised.  At present, 8-bit encodings (including UTF-8)
      SHOULD NOT be used because they are likely to cause
      interoperability problems.

   o  The character set of article bodies SHOULD be indicated in the
      article headers, and this SHOULD be done in accordance with MIME.

   o  Where an article is obtained from an external source, an
      implementation MAY pass it on and derive data from it (such as the
      response to the HDR command), even though the article or the data
      does not meet the above requirements.  Implementations MUST
      transfer such articles and data correctly and unchanged; they MUST
      NOT attempt to convert or re-encode the article or derived data.
      (Nevertheless, a client or server MAY elect not to post or forward
      the article if, after further examination of the article, it deems
      it inappropriate to do so.)

   This requirement affects the ARTICLE (Section 6.2.1), BODY
   (Section 6.2.3), HDR (Section 8.5), HEAD (Section 6.2.2), IHAVE
   (Section 6.3.2), OVER (Section 8.3), and POST (Section 6.3.1)
   commands."


So you can see where I got the idea that NNTP could now carry binary data 
directly. In fact, I can't quite see why it can't or shouldn't. I see 
from your web site that you don't like web based technology and prefer 
plain text. However, there are some important uses for being able to 
carry binary data directly and transparently. Remember, the usenet 
network I plan to set up will be completely separate from the regular 
usenet newsgroups. None of my servers will be allowed to carry regular 
usenet traffic.
Technical Details
Message-ID: <MPG.201220037636ab9896dc@news.newsguy.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!out02a.usenetserver.com!news.usenetserver.com!in01.usenetserver.com!news.usenetserver.com!spln!extra.newsguy.com!newsp.newsguy.com!news3
References: <MPG.2010ceba89601f639896da@news.newsguy.com> <eo7446$aqi$1@puck.litech.org> <MPG.2011708e48ee6d6a9896db@news.newsguy.com> <87ps9k5d4o.fsf@windlord.stanford.edu>

Show Full Headers
Complete Article Headers
Message-ID: <MPG.201220037636ab9896dc@news.newsguy.com>
Subject: Re: RFC 3997 support in NNTP server software?
Date: Fri, 12 Jan 2007 22:46:18 -0600
From: Grant Robertson <bogus@bogus.invalid>
References: <MPG.2010ceba89601f639896da@news.newsguy.com> <eo7446$aqi$1@puck.litech.org> <MPG.2011708e48ee6d6a9896db@news.newsguy.com> <87ps9k5d4o.fsf@windlord.stanford.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!out02a.usenetserver.com!news.usenetserver.com!in01.usenetserver.com!news.usenetserver.com!spln!extra.newsguy.com!newsp.newsguy.com!news3
Newsgroups: news.software.nntp
Organization: Home
Lines: 55
NNTP-Posting-Host: news.newsdawg.com
X-Newsreader: MicroPlanet Gravity v2.60