🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
9 messages
9 total messages Started by Simone Sestini Tue, 28 Sep 1999 00:00
Inn 2.2.1 local newsgroups
#40187
Author: Simone Sestini
Date: Tue, 28 Sep 1999 00:00
64 lines
2547 bytes
Hi all..

I need to setup some kind of local newsgroups for one of my customer.
I tested the simple configuration under INN 2.2 but after that i
upgraded to INN 2.2.1 and the feeds won't start anymore.

What i found out is that..


========== CUT HERE ============
Subject: (6.18) Add local newsgroups? 

Q: Does anyone have a cookbook example on how to create a local news
group? 

These are the steps ..

1) Make sure your innd is running 2) Add the group with: ctlinnd
newgroup local.group 3) Add entries to newsfeeds to restrict the local
groups to your 

   organization:
        ME:!local.*::

        out.going.site:*,!local.*:Tf,Wnm:

4) Add a descriptive entry to newsgroups 5) Ready :) 

Please consider, that local is a very common name for local groups, so
if a user crossposts to local.test and misc.test the article will show
up in all local.test over the
world. So please choose a 'better' name.
========== CUT HERE ============


So i did this one..

I added the newsgroup swith the ctlinnd command then i went to the
edit the newsfeeds file under the etc dir


MYORGANIZATION:          
        ME:!local_project.*::
        my.news.server.here:*,!local_project.*:Tf,Wnm:

Before all was working great but now with INN 2.2.1 nothing seem to
work correctly.. when i restart the server it go down with that error
over syslog

Sep 27 19:38:28 auth2 innd: SERVER syntax_error
/usr/local/news/etc/newsfeeds
Sep 27 19:38:28 auth2 innd: iunet closed
Sep 27 19:38:28 auth2 innd:         ME closed
Sep 27 19:38:28 auth2 innd:         mynews.server.here closed
Sep 27 19:38:28 auth2 innd: control:12 closed
Sep 27 19:38:28 auth2 innd: localconn:14 closed
Sep 27 19:38:28 auth2 innd: remconn:4 closed


Someone know how to fix that problem or what i'm doing bad ?

Thanks in advice for any kind of help.

Re: Inn 2.2.1 local newsgroups
#40182
Author: Russ Allbery
Date: Tue, 28 Sep 1999 00:00
27 lines
1393 bytes
Simone Sestini <simone.sestini@plugit.net> writes:

> 1) Make sure your innd is running 2) Add the group with: ctlinnd
> newgroup local.group 3) Add entries to newsfeeds to restrict the local
> groups to your 

>    organization:
>         ME:!local.*::

>         out.going.site:*,!local.*:Tf,Wnm:

There's an unfortunate formatting error in wherever you found those
instructions.  The "organization:" part is part of the preceeding
paragraph and shouldn't be put into newsfeeds.

> MYORGANIZATION:          
>         ME:!local_project.*::
>         my.news.server.here:*,!local_project.*:Tf,Wnm:

Delete the "MYORGANIZATION:" line.  That's the syntax error.  The other
lines don't have to be indented either, but it probably isn't hurting
anything.

-- 
Russ Allbery (rra@stanford.edu)         <URL:http://www.eyrie.org/~eagle/>

Re: Inn 2.2.1 local newsgroups
#40223
Author: Simone Sestini
Date: Wed, 29 Sep 1999 00:00
44 lines
2083 bytes
On 28 Sep 1999 07:36:34 -0700, Russ Allbery <rra@stanford.edu> wrote:

>Simone Sestini <simone.sestini@plugit.net> writes:
>
>> 1) Make sure your innd is running 2) Add the group with: ctlinnd
>> newgroup local.group 3) Add entries to newsfeeds to restrict the local
>> groups to your 
>
>>    organization:
>>         ME:!local.*::
>
>>         out.going.site:*,!local.*:Tf,Wnm:
>
>There's an unfortunate formatting error in wherever you found those
>instructions.  The "organization:" part is part of the preceeding
>paragraph and shouldn't be put into newsfeeds.
>
>> MYORGANIZATION:          
>>         ME:!local_project.*::
>>         my.news.server.here:*,!local_project.*:Tf,Wnm:
>
>Delete the "MYORGANIZATION:" line.  That's the syntax error.  The other
>lines don't have to be indented either, but it probably isn't hurting
>anything.

Thanks Russ it work..

The other thing i will need to do is to setup some special security on
those kinds of local newsgroups.

For examples. i wanna that only user pippo with password pluto should
have access to the local_project.* newsgroup.

I checked the nnrp.access file and i tried a lot of config but without
any good news..

Any idea ?

>
>-- 
>Russ Allbery (rra@stanford.edu)         <URL:http://www.eyrie.org/~eagle/>


