[Oberon] Re (2): Authentication for NNTP.

peter at easthope.ca peter at easthope.ca
Mon Jun 12 15:40:50 CEST 2023


From:	Joerg <joerg.straube at iaeth.ch>
Date:	Mon, 12 Jun 2023 06:39:02 +0200
> As the server replied with 481, I assume the credentials you 
> provided were not correct.

According to RFC, correct.  Nevertheless, login works with the same 
userid and password.  http://www.eternal-september.org/signon.php

> Did you send the command „USER PASS <password>“ as written, ...

The real password is stored by NetSystem.SetUser.  News submits the 
real password for authentication.

> ... or did you edit the session log and replaced your real password with 
> the string “<password>“?

Yes, edited the log rather than publish the real password. The pointed 
brackets, <...>, were meant to indicate a placeholder.

The connection is inside a stunnel tunnel as for mail.  No problem for 
POP & SMTP.

$ cat /etc/stunnel/stunnel.conf
; imager:/etc/stunnel/stunnel.conf
; Example SSL client mode services

[pop3]
client = yes
accept = localhost:110
;connect = hornby.islandhosting.com:995
connect = mail.easthope.ca:995

[smtp]
client = yes
accept = localhost:106
connect = mail.easthope.ca:465

[nntp]
client = yes
accept = localhost:119
connect = news.eternal-september.org:563

Pertinent lines from /var/log/syslog

Jun 12 05:50:32 imager stunnel: LOG5[2]: Service [nntp] accepted connection from 127.0.0.1:60236
Jun 12 05:50:32 imager stunnel: LOG5[2]: s_connect: connected 135.181.20.170:563
Jun 12 05:50:32 imager stunnel: LOG5[2]: Service [nntp] connected remote server from 192.168.0.21:60986
Jun 12 05:50:35 imager stunnel: LOG5[2]: Connection closed: 69 byte(s) sent to TLS, 572 byte(s) sent to socket

Failure of TLS rather than of authentication in NNTP?  This connection 
is closed by server while analogous arrangements work for POP and 
SMTP?

Thanks,                       ... P.L.


- 
mobile: +1 778 951 5147
VoIP:   +1 604 670 0140



More information about the Oberon mailing list