🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
9 messages
9 total messages Started by notbob Fri, 24 Sep 2010 20:08
slrn weirdness
#242859
Author: notbob
Date: Fri, 24 Sep 2010 20:08
41 lines
2654 bytes
I've used slrn for years.  About 3 days ago, it jes quit working on my
slack 13 box.  Instead of getting the usual "Posting ok " and going
straight to default groups screen, I get:

Connected to host.  Posting ok.slrn fatal error:
Failed to initialize server.

strace reveals this:


write(1, "\nConnected to host.  Posting ok."..., 32) = 32
rt_sigprocmask(SIG_BLOCK, [INT QUIT TSTP TTIN TTOU WINCH], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
write(2, "slrn fatal error:"..., 17slrn fatal error:)    = 17
write(2, "\n"..., 1
)                    = 1
write(2, "Failed to initialize server."..., 28Failed to initialize
server.) = 28
rt_sigprocmask(SIG_BLOCK, [INT QUIT TSTP TTIN TTOU WINCH], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
unlink("/home/notbob/.jnewsrc-lock")    = 0
write(2, "\n"..., 1
)                    = 1
exit_group(1)


It's not a lock file and I deleted a buncha other suspicious files in my
home dir, to no avail.  I'm running slrn 0.9.9p1.  I would have thought
a corrupt file, as gnus, pan, and other newsreaders work on my LAN to
this news server(us.usenet-news.net).  But, here's the kicker.  I went
to another box with slack 12.2, that hadn't been booted in mos, but
still loaded with slrn 9.9p1.  I got the exact same response, same prob,
same errors.  That would seem to point to a LAN prob, but nothing has
been changed on my sdsl/pppoe modem or firewalls or LAN and other
clients work OK.  I looked at my news service provider's logs and they
show no current issues.

Anyone else experiencing this?

nb
Re: slrn weirdness
#242860
Author: SINNER
Date: Fri, 24 Sep 2010 20:18
17 lines
1561 bytes
* notbob wrote in news.software.readers:

> I've used slrn for years.  About 3 days ago, it jes quit working on my
> slack 13 box.  Instead of getting the usual "Posting ok " and going
> straight to default groups screen, I get:
> 
> Connected to host.  Posting ok.slrn fatal error:
> Failed to initialize server.
> 
> strace reveals this:

how about output of

$ slrn -debug <file>

-- 
David
Re: slrn weirdness
#242861
Author: notbob
Date: Sat, 25 Sep 2010 03:23
39 lines
1782 bytes
SINNER <arcade.master@gmail.com> writes:


> how about output of
>
> $ slrn -debug <file>


Here's the output after prompting for my id and password:

[...]

<381 PASS required^M
>AUTHINFO PASS my_password
>^M

<281 Welcome! (Posting Allowed)^M
>POST
>^M

<340 Send Article to be Posted^M
>.
>^M

!Disconnecting from server.
!Disconnecting from server.
!Disconnecting from server.
!Disconnecting from server.
!Disconnecting from server.
!Disconnecting from server.
!Closing the server connection.


-----


As you can see, contact IS established, then lost.  

nb
Re: slrn weirdness
#242862
Author: John E. Davis
Date: Sun, 26 Sep 2010 04:43
19 lines
1731 bytes
On Fri, 24 Sep 2010 21:23:10 -0600, notbob <notbob@nb.i-did-not-set--mail-host-address--so-tickle-me>
wrote:
><281 Welcome! (Posting Allowed)^M
>>POST
>>^M
>
><340 Send Article to be Posted^M
>>.
>>^M
>
>!Disconnecting from server.

I believe that this problem was taken care of a few of weeks ago.
Please try the latest development version.  What I believe happened is
that your server was "upgraded" and now crashes when slrn sends the
empty post message to it.

Thanks,
--John
Re: slrn weirdness
#242864
Author: notbob
Date: Mon, 27 Sep 2010 01:32
27 lines
2396 bytes
On 2010-09-26, John E. Davis <jed@jedsoft.org> wrote:

> I believe that this problem was taken care of a few of weeks ago.
> Please try the latest development version.  What I believe happened is
> that your server was "upgraded" and now crashes when slrn sends the
> empty post message to it.

Hot damn!  ...I knew you'd save my bacon, John.  ;)

I don't know why I didn't find the pre1 cvs dwnld page when I first
looked for an slrn up rev.  Jes lazy I guess.  Anyway, downloaded
slrn-pre1.0-24 and compiled from src.  Works like a charm, as usual
for your great apps.  I'll tell Pat over at slackware to update, too,
cuz slackers are traditionally slrn lovers and despite pre1 being
current, folks do use usenet-news.net and the old slrn ver jes doesn't
work with their servers anymore.

I msg'd my provider, usenet-news.net, and while they correctly
identified the problem (empty post), they acted like is was all slrn's
fault and slrn is the only problem client and pretended prev revs of
slrn haven't been working for years and that THEIR servers are not
what changed between 9/22 and 9/23.  I'll be setting them straight
right after this post.  ;)

Thanks again, John.  All is right with the World, once more.  ;)
 
