🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #86996

STARTTLS testing

#86996
From: Steve Crook
Date: Fri, 25 Sep 2015 11:03
48 lines
1915 bytes
Hi all,

I've been trying to test STARTTLS using stunnel on a client to connect
to my server, news.mixmin.net.  The client connects successfully and
appears to have negotiated a secure connection but fails to match the
expected Auth group.

auth "ssl" {
  hosts: "*"
  require_ssl: true
  default: "<ssl>"
}

$ telnet localhost 1119
Trying ::1...
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
200 news.mixmin.net InterNetNews NNRP server INN 2.6.0 (20150906
prerelease) ready (posting ok)
starttls
502 Already using an active TLS layer
group alt.test
211 76921 370979 447935 alt.test
post
340 Ok, recommended message-ID <mu387k$qp1$1@snorky.mixmin.net>
From: steve@mixmin.net
Subject: starttls test
Newsgroups: alt.test

Hello World
..
441 You are not allowed to post to alt.test
quit

news.debug contains:
Sep 25 11:38:27 snorky nnrpd[27425]: zazuum.mixmin.net no_match_user
<read> <ssl>

The same test using a client connecting via NNTPS succeeds.  Should
clients using STARTTLS match the require_ssl condition?

-- 
What shall we use 
To fill the empty spaces 
Where we used to talk?

Technical Details
Message-ID: <slrnn0aagq.tso.steve@snorky.mixmin.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.(19219).mbox.7z!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <slrnn0aagq.tso.steve@snorky.mixmin.net>
Subject: STARTTLS testing
Date: Fri, 25 Sep 2015 11:03:54 +0000
From: Steve Crook <steve@mixmin.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.(19219).mbox.7z!not-for-mail
Newsgroups: news.software.nntp
Organization: Mixmin
Injection-Date: Fri, 25 Sep 2015 11:03:54 +0000 (UTC)
Injection-Info: news.mixmin.net; posting-host="b3d35a7ea93243cd2837e0450058617a56b6aceb";
 logging-data="30617"; mail-complaints-to="abuse@mixmin.net"
User-Agent: slrn/pre1.0.3-6 (Linux)
X-Received-Body-CRC: 1588739738
X-Received-Bytes: 1822