πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #81261

Re: Have I to issue a GROUP command before POSTing?

#81261
From: Mateusz Viste
Date: Thu, 04 Jun 2009 20:16
87 lines
4366 bytes
Hi!


That's a surpise... I couldn't imagine that anyone would beta-test my
software :-)

On Thursday 04 June 2009 20:55, Urs Janßen wrote:
> RFC 3977 requires LISTGROUP when READER is announced

Yup, you are right. I added that to my TODO list for the very next release.

> the included faq doesn't say anything about the overview data - will
> it be created on the fly? if not, what todo to get overview data
> back...

Well, the overview data is created when the first article is received. The
overview data will contain only those articles, which the server received
himself, via a POST command. How have you performed your test? I guess that
you copied several files from another NNTP server into the BasicNews spool
directory, am I right? :)

> |> article 4200
> |< 220 4200 <gh8bfj$qmr$1@example.org> Article follows:
> [...]
> |< end
> 
> no taling "."-line here - clients may hang there and wait for the
> . till doomsday.

WOW!
I have no idea what happened there...
...
Ah, okay, I now - that's still your hand-copied spool files, right?
BasicNews is saving the article along with the final dot, so this same dot
is then provided back to the client when he retrieves the article... If
your file haven't any final dot, then BasicNews won't make it on his own
(but in normal work it shouldn't ever happen, as the posting client have to
send it each time).
But anyway, it could lead to some weird situations... I will add a check
routine to BasicNews, to make it check wheter the article on disk is
terminated by a dot or not, and if not, it will add that missing dot.

hmm... or maybe storing articles without that dot at all would be a better
idea?

> when I configure the server to need auth, CAPABILITIES doesn't
> mention any valid auth-methods:

Right. I will add a capability line for AUTHINFO USER, unless the user is
already authenticated. That's no big deal :-)

> XGTITLE is obsolete and replaced by "list newsgroups [pattern]"

Yes, I know. I implemented it, because all NNTP-HTTP gateways I tested so
far were using XGTITLE to retrieve group's descriptions.

I do not think that implementing an (even obsolete) command may harm
anything... Of course, there's no need to advertise it, but IF a client
decide to use it, it's nice to be able to answer in the way the client is
waiting for. Or am I wrong?

>> list newsgroups f*
> < 215 List of available newsgroups follows
> < test
> < .
> 
> f* doesn't match test (so your server doesn't handle list newsgroups
> correct but you advertize it).

Oh my. Stupid me. Stupid stupid stupid :(
My routines for wildmats is working very well, but I forgot to provide the
(optional) wildmat parameter to the listing function... Argh...
Note, that wildmats do work at least with XGTITLE (that's the command I was
testing wildmats on) :-P
Anyway, I fixed that stupid bug right now.


Many thanks for the cool testing you performed, Urs :-)
It will help me to improve BasicNews (I will do my best to release a minor
version this weekend). Thank you very much!


Best regards,
Mateusz Viste
-- 
You'll find my public OpenPGP key at
http://www.viste-family.net/mateusz/pub_key
Technical Details
Message-ID: <mmmlf6-v5r.ln1@mail.viste-family.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.20141118.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!multikabel.net!newsfeed20.multikabel.net!newsfeed.kpn.net!pfeed08.wxs.nl!proxad.net!feeder1-1.proxad.net!cleanfeed4-a.proxad.net!nnrp9-1.free.fr!not-for-mail
References: <3l06f6-ji1.ln1@mail.viste-family.net> <7o6lf6-lup.ln1@mail.viste-family.net> <h095a4$8gq$1@news2.rz.uni-karlsruhe.de>

Show Full Headers
Complete Article Headers
Message-ID: <mmmlf6-v5r.ln1@mail.viste-family.net>
Subject: Re: Have I to issue a GROUP command before POSTing?
Date: Thu, 04 Jun 2009 22:16:52 +0200
From: Mateusz Viste <mateusz@NoSpamForMe.invalid>
References: <3l06f6-ji1.ln1@mail.viste-family.net> <7o6lf6-lup.ln1@mail.viste-family.net> <h095a4$8gq$1@news2.rz.uni-karlsruhe.de>
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!border1.nntp.ams.giganews.com!nntp.giganews.com!multikabel.net!newsfeed20.multikabel.net!newsfeed.kpn.net!pfeed08.wxs.nl!proxad.net!feeder1-1.proxad.net!cleanfeed4-a.proxad.net!nnrp9-1.free.fr!not-for-mail
Newsgroups: news.software.nntp
User-Agent: KNode/0.10.9
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8Bit
Lines: 87
Organization: Guest of ProXad - France
NNTP-Posting-Date: 04 Jun 2009 22:20:04 MEST
NNTP-Posting-Host: 82.225.72.113
X-Trace: 1244146804 news-3.free.fr 5233 82.225.72.113:58922
X-Complaints-To: abuse@proxad.net