Article View: news.software.nntp
Article #70661Re: Multiple feeds on a SINGLE computer
From: binary-nomad
Date: Mon, 31 Jan 2005 05:39
Date: Mon, 31 Jan 2005 05:39
112 lines
6004 bytes
6004 bytes
> You haven't given a single rational objection to this > configuration, and I'm not planning on spending hours helping you > set up multiple INNs on multiple ports for a configuration that > you can't even justify. OK, no need to get hot-headed. Please realise that you probably do this full time and for a living, and I'm just finding out and experimenting with various things, and am VERY new to it, like I said. I am definitely researching, and it's now 5 n the morning, so if I blow my top and swear, well...... I'm only human. ----> You're probably used to adminning a *Usenet* server <----- --------> I merely want to use NNTP for my OWN purposes <-------- (which are *somewhat* close to the Usenet system, but NOT the same thing)! >if you'd just let the groups be >named: > > local.russians.beerlovers > local.russians.vodkalovers > local.russians.waystoremoveice > ... > local.germans.beerlovers > local.germans.oktoberfest > local.germans.ilovesausages > ... > >You haven't given a single rational objection to this >configuration, >and the only way a single newsserver >could implement it is to have a single name refer to a different >group depending on who is connecting. I have no objections - this is the best possible solution to the whole thing! But in the second part, something is needed as well! If a *Russian* connects to the server, they must see their groups as "beerlovers", "vodkalovers" and "waystoremoveice", ie. with "local.russian" stripped. No exceptions. This is the objective of the whole thing. No one person connecting to the server will see the whole thing, no newsreaders doing ANYTHING is needed. I was in fact thinking of much crazier stuff, with xinetd, to pass it to an appropriate INND depending on authentication, etc. so no "port scan", but never mind, that's not needed now anyway. There is no problem with having the underlying groups have "local.russians" whatever, and having distinct groups with the same name is absolutely impossible (no need to TELL me, you know, I did, in fact, guess this without you), **as long as we can hide it from the appropriate user**. The only other solution would be multiple ports, xinetd/tcpd/whatever wrappers, and unless I'm not mistaken, tampering with the xinetd source code itself, loooooong configuration and a general bloody mess which I wouldn't like to do, yes! This is no fun for me! Seriously! Right, so is there a hook for authentication? There must be, in fact that's what perl_auth and whatever does, right? The question of how to tamper with the names.... isn't some simple piping and sed/awk -ish stuff enough? The NNTP commands involving newsgroup names are not that many, could this work? But these simple tools are probably not enough - this thing requires *architecting*, and if what I'm thinking is right, will probably require everyones *end-to-end* amount of Unix knowledge to get done. Since I'm groggy and cant compose properly, here's a free-flow of what I'm thinking: 1. Tamper with the kernel to monitor file-reads, and place some kind of "buffer-cache" which will translate names on the fly. 2. every connection from a reader gets its own INNd, yes? i just discovered that "mount" *replaces* the contents of a directory. so why not use a ramdisk mounted under /var/lib/news or whatever, the contents of which will be the actual /var/lib/news but with changed names. (basically the same idea, but wont have to write kernel code!! :) ). Obviously, the problem is how do you read from the DISK /var/lib/news WITH the ramdisk mounted, no easy solution is springing to mind. Hey, *I* like challenges. I hope you do too, Gentlemen. Right, Jeffrey, appreciate your help a lot mate. You'll DEF be in the credits when this thing gets running :) To the guy above, I never said I knew more than anyone. That was how I STARTED - "I'm new to INN". If there's one thing I can't stand, it's a constipated academic with their head stuck up their ass. Try to understand, there are people as intelligent as you, but are actually IMAGINATIVE! I'm actually *saying* something, not rambling on and having my fingers pain for no reason So, it's quarter to six, I will now SLEEP and resume discussion after my head feels better. Talk to everyone tomorrow! :) Just out of curiosity, what would be unworkable about passing args to INNd on the cmd line? Ze KNOWMAD.
Technical Details
Message-ID:
<1107149942.736616.224780@f14g2000cwb.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!newsread.com!newsstand.newsread.com!postnews.google.com!f14g2000cwb.googlegroups.com!not-for-mailReferences:
<60f8fe7a.0501252007.24a9f67e@posting.google.com> <1106964312.140308.231380@z14g2000cwz.googlegroups.com> <cth4o8$bet$1@puck.litech.org> <1107113422.781275.149070@z14g2000cwz.googlegroups.com> <ctk84n$dtm$1@puck.litech.org>Show Full Headers
Complete Article Headers
Message-ID: <1107149942.736616.224780@f14g2000cwb.googlegroups.com> Subject: Re: Multiple feeds on a SINGLE computer Date: Mon, 31 Jan 2005 05:39:02 +0000 From: binary-nomad@hotmail.com References: <60f8fe7a.0501252007.24a9f67e@posting.google.com> <1106964312.140308.231380@z14g2000cwz.googlegroups.com> <cth4o8$bet$1@puck.litech.org> <1107113422.781275.149070@z14g2000cwz.googlegroups.com> <ctk84n$dtm$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!newsread.com!newsstand.newsread.com!postnews.google.com!f14g2000cwb.googlegroups.com!not-for-mail Newsgroups: news.software.nntp Organization: http://groups.google.com Lines: 112 NNTP-Posting-Host: 62.252.64.16 Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: posting.google.com 1107149947 1087 127.0.0.1 (31 Jan 2005 05:39:07 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Mon, 31 Jan 2005 05:39:07 +0000 (UTC) In-Reply-To: <ctk84n$dtm$1@puck.litech.org> User-Agent: G2/0.2 Complaints-To: groups-abuse@google.com Injection-Info: f14g2000cwb.googlegroups.com; posting-host=62.252.64.16; posting-account=M8W8eQ0AAADns7hHq78a1uHHOpb55fh2