🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #262752

Re: Any alternative to news.gmane.org ?

#262752
From: Michael Bäuerle
Date: Fri, 18 May 2018 08:49
61 lines
3425 bytes
Héctor Abreu wrote:
> On 2018-05-17, J.B. Nicholson <jbn@forestfield.org> wrote:
> > Héctor Abreu <invalid@invalid.invalid> wrote:
> > > 
> > > [...]
> > > I guess I will need to try a different site for that.
> > 
> > Another poster showed you the way on that -- telnet to the NNTP port
> > of the server and see what you get.
> 
> You're right, sorry. I just took note and tested with telnet
> news.gmane.org nntp , probably I unconsciously ignored the advise
> because I am not familiar with telnet and didn't understand the command.

The telnet program is normally intended for login to remote machines via
network. The original protocol supported no encryption (today this is
possible via extension) and therefore ssh mostly replaced it many years
ago.

Such programs can be used to test NNTP servers because NNTP is a human
readable text protocol.

My test command was:
|
| $ telnet news.gmane.org nntp
    ^^^^^^ ^^^^^^^^^^^^^^ ^^^^
    |      |              |
    |      |              +-> Service name (TCP port from /etc/services)
    |      +----------------> Host name (Resolved via DNS to IP address)
    +-----------------------> Program name

The service name "nntp" should resolve to TCP port 119.


If you want to test for NNTPS (NNTP over TLS) the OpenSSL command
line utility can be used like this (the service name "nntps" should
resolve to TCP port 563):
| 
| $ openssl s_client -connect news.gmane.org:nntps
| CONNECTED(00000005)
| [...]
| ---
| SSL handshake has read 1438 bytes and written 506 bytes
| Verification error: certificate has expired
| ---
| New, TLSv1.2, Cipher is DHE-RSA-AES256-GCM-SHA384
| [...]
| ---
| 200 news.gmane.org InterNetNews NNRP server INN 2.5.4 ready (posting ok)
| QUIT
| DONE

It works too in general, but the server certificate expired in January
(your newsreader should report an authentication error in this case).


Note:
The numbers like "200" are NNTP status codes from the server.
The "QUIT" command was typed by me via keyboard to terminate the session
as defined by the NNTP protocol:
<https://tools.ietf.org/html/rfc3977#section-5.4>
Technical Details
Message-ID: <AABa/pOOAJYAAABK.A1.flnews@WStation5.stz-e.de>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.(126883).mbox.7z!not-for-mail
References: <pdjo7f$oig$1@dont-email.me> <AABa/XwSAJgAAABK.A1.flnews@WStation5.stz-e.de> <pdkgl1$7db$1@dont-email.me> <slrnpfrvbt.7nr.jbn@forestfield.org> <pdl2q6$us9$1@dont-email.me>

Show Full Headers
Complete Article Headers
Message-ID: <AABa/pOOAJYAAABK.A1.flnews@WStation5.stz-e.de>
Subject: Re: Any alternative to news.gmane.org ?
Date: Fri, 18 May 2018 10:49:18 +0200
From: Michael Bäuerle <michael.baeuerle@stz-e.de>
References: <pdjo7f$oig$1@dont-email.me> <AABa/XwSAJgAAABK.A1.flnews@WStation5.stz-e.de> <pdkgl1$7db$1@dont-email.me> <slrnpfrvbt.7nr.jbn@forestfield.org> <pdl2q6$us9$1@dont-email.me>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.(126883).mbox.7z!not-for-mail
Newsgroups: news.software.readers
Lines: 61
Reply-To: Michael Bäuerle <michael.baeuerle@gmx.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=fixed
Content-Transfer-Encoding: 8bit
X-Trace: individual.net EKZ3YBegz9zppCcHYjHzawUKjFkgNBCdtzlEu6wLtNmYrQv57X
X-Orig-Path: not-for-mail
Cancel-Lock: sha1:k2hNTriROy0VPZ7bpKW08PY9V2s= sha256:Y8Hia3VdU8kApqETeyFQge685J6vn/+1FvXSMlp28Dk= sha1:qVo91iwzM8PhUJKEfCVKsD/2Ag0=
Injection-Date: Fri, 18 May 2018 08:49:18 -0000
User-Agent: flnews/0.15 (for NetBSD)
X-Received-Bytes: 3353
X-Received-Body-CRC: 4194084537