Thread View: news.software.nntp
3 messages
3 total messages
Started by Tilman Bohn
Wed, 27 Jan 1999 00:00
INN and Different Read/Post Access for Different People
Author: Tilman Bohn
Date: Wed, 27 Jan 1999 00:00
Date: Wed, 27 Jan 1999 00:00
54 lines
2908 bytes
2908 bytes
Hi everybody. I looked through the FAQs and nnrp.access man page but wasn't able to really clear this up. Apologies if there is a current thread discussing this, but in case there is, I couldn't find it due to the recent slew of rogue supersedes... I'm a totally small time admin running a private news server here that carries both external groups (exchanged with my provider's server via newsx) and local ones. (Running INN 1.5.1 -- I know it's old, but for this little machine it's serving its purpose. If upgrading would make what I'm trying to do easier though, I'll do it.) Now I'd like to control access in the following way: Everyone on the local intranet should be able to read everything, but post only to the local groups without authentication; people authenti� cating themselves should be able to post to external groups as well. Alternatively, posting to all groups could be allowed without authentication for individual machines. I don't want everyone and their grandmother to post to all groups because I'm paying real money for the connection when ex� changing news with my provider. However, I'd like to offer post� ing access for my friends down the hall. I've tried several combinations of lines in nnrp.access, but they always turned out to either not allow access at all, or al� low posting to all groups. I've tried something like 192.168.*:P: : :* 192.168.*:R:::* 192.168.*:RP:::!*,urizen.* 192.168.41.14:RP:his:password:* localhost:RP:my:password:* and many other varieties, to no avail. The machine specific lines usually worked fine, but how to get everyone else to be able to read all groups but post only to urizen.*? I've read nnrp.ac� cess(5) many times, but it isn't all to clear about the precise matching rules. In case this should make a difference, some of the people will be using netscrape or (God forbid) IE to connect. We used NS on my friend's machine to test the setup. Many thanks in advance for any input on this! -- Cheers, Tilman
Re: INN and Different Read/Post Access for Different People
Author: Tilman Bohn
Date: Wed, 27 Jan 1999 00:00
Date: Wed, 27 Jan 1999 00:00
44 lines
2540 bytes
2540 bytes
In message <78no26$aed$1@panix7.panix.com>,
Aidan Cully wrote on 27 Jan 1999 14:05:42 -0500:
> Snapshots of the INN 2.3 tree since, what, November? have a new config
> file that replaces the old nnrp.access called readers.conf. Try looking
> at its docs.
> ftp://ftp.isc.org/isc/inn/snapshots/
Thanks! I'll check that out as soon as I can find the time.
[...]
> With the readers.conf, I don't know that we support plain-text passwords
> yet.. I guess I'll have to add support for that. Anyway, an equivalent
> readers.conf that should do what you want is:
[...]
Ah. Yes, it seems having separate auth and access stanzas would be
the right thing to make the config file more transparent and easier to
set up.
> I'm still doing work on the readers.conf (well, as I get the time I do
> work on the readers.conf), so the format is not completely nailed down,
> yet.. 2.3 is still development software, so you should be much more
> careful using it.
's ok. As I said, it's a small machine with just a handful of users
max, so smaller glitches should not be a problem.
But I'm still curious: it *should* be possible to achieve the same
thing with the old nnrp.access, shouldn't it? Maybe I'll play around
with that some more at some point too, just to satisfy my curiosity.
Maybe I should just read the source to see how the file really gets
parsed.
Anyway, thanks again!
--
Cheers, Tilman
Aleph-null bottles of beer on the wall,
Aleph-null bottles of beer,
You take one down, and pass it around,
Aleph-null bottles of beer on the wall.
Re: INN and Different Read/Post Access for Different People
Author: Aidan Cully
Date: Wed, 27 Jan 1999 00:00
Date: Wed, 27 Jan 1999 00:00
73 lines
3101 bytes
3101 bytes
In news.software.nntp, tilman@gmx.de wrote:
> Hi everybody.
>
> I looked through the FAQs and nnrp.access man page but wasn't
> able to really clear this up. Apologies if there is a current
> thread discussing this, but in case there is, I couldn't find it
> due to the recent slew of rogue supersedes...
>
> I'm a totally small time admin running a private news server
> here that carries both external groups (exchanged with my
> provider's server via newsx) and local ones. (Running INN 1.5.1
> -- I know it's old, but for this little machine it's serving its
> purpose. If upgrading would make what I'm trying to do easier
> though, I'll do it.)
Snapshots of the INN 2.3 tree since, what, November? have a new config
file that replaces the old nnrp.access called readers.conf. Try looking
at its docs.
ftp://ftp.isc.org/isc/inn/snapshots/
> Now I'd like to control access in the following way: Everyone
> on the local intranet should be able to read everything, but post
> only to the local groups without authentication; people authenti-
> cating themselves should be able to post to external groups as
> well. Alternatively, posting to all groups could be allowed
> without authentication for individual machines.
...
> I've tried something like
>
> 192.168.*:P: : :*
> 192.168.*:R:::*
> 192.168.*:RP:::!*,urizen.*
> 192.168.41.14:RP:his:password:*
> localhost:RP:my:password:*
With the readers.conf, I don't know that we support plain-text passwords
yet.. I guess I'll have to add support for that. Anyway, an equivalent
readers.conf that should do what you want is:
auth "default" {
hosts: "192.168.*"
default: "<local-user>"
}
auth "default" {
hosts: "*"
auth: "ckpasswd"
}
access "default" {
users: "*"
newsgroups: "*"
access: "Read Post"
}
access "default" {
users: "<local-user>"
read: "*"
post: "!*,urizen.*"
}
I'm still doing work on the readers.conf (well, as I get the time I do
work on the readers.conf), so the format is not completely nailed down,
yet.. 2.3 is still development software, so you should be much more
careful using it.
--aidan
--
Aidan Cully "Umm.. Could you call back? My house is on fire."
Panix Staff --Tom Waits
aidan@panix.com
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