🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #66165

Re: Redhat 9.0 INN Is anything uptodate?

#66165
From: Richard E. Pearl, Jr.
Date: Wed, 16 Jul 2003 19:05
205 lines
7986 bytes
Andrew,
I took a look at the site and I think I see where your problem might be. It
looks like the readers.conf file is not set up properly. I am including my
readers.conf file for comparison.

The area in question is the AUTH and ACCESS sections for "local". I use IP
address ranges, instead of domain names to delimit access as you will see
below. Let me know if this helps.

readers.conf
========
##  $Id: readers.conf,v 1.4.2.1 2001/01/16 15:36:37 rra Exp $
##
##  readers.conf - Access control and configuration for nnrpd
##
##  Format:
##      auth "<name>" {
##              hosts: "<hostlist>"
##              auth: "<authprog>"
##              res: "<resprog>"
##              default: "<identity>"
##              default-domain: "<email-domain>"
##      }
##      access "<name>" {
##              users: "<userlist>"
##              newsgroups: "<newsgroups>"
##              read: "<read>"
##              post: "<post>"
##              access: "<perm>"
##      }
##
##  Other parameters are possible.  See readers.conf(5) for all the
##  details.  Only one of newsgroups or read/post may be used in a single
##  access group.
##
##  If the connecting host is not matched by any hosts: parameter of any
##  auth group, it will be denied access.  auth groups assign an identity
##  string to connections, access groups grant privileges to identity
##  strings matched by their users: parameters.
##
##  In all cases, the last match found is used, so put defaults first.
##
##  For a news server that allows connections from anyone within a
##  particular domain or IP address range, just uncomment the "local" auth
##  group and the "local" access group below and adjust the hosts: and
##  default: parameters of the auth group and the users: parameter of the
##  access group for your local network and domain name.  That's all there
##  is to it.
##
##  For more complicated configurations, read the comments on the examples
##  and also see the examples and explanations in readers.conf(5).  The
##  examples in readers.conf(5) include setups that require the user to
##  log in with a username and password (the example in this file only
##  uses simple host-based authentication).
##
##  NOTE: Unlike in previous versions of INN, nnrpd will now refuse any
##  post from anyone to a moderated newsgroup that contains an Approved:
##  header unless their access block has an access: key containing the
##  "A" flag.  This is to prevent abuse of moderated groups, but it means
##  that if you support any newsgroup moderators, you need to make sure
##  to add such a line to the access group that affects them.  See the
##  access group for localhost below for an example.

# The only groups enabled by default (the rest of this file is
# commented-out examples).  This assigns the identity of <localhost> to
# the local machine

auth "localhost" {
    hosts: "localhost, 127.0.0.1, stdin"
    default: "<localhost>"
}

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

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


# This auth group matches all connections from example.com or machines in
# the example.com domain and gives them the identity <local>@example.com.
# Instead of using wildmat patterns to match machine names, you could also
# put a wildmat pattern matching IP addresses or an IP range specified
# using CIDR notation (like 10.10.10.0/24) here.

#auth "local" {
#    hosts: "*.example.com, example.com"
#    default: "<local>@example.com"
#}

auth "local" {
    hosts: "192.168.0.0/16"
    default: "<local>"
}

auth "remote" {
    hosts: "172.16.0.0/16"
    default: "<remote>"
}

# This auth group matches a subset of machines and assigns connections
# from there an identity of "<read>@example.com"; these systems should
# only have read access, no posting privileges.

#auth "read-only" {
#    hosts: "*.newuser.example.com"
#    default: "<read>@example.com"
#}

# This auth group matches the systems at a guest institution that should
# be allowed to read the example.events.* hierarchy but nothing else.

#auth "events-only" {
#    hosts: "*.example.org"
#    default: "<events-only>@example.org"
#}

# Finally, this auth group matches some particular systems which have been
# abusing the server.  Note that it doesn't assign them an identity at
# all; the "empty" identity created in this fashion won't match any users:
# parameters.  Note also that it's last, so anything matching this entry
# will take precedent over everything above it.

#auth "abusers" {
#    hosts: "badguy-dsl.example.com, kiosk.public-access.example.com"
#}


# Now for the access groups.  All of our access groups should have users:
# parameters so there are no access groups that match connections without
# an identity (such as are generated by the "abusers" entry above).
# First, the default case of local users, who get to read and post to
# everything.