Re: Inn 2.2.1 local newsgroups
#40240
Author: Russ Allbery
Date: Wed, 29 Sep 1999 00:00
19 lines
1131 bytes
Simone Sestini <simone.sestini@plugit.net> writes:

> The other thing i will need to do is to setup some special security on
> those kinds of local newsgroups.

> For examples. i wanna that only user pippo with password pluto should
> have access to the local_project.* newsgroup.

Something like:

*:RP:pippo:pluto:local_project.*

and make sure you have ,!local_project.* on all other lines in nnrp.access
should do it.

-- 
Russ Allbery (rra@stanford.edu)         <URL:http://www.eyrie.org/~eagle/>

Re: Inn 2.2.1 local newsgroups
#40276
Author: bill davidsen
Date: Thu, 30 Sep 1999 00:00
32 lines
2054 bytes
In article <ylvh8tfuy7.fsf@windlord.stanford.edu>,
Russ Allbery  <rra@stanford.edu> wrote:
| Simone Sestini <simone.sestini@plugit.net> writes:
| 
| > The other thing i will need to do is to setup some special security on
| > those kinds of local newsgroups.
| 
| > For examples. i wanna that only user pippo with password pluto should
| > have access to the local_project.* newsgroup.
| 
| Something like:
| 
| *:RP:pippo:pluto:local_project.*
| 
| and make sure you have ,!local_project.* on all other lines in nnrp.access
| should do it.

  Is there any documentation on doing this in the new enhanced
inn-2.[23] with readers.conf? I think this stuff rots beyond belief for
any site which has a lot of by-IP and by-password validation in 2.0.

  I'm still running a couple of old servers bacause of this, until I
retrofit the working code back into 2.3 or find a way of doing this with
readers.conf which doesn't take 3 sec/connect of CPU time.

-- 
bill davidsen <davidsen@tmr.com>  CTO, TMR Associates, Inc
  When taking small children to a carnival, always have them go potty
*before* you let them go on the rides, and let them eat all the junk
food and candy *after*.

Re: Inn 2.2.1 local newsgroups
#40963
Author: Marius Kaizerman
Date: Tue, 19 Oct 1999 00:00
29 lines
1675 bytes
> > For examples. i wanna that only user pippo with password pluto should
> > have access to the local_project.* newsgroup.
>
> Something like:
>
> *:RP:pippo:pluto:local_project.*
>
> and make sure you have ,!local_project.* on all other lines in nnrp.access
> should do it.

This is not working as expected. For example,
I want that any user from any host can access the
whole groups without a username and password
except the local.food group. I'm using inn-2.2-8
on RH6 and my nnrp.access file includes the following lines:

*:RP:::*,!local.food
*:RP:user:passwd:local.food

The result is that inn asks for a password for ANY group
accessed, and not only the local.food one, untill I'm
removing the 2nd line.

Marius.




Re: Inn 2.2.1 local newsgroups
#40970
Author: Marius Kaizerman
Date: Wed, 20 Oct 1999 00:00
28 lines
1885 bytes

> > This is not working as expected. For example, I want that any user from
> > any host can access the whole groups without a username and password
> > except the local.food group. I'm using inn-2.2-8 on RH6 and my
> > nnrp.access file includes the following lines:
>
> > *:RP:::*,!local.food
> > *:RP:user:passwd:local.food
>
> > The result is that inn asks for a password for ANY group accessed, and
> > not only the local.food one, untill I'm removing the 2nd line.

> You have two entries matching *, so only the second one will ever be used.
>
> Unfortunately, it's very difficult (maybe impossible) to do what you're
> trying to do using nnrp.access alone.  I think it's possible with the Perl
> authentication hooks, and it should be possible using readers.conf.

Thanks.
I'm using inn 2.2-8. Which version uses the readers.conf ?

Marius.




Re: Inn 2.2.1 local newsgroups
#40990
Author: bill davidsen
Date: Wed, 20 Oct 1999 00:00
16 lines
1377 bytes
In article <j9fP3.158$Dz4.490@dfw-read.news.verio.net>,
Marius Kaizerman <marius@actcom.co.il> wrote:

| Thanks.
| I'm using inn 2.2-8. Which version uses the readers.conf ?

  That's part of 2.3. You can do what you want, one auth stanza and two
access stanzas, I believe.

-- 
bill davidsen <davidsen@tmr.com>  CTO, TMR Associates, Inc
  When taking small children to a carnival, always have them go potty
*before* you let them go on the rides, and let them eat all the junk
food and candy *after*.

Re: Inn 2.2.1 local newsgroups
#41029
Author: Marius Kaizerman
Date: Thu, 21 Oct 1999 00:00
13 lines
1203 bytes
> | I'm using inn 2.2-8. Which version uses the readers.conf ?
>
>   That's part of 2.3. You can do what you want, one auth stanza and two
> access stanzas, I believe.

When it's going to be released ?

Marius.



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