🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #66942

Re: New NNTP draft -- Section 7

#66942
From: Andrew - Supernews
Date: Thu, 23 Oct 2003 22:31
106 lines
4886 bytes
In article <874qxzej94.fsf@windlord.stanford.edu>, Russ Allbery wrote:
[NEWGROUPS]
>    The time is specified as 6 digits in the format hhmmss, where hh is
>    the hours in the 24-hour clock (00-23), mm is the minutes (00-59),
>    and ss is the seconds (00-60, to allow for leap seconds). The token
>    "GMT" specifies that the date and time are given in Coordinated
>    Universal Time [TF.686-1]; if it is omitted then the date and time
>    are specified in the server's local timezone. Note that there is no
>    way using the protocol specified in this document to establish the
>    server's local timezone.

Are there any known cases of clients not using UTC for this?

On our server the "local timezone" is always UTC (as a matter of system
configuration), and I've also pondered taking the timezone support out of
the code completely (so that it uses UTC for all times regardless of the
configured system timezone). Since there is no way to determine the server
timezone from within the protocol, there seems to be no conformance issue
with this.

> 7.3.3 Examples
> 
>    Example where there are new groups:
> 
>       [C] NEWGROUPS   19990624 000000 GMT
>       [S] 231 list of new newsgroups follows
>       [S] alt.fc-writers.recovery 4 1 y

typo? As I recall the original drafts had alt.rfc-writers.recovery :-)

> 7.4 NEWNEWS

I note that this is non-optional, good :-)

> 7.6.2 LIST ACTIVE.TIMES
> 
> 7.6.2.1 Usage
> 
>    This command is optional.

We support this one. (Though as I mentioned before, not with commas in the
wildmat yet)
 
> 7.6.2.2 Description
> 
>    The active.times list is maintained by some news transport systems to
>    contain information about who created a particular newsgroup and
>    when. Each line of this list consists of three fields separated from
>    each other by one or more spaces. The first field is the name of the
>    newsgroup. The second is the time when this group was created on this
>    news server, measured in seconds since the start of January 1, 1970.
>    The third is plain text intended to describe the entity that created
>    the newsgroup; it is often a mailbox as defined in RFC 2822
>    [RFC2822].

In our case, we don't store a "creator" field; our code currently returns
the fixed value "newsmaster" for that field in the response.

> 7.6.3 LIST DISTRIBUTIONS
> 
> 7.6.3.1 Usage
> 
>    This command is optional.

We don't currently support this one at all. (returns a 501 response)

Our server logs suggest that usage of this command is vanishingly rare,
though it may have uses in some environments.

>    Distribution header in a news article and about what the various
>    values mean. Each line of this list consists of two fields separated
>    from each other by one or more spaces.

spaces, or tabs, or either?

> 7.6.4 LIST DISTRIB.PATS
> 
> 7.6.4.1 Usage
> 
>    This command is optional.

We don't support this one either (again, 501 response). Our server logs do
show occasional requests for it.

> 7.6.5 LIST NEWSGROUPS
> 
> 7.6.5.1 Usage
> 
>    This command is optional.

We support it (with the usual caveat about wildmats).

Note that with all the LIST subcommands that take wildmats, we optimize the
special case where only a literal group name is supplied. Other server
implementations seem to do that specifically for LIST ACTIVE only, but we
have a unified active file that combines the traditional active, newsgroups
and active.times files with a common hash index.

Our implementation differs slightly from most in that groups with no
descriptions are not omitted, but are currently returned with a value of
"no description", "no description (Moderated)" or "no description (no posting)"
according to the group status field.

-- 
Andrew, Supernews
http://www.supernews.com - individual and corporate NNTP services
Technical Details
Message-ID: <slrnbpgll7.2ofh.andrew+nonews@trinity.supernews.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20140818.mbox.gz!news5.aus1.giganews.com!firehose2!nntp4!intern1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!news.maxwell.syr.edu!sn-xit-03!sn-xit-04!sn-xit-06!sn-post-01!supernews.com!corp.supernews.com!not-for-mail
References: <874qxzej94.fsf@windlord.stanford.edu>

Show Full Headers
Complete Article Headers
Message-ID: <slrnbpgll7.2ofh.andrew+nonews@trinity.supernews.net>
Subject: Re: New NNTP draft -- Section 7
Date: Thu, 23 Oct 2003 22:31:03 -0000
From: Andrew - Supernews <andrew+nonews@supernews.com>
References: <874qxzej94.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.20140818.mbox.gz!news5.aus1.giganews.com!firehose2!nntp4!intern1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!news.maxwell.syr.edu!sn-xit-03!sn-xit-04!sn-xit-06!sn-post-01!supernews.com!corp.supernews.com!not-for-mail
Newsgroups: news.software.nntp
Organization: http://www.supernews.com - all your nntp are belong to us
Reply-To: andrew@supernews.com
User-Agent: slrn/0.9.7.4 (FreeBSD)
X-Complaints-To: abuse@supernews.com
Lines: 106