🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #70657

Re: Multiple feeds on a SINGLE computer

#70657
From: binary-nomad
Date: Sun, 30 Jan 2005 19:30
113 lines
5549 bytes
> I believe that all the necessary information is included in the
> INN documentation; try reading about ./configure --with-innd-port
> in INSTALL, "port" and "bindaddress" in inn.conf(5), and -p in
> nnrpd(8).  You'd obviously need two sets of INN config files;
> and since some of the paths are compiled into the binaries and
> scripts, probably the easiest thing to do is to have two separate
> source trees (and pass different --prefix options to
> ./configure).
>

Some of the paths are *COMPILED INTO THE BINARIES AND SCRIPTS* ? What
kind of *inane* programming is that?!!!! It's quite good that you told
me, because I would have mucked around for a long while before it hit
me, because that's something that I would simply never have expected!!!
Such things are NEVER supposed to be hardcoded into the thing. There is
a goddamn REASON that separate files exist for configging - to make it
bloody CONFIGURABLE!

>
> In the real world, I think the memory overhead of all those
> copies of INN will get you long before you run out of ports.
>

That shouldn't be the case.....? Linux has a lot of work on this,
doesn't it...? Every extra copy should not add more than a couple of
*K* to the RAM...? If it does, something is fucked up! Again, it's good
to converse with someone with real world experience of this!


> Nope.  This was so visibly a problem in HTTP/1.0, that in
> HTTP/1.1 they made it possible for the client to tell the server
> what hostname it wanted (even if all the hostnames resolve to the
> same IP address).  There's nothing like this in NNTP, so the
> server has to guess based on client IP address and authentication
> username (if any).
>
> Now, INN can do some very powerful things based on this
> information (see readers.conf(5)).  However, making newsgroups
> change names based on who's connecting is not one of them,
> because this just isn't something that people do.
>

I think there's a bit of a misunderstanding. What do you mean by
"making newsgroups change names?" There's no trickery going on, they
ARE separate groups, like I said above. Maybe you've got a little
confused? :) (I admit, it IS pretty confusing. I have problems
sometimes visualising the whole thing in my OWN head, and exactly what
it is I'm wanting).
Can you elaboratea bit more on the "very powerful things"? I will read
the page, obviously, but what is it you were talking about?


> I don't understand why you can't name the newsgroups different
> things.  (Note that, in the scheme you've proposed, there's no
> way for a user to be a member of more than one group -- since all
> the newsgroups have the same name, any user can only see one of
> them.)
>

Right, from the top.

Unix user group: russians
Members (usernames):  bogdanovich, vodkavich, beerovich

They start their own feed, with an INNd running on, say, 10000.
This comprises the newsgroups that THEY have started, and are members
of:

"local.beerlovers"
"local.vodkalovers"
"local.waystoremoveice"

Each group has several threads in them, bogdanovich, vodkavich and
beerovich can post and read to any of them.


There is ALSO a Unix user group, germans, on the same machine. *They*
have an INNd running on 10001 with various groups that they have
created.

bog, vodka and beer are NOT allowed to post or read here. (But the list
OF the groups themselves will probably be open).

However, beerovich sees the group and the newsgroups that they've
created, and decides he wants to join, cause the german
"local.beerlovers" looks good!

So he contacts a member (or moderator) of "germans", and the password
is given, and they add him to the group.

So, the Unix user group "germans" now has, as members:

hans, greta, dierk, beerovich.

They can ALL read and post to
"local.oktoberfest"
"local.ilovesausages"
etc.


Phew! :)

All clear? :)

(that helped me to sort it out in my own mind, actually, so thanks! :)
),



Any more suggestions with how to run all those copies of INN?
The Nomad.
Technical Details
Message-ID: <1107113422.781275.149070@z14g2000cwz.googlegroups.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20140818.mbox.gz!number1.nntp.ams.giganews.com!number1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!news.glorb.com!postnews.google.com!z14g2000cwz.googlegroups.com!not-for-mail
References: <60f8fe7a.0501252007.24a9f67e@posting.google.com> <1106934175.549199.132820@z14g2000cwz.googlegroups.com> <ctdu2j$a0c$1@puck.litech.org> <1106964312.140308.231380@z14g2000cwz.googlegroups.com> <cth4o8$bet$1@puck.litech.org>

Show Full Headers
Complete Article Headers
Message-ID: <1107113422.781275.149070@z14g2000cwz.googlegroups.com>
Subject: Re: Multiple feeds on a SINGLE computer
Date: Sun, 30 Jan 2005 19:30:22 +0000
From: binary-nomad@hotmail.com
References: <60f8fe7a.0501252007.24a9f67e@posting.google.com> <1106934175.549199.132820@z14g2000cwz.googlegroups.com> <ctdu2j$a0c$1@puck.litech.org> <1106964312.140308.231380@z14g2000cwz.googlegroups.com> <cth4o8$bet$1@puck.litech.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20140818.mbox.gz!number1.nntp.ams.giganews.com!number1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!news.glorb.com!postnews.google.com!z14g2000cwz.googlegroups.com!not-for-mail
Newsgroups: news.software.nntp
Organization: http://groups.google.com
Lines: 113
NNTP-Posting-Host: 62.252.64.17
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
X-Trace: posting.google.com 1107113427 17759 127.0.0.1 (30 Jan 2005 19:30:27
 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Sun, 30 Jan 2005 19:30:27 +0000 (UTC)
In-Reply-To: <cth4o8$bet$1@puck.litech.org>
User-Agent: G2/0.2
Complaints-To: groups-abuse@google.com
Injection-Info: z14g2000cwz.googlegroups.com; posting-host=62.252.64.17;
 posting-account=M8W8eQ0AAADns7hHq78a1uHHOpb55fh2