🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
4 messages
4 total messages Started by Mateusz Viste Fri, 05 Jun 2009 19:59
LISTGROUP weird (crappy?) behavior...
#81282
Author: Mateusz Viste
Date: Fri, 05 Jun 2009 19:59
74 lines
3260 bytes
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi people!

I am working on my own NNTP server, and I was implementing the LISTGROUP command today.

For various tests, I am using the NNTP server of my ISP, to see "how a big serious server reacts to various requests". Unfortunately, I had been greatly disapointed today, as I discovered that my ISP's server seems to be buggy :(

I still find that unbelievable, so please confirm this :)
FYI (if it has any importance) my ISP is Free (a french provider), and the server's address is news.free.fr.

Here we go:

S: 200 news-3.free.fr (6-1) NNRP Service Ready - newsmaster@proxad.net (posting ok)
C: LISTGROUP pl.test 583500-583505
S: 211 Article list follows
S: 583627
S: 583628
S: 583629
S: 583630
S: 583631
S: 583632
S: 583633
S: 583634
S: 583635
S: 583636
S: 583637
S: 583638
S: 583639
S: 583640
S: 583641
S: 583642
S: 583643
S: 583644
S: 583645
S: 583646
S: 583647
S: 583648
S: 583649
S: 583650
S: 583651
S: 583652
S: 583653
S: 583654
S: 583655
S: 583656
S: 583657
S: 583658
S: 583659
S: .

I see two wrong things there:
1) I asked for a range containing 6 articles, and the damned beast returned me much more.
2) It returns a 211 followed by a "human" description of the status, but RFC 3977 states that it should be in the form "211 number low high group Human_description".

Does it mean that my ISP's server is crap? :-) Or maybe there's a specific thing about LISTGROUP I should know about? (that's rather important for me to know, as I would like to implement this command in my server the "good way")


Best regards,
Mateusz Viste
- -- 
You'll find my public OpenPGP key at http://www.viste-family.net/mateusz/pub_key
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)

iQEcBAEBAgAGBQJKKXkWAAoJEC30Ty9xnkvbiTAH/13qICk8LQg1TaQxOsruBrJU
w6/tDxe9Ovoxpe38YrnF3autx+bXw2MybcQ36zpXrFGK03mCXEKNBM7chypH96b8
dxVouITEc5MO6WQITdDzwEaTW1BMepkA81lrQ72bQLtcd2IVg9g221UIQmYYXnfs
ehbuUD48TUt7CavpCXpeR9Qz8VUdOVrSmigPuWhtUI18Wqrgepd+hcejLgHT+d1Q
drucNLsvy2RQjgccvQF0MdthSxN4MU8XMqXDE99YtlCTlnRZLQMvwjN2wxi4Q1tI
XHGSZ7ufkVT6iAw+HW8clL9+RY3LBSsuEWFvrXKff/kroRay+aiLLhwmcUUoJso=
=7A00
-----END PGP SIGNATURE-----
Re: LISTGROUP weird (crappy?) behavior...
#81285
Author: Mateusz Viste
Date: Fri, 05 Jun 2009 20:10
33 lines
2416 bytes
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Friday 05 June 2009 21:59, Mateusz Viste wrote:
> Does it mean that my ISP's server is crap? :-) Or maybe there's a specific
> thing about LISTGROUP I should know about? (that's rather important for me
> to know, as I would like to implement this command in my server the "good
> way")

Ooops, I have posted a bit too fast :)
I think that I have found my answer... In fact, the described behavior is
fully compliant with RFC 2980, so I guess that my ISP's server simply
follow RFC 977 + RFC 2980 instead of the newer 3977...

I will definitely implement the LISTGROUP command in my server in the RFC
3977 way. ;-)

Best regards,
Mateusz Viste
- -- 
You'll find my public OpenPGP key at
http://www.viste-family.net/mateusz/pub_key
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)

iQEcBAEBAgAGBQJKKXvLAAoJEC30Ty9xnkvbiHEIALIWEcu5Bst3VlBq2hFij5vv
n6S1mYoG7LqTHTX+B43i0gnhkqbHzcLAAjEIKKHbNHcTDYv+uUjqOsLuDszF+NKg
bj4oQS9wR+uWHpzupGxuCvkLNQKhEKDGUUrAj93XVGelsATeVNwI2nDL2fOE59oa
sRRlgoRkR0vInbUjPT+d/wmvztcrMooz5MXLR30hGlelwNsmqNzZWKgqo1oHZyEE
Z9b5SuNMhHd8qoxeYLSbKUy1F3TUlmcpPfZ3dksclh9ewltwIr7D+rIMy5B4bCF0
AV9Rkf3+8L47YvWQ2kgWCznZEa7R/5bB9wfh6xSl6gO6dwjkwsRGqhiJ087qT/U=
=l0UK
-----END PGP SIGNATURE-----
Re: LISTGROUP weird (crappy?) behavior...
#81289
Author: Bert Hyman
Date: Fri, 05 Jun 2009 20:19
15 lines
1603 bytes
In news:p1aof6-s9v.ln1@mail.viste-family.net Mateusz Viste
<mateusz@NoSpamForMe.invalid> wrote: 

> Does it mean that my ISP's server is crap? :-) Or maybe there's a
> specific thing about LISTGROUP I should know about? (that's rather
> important for me to know, as I would like to implement this command in
> my server the "good way") 

Maybe just a matter of an implementation using an earlier "standard." 

RFC 2980 ("Common NNTP Extensions") defined the LISTGROUP command to
behave the way your ISP's does (mostly). 

-- 
Bert Hyman	St. Paul, MN	bert@iphouse.com
Re: LISTGROUP weird (crappy?) behavior...
#81290
Author: Julien ÉLIE
Date: Fri, 05 Jun 2009 20:24
71 lines
3277 bytes
Hi Mateusz,

> FYI (if it has any importance) my ISP is Free (a french provider),
> and the server's address is news.free.fr.

Free uses Diablo (AFAIK) and it is not RFC 3977-compliant.
Did you try CAPABILITIES on it?

> C: LISTGROUP pl.test 583500-583505
> S: 211 Article list follows
> S: 583627
[...]
> S: 583659
> S: .

The real bug is that it should had returned 501 (syntax error).


> 1) I asked for a range containing 6 articles, and the damned beast
> returned me much more.

RFC 3977 :

6.1.2.2.  Description

   Note that the range argument is a new feature in this specification
   and servers that do not support CAPABILITIES (and therefore do not
   conform to this specification) are unlikely to support it.


> 2) It returns a 211 followed by a "human" description of the status,
> but RFC 3977 states that it should be in the form "211 number low high
> group Human_description".

See RFC 2980 (used by current Diablo):

2.2 LISTGROUP

   LISTGROUP [ggg]

   The LISTGROUP command is used to get a listing of all the article
   numbers in a particular news group.

   The optional parameter ggg is the name of the news group to be
   selected (e.g. "news.software.b").  A list of valid news groups may
   be obtained from the LIST command.  If no group is specified, the
   current group is used as the default argument.

2.2.1  Responses

      211 list of article numbers follow
      412 Not currently in newsgroup
      502 no permission


> Does it mean that my ISP's server is crap? :-) Or maybe there's a
> specific thing about LISTGROUP I should know about? (that's rather
> important for me to know, as I would like to implement this command
> in my server the "good way")

telnet news.trigofacile.com 119
:)

You can even authenticate with test/test (user/pass) in order to post
articles in test groupes.

-- 
Julien ÉLIE

« Quand je raconterai mon odyssée, personne ne me croira ! » (Astérix) 
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