Article View: news.software.nntp
Article #66654Different access policies for external and internal users.
From: ishulz
Date: Thu, 11 Sep 2003 09:53
Date: Thu, 11 Sep 2003 09:53
44 lines
2205 bytes
2205 bytes
I'm trying to permit access for internal.* groups only for internal
users, and passworded access for extrnal.* groups for all users.
This is my config:
auth ext {
hosts: "*, !localhost, !127.0.0.1, !stdin, !192.168.0.0/24"
auth: "ckpasswd -f /usr/local/news/etc/passwd"
default: other_ext
}
auth int {
hosts: "localhost, 127.0.0.1, stdin, 192.168.0.0/24"
auth: "ckpasswd -f /usr/local/news/etc/passwd"
default: other
}
access int {
users: !other_ext,*
newsgroups: "internal*, external*, !control*, !junk"
access: RPA
}
access int {
users: other
newsgroups: "internal*, !external*, !control*, !junk"
access: RPA
}
access ext {
users: other_ext
newsgroups: "!internal*, !external*, !control*, !junk"
access: RPA
}
Telnet 119 from 192.168.0.0/24 works fine: without password I see only
internal.* groups, and when I enter user/password I see all groups:
internal.* and external.*.
Telnet 119 from external network without password doesn't show any
groups, but when I enter user/password I see not only external groups
but internal ones too.
What is wrong in my config?
Technical Details
Message-ID:
<d6ef1c1f.0309110153.f289c54@posting.google.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.20140818.mbox.gz!text1.nnrp.aus1!firehose2!nntp4!intern1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!nf3.bellglobal.com!snoopy.risq.qc.ca!headwall.stanford.edu!newsfeed.stanford.edu!postnews1.google.com!not-for-mailShow Full Headers
Complete Article Headers
Message-ID: <d6ef1c1f.0309110153.f289c54@posting.google.com> Subject: Different access policies for external and internal users. Date: Thu, 11 Sep 2003 09:53:29 +0000 From: ishulz@mail.ru (ishulz) 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!text1.nnrp.aus1!firehose2!nntp4!intern1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!nf3.bellglobal.com!snoopy.risq.qc.ca!headwall.stanford.edu!newsfeed.stanford.edu!postnews1.google.com!not-for-mail Newsgroups: news.software.nntp Organization: http://groups.google.com/ Lines: 44 NNTP-Posting-Host: 213.226.159.126 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1063274009 7281 127.0.0.1 (11 Sep 2003 09:53:29 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 11 Sep 2003 09:53:29 GMT