πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #87005

Re: STARTTLS testing

#87005
From: Steve Crook
Date: Sat, 26 Sep 2015 12:38
65 lines
2986 bytes
On Fri, 25 Sep 2015 22:15:09 +0200, Julien Γ‰LIE wrote in
Message-Id: <mu4a0d$s4e$1@news.trigofacile.com>:

> Hi Steve,
>
>> 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?
>
> Just for testing, if you use "<read>" instead of "<ssl>" in the ssl 
> access block, do you manage to post to alt.test?
>
> access "ssl" {
>    users: "<ssl>"
>=> "<read>"
>
> The aim is to find what auth group is used for your connection, and then 
> what access group is selected.  It may help to understand what's going on.

Hi Julian,

After making that change to readers.conf, I get this:-

crooks@zazuum:~$ 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 76961 371036 448010 alt.test
post
340 Ok, recommended message-ID <mu62oo$qjc$1@news.mixmin.net>
From: steve@mixmin.net
Subject: starttls test
Newsgroups: alt.test

Hello world
..
240 Article received <mu62oo$qjc$1@news.mixmin.net>
quit

news.debug contains:-
Sep 26 13:29:17 snorky nnrpd[28163]: zazuum.mixmin.net (81.187.219.205) connect - port 119
Sep 26 13:29:17 snorky nnrpd[28163]: zazuum.mixmin.net res <read>
Sep 26 13:29:17 snorky nnrpd[28163]: zazuum.mixmin.net no_match_user <read> <localhost>
Sep 26 13:29:17 snorky nnrpd[28163]: zazuum.mixmin.net no_match_user <read> <admin>
Sep 26 13:29:17 snorky nnrpd[28163]: zazuum.mixmin.net match_user <read> <read>


> To answer your question, clients using STARTTLS match the require_ssl 
> condition.  As well as clients who connect to an "nnrpd -S" that 
> negotiates a TLS layer upon connection.

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

Technical Details
Message-ID: <slrnn0d4eu.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
References: <slrnn0aagq.tso.steve@snorky.mixmin.net> <mu4a0d$s4e$1@news.trigofacile.com>

Show Full Headers
Complete Article Headers
Message-ID: <slrnn0d4eu.tso.steve@snorky.mixmin.net>
Subject: Re: STARTTLS testing
Date: Sat, 26 Sep 2015 12:38:54 +0000
From: Steve Crook <steve@mixmin.net>
References: <slrnn0aagq.tso.steve@snorky.mixmin.net> <mu4a0d$s4e$1@news.trigofacile.com>
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
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 26 Sep 2015 12:38:54 +0000 (UTC)
Injection-Info: news.mixmin.net; posting-host="b3d35a7ea93243cd2837e0450058617a56b6aceb";
 logging-data="26659"; mail-complaints-to="abuse@mixmin.net"
User-Agent: slrn/pre1.0.3-6 (Linux)
X-Received-Body-CRC: 1721944998
X-Received-Bytes: 2933