🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #76389

readers.conf

#76389
From: Schroeder, AJ
Date: Tue, 18 Sep 2007 20:35
56 lines
2521 bytes
Hello group,

I must not be reading the manpage correctly, because I am trying to re-do my 
readers.conf to only allow myself "superuser" access, while allowing the 
rest of the internal LAN read, access, and post. I realy only want to allow 
the private non-routable networks, and our class B.

So, if I am reading the manpage and what I have in readers.conf correctly, 
if a machine attempts to connect from any other ip other than 10.x.x.x, 
161.49.x.x, etc. then that machine would be DENIED. Of course, that is not 
happening, as I tried to connect from a machine with 65.x.x.x network and I 
could access the news server with no problem.

Here is what I have in readers.conf (mostly taken from the manpage itself):

auth default {
    auth: "/usr/local/news/bin/auth/passwd/ckpasswd -f 
/usr/local/news/db/news.p
asswd"
    default: <FAIL>
    default-domain: qg.com
}

auth qg.com {
    hosts: "10.0.0.0/8,161.49.0.0/16,172.16.0.0/12,192.168.0.0/16"
    default: <FAIL>
    default-domain: qg.com
}

access fail {
    users: <FAIL>@*"
    newsgroups: !*
}

access qg.com {
    users: *@qg.com
    newsgroups: 
alt.comp.*,comp.*,humanities.*,misc.*,news.*,rec.*,sci.*,soc.*,talk.*,!junk,!control,!control.*
}

access full {
    users: "ajschroeder@*"
    newsgroups: *,!junk,!control
    access: "RPA"
    perlfilter: false
}



Can someone please tell me what I am doing wrong here?

Thanks in advance,

AJ Schroeder 

Technical Details
Message-ID: <fcpc50$1gdv$1@sxnews1.qg.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.20141118.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!news.germany.com!news.ecp.fr!newspe.com!sxnews1.qg.com!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <fcpc50$1gdv$1@sxnews1.qg.com>
Subject: readers.conf
Date: Tue, 18 Sep 2007 15:35:20 -0500
From: "Schroeder, AJ" <aj1@qg.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.20141118.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!news.germany.com!news.ecp.fr!newspe.com!sxnews1.qg.com!not-for-mail
Newsgroups: news.software.nntp
Organization: Quad/Graphics, Inc.
Lines: 56
NNTP-Posting-Host: 10.0.0.1
X-Trace: sxnews1.qg.com 1190147040 49599 10.0.0.1 (18 Sep 2007 20:24:00 GMT)
X-Complaints-To: news-abuse@qg.com
NNTP-Posting-Date: Tue, 18 Sep 2007 20:24:00 +0000 (UTC)
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.3138
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3138
X-RFC2646: Format=Flowed; Original