🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #86919

help please - readers.conf setup + authentication via port 563

#86919
From: Avon Kerr
Date: Sat, 29 Aug 2015 06:02
132 lines
4586 bytes
So many questions, where to start??

1) How to get a secure session via port 563 up and running?


Aug 29 17:27:19 news nnrpd[19844]: starttls: TLSv1 with cipher DHE-RSA-
AES256-SHA (256/256 bits) no authentication
Aug 29 17:27:19 news nnrpd[19844]: avon.news.bbs.geek.nz (192.168.1.90) 
connect - port 119

I can't seem to get a newsreader on my local network to connect to INN 
via port 563 in a secure fashion. The copy of PAN I am using is pointing 
at the correct port on the server but not passing any user name / 
password info as I have nothing set up in INN as yet to handle this nor 
loaded into PAN. So what happens at the moment is  can't get a session 
going on port 563 and it seems to default back to port 119

Do I need to pass some auth info to create a working TSL session or 
should connecting via port 563 and having PAN set to use SSL and trust 
the servers certificate be enough? It seems with or without providing 
bogus user/pass info it's not :(

Then there's my readers.conf -I am wondering if it is the cause of the 
fallback to port 119?

I have been using the following auth groups

## AUTHORISED GROUPS START HERE

# Define Internet Users Group

auth "world" {
    hosts: "*"
    default: "<someone>"
}

# Define Home LAN Group (Unsecure connects via port 119)

auth "localhost" {
    hosts: "localhost, 127.0.0.1, ::1, 192.168.1.0/24, stdin"
    default: "<localhost>"
}


# Define Home LAN Group (Secure connects via port 563)

auth "localsec" {
    key: "localtsl"
    hosts: "localhost, 127.0.0.1, ::1, 192.168.1.0/24, stdin"
    default: "<localsec>"
    require_ssl: true
}


I added the key parameter recently to see if that was what was needed, to 
no avail it seems.




## ACCESS GROUPS START HERE


# Grant that specific identity access to read and post to any newsgroup
# and allow it to post articles with Approved: headers to moderated
# groups.


# Internet Users Access Rules

access "world" {
     users: "<someone>"
     read: "agency.*,nz.*,!junk,!control,!control.*"
     post: "agency.chat,agency.test"
     localtime: true
}

# Home LAN Access Rules

access "localhost" {
    users: "<localhost>"
    newsgroups: "*"
    access: RPA
    localtime: true
}


# Home LAN Testing Secure (Port 563)

access "localsec" {
     users: "<localsec>"
     key: "localtsl"
     read: "agency.*,nz.*,!junk,!control,!control.*"
     post: "agency.chat,agency.test"
     localtime: true
}

Do I need to have auth parameters defined to make the auth group localsec 
work?

Can someone kindly post some feedback or an example readers.conf I can 
use as the basis to get my port 563 connects working?


2) What is the best option to use when trying to set up something for 
users authenticated name / password?

I figured setting up port 563 was key as best practice would seem to 
suggest offering secure TSL connects for the transmission of name/pasword

What I would like to do is ultimately offer something like ES where folks 
can create a login name and password themselves to be able to post but to 
start with I figure even something I can set up myself and let users know 
their login details is a good start.

There seem to be a number of options assisted with setting up ckpasswd to 
use user login/password info. What do you guys think is the best way 
forward? I am wondering about a file created by apache htpasswd as a 
starting point but really unsure etc..

Thanks,  Paul







-- 
Agency News | news.bbs.geek.nz

Technical Details
Message-ID: <mrrhtp$ekm$3@news.bbs.geek.nz>
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: <mrrhtp$ekm$3@news.bbs.geek.nz>
Subject: help please - readers.conf setup + authentication via port 563
Date: Sat, 29 Aug 2015 06:02:33 +0000
From: Avon Kerr <avon@bbs.geek.nz.invalid>
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: Agency Usenet News Server - Dunedin, New Zealand
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 29 Aug 2015 06:02:33 +0000 (UTC)
Injection-Info: news.bbs.geek.nz; posting-host="kbkmpgTNHI8pBKa2DHlrxKPbUydDiZ6D34lOrIQ04yQ";
 logging-data="14998"; mail-complaints-to="abuse@news.bbs.geek.nz"
User-Agent: Pan/0.139 (Sexual Chocolate; GIT bf56508
 git://git.gnome.org/pan2)
X-Received-Body-CRC: 1788164737
X-Received-Bytes: 4548