🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
5 messages
5 total messages Started by GregMo Sun, 13 Jul 2003 10:34
[INN] Newbie questions
#66110
Author: GregMo
Date: Sun, 13 Jul 2003 10:34
43 lines
2775 bytes
"Hello World!"

I've setup INN and amazingly, it works.  Well, I'm not convinced that it's 
all kosher so to kill some time I headed over to the FAQ [1].  Here I 
happened across the section titled "6.9 Hide the junk and control groups 
from users".  I found this interesting because in the INSTALL file it tells 
you to hide them in readers.conf, but doesn't mention how, and so I tried 
it on my own and seemed to suceed.  The thing is, I used a line like so:

    newsgroups: "*, !control*, !junk"

whereas the fact suggests:

    newsgroups: *,!junk,!control,!control.*

Now, I can see where someone might want something silly like 
"controlfreaks.general", or some such, but other than that, I'm okay, no?

Secondly (I hope Jeff and Russ is reading), it sure would be nice if there 
was a INSTALL file geared towards the n00b that's setting up a public 
access, private server.  Something like what Borland has, as an example.  
It doesn't feed/suck from anyone, but anyone can post/read to/from all 
groups.

One last thing.  I've read over the README, the INSTALL, INND(8) and 
READERS.CONF(5) and either I just over looked it, which is quite possible, 
or else no where in any of these does it mention how to effect a change 
made to the readers.conf.  I'd first took a stab in the dark with a kill -
HUP, but as you all surely know, that just kills it.

Any insight appreciated.

Cheers,
GregMo

-- 
UNIX Sex
{look;find;gawk;talk;date;grep;touch;finger;find;flex;unzip;head;strip;
top;mount;workbone;fsck;yes;gasp;fsck;more;fsck;more;more;yes;tail;
fsck;eject;umount;make clean;zip;done;split;exit;uptime>/var/log/brag}

[1] http://www.eyrie.org/~eagle/faqs/inn.html
Re: [INN] Newbie questions
#66112
Author: Jeffrey M. Vinocur
Date: Sun, 13 Jul 2003 13:58
60 lines
3543 bytes
In article <Xns93B7245A5A652GregnospamMoWyldplea@216.168.3.44>,
GregMo  <Greg-nospam-Mo@Wyld-please-Ryde.net> wrote:
>
>    newsgroups: "*, !control*, !junk"
>    newsgroups: *,!junk,!control,!control.*
>
>Now, I can see where someone might want something silly like 
>"controlfreaks.general", or some such, but other than that, I'm okay, no?

Yup, that's exactly the reason, and no, it's unlikely to ever
matter in practice.  But better to be paranoid (and I *have*
gotten burned by using wildcards without a preceding dot in other
places deeper in alt.*).


>Secondly (I hope Jeff and Russ is reading), it sure would be nice if there 
>was a INSTALL file geared towards the n00b that's setting up a public 
>access, private server.  Something like what Borland has, as an example.  
>It doesn't feed/suck from anyone, but anyone can post/read to/from all 
>groups.

We've got two problems here:

- as the FAQ entry about this mentions, the config you describe
  is really just like a regular server except you can skip a
  couple steps (and it should be pretty clear which ones), so I'm
  not sure what I'd change in a modified INSTALL -- but if you
  can point out any areas that are particularly confusing we'll
  certainly look at them

- nobody's volunteered (well, Rebecca started a newbie guide at
  one point but I suppose has given it up), and it doesn't strike
  me as such a critical task that I can rank it above lots of
  other things that need to get done


>One last thing.  I've read over the README, the INSTALL, INND(8) and 
>READERS.CONF(5) and either I just over looked it, which is quite possible, 
>or else no where in any of these does it mention how to effect a change 
>made to the readers.conf.  I'd first took a stab in the dark with a kill -
>HUP, but as you all surely know, that just kills it.

Hmm, that's a good point.  It should probably be at the top of
either readers.conf(5) or nnrpd(8), or maybe both.

The answer is that nnrpd only reads config files (both
readers.conf and inn.conf) when it is spawned.  So you can never
change the behavior of a client that's already connected.  If
either innd or inetd/xinetd is listening on port 119 and spawning
new nnrpd processes for each connection, then changes take effect
immediately since each of those processes will read the config
from scratch.  On the other hand, if you're running `nnrpd -D`
then you changes don't take effect immediately (which I suppose
means restarting it manually).


