🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #8381

Re: nn and msnews.microsoft.com

#8381
From: Kristian Köhntopp
Date: Wed, 22 Jan 1997 00:00
92 lines
3673 bytes
mtranle@theoden.intellicorp.com (Minh Tran-Le) writes:
>$ NNTPSERVER=msnews.microsoft.com nn
>Connecting to NNTP server msnews.microsoft.com ...
>Connecting to NNTP server msnews.microsoft.com ... ok (posting is allowed)
>NNTP 501 Syntax Error in Command response: 501

>Does anybody knows what it mean ?

Here is the relevant part of the debugging log (created on a
Linux 2.0.25 system):

root@white:~# NNTPSERVER=msnews.microsoft.com strace nn

socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 3
connect(3, {sin_family=AF_INET, sin_port=htons(119), sin_addr=inet_addr("207.68.144.15")}, 16) = 0

dup(3)                                  = 4

read(3, "200 NNTP Service Microsoft\256 I"..., 1024) = 94
write(4, "MODE READER\r\n", 13)         = 13
read(3, "200 NNTP Service Microsoft\256 I"..., 1024) = 94
write(1, "Connecting to NNTP server msnews"..., 75) = 75
write(4, "LIST\r\n", 6)                 = 6
read(3, "215 list of newsgroups follow\r\n"..., 1024) = 1024
read(3, "\r\nmicrosoft.public.access.repo"..., 1024) = 436

read(3, "microsoft.public.word.programmin"..., 1024) = 367
brk(0x80b3000)                          = 0x80b3000
write(4, "LIST active.times\r\n", 19)   = 19
read(3, "501 Syntax Error in Command\r\n", 1024) = 29
close(4)                                = 0
close(3)                                = 0

write(1, "NNTP 501 Syntax Error in Command"..., 47) = 47

_exit(1)                                = ?

nn fails, because the remote server does not understand the
command "LIST active.times". This command lists all newsgroups
on the server with their newsgroup creation dates. nn uses this
information to check for new groups since the last contact to
the server.

This is how nn talks to an INN server, which supports "LIST
active.times":

write(4, "LIST active.times\r\n", 19)   = 19
read(3, "215 Group creations in form \"na"..., 1024) = 1024
read(3, "white\r\nkiel.computer.unix 8053"..., 1024) = 1024

read(3, "z.sprachen.delphi 852752854 news"..., 1024) = 195

and so on.

msnews is running

200 NNTP Service Microsoft(C) Internet Services 5.00.7478 Version: 5.0.0.7478 Posting Allowed
help
100 Legal commands are :
article [MessageID|Number]
authinfo [user|pass|generic|transact] <data>
body [MessageID|Number]
date
group newsgroup
head [MessageID|Number]
help
ihave <message-id>
last
list [active|newsgroups[wildmat]]
mode reader
newgroups yymmdd hhmmss ["GMT"] [<distributions>]
newnews wildmat yymmdd hhmmss ["GMT"] [<distributions>]
next
post
slave
stat [MessageID|number]
xhdr header [range|MessageID]
xover [range]
xreplic newsgroup/message-number[,newsgroup/message-number...]
..
quit
205 closing connection - goodbye!

Kristian
--
Kristian Koehntopp, Wassilystrasse 30, 24113 Kiel, +49 431 688897
"I should probably apologize for all the side-effects in the if." -- Rich $alz,
 while coding >> if ((j = strlen(p) - 4) > 0 && *(p += j) == '.' 
 && p[1] == 'c' && p[2] == 't' && p[3] == 'l')' << (INN1.4unoff4, art.c)

Technical Details
Message-ID: <5c4hol$9qn@white.koehntopp.de>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nn.mbox.zip!not-for-mail
References: <5c3bsu$c96@theoden.intellicorp.com>

Show Full Headers
Complete Article Headers
Message-ID: <5c4hol$9qn@white.koehntopp.de>
Subject: Re: nn and msnews.microsoft.com
Date: Wed, 22 Jan 1997 00:00:00 +0000
From: KRIS@KOEHNTOPP.DE (Kristian Köhntopp)
References: <5c3bsu$c96@theoden.intellicorp.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nn.mbox.zip!not-for-mail
X-Deja-AN: 211421114
Organization: Pinguin an Bord.
Newsgroups: news.software.nn
X-copyright: (C) Copyright 1997 Kristian Koehntopp -- All rights reserved.