Article View: news.software.nntp
Article #78875Re: INN 2.4.3 Question on Authentication (AUTHINFO)
From: Jeffrey M. Vinocur
Date: Wed, 09 Apr 2008 22:50
Date: Wed, 09 Apr 2008 22:50
60 lines
2583 bytes
2583 bytes
In article <ftjae7$q1d$1@news.trigofacile.com>,
Julien ΓLIE <iulius@nom-de-mon-site.com.invalid> wrote:
>
>With only your:
>
>auth everyone {
> hosts: "*"
> auth: "ckpasswd"
> default: <LOCAL>
>}
>
>if someone is not authenticated, this auth block will fail and he
>will not have access to your news server.
Actually, I don't think that's the case. I'm pretty sure that
the above block will work as intended (matching unauthenticated
connections as well and assigning the default identity).
>> access authenticated {
>> users "*, !<LOCAL>*"
>> newsgroups: "*"
>> }
>
>Do not forget the colon after "users".
>Why do you remove <LOCAL> here?
Remember that last matching group is used, so either the
<LOCAL>-only access block needs to go last, or the above
technique needs to be used.
>auth "users" {
> hosts: "*"
> default: "<all>"
>}
>
>auth "users-ssl" {
> hosts: "*"
> auth: "ckpasswd -f /home/news/etc/users-ssl"
>}
Hmm does this actually work as desired if you connect without
authenticating? I'm surprised if it does.
>I sometimes like to put "key" parameters. And I am accustomed to using
>"access" instead of "read"/"post".
Shush! That's not recommended!
(We really need to add more-powerful parameters for approval and
newnews so that access: is not needed so often. It would be nice
to have "allow_approval: <wildmat>" instead of a global yes/no
setting anyway.)
--
Jeffrey M. Vinocur
jeff@litech.org
Technical Details
Message-ID:
<ftjh6v$l5b$1@puck.litech.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.20141118.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!postnews.google.com!news1.google.com!news.glorb.com!news.litech.org!not-for-mailReferences:
<qo9qv39vq5i1i0bp6binua9f610b2rm6mh@4ax.com> <ftjae7$q1d$1@news.trigofacile.com>Show Full Headers
Complete Article Headers
Message-ID: <ftjh6v$l5b$1@puck.litech.org> Subject: Re: INN 2.4.3 Question on Authentication (AUTHINFO) Date: Wed, 09 Apr 2008 22:50:07 +0000 From: jeff@litech.org (Jeffrey M. Vinocur) References: <qo9qv39vq5i1i0bp6binua9f610b2rm6mh@4ax.com> <ftjae7$q1d$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.20141118.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!postnews.google.com!news1.google.com!news.glorb.com!news.litech.org!not-for-mail Newsgroups: news.software.nntp Organization: Litech Systems Design Lines: 60 Sender: jeff@litech.org NNTP-Posting-Host: puck.litech.org X-Trace: puck.litech.org 1207781407 21675 66.218.0.75 (9 Apr 2008 22:50:07 GMT) X-Complaints-To: usenet@litech.org NNTP-Posting-Date: Wed, 9 Apr 2008 22:50:07 +0000 (UTC) X-Newsreader: trn 4.0-test76 (Apr 2, 2001) Originator: jeff@litech.org (Jeffrey M. Vinocur)