-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: [INN] Newbie questions
#66113
Author: GregMo
Date: Sun, 13 Jul 2003 15:40
102 lines
6547 bytes
jeff@litech.org (Jeffrey M. Vinocur) wrote in
news:berohp$9gg$1@puck.litech.org: 

>>Secondly (I hope Jeff and Russ is reading), it sure would be nice if
>>there was a INSTALL file geared towards the n00b that's setting up a
>>public access, private server.
> 
>   not sure what I'd change in a modified INSTALL -- but if you
>   can point out any areas that are particularly confusing we'll
>   certainly look at them

Well, the main area of uncertainity was the readers.conf in that there's
no examples there for a public server.  I guessed at using just a wildcard 
for the appropriate 'fields', but to someone that'd never seen this before, 
it was a little unclear.  With the various examples in readers.conf, I was 
surprised that a public server config wasn't given. 

>   me as such a critical task that I can rank it above lots of
>   other things that need to get done

No problem there, I can understand that.  I'll likely screw this up before
I get done with it, and if so I'll see about putting something together as
I redo it. 

>> no where in any of these does it mention how to effect a change made to
>> the readers.conf. 
> 
> Hmm, that's a good point.  It should probably be at the top of
> either readers.conf(5) or nnrpd(8), or maybe both.

Actually, if I may, I'd suggest it be put into nnrpd(8) with a reference to 
it in readers.conf(5).  What you've stated below could all but be used 
verbatium for the text.

> The answer is that nnrpd only reads config files (both
> readers.conf and inn.conf) when it is spawned.  So you can never
> change the behavior of a client that's already connected.  If
> either innd or inetd/xinetd is listening on port 119 and spawning
> new nnrpd processes for each connection, then changes take effect
> immediately since each of those processes will read the config
> from scratch.  On the other hand, if you're running `nnrpd -D`
> then you changes don't take effect immediately (which I suppose
> means restarting it manually).

Here was a small source of the confusion I had too.  I suppose I should have 
read more about it before posting, and for that I apologize, but at the time 
I hadn't yet grasped the concept that nnrpd was a seperate application, and 
I'm still unclear as to whether or not I can just run it and not run innd.

Just for some insight into what a new user might struggle with let me tell 
you what I was trying to accomplish.  The hostname for my server is 
srv.ajax.com but yet I wanted the news server to operate as news.acme.com.  
Well, in reading the INSTALL file I saw the field for domain: & pathhost:.  
Well, I skimmed domain: but read through pathhost: and I was under the 
impression that this is where I'd set this alternate hostname.

As I'm sure you know, this only half provide the results that I wanted in 
that it didn't affect the M-ID nor X-Trace at all.  Next I saw the option for 
domain: in Russ' FAQ to be used in readers.conf.  Well, trouble there is that 
it mentions domain: with no mention of virtualhost:.  Okay, so I tried again 
and failed.  Then I turn to readers.conf(5) and here the reading of 
virtualhost:, to a new user, is confusing at best, not to mention the fault 
in that default: & parthhost: aren't properly listed as options, only 
mentioned as an after affect of virtualhost:.

Next I tried a few different things here till I got it to where nnrpd 
wouldn't accept connections at all (leave it to me).  Finally accomplished 
what I wanted by specifying domain: and virtualhost: in readers.conf and 
removing domain: from inn.conf.

To summerize, a new user would think that domain: defined in inn.conf would 
negate the need for it in readers.conf (maybe these should have different 
keywords, such as hostname: in inn.conf), Russ' FAQ needs some updating on 
virtualhost:, and readers.conf(5) needs a little work in that it should have 
pathhost: & domain: listed as options and virtualhost: could use some 
rewording.

Now, for something completely different, there's the matter of 
addnntppostinghost.  I've searched Google three ways from Sunday, searched 
the docs, looked basically everywhere I could think to and no where can I 
find mention if INN does, or doesn't have the ability to hash this field as 
is common with just about everyone that uses this header today.  The only 
thing that Google turned up that hinted at what I was looking for was this 
[1] message from Russ on a UseFor list.  If this is something that it can't 
do, it'd be nice if this could be included in a/the FAQ, which I'm surprised 
doesn't come packaged with INN.  Naturally, it would be even better if this 
was hinted at in inn.conf(5).

