πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #251592

Re: CLI tools that can handle snews:// URLs

#251592
From: John F. Morse
Date: Sat, 15 Sep 2012 20:45
83 lines
3904 bytes
Eli the Bearded wrote:
> In news.software.readers, John F. Morse <dont.bother> wrote:
>   
>> Your telnet session looks normal.
>>
>> Give telnet a try through Stunnel.
>>     
>
> "telnet" and "stunnel telnet" are not the same thing.


Of course not. Stunnel is providing a secure tunnel for telnet.


> The openssl command I used is essentially an stunnel telnet.
>   


Yes, and a very verbose method.

 > "[ lots of openssl output ]" ;-)


>> The /etc/stunnel/stunnel.conf stanza would be something like this:
>>
>> [nntps]
>> accept = 119
>> connect = news.panix.com:563
>>     
>
> Using inews over stunnel is probably a good solution for the poster.
> The inews from trn4, among others, will read user and password from
> a ~/.nntpauth file to login once connected. That would probably be
> all the poster needs.
>
> Elijah
> ------
> has never used stunnel, always used the openssl commands
>   


Your method certainly works, "openssl s_client -connect 
news.panix.com:563" but what about the person who is not using any CLI? 
Stunnel is an ideal solution.

Note that openssl(1ssl) states for the s_client command:


    s_client  This implements a generic SSL/TLS client which can
    establish a transparent
              connection to a remote server speaking SSL/TLS. It’s
    intended for testing
              purposes only and provides only rudimentary interface
    functionality but
              internally uses mostly all functionality of the OpenSSL
    ssl library.



The OP simply asked "how to post from the command line" and I provided 
one solution: telnet.

You provided another: openssl.

I realize the Subject includes "snews" and telnet is not usable for 
SSL/TLS without a helper, like Stunnel.

You might see my particular use more clearly if I provide the 
information that I have a BIND9 DNS server, plus a Stunnel server. 
Having these available, I simply use "stunnel" in the NNTP server 
configuration for any newsreader (or telnet) that doesn't natively 
support SSL/TLS.

That one Stunnel server can handle these nntps connections, as well as 
pop3s, imaps, ssmtp and https for the whole organization, including ssh 
from and to various port numbers as a router would.


-- 
John

When a person has -- whether they knew it or not -- already
rejected the Truth, by what means do they discern a lie?
Technical Details
Message-ID: <k32pct$db9$1@n102.xanadu-bbs.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!num2.nntp.dca.giganews.com!num1.nntp.dca.giganews.com!number.nntp.dca.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!novia!news-out.readnews.com!transit3.readnews.com!news.glorb.com!v102.xanadu-bbs.net!optima2.xanadu-bbs.net!optima11.xanadu-bbs.net!optima5.xanadu-bbs.net!n102.xanadu-bbs.net!xanadu-bbs.net!.POSTED!not-for-mail
References: <6d04a9ecf59311767822dcc625427097@breaka.net> <k2tf83$1t1$1@n102.xanadu-bbs.net> <eli$1209131701@qz.little-neck.ny.us> <k2u65t$7sp$1@n102.xanadu-bbs.net> <eli$1209141522@qz.little-neck.ny.us>

Show Full Headers
Complete Article Headers
Message-ID: <k32pct$db9$1@n102.xanadu-bbs.net>
Subject: Re: CLI tools that can handle snews:// URLs
Date: Sat, 15 Sep 2012 15:45:15 -0500
From: "John F. Morse" <john@example.invalid>
References: <6d04a9ecf59311767822dcc625427097@breaka.net> <k2tf83$1t1$1@n102.xanadu-bbs.net> <eli$1209131701@qz.little-neck.ny.us> <k2u65t$7sp$1@n102.xanadu-bbs.net> <eli$1209141522@qz.little-neck.ny.us>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!num2.nntp.dca.giganews.com!num1.nntp.dca.giganews.com!number.nntp.dca.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!novia!news-out.readnews.com!transit3.readnews.com!news.glorb.com!v102.xanadu-bbs.net!optima2.xanadu-bbs.net!optima11.xanadu-bbs.net!optima5.xanadu-bbs.net!n102.xanadu-bbs.net!xanadu-bbs.net!.POSTED!not-for-mail
Newsgroups: news.software.readers
Organization: Xanadu BBS
Lines: 83
Reply-To: dont.bother
NNTP-Posting-Host: 4qHUE4Vte7yJH24F0tJGG5ugKIE
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Complaints-To: newsmaster@xanadu-bbs.net
NNTP-Posting-Date: Sat, 15 Sep 2012 20:45:17 +0000 (UTC)
User-Agent: Thunderbird 2.0.0.24 (X11/20101027)
In-Reply-To: <eli$1209141522@qz.little-neck.ny.us>
X-Enigmail-Version: 0.96.0