Thread View: news.software.nntp
10 messages
10 total messages
Started by Krzysztof Trybowski
Sun, 17 Apr 2005 21:02
INN: no_match_user
Author: Krzysztof Trybowski
Date: Sun, 17 Apr 2005 21:02
Date: Sun, 17 Apr 2005 21:02
67 lines
4465 bytes
4465 bytes
Hello all,
I have just set up my INN server for the first time. It's gonna be a local
newsserver with many access levels and not many groups. It's going to work
with Newsporal or similar web frontend but will also be accessible by nntp
for those who prefer newsreaders to www.
Although everything seems to be working, there are some syslog entries that
I don't understand. Here's the log. I get numerous "no_match_user"
messages.
Apr 17 22:28:51 host nnrpd[5575]: my.example.com (xxx.xxx.xxx.xxx) connect
Apr 17 22:28:51 host nnrpd[5575]: Reading access from /etc/news/readers.conf
Apr 17 22:28:51 host nnrpd[5575]: Auth strategy 'wbiurze' does not match client. Removing.
Apr 17 22:28:51 host nnrpd[5575]: my.example.com res public
Apr 17 22:28:51 host nnrpd[5575]: my.example.com no_match_user public <localhost>
Apr 17 22:28:51 host nnrpd[5575]: my.example.com no_match_user public ukr
Apr 17 22:28:51 host nnrpd[5575]: my.example.com no_match_user public ku
Apr 17 22:28:51 host nnrpd[5575]: my.example.com no_match_user public czlonek
Apr 17 22:28:51 host nnrpd[5575]: my.example.com no_match_user public sympatyk
Apr 17 22:28:51 host nnrpd[5575]: my.example.com match_user public *
Apr 17 22:28:51 host nnrpd[5575]: my.example.com auth starting authenticator ckpasswd -f /etc/news/users
Apr 17 22:28:51 host nnrpd[5575]: my.example.com auth authenticator successful, user sympatyk
Apr 17 22:28:51 host nnrpd[5575]: my.example.com no_match_user sympatyk <localhost>
Apr 17 22:28:51 host nnrpd[5575]: my.example.com no_match_user sympatyk ukr
Apr 17 22:28:51 host nnrpd[5575]: my.example.com no_match_user sympatyk ku
Apr 17 22:28:51 host nnrpd[5575]: my.example.com no_match_user sympatyk czlonek
Apr 17 22:28:51 host nnrpd[5575]: my.example.com match_user sympatyk sympatyk
Apr 17 22:28:51 host nnrpd[5575]: my.example.com user sympatyk
Apr 17 22:29:26 host nnrpd[5547]: my.example.com group aekrakow.nzs.hydepark.private 0
Apr 17 22:29:26 host nnrpd[5547]: my.example.com times user 0.050 system 0.040 idle 0.041 elapsed 129.819
Apr 17 22:29:26 host nnrpd[5547]: my.example.com time 129824 idle 129593(5) nntpwrite 2(11)
My readers.conf file looks like this:
auth "wbiurze" {
hosts: "10.0.0.0/24"
default: "sympatyk"
}
auth "wszyscy" {
auth: "ckpasswd -f /etc/news/users"
default: "public"
}
access "public" {
users: "public"
read: "aekrakow.nzs.ogloszenia, aekrakow.nzs.projekty, aekrakow.nzs.hydepark"
post: "aekrakow.nzs.projekty, aekrakow.nzs.hydepark"
}
access "sympatyk" {
users: "sympatyk"
read: "aekrakow.nzs.ogloszeni*, aekrakow.nzs.projekty, aekrakow.nzs.hydepar*, aekrakow.nzs.dyskusje"
post: "aekrakow.nzs.projekty, aekrakow.nzs.hydepar*, aekrakow.nzs.dyskusje"
}
access "czlonek" {
users: "czlonek"
read: "aekrakow.nzs.ogloszeni*, aekrakow.nzs.projekty, aekrakow.nzs.hydepar*, aekrakow.nzs.dyskusje"
post: "aekrakow.nzs.projekty, aekrakow.nzs.hydepar*, aekrakow.nzs.dyskusje"
}
(...) there are some more access groups, byt they should have no influence,
since look more or less like the above.
TIA, regards,
Re: INN: no_match_user
Author: Russ Allbery
Date: Sun, 17 Apr 2005 21:05
Date: Sun, 17 Apr 2005 21:05
22 lines
2123 bytes
2123 bytes
Krzysztof Trybowski <trybowski@gazeta.pl.invalidd> writes:
> I have just set up my INN server for the first time. It's gonna be a
> local newsserver with many access levels and not many groups. It's going
> to work with Newsporal or similar web frontend but will also be
> accessible by nntp for those who prefer newsreaders to www.
> Although everything seems to be working, there are some syslog entries
> that I don't understand. Here's the log. I get numerous "no_match_user"
> messages.
This is expected; it's the debugging trace of the readers.conf
authorization matching. nnrpd is really chatty at log level debug
(logging all that stuff needs to become an option rather than always on).
You can tell syslog to ignore it by only looking at messages of priority
"info" or higher for the news facility.
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: INN: no_match_user
Author: Krzysztof Trybowski
Date: Sun, 17 Apr 2005 21:19
Date: Sun, 17 Apr 2005 21:19
9 lines
1826 bytes
1826 bytes
On Sun, 17 Apr 2005 14:05:24 -0700, Russ Allbery wrote: > You can tell syslog to ignore it by only looking at messages of priority > "info" or higher for the news facility. Err, how do I do that on Debian? Oh please don't make me read syslog.conf, I just browsed through it and I seem to not understand a... bit of it. TIA,
Re: INN: no_match_user
Author: Russ Allbery
Date: Sun, 17 Apr 2005 21:41
Date: Sun, 17 Apr 2005 21:41
26 lines
2179 bytes
2179 bytes
Krzysztof Trybowski <trybowski@gazeta.pl.invalidd> writes:
> On Sun, 17 Apr 2005 14:05:24 -0700, Russ Allbery wrote:
>> You can tell syslog to ignore it by only looking at messages of
>> priority "info" or higher for the news facility.
> Err, how do I do that on Debian? Oh please don't make me read
> syslog.conf, I just browsed through it and I seem to not understand
> a... bit of it.
A stock Debian sarge box should have already taken care of this for you,
actually. It has:
*.=debug;\
auth,authpriv.none;\
news.none;mail.none -/var/log/debug
and the news.none part is the important bit. woody appears to have the
same. So I'm not sure why you're seeing those messages unless you'd
modified syslog.conf already....
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: INN: no_match_user
Author: Krzysztof Trybowski
Date: Sun, 17 Apr 2005 22:43
Date: Sun, 17 Apr 2005 22:43
12 lines
1988 bytes
1988 bytes
On Sun, 17 Apr 2005 14:41:40 -0700, Russ Allbery wrote: > A stock Debian sarge box should have already taken care of this for you, > actually. It has: > > *.=debug;\ > auth,authpriv.none;\ > news.none;mail.none -/var/log/debug I have exactly the same in my syslog.conf, yet I still have those messages in syslog. Ah, whatever, I'll just take care of the logs and I'm anyway hoping to move to a better hardware soon so diskspace won't be an issue. :)
Re: INN: no_match_user
Author: Szymon Sokół
Date: Mon, 18 Apr 2005 06:57
Date: Mon, 18 Apr 2005 06:57
26 lines
2697 bytes
2697 bytes
Krzysztof Trybowski <trybowski@gazeta.pl.invalidd> wrote: > On Sun, 17 Apr 2005 14:41:40 -0700, Russ Allbery wrote: > > A stock Debian sarge box should have already taken care of this for you, > > actually. It has: > > > > *.=debug;\ > > auth,authpriv.none;\ > > news.none;mail.none -/var/log/debug > I have exactly the same in my syslog.conf, yet I still have those messages > in syslog. Ah, whatever, I'll just take care of the logs and I'm anyway > hoping to move to a better hardware soon so diskspace won't be an issue. :) "In syslog", ie. /var/log/syslog? The line above tells syslogd what to put into /var/log/debug, so it has no influence over /var/log/syslog, you know. Check if you have this: *.*;kern.warn;auth,authpriv.none -/var/log/syslog instead, and if so, add "news.none" to the list: *.*;kern.warn;auth,authpriv.none;news.none -/var/log/syslog -- Szymon Sokół (SS316-RIPE) -- Network Manager B Computer Center, AGH - University of Science and Technology, Cracow, Poland O http://home.agh.edu.pl/szymon/ PGP key id: RSA: 0x2ABE016B, DSS: 0xF9289982 F Free speech includes the right not to listen, if not interested -- Heinlein H
Re: INN: no_match_user
Author: Russ Allbery
Date: Mon, 18 Apr 2005 07:04
Date: Mon, 18 Apr 2005 07:04
17 lines
2147 bytes
2147 bytes
Szymon Sokół <szymon@bastard.operator.from.hell.pl> writes:
> "In syslog", ie. /var/log/syslog? The line above tells syslogd what to put
> into /var/log/debug, so it has no influence over /var/log/syslog, you know.
> Check if you have this:
> *.*;kern.warn;auth,authpriv.none -/var/log/syslog
> instead, and if so, add "news.none" to the list:
> *.*;kern.warn;auth,authpriv.none;news.none -/var/log/syslog
Oh, whoops, I missed that completely somehow. Yeah, that's exactly the
problem.
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: INN: no_match_user
Author: Krzysztof Trybowski
Date: Mon, 18 Apr 2005 12:48
Date: Mon, 18 Apr 2005 12:48
41 lines
3137 bytes
3137 bytes
On Mon, 18 Apr 2005 06:57:58 +0000 (UTC), Szymon Sokół wrote: > Krzysztof Trybowski <trybowski@gazeta.pl.invalidd> wrote: >> On Sun, 17 Apr 2005 14:41:40 -0700, Russ Allbery wrote: > >>> A stock Debian sarge box should have already taken care of this for you, >>> actually. It has: >>> >>> *.=debug;\ >>> auth,authpriv.none;\ >>> news.none;mail.none -/var/log/debug > >> I have exactly the same in my syslog.conf, yet I still have those messages >> in syslog. Ah, whatever, I'll just take care of the logs and I'm anyway >> hoping to move to a better hardware soon so diskspace won't be an issue. :) > > "In syslog", ie. /var/log/syslog? The line above tells syslogd what to put > into /var/log/debug, so it has no influence over /var/log/syslog, you know. > Check if you have this: > *.*;kern.warn;auth,authpriv.none -/var/log/syslog > instead, and if so, add "news.none" to the list: > *.*;kern.warn;auth,authpriv.none;news.none -/var/log/syslog No, I have: > *.*;auth,authpriv.none -/var/log/syslog and below: > kern.* -/var/log/kern.log That machine used to be Woody 3.0r1, but I upgraded it to Sid (no comments please, I know I was quite stupid to do so with the working environment ;)). Should I change the line to: > *.*;auth,authpriv.none;news.none -/var/log/syslog or > *.*;kern.warn;auth,authpriv.none;news.none -/var/log/syslog ? What is the meaning of "-" before the filename anyway? Thanks, and I apologize for OT!
Re: INN: no_match_user
Author: Clemens Zauner
Date: Mon, 18 Apr 2005 14:37
Date: Mon, 18 Apr 2005 14:37
10 lines
1574 bytes
1574 bytes
Krzysztof Trybowski <trybowski@gazeta.pl.invalidd> wrote: > > What is the meaning of "-" before the filename anyway? > Do no fsync() after each entry. Speeds things up. One usualy want's that except for the really important stuff. cu Clemens.
Re: INN: no_match_user
Author: Szymon Sokół
Date: Mon, 18 Apr 2005 15:09
Date: Mon, 18 Apr 2005 15:09
13 lines
2145 bytes
2145 bytes
Krzysztof Trybowski <trybowski@gazeta.pl.invalidd> wrote: > Should I change the line to: > > *.*;auth,authpriv.none;news.none -/var/log/syslog > or > > *.*;kern.warn;auth,authpriv.none;news.none -/var/log/syslog ? As you like it. The first form is satisfactory. -- Szymon Sokół (SS316-RIPE) -- Network Manager B Computer Center, AGH - University of Science and Technology, Cracow, Poland O http://home.agh.edu.pl/szymon/ PGP key id: RSA: 0x2ABE016B, DSS: 0xF9289982 F Free speech includes the right not to listen, if not interested -- Heinlein H
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads