Thread View: news.software.nntp
44 messages
44 total messages
Started by Mysterious Traveller
Tue, 12 Mar 2002 22:23
HELP!!
Author: Mysterious Traveller
Date: Tue, 12 Mar 2002 22:23
Date: Tue, 12 Mar 2002 22:23
25 lines
1839 bytes
1839 bytes
Setting up INN 2.3.2 on a SuSE 7.1 server, and have been able to muddle
through most of the documentation pretty well. However, I can't seem to
find anything on how to set up the nnrp_auth.pl script to run for my
authorizations.
I'm running a small server, maybe 50 users, from different ISPs, and
different countries, for that matter. I can't used any type of IP based or
DNS authorization for this reason, so readers.conf is out as an
authentication method.
This is the first time I've tried setting up INN, and I'm also pretty new
with Perl, but if I can find documentation, I can usually figure out pretty
much anything.
TIA
--
The traveller is always leaving town
He never has the time to turn around
And if the road he's taken isn't leading anywhere
He seems to be completely unaware
-Alan Parson's Project
Re: HELP!!
Author: Paul Tomblin
Date: Tue, 12 Mar 2002 22:38
Date: Tue, 12 Mar 2002 22:38
23 lines
2190 bytes
2190 bytes
In a previous article, Mysterious Traveller <traveller@whiskeyhouse.com> said: >I'm running a small server, maybe 50 users, from different ISPs, and >different countries, for that matter. I can't used any type of IP based or >DNS authorization for this reason, so readers.conf is out as an >authentication method. nnrpd_auth.pl can do userid and password authentication using nntp's "authinfo user" and "authinfo pass" commands. Actually, I think inn 2.3 can do userid and password authentication without writing any perl, but I'm still on 2.2. I give a few dozen people access to my news server. I make the default access to the server "!*" (ie none) in nnrpd.access. Then in nnrpd_auth.pl, I check for a type of "authenticate" and if so, compare the userid and password. Send me email if you want to see my script, it's a bit large to post here (ie I can't be arsed to su to news to grab it right now because the compile I was waiting for is nearly done). -- Paul Tomblin <ptomblin@xcski.com>, not speaking for anybody "You're one of those condescending Unix computer users!" "Here's a nickel, kid. Get yourself a better computer" - Dilbert.
Re: HELP!!
Author: Jeffrey M. Vinocur
Date: Wed, 13 Mar 2002 14:34
Date: Wed, 13 Mar 2002 14:34
23 lines
1719 bytes
1719 bytes
In article <lfvs8uc97b2d8vi6q69un7fsl9j04utngg@4ax.com>, Mysterious Traveller <traveller@whiskeyhouse.com> wrote: >Setting up INN 2.3.2 on a SuSE 7.1 server, and have been able to muddle >through most of the documentation pretty well. However, I can't seem to >find anything on how to set up the nnrp_auth.pl script to run for my >authorizations. You're looking for README.perl_hook I think. >I can't used any type of IP based or DNS authorization for this >reason, so readers.conf is out as an authentication method. That's entirely not true. If all you want is username/password authentication, readers.conf will do just fine. You use an auth: line that calls ckpasswd. -- Jeffrey M. Vinocur jeff@litech.org
Re: HELP!!
Author: Mysterious Traveller
Date: Wed, 13 Mar 2002 23:32
Date: Wed, 13 Mar 2002 23:32
45 lines
2534 bytes
2534 bytes
On Wed, 13 Mar 2002 14:34:21 +0000 (UTC), jeff@litech.org (Jeffrey M.
Vinocur) wrote:
>In article <lfvs8uc97b2d8vi6q69un7fsl9j04utngg@4ax.com>,
>Mysterious Traveller <traveller@whiskeyhouse.com> wrote:
>
>>I can't used any type of IP based or DNS authorization for this
>>reason, so readers.conf is out as an authentication method.
>
>That's entirely not true. If all you want is username/password
>authentication, readers.conf will do just fine. You use an auth:
>line that calls ckpasswd.
Thanks for the tip. I set it up this way, but all I'm getting is a
"Connection Refused" 10060 error.
Here's the code that I put into the readers.conf file:
############################################
auth all {
auth: "checkpasswd -s"
}
access full {
users: *
newsgroups: *
}
############################################
I put this at the very bottom of the readers.conf file, and left everything
else unchanged. Did I put it in the wrong place? Was I supposed to
disable something else?
If I get this method to work, it will be perfect for me... eventually, all
the people connecting to this news server will have user accounts on this
machine for other purposes as well.
Thanks again.
--
The traveller is always leaving town
He never has the time to turn around
And if the road he's taken isn't leading anywhere
He seems to be completely unaware
-Alan Parson's Project
Re: HELP!!
Author: Mysterious Traveller
Date: Wed, 13 Mar 2002 23:33
Date: Wed, 13 Mar 2002 23:33
33 lines
2589 bytes
2589 bytes
On 12 Mar 2002 22:38:29 GMT, ptomblin@xcski.com (Paul Tomblin) wrote:
>In a previous article, Mysterious Traveller <traveller@whiskeyhouse.com> said:
>>I'm running a small server, maybe 50 users, from different ISPs, and
>>different countries, for that matter. I can't used any type of IP based or
>>DNS authorization for this reason, so readers.conf is out as an
>>authentication method.
>
>nnrpd_auth.pl can do userid and password authentication using nntp's
>"authinfo user" and "authinfo pass" commands. Actually, I think inn 2.3
>can do userid and password authentication without writing any perl, but
>I'm still on 2.2.
>
>I give a few dozen people access to my news server. I make the default
>access to the server "!*" (ie none) in nnrpd.access. Then in
>nnrpd_auth.pl, I check for a type of "authenticate" and if so, compare the
>userid and password. Send me email if you want to see my script, it's a
>bit large to post here (ie I can't be arsed to su to news to grab it right
>now because the compile I was waiting for is nearly done).
Thanks for the suggestion, Paul, but I'm going to try the ckpasswd function
first that Jeffery put up. If I can use the exisisting password file to do
my authentication, it would just work out too nicely to pass up.
--
The traveller is always leaving town
He never has the time to turn around
And if the road he's taken isn't leading anywhere
He seems to be completely unaware
-Alan Parson's Project
Re: HELP!!
Author: Jeffrey M. Vinocur
Date: Thu, 14 Mar 2002 00:17
Date: Thu, 14 Mar 2002 00:17
36 lines
2104 bytes
2104 bytes
In article <vtnv8ususfp85k74grfkdc058dio4i4ejp@4ax.com>,
Mysterious Traveller <traveller@whiskeyhouse.com> wrote:
>
>############################################
>auth all {
> auth: "checkpasswd -s"
>}
>
>access full {
> users: *
> newsgroups: *
>}
>############################################
>I put this at the very bottom of the readers.conf file, and left everything
>else unchanged. Did I put it in the wrong place? Was I supposed to
>disable something else?
That should be ok -- I think the only other thing uncommented is
the localhost entyr.
>If I get this method to work, it will be perfect for me... eventually, all
>the people connecting to this news server will have user accounts on this
>machine for other purposes as well.
I assume you used `ckpasswd` and not `checkpasswd`?
Are you using a system with PAM (like Redhat)? If so you need to
install pamckpasswd. If not, you still likely need to give your
ckpasswd special privileges.
--
Jeffrey M. Vinocur
jeff@litech.org
Re: HELP!!
Author: Mysterious Traveller
Date: Fri, 15 Mar 2002 22:13
Date: Fri, 15 Mar 2002 22:13
53 lines
3051 bytes
3051 bytes
On Thu, 14 Mar 2002 00:17:23 +0000 (UTC), jeff@litech.org (Jeffrey M.
Vinocur) wrote:
>In article <vtnv8ususfp85k74grfkdc058dio4i4ejp@4ax.com>,
>Mysterious Traveller <traveller@whiskeyhouse.com> wrote:
>>
>>############################################
>>auth all {
>> auth: "checkpasswd -s"
>>}
>>
>>access full {
>> users: *
>> newsgroups: *
>>}
>>############################################
>>I put this at the very bottom of the readers.conf file, and left everything
>>else unchanged. Did I put it in the wrong place? Was I supposed to
>>disable something else?
>
>That should be ok -- I think the only other thing uncommented is
>the localhost entyr.
>
>
>>If I get this method to work, it will be perfect for me... eventually, all
>>the people connecting to this news server will have user accounts on this
>>machine for other purposes as well.
>
>I assume you used `ckpasswd` and not `checkpasswd`?
Yes... working from notes here... misspelled in my notes, but correct in
the file.
>
>Are you using a system with PAM (like Redhat)? If so you need to
>install pamckpasswd. If not, you still likely need to give your
>ckpasswd special privileges.
I setuid on ckpasswd, and it still didn't work... d'loaded pamckpasswd, but
I'm having some problems getting it to compile. For each line in the
Makefile, I'm getting "command not found". Is there somewhere in
particular I need to be running it from? Or a particular ID that I need to
run it as? I can't find anything in the README file that would indicate
this..... I've tried it as user news, and as root.
Thanks
--
The traveller is always leaving town
He never has the time to turn around
And if the road he's taken isn't leading anywhere
He seems to be completely unaware
-Alan Parson's Project
Re: HELP!!
Author: Jeffrey M. Vinocur
Date: Sat, 16 Mar 2002 21:37
Date: Sat, 16 Mar 2002 21:37
31 lines
2089 bytes
2089 bytes
[ removed Distribution: inet ] In article <m3r49uk0660knrvna3n3lnn2j6nfft98me@4ax.com>, Mysterious Traveller <traveller@whiskeyhouse.com> wrote: >On Thu, 14 Mar 2002 00:17:23 +0000 (UTC), jeff@litech.org (Jeffrey M. >Vinocur) wrote: > >>Are you using a system with PAM (like Redhat)? If so you need to >>install pamckpasswd. If not, you still likely need to give your >>ckpasswd special privileges. > >I setuid on ckpasswd, and it still didn't work... Are you using a system with PAM? If so, you cannot use ckpasswd to check against the system password. You need to either keep a separate password file for news, or use pamckpasswd. >d'loaded pamckpasswd, but I'm having some problems getting it to >compile. For each line in the Makefile, I'm getting "command >not found". Is there somewhere in particular I need to be >running it from? It has always compiled fine out of the box for me. Do you have a decent PATH setting? -- Jeffrey M. Vinocur jeff@litech.org
Re: HELP!!
Author: Mysterious Traveller
Date: Sun, 17 Mar 2002 03:31
Date: Sun, 17 Mar 2002 03:31
62 lines
3712 bytes
3712 bytes
On Sat, 16 Mar 2002 21:37:48 +0000 (UTC), jeff@litech.org (Jeffrey M.
Vinocur) wrote:
>[ removed Distribution: inet ]
>
>In article <m3r49uk0660knrvna3n3lnn2j6nfft98me@4ax.com>,
>Mysterious Traveller <traveller@whiskeyhouse.com> wrote:
>>On Thu, 14 Mar 2002 00:17:23 +0000 (UTC), jeff@litech.org (Jeffrey M.
>>Vinocur) wrote:
>>
>>>Are you using a system with PAM (like Redhat)? If so you need to
>>>install pamckpasswd. If not, you still likely need to give your
>>>ckpasswd special privileges.
>>
>>I setuid on ckpasswd, and it still didn't work...
>
>Are you using a system with PAM? If so, you cannot use ckpasswd
>to check against the system password. You need to either keep a
>separate password file for news, or use pamckpasswd.
>
Yes. I'm on SuSE 7.1, and PAM is installed. Maybe the other option would
be the best for me. What do I need to do to create a separate encrypted
password file?
>
>>d'loaded pamckpasswd, but I'm having some problems getting it to
>>compile. For each line in the Makefile, I'm getting "command
>>not found". Is there somewhere in particular I need to be
>>running it from?
I figured out why I was getting that... DUH. I ran Makefile as a
command... not getting near enough sleep lately.
>
>It has always compiled fine out of the box for me. Do you have a
>decent PATH setting?
My path setting for root:
/opt/kde2/bin:/sbin:/usr/sbin:/usr/local/sbin:/root/bin:/usr/local/bin:/usr/bin:
/usr/X11R6/bin:/bin:/usr/lib/java/bin:/usr/games/bin:/usr/games:/opt/gnome/bin:
/opt/kde2/bin:/opt/kde/bin
And the exact error messages I'm getting now are:
/tmp/cctFeoqL.o: In function `main':
/tmp/cctFeoqL.o(.text+0x1d4): undefined reference to `pam_start'
/tmp/cctFeoqL.o(.text+0x1ee): undefined reference to `pam_strerror'
/tmp/cctFeoqL.o(.text+0x21d): undefined reference to `pam_authenticate'
/tmp/cctFeoqL.o(.text+0x237): undefined reference to `pam_strerror'
/tmp/cctFeoqL.o(.text+0x26d): undefined reference to `pam_acct_mgmt'
/tmp/cctFeoqL.o(.text+0x287): undefined reference to `pam_strerror'
/tmp/cctFeoqL.o(.text+0x2bd): undefined reference to `pam_end'
/tmp/cctFeoqL.o(.text+0x2e1): undefined reference to `pam_strerror'
collect2: ld returned 1 exit status
make: *** [pamckpasswd] Error 1
--
The traveller is always leaving town
He never has the time to turn around
And if the road he's taken isn't leading anywhere
He seems to be completely unaware
-Alan Parson's Project
Re: HELP!!
Author: Russ Allbery
Date: Sun, 17 Mar 2002 03:57
Date: Sun, 17 Mar 2002 03:57
24 lines
2273 bytes
2273 bytes
Mysterious Traveller <traveller@whiskeyhouse.com> writes:
> And the exact error messages I'm getting now are:
> /tmp/cctFeoqL.o: In function `main':
> /tmp/cctFeoqL.o(.text+0x1d4): undefined reference to `pam_start'
> /tmp/cctFeoqL.o(.text+0x1ee): undefined reference to `pam_strerror'
> /tmp/cctFeoqL.o(.text+0x21d): undefined reference to `pam_authenticate'
> /tmp/cctFeoqL.o(.text+0x237): undefined reference to `pam_strerror'
> /tmp/cctFeoqL.o(.text+0x26d): undefined reference to `pam_acct_mgmt'
> /tmp/cctFeoqL.o(.text+0x287): undefined reference to `pam_strerror'
> /tmp/cctFeoqL.o(.text+0x2bd): undefined reference to `pam_end'
> /tmp/cctFeoqL.o(.text+0x2e1): undefined reference to `pam_strerror'
> collect2: ld returned 1 exit status
> make: *** [pamckpasswd] Error 1
You're missing a PAM library, probably -lpam or something like that.
--
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: HELP!!
Author: Jeffrey M. Vinocur
Date: Sun, 17 Mar 2002 05:10
Date: Sun, 17 Mar 2002 05:10
30 lines
2277 bytes
2277 bytes
In article <tbm79u4jli3serlghuq79m1sanfu1ka0mn@4ax.com>, Mysterious Traveller <traveller@whiskeyhouse.com> wrote: >On Sat, 16 Mar 2002 21:37:48 +0000 (UTC), jeff@litech.org (Jeffrey M. >Vinocur) wrote: > >>You need to either keep a separate password file for news, or >>use pamckpasswd. >> >Yes. I'm on SuSE 7.1, and PAM is installed. Maybe the other option would >be the best for me. What do I need to do to create a separate encrypted >password file? Unless your users all can use SSL, you should authenticate against system passwords (i.e., use PAM) only after careful consideration anyway. The other option is not difficult. How many users do you plan on having? If it's a large number, you probably want to use an actual database (see the -d flag in the ckpasswd manpage). Otherwise, you want to make a file in the style of /etc/passwd (for use with -f of ckpasswd). The easiest way to do this is to use the 'htpasswd' utility which is in Apache's bin/ directory (if you have Apache installed). It makes files in exactly the right format. If you don't have Apache, there are other ways, just ask. -- Jeffrey M. Vinocur jeff@litech.org
Re: HELP!!
Author: Mysterious Traveller
Date: Sun, 17 Mar 2002 17:41
Date: Sun, 17 Mar 2002 17:41
63 lines
3187 bytes
3187 bytes
On Sun, 17 Mar 2002 05:10:52 +0000 (UTC), jeff@litech.org (Jeffrey M.
Vinocur) wrote:
>The other option is not difficult. How many users do you plan on
>having? If it's a large number, you probably want to use an
>actual database (see the -d flag in the ckpasswd manpage).
>Otherwise, you want to make a file in the style of /etc/passwd
>(for use with -f of ckpasswd). The easiest way to do this is to
>use the 'htpasswd' utility which is in Apache's bin/ directory
>(if you have Apache installed). It makes files in exactly the
>right format. If you don't have Apache, there are other ways,
>just ask.
I like this idea. I'm going to end up with about 45-50 users. I think I
remember how to use the htpasswd utility (it's been a while), and I like
the idea of a separate password file for the news users.
In the meantime, I've got another issue that has popped up. I had to do a
full re-install of the server (don't ask, let's just say that my son has
lost his priviliges on the Linux machine for a while). Thank goodness for
notes, it cut my installation time in half. However, when I try to connect
from within the LAN, I'm getting a "Connection closed unexpectedly by
server" message.
readers.conf is set up as follows:
auth "localhost" {
hosts: "localhost, 127.0.0.1, stdin"
default: "<localhost>"
}
access "localhost" {
users: "<localhost>"
newsgroups: "*"
access: RPA
}
auth "local" {
hosts: 192.168.1.0/24
default: "<local>@example.com"
}
newsgroups: "*"
}
The server is at 192.168.1.101, and the machine I'm trying to connect from
is at 192.168.1.105. This setup should allow me to login w/out a
username/password combination, am I right? I'm stumped.
--
The traveller is always leaving town
He never has the time to turn around
And if the road he's taken isn't leading anywhere
He seems to be completely unaware
-Alan Parson's Project
Re: HELP!!
Author: Mysterious Traveller
Date: Sun, 17 Mar 2002 18:38
Date: Sun, 17 Mar 2002 18:38
13 lines
1595 bytes
1595 bytes
As an addendum to the above.... when I try to telnet from a Win2K box
within the LAN to port 119, I get "Could not open a connection to host:
Connect failed
--
The traveller is always leaving town
He never has the time to turn around
And if the road he's taken isn't leading anywhere
He seems to be completely unaware
-Alan Parson's Project
Re: HELP!!
Author: Jeffrey M. Vinocur
Date: Sun, 17 Mar 2002 18:43
Date: Sun, 17 Mar 2002 18:43
33 lines
1984 bytes
1984 bytes
In article <iak99ukt70v4u30usvv5qh47i2ul4itdg2@4ax.com>,
Mysterious Traveller <traveller@whiskeyhouse.com> wrote:
>
>I like this idea. I'm going to end up with about 45-50 users. I think I
>remember how to use the htpasswd utility (it's been a while), and I like
>the idea of a separate password file for the news users.
Good good. Let us know if you have problems.
>However, when I try to connect from within the LAN, I'm getting
>a "Connection closed unexpectedly by server" message.
Ok, to figure this out you should consult the news.notice,
news.err, and news.crit log files.
>auth "local" {
> hosts: 192.168.1.0/24
> default: "<local>@example.com"
>}
>
> newsgroups: "*"
>}
Err, is the above actually what's in the file? That newsgroups:
line needs to be within an access block.
--
Jeffrey M. Vinocur
jeff@litech.org
Re: HELP!!
Author: Mysterious Traveller
Date: Sun, 17 Mar 2002 19:16
Date: Sun, 17 Mar 2002 19:16
89 lines
4114 bytes
4114 bytes
On Sun, 17 Mar 2002 18:43:50 +0000 (UTC), jeff@litech.org (Jeffrey M.
Vinocur) wrote:
>In article <iak99ukt70v4u30usvv5qh47i2ul4itdg2@4ax.com>,
>Mysterious Traveller <traveller@whiskeyhouse.com> wrote:
>>However, when I try to connect from within the LAN, I'm getting
>>a "Connection closed unexpectedly by server" message.
>
>Ok, to figure this out you should consult the news.notice,
>news.err, and news.crit log files.
news.err and news.crit only show shutdown messages from where I manually
shut down inn to re-read the config files.
news.notice shows the following. This is from a full cycle of starting the
server, trying to connect, and stopping the server. I also tried to
connect locally from the same machine as a regular user (not root or news).
Mar 17 15:18:10 houston innd: SERVER descriptors 1024
Mar 17 15:18:10 houston innd: SERVER outgoing 1011
Mar 17 15:18:10 houston innd: SERVER ccsetup control:12
Mar 17 15:18:10 houston innd: SERVER lcsetup localconn:14
Mar 17 15:18:10 houston innd: SERVER rcsetup remconn:4
Mar 17 15:18:10 houston innd: innfeed! spawned innfeed!:17:proc:1331
Mar 17 15:18:10 houston innd: SERVER perl filtering enabled
Mar 17 15:18:10 houston innd: SERVER starting
Mar 17 15:18:10 houston innfeed[1331]: ME starting innfeed 2.3.2 at Sun Mar
17 15:18:10 2002
Mar 17 15:18:10 houston innfeed[1331]: loading
/usr/local/news/etc/innfeed.conf
Mar 17 15:23:56 houston innd: SERVER shutdown rc.news stop
Mar 17 15:23:56 houston innd: innfeed! closed
Mar 17 15:23:56 houston innd: control:12 closed
Mar 17 15:23:56 houston innd: localconn:14 closed
Mar 17 15:23:56 houston innd: remconn:4 closed
Mar 17 15:23:56 houston innd: SERVER perl filtering disabled
Mar 17 15:23:56 houston innfeed[1331]: ME source lost . Exiting
Mar 17 15:23:56 houston innfeed[1331]: ME finishing at Sun Mar 17 15:23:56
2002
Mar 17 15:23:56 houston innd: SERVER shutdown rc.news stop
Maybe I'm missing something, but this all looks good to me.
I also checked errlog in the /news/log directory, it showed nothing but the
startup messages.
>
>
>>auth "local" {
>> hosts: 192.168.1.0/24
>> default: "<local>@example.com"
>>}
>>
>> newsgroups: "*"
>>}
>
>Err, is the above actually what's in the file? That newsgroups:
>line needs to be within an access block.
erm... it was... it's now corrected to:
auth "local" {
hosts: 192.168.1.0/24
default: "<local>@example.com"
}
access "local" {
users: "<local>@example.com"
newsgroups: "*"
}
Bloody fat fingers....
but, the same results.
BTW, if I haven't mentioned it already, thank you very much for all the
help.
--
The traveller is always leaving town
He never has the time to turn around
And if the road he's taken isn't leading anywhere
He seems to be completely unaware
-Alan Parson's Project
Re: HELP!!
Author: Jeffrey M. Vinocur
Date: Mon, 18 Mar 2002 04:07
Date: Mon, 18 Mar 2002 04:07
39 lines
2241 bytes
2241 bytes
In article <bsp99uo2t58161v0e2cuch0pn470tvtes2@4ax.com>, Mysterious Traveller <traveller@whiskeyhouse.com> wrote: > >news.err and news.crit only show shutdown messages from where I manually >shut down inn to re-read the config files. (Note that most config files can be reread using `ctlinnd reload`. The exceptions are inn.conf which requires a restart and readers.conf which gets loaded fresh every time nnrpd is launched to handle a connection.) >news.notice shows the following. [...trimmed logs below...] > >Mar 17 15:18:10 houston innd: SERVER starting >Mar 17 15:23:56 houston innd: SERVER shutdown rc.news stop > >Maybe I'm missing something, but this all looks good to me. No errors. However, your connection attempt should be logged. Very odd. Can you try on unix telnetting to port 119 of the server? From the machine running INN would be fine. (Have we been through this already? People with similar problems tend to blur together.) >BTW, if I haven't mentioned it already, thank you very much for all the >help. You're quite welcome. -- Jeffrey M. Vinocur jeff@litech.org
Re: HELP!!
Author: Mysterious Traveller
Date: Mon, 18 Mar 2002 08:19
Date: Mon, 18 Mar 2002 08:19
65 lines
3377 bytes
3377 bytes
On Mon, 18 Mar 2002 04:07:33 +0000 (UTC), jeff@litech.org (Jeffrey M.
Vinocur) wrote:
>In article <bsp99uo2t58161v0e2cuch0pn470tvtes2@4ax.com>,
>Mysterious Traveller <traveller@whiskeyhouse.com> wrote:
>>
>>news.err and news.crit only show shutdown messages from where I manually
>>shut down inn to re-read the config files.
>
>(Note that most config files can be reread using `ctlinnd reload`.
>The exceptions are inn.conf which requires a restart and
>readers.conf which gets loaded fresh every time nnrpd is launched
>to handle a connection.)
Understood. But a stop and start assures *me* that every config file gets
re-read... personal hangup, I guess.
>
>>news.notice shows the following. [...trimmed logs below...]
>>
>>Mar 17 15:18:10 houston innd: SERVER starting
>>Mar 17 15:23:56 houston innd: SERVER shutdown rc.news stop
>>
>>Maybe I'm missing something, but this all looks good to me.
>
>No errors. However, your connection attempt should be logged.
>Very odd.
I thought so. Is it possible that nnrpd is not launching?
>
>Can you try on unix telnetting to port 119 of the server? From
>the machine running INN would be fine.
>
Here's the results of that:
telnet: 192.168.1.101:119: Name or service not known
192.168.1.101:119: Unknown host
(Launched from the machine running INN).
>(Have we been through this already? People with similar problems
>tend to blur together.)
>
No we haven't. This started out as an authentication issue... doncha just
love mission creep?
I also did a ps -ef|grep for inn on the server... just to show you which
processes are running. Is this everything that should start?
news 3594 1 0 04:24 ? 00:00:00 /usr/local/news/bin/innd
-p4
news 3598 3594 0 04:24 ? 00:00:00 /usr/local/news/bin/innfeed
-y
news 3602 3595 0 04:25 pts/2 00:00:00 sh
/usr/local/news/bin/innwatch
root 3771 752 0 04:27 pts/1 00:00:00 grep inn
--
The traveller is always leaving town
He never has the time to turn around
And if the road he's taken isn't leading anywhere
He seems to be completely unaware
-Alan Parson's Project
Re: HELP!!
Author: Jeffrey M. Vinocur
Date: Mon, 18 Mar 2002 22:13
Date: Mon, 18 Mar 2002 22:13
49 lines
2530 bytes
2530 bytes
In article <te8b9u4763ausa42oa67voqops50em8tnu@4ax.com>, Mysterious Traveller <traveller@whiskeyhouse.com> wrote: >On Mon, 18 Mar 2002 04:07:33 +0000 (UTC), jeff@litech.org (Jeffrey M. >Vinocur) wrote: > >>(Note that most config files can be reread using `ctlinnd reload`. > >Understood. But a stop and start assures *me* that every config file gets >re-read... personal hangup, I guess. Oh, sure. (I used to do that. You'll probably start trusting ctlinnd eventually :-) ) >>[ logs ] >>No errors. However, your connection attempt should be logged. > >I thought so. Is it possible that nnrpd is not launching? Not sure yet. >>Can you try on unix telnetting to port 119 of the server? From >>the machine running INN would be fine. > >Here's the results of that: >telnet: 192.168.1.101:119: Name or service not known Oh, unix telnet takes the port as a separate paramter. So `telnet 192.168.1.101 119` or `telnet 192.168.1.101 nntp` is what you want to try. >(Launched from the machine running INN). Then `telnet localhost nntp` even to save yourself typing. >I also did a ps -ef|grep for inn on the server... just to show you which >processes are running. Is this everything that should start? As long as innd itself is running we're ok for now. (By the way, probably what you want to do is `ps -ef | grep ^news`.) -- Jeffrey M. Vinocur jeff@litech.org
Re: HELP!!
Author: Mysterious Traveller
Date: Tue, 19 Mar 2002 03:43
Date: Tue, 19 Mar 2002 03:43
36 lines
2403 bytes
2403 bytes
On Mon, 18 Mar 2002 22:13:56 +0000 (UTC), jeff@litech.org (Jeffrey M.
Vinocur) wrote:
>In article <te8b9u4763ausa42oa67voqops50em8tnu@4ax.com>,
>Oh, unix telnet takes the port as a separate paramter. So
>`telnet 192.168.1.101 119` or `telnet 192.168.1.101 nntp` is what
>you want to try.
Hmmm.... always used a colon to hit a specific port on HP machines...
Anyhow, the connection opened right up, and I got the escape character, and
then it immedieately closed again. Not enough time to even try to send a
username/password.
>
>
>>(Launched from the machine running INN).
>
>Then `telnet localhost nntp` even to save yourself typing.
>
>
>>I also did a ps -ef|grep for inn on the server... just to show you which
>>processes are running. Is this everything that should start?
>
>As long as innd itself is running we're ok for now. (By the way,
>probably what you want to do is `ps -ef | grep ^news`.)
Ah, good point. Get all processes under the user.
--
The traveller is always leaving town
He never has the time to turn around
And if the road he's taken isn't leading anywhere
He seems to be completely unaware
-Alan Parson's Project
Re: HELP!!
Author: Jeffrey M. Vinocur
Date: Tue, 19 Mar 2002 04:30
Date: Tue, 19 Mar 2002 04:30
11 lines
1408 bytes
1408 bytes
In article <6icd9usv1nsg77bdr4bsloqqqk1e2j419o@4ax.com>, Mysterious Traveller <traveller@whiskeyhouse.com> wrote: > >Anyhow, the connection opened right up, and I got the escape character, and >then it immedieately closed again. Not enough time to even try to send a >username/password. And nothing in the logs?
Re: HELP!!
Author: Mysterious Traveller
Date: Tue, 19 Mar 2002 05:08
Date: Tue, 19 Mar 2002 05:08
27 lines
2027 bytes
2027 bytes
On Tue, 19 Mar 2002 04:30:01 +0000 (UTC), jeff@litech.org (Jeffrey M.
Vinocur) wrote:
>In article <6icd9usv1nsg77bdr4bsloqqqk1e2j419o@4ax.com>,
>Mysterious Traveller <traveller@whiskeyhouse.com> wrote:
>>
>>Anyhow, the connection opened right up, and I got the escape character, and
>>then it immedieately closed again. Not enough time to even try to send a
>>username/password.
>
>And nothing in the logs?
>
nada. The log files are unchanged since about 3:00 this morning, even
though I did this login around 10:00PM tonight.
<cueing Twilight Zone Theme in the background>
Strange, eh?
--
The traveller is always leaving town
He never has the time to turn around
And if the road he's taken isn't leading anywhere
He seems to be completely unaware
-Alan Parson's Project
Re: HELP!!
Author: Mysterious Traveller
Date: Thu, 21 Mar 2002 17:16
Date: Thu, 21 Mar 2002 17:16
27 lines
1908 bytes
1908 bytes
Jeffrey,
A new twist.
From the Linux machine, if I telnet to 192.168.1.101 nntp, the connection
closes immediately.
If I telnet to localhost nntp, I get the following:
Trying ::1...
telnet: connect to address ::1: Connection refused
Trying 127.0.0.1...
Connected to localhost
I can telnet to port 23 on 192.168.1.101 or by using the server name, with
no problems.
I'm confuzzled.
--
The traveller is always leaving town
He never has the time to turn around
And if the road he's taken isn't leading anywhere
He seems to be completely unaware
-Alan Parson's Project
Re: HELP!!
Author: Jeffrey M. Vinocur
Date: Thu, 21 Mar 2002 20:14
Date: Thu, 21 Mar 2002 20:14
25 lines
1767 bytes
1767 bytes
In article <jv4k9ukqpib70i0e0qvdkj0d9omojlpf8f@4ax.com>, Mysterious Traveller <traveller@whiskeyhouse.com> wrote: > >From the Linux machine, if I telnet to 192.168.1.101 nntp, the connection >closes immediately. >If I telnet to localhost nntp, I get the following: >Trying ::1... >telnet: connect to address ::1: Connection refused You have a kernel with IPv6 support, it seems. (If you're using a CURRENT snapshot, you can even build INN with IPv6 support.) Don't worry about it. >Trying 127.0.0.1... >Connected to localhost This part is the same as if you telnet to 127.0.0.1 directly, right? -- Jeffrey M. Vinocur jeff@litech.org
Re: HELP!!
Author: Mysterious Traveller
Date: Thu, 21 Mar 2002 23:39
Date: Thu, 21 Mar 2002 23:39
34 lines
2255 bytes
2255 bytes
On Thu, 21 Mar 2002 20:14:29 +0000 (UTC), jeff@litech.org (Jeffrey M.
Vinocur) wrote:
>In article <jv4k9ukqpib70i0e0qvdkj0d9omojlpf8f@4ax.com>,
>Mysterious Traveller <traveller@whiskeyhouse.com> wrote:
>>
>>From the Linux machine, if I telnet to 192.168.1.101 nntp, the connection
>>closes immediately.
>>If I telnet to localhost nntp, I get the following:
>>Trying ::1...
>>telnet: connect to address ::1: Connection refused
>
>You have a kernel with IPv6 support, it seems. (If you're using
>a CURRENT snapshot, you can even build INN with IPv6 support.)
>Don't worry about it.
I'm running SuSE 7.1.... can't remember off the top of my head, but it's
either 2.2.14 or 2.2.16 kernel.
>
>
>>Trying 127.0.0.1...
>>Connected to localhost
>
>This part is the same as if you telnet to 127.0.0.1 directly,
>right?
Correct.
--
The traveller is always leaving town
He never has the time to turn around
And if the road he's taken isn't leading anywhere
He seems to be completely unaware
-Alan Parson's Project
Re: HELP!!
Author: Mysterious Traveller
Date: Fri, 22 Mar 2002 23:04
Date: Fri, 22 Mar 2002 23:04
15 lines
1803 bytes
1803 bytes
I'm able to connect now, it was a misconfiguration in the readers.conf
file... I had changed the local ip range to match my setup, but had left
example.com in as the domain (duh). So, now I can connect from any machine
on my LAN, with no username/password (which is correct), but cannot seem to
download any of the groups that are set up in the active file.
--
The traveller is always leaving town
He never has the time to turn around
And if the road he's taken isn't leading anywhere
He seems to be completely unaware
-Alan Parson's Project
Re: HELP!!
Author: Jeffrey M. Vinocur
Date: Fri, 22 Mar 2002 23:26
Date: Fri, 22 Mar 2002 23:26
26 lines
1943 bytes
1943 bytes
In article <21en9u40vmrmin3d6all913a9cgvhutsa7@4ax.com>, Mysterious Traveller <traveller@whiskeyhouse.com> wrote: >I'm able to connect now, it was a misconfiguration in the readers.conf >file... I had changed the local ip range to match my setup, but had left >example.com in as the domain (duh). But...I thought you were getting no output (no welcome banner, no permission denied message, no logs). Oh well, doesn't matter now. >So, now I can connect from any machine on my LAN, with no >username/password (which is correct), but cannot seem to >download any of the groups that are set up in the active file. The groups aren't listed, or they're empty? Telnet to port 119, send "mode reader", and then send "list". If you see the groups, then your readers.conf is correct. -- Jeffrey M. Vinocur jeff@litech.org
Re: HELP!!
Author: Mysterious Traveller
Date: Sun, 24 Mar 2002 06:07
Date: Sun, 24 Mar 2002 06:07
54 lines
3038 bytes
3038 bytes
On Fri, 22 Mar 2002 23:26:57 +0000 (UTC), jeff@litech.org (Jeffrey M.
Vinocur) wrote:
>In article <21en9u40vmrmin3d6all913a9cgvhutsa7@4ax.com>,
>Mysterious Traveller <traveller@whiskeyhouse.com> wrote:
>>I'm able to connect now, it was a misconfiguration in the readers.conf
>>file... I had changed the local ip range to match my setup, but had left
>>example.com in as the domain (duh).
>
>But...I thought you were getting no output (no welcome banner, no
>permission denied message, no logs).
I wasn't. Because I left readers.conf set up with example.com instead of
substituting my domain, apparently, it was simply ignoring all attempts to
connect.
>
>Oh well, doesn't matter now.
>
>
>>So, now I can connect from any machine on my LAN, with no
>>username/password (which is correct), but cannot seem to
>>download any of the groups that are set up in the active file.
>
>The groups aren't listed, or they're empty?
They weren't being listed.... I figured it out, another "fat finger
episode"
This line:
users: "<local>@mydomain.com"
was set up as:
users: "<local>mydomain.com"
>
>Telnet to port 119, send "mode reader", and then send "list". If
>you see the groups, then your readers.conf is correct.
This is how I figured it out... if I did telnet to the IP, and sent these
commands, it didn't work... then I got the bright idea to telnet localhost
119 and issue these commands.... voila!! And even connected from Agent on
another machine in the LAN and d'loaded the groups.
Now to set up the outside access...
Stay tuned, folks.
Same Bat-Time
Same Bat-Channel
--
The traveller is always leaving town
He never has the time to turn around
And if the road he's taken isn't leading anywhere
He seems to be completely unaware
-Alan Parson's Project
Re: HELP!!
Author: Mysterious Traveller
Date: Tue, 26 Mar 2002 03:43
Date: Tue, 26 Mar 2002 03:43
37 lines
2186 bytes
2186 bytes
On Sun, 24 Mar 2002 01:07:58 -0500, Mysterious Traveller
<traveller@whiskeyhouse.com> wrote:
>Now to set up the outside access...
>Stay tuned, folks.
>Same Bat-Time
>Same Bat-Channel
Here's the code that I put into the readers.conf file:
############################################
auth all {
auth: "checkpasswd -f /usr/local/news/db/newspass"
}
access full {
users: *
newsgroups: *
}
############################################
The good news: Outside folks can log in to the news server just fine.
The bad news: They can do it without a password.
I used htpasswd -c to create the password file, and ckpasswd has been
chmod-ed for suid. Am I missing something here?
--
The traveller is always leaving town
He never has the time to turn around
And if the road he's taken isn't leading anywhere
He seems to be completely unaware
-Alan Parson's Project
Re: HELP!!
Author: Mysterious Traveller
Date: Tue, 26 Mar 2002 04:41
Date: Tue, 26 Mar 2002 04:41
40 lines
2435 bytes
2435 bytes
On Mon, 25 Mar 2002 22:43:57 -0500, Mysterious Traveller
<traveller@whiskeyhouse.com> wrote:
>On Sun, 24 Mar 2002 01:07:58 -0500, Mysterious Traveller
><traveller@whiskeyhouse.com> wrote:
>
>>Now to set up the outside access...
>>Stay tuned, folks.
>>Same Bat-Time
>>Same Bat-Channel
>
>Here's the code that I put into the readers.conf file:
>
>############################################
>auth all {
> auth: "checkpasswd -f /usr/local/news/db/newspass"
errrm.... this should be ckpasswd
>}
>
>access full {
> users: *
> newsgroups: *
>}
>############################################
>
>The good news: Outside folks can log in to the news server just fine.
>
>The bad news: They can do it without a password.
>
>I used htpasswd -c to create the password file, and ckpasswd has been
>chmod-ed for suid. Am I missing something here?
--
The traveller is always leaving town
He never has the time to turn around
And if the road he's taken isn't leading anywhere
He seems to be completely unaware
-Alan Parson's Project
Re: HELP!!
Author: Russ Allbery
Date: Tue, 26 Mar 2002 04:48
Date: Tue, 26 Mar 2002 04:48
34 lines
2274 bytes
2274 bytes
Mysterious Traveller <traveller@whiskeyhouse.com> writes:
> Here's the code that I put into the readers.conf file:
> ############################################
> auth all {
> auth: "checkpasswd -f /usr/local/news/db/newspass"
> }
> access full {
> users: *
> newsgroups: *
> }
> ############################################
> The good news: Outside folks can log in to the news server just fine.
> The bad news: They can do it without a password.
Is that the entirety of your readers.conf file?
> I used htpasswd -c to create the password file, and ckpasswd has been
> chmod-ed for suid. Am I missing something here?
ckpasswd doesn't need to be setuid in this configuration (but that isn't
the source of your problem). I suspect other stray clauses in
readers.conf.
--
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: HELP!!
Author: Mysterious Traveller
Date: Tue, 26 Mar 2002 20:59
Date: Tue, 26 Mar 2002 20:59
76 lines
3081 bytes
3081 bytes
On Mon, 25 Mar 2002 20:48:21 -0800, Russ Allbery <rra@stanford.edu> wrote:
>Is that the entirety of your readers.conf file?
>
No, but here it is:
####################################
# Grant full access from localhost #
####################################
auth "localhost" {
hosts: "localhost, 127.0.0.1, stdin"
default: "<localhost>"
}
access "localhost" {
users: "<localhost>"
newsgroups: "*"
access: RPA
}
#########################################
# Grant full access from within the LAN #
#########################################
auth "local" {
hosts: "*.mydomain.com, 192.168.1.0/24"
default: "<local>@mydomain.com"
}
access "local" {
users: "<local>@mydomain.com"
newsgroups: "*"
}
#######################################################
# Grant full access to outside users who are verified #
#######################################################
auth all {
auth: "ckpasswd -f /usr/local/news/db/newspass"
}
access full {
users: *
newsgroups: *
}
#######
# EOF #
#######
The only thing here that is different is that I did not post the actual
domain name.... <wouldn't that be a cute trick?>
>> I used htpasswd -c to create the password file, and ckpasswd has been
>> chmod-ed for suid. Am I missing something here?
>
>ckpasswd doesn't need to be setuid in this configuration (but that isn't
>the source of your problem). I suspect other stray clauses in
>readers.conf.
If you spot anything above, you will have my sincere gratitude.
--
The traveller is always leaving town
He never has the time to turn around
And if the road he's taken isn't leading anywhere
He seems to be completely unaware
-Alan Parson's Project
Re: HELP!!
Author: Jeffrey M. Vinocur
Date: Tue, 26 Mar 2002 21:35
Date: Tue, 26 Mar 2002 21:35
75 lines
2800 bytes
2800 bytes
In article <92o1aus33juobr4jp7q2i2450na20qj4vf@4ax.com>,
Mysterious Traveller <traveller@whiskeyhouse.com> wrote:
>On Mon, 25 Mar 2002 20:48:21 -0800, Russ Allbery <rra@stanford.edu> wrote:
>
>
>>Is that the entirety of your readers.conf file?
>>
>No, but here it is:
>
>####################################
># Grant full access from localhost #
>####################################
>
>auth "localhost" {
> hosts: "localhost, 127.0.0.1, stdin"
> default: "<localhost>"
>}
>
>
>access "localhost" {
> users: "<localhost>"
> newsgroups: "*"
> access: RPA
>}
>
>#########################################
># Grant full access from within the LAN #
>#########################################
>
>auth "local" {
> hosts: "*.mydomain.com, 192.168.1.0/24"
> default: "<local>@mydomain.com"
>}
>
>
>access "local" {
> users: "<local>@mydomain.com"
> newsgroups: "*"
>}
>
>#######################################################
># Grant full access to outside users who are verified #
>#######################################################
>
>auth all {
> auth: "ckpasswd -f /usr/local/news/db/newspass"
>}
>
>access full {
> users: *
> newsgroups: *
>}
>
>#######
># EOF #
>#######
Hehe. You have not yet become One with your readers.conf.
A couple things:
- The last matching access group is used. Thus the "full" access
group will mask all of your other access groups.
- You might need to to put "default: <fail>" in your "all" auth
group and then add a new access group at the very bottom that
has "users: <fail>".
I think that will do it.
--
Jeffrey M. Vinocur
jeff@litech.org
Re: HELP!!
Author: Mysterious Traveller
Date: Thu, 28 Mar 2002 04:05
Date: Thu, 28 Mar 2002 04:05
92 lines
3570 bytes
3570 bytes
OK, I changed this:
>>#######################################################
>># Grant full access to outside users who are verified #
>>#######################################################
>>
>>auth all {
>> auth: "ckpasswd -f /usr/local/news/db/newspass"
>>}
>>
>>access full {
>> users: *
>> newsgroups: *
>>}
>>
>>#######
>># EOF #
>>#######
>
To This:
#######################################################
# Grant full access to outside users who are verified #
#######################################################
auth all {
auth: "ckpasswd -f /usr/local/news/db/newspass"
default: <FAIL>
}
access full {
users: *
newsgroups: *
}
access fail {
users: "<FAIL>@*"
newsgroups: !*
}
#######
# EOF #
#######
I can still log in from the outside world with no password. Here is what
is in the news.notice log from those connections:
>>First Try
Mar 27 16:19:56 houston nnrpd[21124]: SERVER perl filtering enabled
Mar 27 16:19:57 houston nnrpd[21124]: user-105n8vj.dialup.mindspring.com
connect
Mar 27 16:29:57 houston nnrpd[21124]: user-105n8vj.dialup.mindspring.com
timeout
Mar 27 16:29:57 houston nnrpd[21124]: user-105n8vj.dialup.mindspring.com
times u
ser 0.040 system 0.000 elapsed 600.386
>>Second Try
Mar 27 17:53:30 houston nnrpd[22608]: SERVER perl filtering enabled
Mar 27 17:53:40 houston nnrpd[22608]: ? cant gethostbyaddr 64.91.171.2 Host
name
lookup failure -- using IP address for access
Mar 27 17:53:40 houston nnrpd[22608]: 64.91.171.2 connect
Mar 27 17:53:58 houston nnrpd[22608]: 64.91.171.2 times user 0.010 system
0.020
elapsed 28.529
>Hehe. You have not yet become One with your readers.conf.
>
>A couple things:
>
>- The last matching access group is used. Thus the "full" access
> group will mask all of your other access groups.
>
>- You might need to to put "default: <fail>" in your "all" auth
> group and then add a new access group at the very bottom that
> has "users: <fail>".
>
>I think that will do it.
Did I set up the default: <fail> improperly?
--
The traveller is always leaving town
He never has the time to turn around
And if the road he's taken isn't leading anywhere
He seems to be completely unaware
-Alan Parson's Project
Re: HELP!!
Author: Russ Allbery
Date: Thu, 28 Mar 2002 05:05
Date: Thu, 28 Mar 2002 05:05
15 lines
1600 bytes
1600 bytes
Mysterious Traveller <traveller@whiskeyhouse.com> writes:
> access fail {
> users: "<FAIL>@*"
> newsgroups: !*
> }
No @*. Just <FAIL>.
--
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: HELP!!
Author: Mysterious Traveller
Date: Thu, 28 Mar 2002 10:18
Date: Thu, 28 Mar 2002 10:18
23 lines
1862 bytes
1862 bytes
On Wed, 27 Mar 2002 21:05:40 -0800, Russ Allbery <rra@stanford.edu> wrote:
>Mysterious Traveller <traveller@whiskeyhouse.com> writes:
>
>> access fail {
>> users: "<FAIL>@*"
>> newsgroups: !*
>> }
>
>No @*. Just <FAIL>.
Changed it, and got the same results. I'm starting to get real frustrated
over here.....
--
The traveller is always leaving town
He never has the time to turn around
And if the road he's taken isn't leading anywhere
He seems to be completely unaware
-Alan Parson's Project
Re: HELP!!
Author: Jeffrey M. Vinocur
Date: Thu, 28 Mar 2002 17:27
Date: Thu, 28 Mar 2002 17:27
23 lines
1710 bytes
1710 bytes
In article <ler5augg0eodl3g8u15isl964d0qfdk9ja@4ax.com>,
Mysterious Traveller <traveller@whiskeyhouse.com> wrote:
>On Wed, 27 Mar 2002 21:05:40 -0800, Russ Allbery <rra@stanford.edu> wrote:
>
>>Mysterious Traveller <traveller@whiskeyhouse.com> writes:
>>
>>> access fail {
>>> users: "<FAIL>@*"
>>> newsgroups: !*
>>> }
>>
>>No @*. Just <FAIL>.
>
>Changed it, and got the same results.
Hmmm. Now that is weird, the previous config should work. There
are no other blocks in your readers.conf, right?
--
Jeffrey M. Vinocur
jeff@litech.org
Re: HELP!!
Author: Mysterious Traveller
Date: Thu, 28 Mar 2002 17:29
Date: Thu, 28 Mar 2002 17:29
34 lines
2254 bytes
2254 bytes
On Thu, 28 Mar 2002 17:27:02 +0000 (UTC), jeff@litech.org (Jeffrey M.
Vinocur) wrote:
>In article <ler5augg0eodl3g8u15isl964d0qfdk9ja@4ax.com>,
>Mysterious Traveller <traveller@whiskeyhouse.com> wrote:
>>On Wed, 27 Mar 2002 21:05:40 -0800, Russ Allbery <rra@stanford.edu> wrote:
>>
>>>Mysterious Traveller <traveller@whiskeyhouse.com> writes:
>>>
>>>> access fail {
>>>> users: "<FAIL>@*"
>>>> newsgroups: !*
>>>> }
>>>
>>>No @*. Just <FAIL>.
>>
>>Changed it, and got the same results.
>
>Hmmm. Now that is weird, the previous config should work. There
>are no other blocks in your readers.conf, right?
Nope.... what I posted last night is the file in it's entirety.... I
deleted alll the sample configs so that I could avoid confusion.
--
The traveller is always leaving town
He never has the time to turn around
And if the road he's taken isn't leading anywhere
He seems to be completely unaware
-Alan Parson's Project
Re: HELP!!
Author: Jeffrey M. Vinocur
Date: Thu, 28 Mar 2002 17:31
Date: Thu, 28 Mar 2002 17:31
21 lines
1600 bytes
1600 bytes
In article <rlk6auklje9e2mici23149qdv78fpbv16h@4ax.com>, Mysterious Traveller <traveller@whiskeyhouse.com> wrote: >On Thu, 28 Mar 2002 17:27:02 +0000 (UTC), jeff@litech.org (Jeffrey M. >Vinocur) wrote: > >>Hmmm. Now that is weird, the previous config should work. There >>are no other blocks in your readers.conf, right? > >Nope.... what I posted last night is the file in it's entirety.... Oh wait, add hosts: * to your auth block. -- Jeffrey M. Vinocur jeff@litech.org
Re: HELP!!
Author: Mysterious Traveller
Date: Thu, 28 Mar 2002 23:32
Date: Thu, 28 Mar 2002 23:32
54 lines
2553 bytes
2553 bytes
On Thu, 28 Mar 2002 17:31:39 +0000 (UTC), jeff@litech.org (Jeffrey M.
Vinocur) wrote:
>In article <rlk6auklje9e2mici23149qdv78fpbv16h@4ax.com>,
>Mysterious Traveller <traveller@whiskeyhouse.com> wrote:
>>On Thu, 28 Mar 2002 17:27:02 +0000 (UTC), jeff@litech.org (Jeffrey M.
>>Vinocur) wrote:
>>
>>>Hmmm. Now that is weird, the previous config should work. There
>>>are no other blocks in your readers.conf, right?
>>
>>Nope.... what I posted last night is the file in it's entirety....
>
>Oh wait, add
>
> hosts: *
>
>to your auth block.
OK, changed the full auth/access block to this:
#######################################################
# Grant full access to outside users who are verified #
#######################################################
auth all {
hosts: *
auth: "ckpasswd -f /usr/local/news/db/newspass"
default: <FAIL>
}
access full {
users: *
newsgroups: *
}
access fail {
users: "<FAIL>"
newsgroups: !*
}
Same results.... it allows access from outside without a username/password.
I know this is going to be something very minor, but it's driving me buggy
at this point.
--
The traveller is always leaving town
He never has the time to turn around
And if the road he's taken isn't leading anywhere
He seems to be completely unaware
-Alan Parson's Project
Re: HELP!!
Author: Jeffrey M. Vinocur
Date: Fri, 29 Mar 2002 01:46
Date: Fri, 29 Mar 2002 01:46
23 lines
1624 bytes
1624 bytes
In article <0s97au0llbbp3gc6st835fuus4bab0124a@4ax.com>,
Mysterious Traveller <traveller@whiskeyhouse.com> wrote:
>
> default: <FAIL>
Try putting making this
default: "<FAIL>"
just in case.
If that doesn't work, open up your syslog.conf and add a line for
news.debug just like all of the other news.whatever lines, and
then HUP syslogd. You'll get some very verbose logging, but if
you grep the nnrpd stuff out of there it should be helpful.
--
Jeffrey M. Vinocur
jeff@litech.org
Re: HELP!!
Author: Mysterious Traveller
Date: Tue, 02 Apr 2002 05:42
Date: Tue, 02 Apr 2002 05:42
74 lines
3326 bytes
3326 bytes
On Fri, 29 Mar 2002 01:46:08 +0000 (UTC), jeff@litech.org (Jeffrey M.
Vinocur) wrote:
>In article <0s97au0llbbp3gc6st835fuus4bab0124a@4ax.com>,
>Mysterious Traveller <traveller@whiskeyhouse.com> wrote:
>>
>> default: <FAIL>
>
>Try putting making this
>
> default: "<FAIL>"
>
>just in case.
>
>
>
>If that doesn't work, open up your syslog.conf and add a line for
>news.debug just like all of the other news.whatever lines, and
>then HUP syslogd. You'll get some very verbose logging, but if
>you grep the nnrpd stuff out of there it should be helpful.
Tried the above with no difference. Here is the readers.conf as it stands
now... the rest of the file has been commented out to preclude possible
interference from other auth groups:
#######################################################
# Grant full access to outside users who are verified #
#######################################################
auth all {
hosts: *
auth: "ckpasswd -f /usr/local/news/db/newspass"
default: <FAIL>
}
access full {
users: *
newsgroups: *
}
access fail {
users: <FAIL>
newsgroups: !*
}
Here's the debug listing from an access by a dial-up user not on the LAN,
which succeeded without a password:
Apr 2 01:40:54 houston nnrpd[7362]: Reading config from
/usr/local/news/etc/inn.conf
Apr 2 01:40:54 houston nnrpd[7362]: SERVER perl filtering enabled
Apr 2 01:40:55 houston nnrpd[7362]: user-105n9d0.dialup.mindspring.com
connect
Apr 2 01:40:55 houston nnrpd[7362]: Reading access from
/usr/local/news/etc/readers.conf
Apr 2 01:40:55 houston nnrpd[7362]: user-105n9d0.dialup.mindspring.com res
<FAIL>
Apr 2 01:40:55 houston nnrpd[7362]: user-105n9d0.dialup.mindspring.com
match_user <FAIL> <FAIL>
Apr 2 01:45:55 houston nnrpd[7362]: user-105n9d0.dialup.mindspring.com
times user 0.040 system 0.000 elapsed 300.731
Any clue?
--
The traveller is always leaving town
He never has the time to turn around
And if the road he's taken isn't leading anywhere
He seems to be completely unaware
-Alan Parson's Project
Re: HELP!!
Author: Jeffrey M. Vinocur
Date: Tue, 02 Apr 2002 06:35
Date: Tue, 02 Apr 2002 06:35
48 lines
2305 bytes
2305 bytes
In article <01hiau467mimsfffq4gotm9jol6mpp7ps0@4ax.com>,
Mysterious Traveller <traveller@whiskeyhouse.com> wrote:
>
>Tried the above with no difference. Here is the readers.conf as it stands
>now... the rest of the file has been commented out to preclude possible
>interference from other auth groups:
>
>#######################################################
># Grant full access to outside users who are verified #
>#######################################################
>
>auth all {
> hosts: *
> auth: "ckpasswd -f /usr/local/news/db/newspass"
> default: <FAIL>
>}
>
>access full {
> users: *
> newsgroups: *
>}
>
>
>access fail {
> users: <FAIL>
> newsgroups: !*
>}
>
>
>Here's the debug listing from an access by a dial-up user not on the LAN,
>which succeeded without a password:
>
>Apr 2 01:40:55 houston nnrpd[7362]: user-105n9d0.dialup.mindspring.com
>match_user <FAIL> <FAIL>
So it's matching the second access stanza. And you were able to
see groups doing this!?
(If you remove the "default" line entirely it will return
"authentication required" until the user authenticates, does that
work for you?)
--
Jeffrey M. Vinocur
jeff@litech.org
Re: HELP!!
Author: Mysterious Traveller
Date: Thu, 04 Apr 2002 05:15
Date: Thu, 04 Apr 2002 05:15
34 lines
2536 bytes
2536 bytes
On Tue, 2 Apr 2002 06:35:33 +0000 (UTC), jeff@litech.org (Jeffrey M.
Vinocur) wrote:
>So it's matching the second access stanza. And you were able to
>see groups doing this!?
>
>(If you remove the "default" line entirely it will return
>"authentication required" until the user authenticates, does that
>work for you?)
Yanno, sometimes I can be a real dunce.... it allows the connection, but I
never checked to see if you could actually *do* anything once connected.
You can't, not without the password.
I'm now faced with yet another dilema..... I set this machine up as with
xrefslave set to true in the inn.conf file, so that the machine I'm
d'loading from can set all the message ID's....
One problem. The master server is currently running on Hamster, and it
doesn't seem to have an option to do a feed. I'm guessing that I'm going
to have to figure out how to use suck to get the messages. I'll spend the
next few days reading the man page (that's a long sucker), and I'm sure
I'll be back with more stupid admin questions....
Thank you for all your help on this.
--
The traveller is always leaving town
He never has the time to turn around
And if the road he's taken isn't leading anywhere
He seems to be completely unaware
-Alan Parson's Project
Re: HELP!!
Author: Jeffrey M. Vinocur
Date: Thu, 04 Apr 2002 05:34
Date: Thu, 04 Apr 2002 05:34
29 lines
1893 bytes
1893 bytes
In article <tunnauoggftf31iopgre86qeuh32piae40@4ax.com>, Mysterious Traveller <traveller@whiskeyhouse.com> wrote: > >One problem. The master server is currently running on Hamster, and it >doesn't seem to have an option to do a feed. No idea about Hamster, but could be. I think the Hamster folk are in some special hierarchy, if you need them. >I'm guessing that I'm going to have to figure out how to use >suck to get the messages. Could be. I've never used it either. >I'll spend the next few days reading the man page (that's a long >sucker) Indeed. I figured it was easier just to get somebody to feed me (and did). A thought: can you change the roles of your machines, and make the INN master and Hamster slave? -- Jeffrey M. Vinocur jeff@litech.org
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