🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #251616

Re: accessing TLS/SSL services, including snews://

#251616
From: John F. Morse
Date: Tue, 18 Sep 2012 15:50
97 lines
4620 bytes
Ivan Shmakov wrote:
>>>>>> John F Morse <john@example.invalid> writes:
>>>>>>             
>
> 	[Cross-posting to news:comp.security.misc and
> 	news:comp.protocols.misc, just in case.  Please omit the latter
> 	when replying, unless the intent is to discuss the Telnet
> 	protocol.]
>   


[Crossposting removed to keep reply within original newsgroup]


> [...]
>
>  > The OP simply asked "how to post from the command line" and I
>  > provided one solution: telnet.
>
> 	May I remind you that the Telnet protocol has its own control
> 	sequences, and may be unsuitable for, e. g., transferring
> 	arbitrary binary data?  Arguably, a Netcat tool, such as nc6(1),
> 	or OpenBSD nc(1), would be a better fit.
>
> 	(For that reason, the hosts under my control rarely provide the
> 	telnet(1) client.)
>
>  > You provided another: openssl.
>
> 	Let me provide the third: gnutls-cli(1).  Consider, e. g. (line
> 	wrapping by me), the following session.
>
> $ gnutls-cli -p 563 news.panix.com 
> Resolving 'news.panix.com'...
> Connecting to '166.84.1.69:563'...
> - Certificate type: X.509
>  - Got a certificate list of 1 certificates.
>  - Certificate[0] info:
>   - subject `C=US,ST=NY,L=New_York,
> O=PANIX Public Access Networks Usenet News Servers,OU=news,
> CN=news.panix.com,EMAIL=staff@panix.com',
>  issuer `C=US,ST=NY,L=New_York,
> O=PANIX Public Access Networks Usenet News Servers,OU=news,
> CN=PANIX Public Access Networks Usenet News Servers CA,
> EMAIL=staff@panix.com',
>
> 	[... Arguably, they should use a certificate signed by a
> 	recognized trusted party, such as, e. g., https://cacert.org/.]
>
>  RSA key 2048 bits, signed using RSA-SHA,
>  activated `2012-01-20 19:20:16 UTC',
>  expires `2022-01-17 19:20:16 UTC',
>  SHA-1 fingerprint `e588294d02985ea671e2c2a7e84f23c524b755bc'
> - The hostname in the certificate matches 'news.panix.com'.
> - Peer's certificate issuer is unknown
> - Peer's certificate is NOT trusted
> - Version: TLS1.0
> - Key Exchange: RSA
> - Cipher: AES-128-CBC
> - MAC: SHA1
> - Compression: NULL
> - Handshake was completed
>
> - Simple Client Mode:
>
> 200 reader1.panix.com InterNetNews NNRP server INN 2.3.3 ready (posting ok).
> QUIT
> 205 .
> - Peer has closed the GNUTLS connection
> $ 
>
>  > I realize the Subject includes "snews" and telnet is not usable for
>  > SSL/TLS without a helper, like Stunnel.
>
> 	I still don't get how using two TCP connections (Netcat or
> 	Telnet to Stunnel, and Stunnel to TLS/SSL server) could be
> 	better than using a single one (openssl or gnutls-cli to TLS/SSL
> 	server.)
>
> [...]
>   


You seem to be obsessed with the value of one protocol over another.

My original reply was, as I stated it earlier (above):

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



-- 
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: <k3a58b$aee$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!border1.nntp.ams3.giganews.com!border1.nntp.ams2.giganews.com!border2.nntp.ams2.giganews.com!border4.nntp.ams.giganews.com!border2.nntp.ams.giganews.com!nntp.giganews.com!eweka.nl!hq-usenetpeers.eweka.nl!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> <k32pct$db9$1@n102.xanadu-bbs.net> <861uhz7gz3.fsf_-_@gray.siamics.net>

Show Full Headers
Complete Article Headers
Message-ID: <k3a58b$aee$1@n102.xanadu-bbs.net>
Subject: Re: accessing TLS/SSL services, including snews://
Date: Tue, 18 Sep 2012 10:50:35 -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> <k32pct$db9$1@n102.xanadu-bbs.net> <861uhz7gz3.fsf_-_@gray.siamics.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!border1.nntp.ams3.giganews.com!border1.nntp.ams2.giganews.com!border2.nntp.ams2.giganews.com!border4.nntp.ams.giganews.com!border2.nntp.ams.giganews.com!nntp.giganews.com!eweka.nl!hq-usenetpeers.eweka.nl!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: 97
Reply-To: dont.bother
NNTP-Posting-Host: 4qHUE4Vte7yJH24F0tJGG5ugKIE
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Complaints-To: newsmaster@xanadu-bbs.net
NNTP-Posting-Date: Tue, 18 Sep 2012 15:50:35 +0000 (UTC)
User-Agent: Thunderbird 2.0.0.24 (X11/20101027)
In-Reply-To: <861uhz7gz3.fsf_-_@gray.siamics.net>
X-Enigmail-Version: 0.96.0
X-Original-Bytes: 4245