#access "local" {
#    users: "<local>@example.com"
#    newsgroups: "*"
#}

access "local" {
    users: "<local>"
    newsgroups: "*"
}

access "remote" {
    users: "<remote>"
    newsgroups: "*"
}

# Now, the read-only folks, who only get to read everything.

#access "read-only" {
#    users: "<read>@example.com"
#    read: "*"
#}

# Finally, the events-only people who get to read and post but only to a
# specific hierarchy.

#access "events-only" {
#    users: "<events-only>@example.org"
#    newsgroups: "example.events.*"
#}

=====================
End of readers.conf


-- 
Regards,
Richard E. Pearl, Jr

mailto:rich@randl.org
mailto:rpearl2@rochester.rr.com
http://www.randl.org
"Andrew Finn" <afinn@nospamroadrunner.nf.net> wrote in message
news:bf3vpp$5i1$1@nntp-stjh-01-01.rogers.nf.net...
> Good question, but what I have done is just toss up a Test site outlying
> what I have done so far,  If its not on this site, it probably means I
have
> not done it.
>
> http://205.251.79.162/index.html
>
> thanks,
> Andrew
>
>
>
> > Just per chance, have you properly configured the readers.conf file?
Until
> > you do that, you will be unable to connect using a newsreader other than
> > from the server running INN itself.
> >
> > -- 
> > Regards,
> > Richard E. Pearl, Jr
>
>

Technical Details
Message-ID: <bf44b6$84r$1@console.randl.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20140818.mbox.gz!news5.aus1.giganews.com!firehose2!nntp4!intern1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeed.news2me.com!newsfeed-west.nntpserver.com!hub1.meganetnews.com!nntpserver.com!news-west.rr.com!news.rr.com!cyclone.rdc-nyc.rr.com!cyclone.nyroc.rr.com!cyclone-out.nyroc.rr.com!twister.nyroc.rr.com.POSTED!53ab2750!not-for-mail
References: <bevb2n$l7p$1@nntp-stjh-01-01.rogers.nf.net> <zXGQa.42208$EQ5.4128@twister.nyroc.rr.com> <bf39d3$sik$1@nntp-stjh-01-01.rogers.nf.net> <bf3h52$ugf$1@puck.litech.org> <bf3mpb$2up$1@nntp-stjh-01-01.rogers.nf.net> <bf3qs1$7ip$1@console.randl.org> <bf3vpp$5i1$1@nntp-stjh-01-01.rogers.nf.net>

Show Full Headers
Complete Article Headers
Message-ID: <bf44b6$84r$1@console.randl.org>
Subject: Re: Redhat 9.0 INN Is anything uptodate?
Date: Wed, 16 Jul 2003 19:05:16 GMT
From: "Richard E. Pearl, Jr." <rpearl2@rochester.rr.com>
References: <bevb2n$l7p$1@nntp-stjh-01-01.rogers.nf.net> <zXGQa.42208$EQ5.4128@twister.nyroc.rr.com> <bf39d3$sik$1@nntp-stjh-01-01.rogers.nf.net> <bf3h52$ugf$1@puck.litech.org> <bf3mpb$2up$1@nntp-stjh-01-01.rogers.nf.net> <bf3qs1$7ip$1@console.randl.org> <bf3vpp$5i1$1@nntp-stjh-01-01.rogers.nf.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.20140818.mbox.gz!news5.aus1.giganews.com!firehose2!nntp4!intern1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeed.news2me.com!newsfeed-west.nntpserver.com!hub1.meganetnews.com!nntpserver.com!news-west.rr.com!news.rr.com!cyclone.rdc-nyc.rr.com!cyclone.nyroc.rr.com!cyclone-out.nyroc.rr.com!twister.nyroc.rr.com.POSTED!53ab2750!not-for-mail
Newsgroups: news.software.nntp
Organization: RANDL.ORG's news server
Lines: 205
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
NNTP-Posting-Host: 24.169.155.192
X-Complaints-To: abuse@rr.com
X-Trace: twister.nyroc.rr.com 1058382316 24.169.155.192 (Wed,
NNTP-Posting-Date: Wed, 16 Jul 2003 15:05:16 EDT