I truely hope I'm not being a pain here as I'm sure I'll become one once I 
start trying to get two servers using different interfaces running off of the 
same machine :-)

Cheers,
GregMo

-- 
UNIX Sex
{look;find;gawk;talk;date;grep;touch;finger;find;flex;unzip;head;strip;
top;mount;workbone;fsck;yes;gasp;fsck;more;fsck;more;more;yes;tail;
fsck;eject;umount;make clean;zip;done;split;exit;uptime>/var/log/brag}

[1] http://www.landfield.com/usefor/2001/Jan/0053.html
Re: [INN] Newbie questions
#66636
Author: Russ Allbery
Date: Mon, 08 Sep 2003 04:50
70 lines
4307 bytes
GregMo <Greg-nospam-Mo@Wyld-please-Ryde.net> writes:

> Well, the main area of uncertainity was the readers.conf in that there's
> no examples there for a public server.  I guessed at using just a
> wildcard for the appropriate 'fields', but to someone that'd never seen
> this before, it was a little unclear.  With the various examples in
> readers.conf, I was surprised that a public server config wasn't given.

I've added one that will be in the next version.  Part of the problem is
that to run a public server well and securely, one also needs bits of Perl
filtering that aren't there by default.  (That would be a good thing to
fix down the road, making rejecting crossposts outside of a particular
hierarchy easier and making acceptance of supersedes a configurable
option.)

>>> no where in any of these does it mention how to effect a change made
>>> to the readers.conf.

>> Hmm, that's a good point.  It should probably be at the top of either
>> readers.conf(5) or nnrpd(8), or maybe both.

> Actually, if I may, I'd suggest it be put into nnrpd(8) with a reference
> to it in readers.conf(5).  What you've stated below could all but be
> used verbatium for the text.

Done.

> Just for some insight into what a new user might struggle with let me
> tell you what I was trying to accomplish.  The hostname for my server is
> srv.ajax.com but yet I wanted the news server to operate as
> news.acme.com.

INN currently doesn't have very good support for this.  Fixing it has been
discussed a lot.

> As I'm sure you know, this only half provide the results that I wanted
> in that it didn't affect the M-ID nor X-Trace at all.  Next I saw the
> option for domain: in Russ' FAQ to be used in readers.conf.  Well,
> trouble there is that it mentions domain: with no mention of
> virtualhost:.  Okay, so I tried again and failed.

Fixed the FAQ.

> Then I turn to readers.conf(5) and here the reading of virtualhost:, to
> a new user, is confusing at best, not to mention the fault in that
> default: & parthhost: aren't properly listed as options, only mentioned
> as an after affect of virtualhost:.

I think I've improved that documentation some now.

> Now, for something completely different, there's the matter of
> addnntppostinghost.  I've searched Google three ways from Sunday,
> searched the docs, looked basically everywhere I could think to and no
> where can I find mention if INN does, or doesn't have the ability to
> hash this field as is common with just about everyone that uses this
> header today.

It does not.  (And I disagree with the belief that "just about everyone"
does this, but that's another argument.)  I've added documentation of that
to inn.conf.

The header is much less useful if obfuscated, and for a public server in
particular I really wouldn't obfuscate it.  But that's just my personal
opinion.

-- 
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] Newbie questions
#66639
Author: Bill
Date: Mon, 08 Sep 2003 07:05
17 lines
2033 bytes
On Sun, 07 Sep 2003 21:50:08 -0700, Russ Allbery wrote:
>> Just for some insight into what a new user might struggle with let me
>> tell you what I was trying to accomplish.  The hostname for my server is
>> srv.ajax.com but yet I wanted the news server to operate as
>> news.acme.com.
> 
> INN currently doesn't have very good support for this.  Fixing it has been
> discussed a lot.

Russ, I would like chime in here and add my support for this.  I run a 3
node Solaris cluster with public and private interfaces.  I use the the
private network to toss news from the feeder to the reader boxes.  So I
end up with six different IPv4 names (and I won't even say anything about
IPv6).  I also use 2 ip-aliases too, so now I'm at 8 names.  Needless to
say, the path: lines can be interesting.  ;)  

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