nb
Re: slrn weirdness
#242878
Author: Julien ÉLIE
Date: Thu, 30 Sep 2010 19:57
26 lines
2191 bytes
Hi John,

>> <281 Welcome! (Posting Allowed)^M
>> >POST
>> >^M
>>
>> <340 Send Article to be Posted^M
>> >.
>> >^M
>>
>> !Disconnecting from server.
>
> I believe that this problem was taken care of a few of weeks ago.
> Please try the latest development version.  What I believe happened is
> that your server was "upgraded" and now crashes when slrn sends the
> empty post message to it.

Just a question:  why an empty post message?  Is it the default behaviour
of slrn (to see whether posting is really allowed -- yet, 441 could be
answered even though one cannot post)?

-- 
Julien ÉLIE

« Et cette même nuit, c'est-à-dire trois semaines plus tard... » (Astérix) 
Re: slrn weirdness
#242879
Author: Julien ÉLIE
Date: Thu, 30 Sep 2010 20:10
60 lines
2835 bytes
> Just a question:  why an empty post message?  Is it the default behaviour
> of slrn (to see whether posting is really allowed -- yet, 441 could be
> answered even though one cannot post)?

Hmm...  Just read your answer in another thread, John:

  For the past 15 years or so slrn has been doing this after
  authenticating to check if the user has posting privileges.  The
  assumption has been (and continues to be) that the server would simply
  return code 441 (Posting Failed) for such a message


OK, thanks!


Note that on a news server that implements CAPABILITIES, it is useless
to probe POST with an empty message.


200 (connection)
CAPABILITIES
101 Capability list:
VERSION 2
AUTHINFO USER SASL
LIST ACTIVE NEWSGROUPS
READER
SASL GSSAPI OTP PLAIN NTLM LOGIN DIGEST-MD5 CRAM-MD5
STARTTLS
..
AUTHINFO USER test
381 Enter password
AUTHINFO PASS test
281 Authentication succeeded
CAPABILITIES
101 Capability list:
VERSION 2
HDR
LIST ACTIVE ACTIVE.TIMES COUNTS DISTRIB.PATS DISTRIBUTIONS HEADERS MODERATORS
     MOTD NEWSGROUPS OVERVIEW.FMT SUBSCRIPTIONS
NEWNEWS
OVER
POST
READER
SASL GSSAPI OTP PLAIN NTLM LOGIN DIGEST-MD5 CRAM-MD5
..


(The LIST line is to be read in one line only.)

Just look for the POST capability in the answer of CAPABILITIES.


Have a nice day,

-- 
Julien ÉLIE

« La fin du monde est un sujet sérieux, surtout pour ceux qui s'y préparent. » 
(Filiu) 
--
#242880
Author: JeffRelf.F-M.FM
Date: Thu, 30 Sep 2010 21:05
14 lines
1671 bytes
<PRE>
Some servers don't have the “Capabilities” command ( NNTP ).
Binary servers, like Diablo* ( not INN ), return:
“ 500 What? ”. [ *: e.g. usNews.BlockNews.NET ]

Glorb, an INN server, returns:
“ 101 Capability list:
  VERSION 2
  IMPLEMENTATION INN 2.5.2
  HDR
  LIST ACTIVE ACTIVE.TIMES DISTRIB.PATS HEADERS NEWSGROUPS OVERVIEW.FMT
  OVER
  POST
  READER ”.
Re: Some servers don't have the “Capabilities” command ( NNTP ).
#242737
Author: Julien ÉLIE
Date: Fri, 01 Oct 2010 18:19
24 lines
2764 bytes
Hi JeffRelf,

> Some servers don't have the “Capabilities” command ( NNTP ).

Yep.  That was why I suggested that a news client should firt probe
for CAPABILITIES.  If the answer is different from 101, then the
legacy behaviour should be kept (empty message, XOVER probes, etc.).
However, when 101 is answered, the current capabilities are given,
and it is useless to probe for things like POST, OVER or HDR.
Besides, OVER and HDR are more reliable in how they are expected
to work than legacy XOVER and XHDR commands.

CAPABILITIES should probably be sent at startup.  If MODE READER
is needed (on switching mode servers), MODE-READER is advertised
and CAPABILITIES should be resent after accessing reader mode.
And again in case AUTHINFO or STARTTLS are used.  (They might indeed
change the current capabilities of the news server.)

-- 
Julien ÉLIE

« La fin du monde est un sujet sérieux, surtout pour ceux qui
  s'y préparent. » (Filiu) 
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