🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
5 messages
5 total messages Started by Antonio Sun, 27 Oct 2002 15:03
Question about nntpcache used to join several news servers
#61665
Author: Antonio
Date: Sun, 27 Oct 2002 15:03
49 lines
3155 bytes
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi all. I have been reading the nntpcache FAQ (and also the doc which
comes with the debian package) and have several doubts about the
possibility of using this program to merge several news servers.

We have a small net of news servers. All of them carry the same groups
and use the same autentication method for their readers. For some time
we were searching for a method to merge these servers into one, so that
our readers could connect to just one (virtual) server and so spare the
need of having a different server name for each one of them.

For instance, suppose our network is mydomain.com. We have several
news.servers: news-1.mydomain.com, news-2.mydomain.com, etc. A dns
round-robin scheme wouldn't work because article numbering differs for
each server, so our readers are each given and username and password for
accessing one only of our servers.

Our main aim was to group our servers into an only "big" news server so
that our servers appeared to the world as just one. Also, we would like a
redirecting system so that, for each user connecting our "virtual"
server, there would be a redirection to the real server where that user
should autenticate (of course, user names al passwords are different for
each server).

I thought perhaps we could do this with nntpcache but I am not sure :-(

I understand the problem could be user autentication since (for all I
have read so far) guess everything would be easier if our servers did
not require their user to autenticate.

Well, I hope my message is not too confusing ;-)

- -- 
Un saludo.

Antonio <antonio@escomposlinux.org>
Clave p�blica gnupg en pgp.escomposlinux.org
Usuario Linux registrado n� 189536

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE9vA5e2t+2vrJ8PLURAiNMAJ9OcTYhcsyOJJL00XF0/6LCU3VRfwCgkV3a
fszR/2UB+T/1J+iWUWo76v0=
=hsRl
-----END PGP SIGNATURE-----
Re: Question about nntpcache used to join several news servers
#61667
Author: Jeffrey M. Vinocur
Date: Sun, 27 Oct 2002 15:20
36 lines
2484 bytes
In article <apgv7g$1nt$1@antonio.escomposlinux.org>,
Antonio  <antonio@escomposlinux.org> wrote:
>
>For instance, suppose our network is mydomain.com. We have several
>news.servers: news-1.mydomain.com, news-2.mydomain.com, etc. A dns
>round-robin scheme wouldn't work because article numbering differs for
>each server

Are you using INN?  You might consider using xrefslave, which is
designed to make the article numbers match for exactly this
purpose.


>Our main aim was to group our servers into an only "big" news server so
>that our servers appeared to the world as just one. Also, we would like a
>redirecting system so that, for each user connecting our "virtual"
>server, there would be a redirection to the real server where that user
>should autenticate (of course, user names al passwords are different for
>each server).
>
>I thought perhaps we could do this with nntpcache but I am not sure :-(

I don't think so, at least not easily.  You'd need to have the
user authenticate to some central system which would then (based
on the username) be able to forward the connections to the
appropriate place.  But everything will still be going through a
central point, which negates any advantage you hoped to get by
placing the news server nearer the user.  (And it sounds like
your servers are too small to be worrying about the load.  So I'm
actually not sure why you're trying to do the above anyway.)


-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: Question about nntpcache used to join several news servers
#61672
Author: Curt Welch
Date: Sun, 27 Oct 2002 18:42
13 lines
1676 bytes
Antonio <antonio@escomposlinux.org> wrote:
> Our main aim was to group our servers into an only "big" news server so
> that our servers appeared to the world as just one.

You probably need to just throw the three little servers out and build one
big server.  Using software like diablo you can probably take the hardware
from the old servers and put them to use building one larger distributed
server.

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/
Re: Question about nntpcache used to join several news servers
#61674
Author: Iñaki Arenaza
Date: Sun, 27 Oct 2002 21:46
34 lines
2734 bytes
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

>>>>> "Curt" == Curt Welch <curt@kcwc.com> writes:

    Curt> You probably need to just throw the three little servers out
    Curt> and build one big server.  Using software like diablo you
    Curt> can probably take the hardware from the old servers and put
    Curt> them to use building one larger distributed server.

Hummm, I think Antonio forgot to say that all those servers are
several hundred miles apart, behind small DSL lines ;)

This is not about building something very big and powerful. It's more
about building something as distributed and as transparent as possible
to the users (bearing in mind that we are not making a living from
this, just trying to learn a lot, make some fun and providing a free
service to the Spanish Usenet community; USPs/ISPs are a PITA here in
Spain).

Saludos. I�aki.

- -- 
  Get PGP/GPG Keys at  http://www.escomposlinux.org/iarenaza/pgpkey.php
  I use free software / Yo uso software libre
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.6 <http://mailcrypt.sourceforge.net/>

iD8DBQE9vF7QZXLnGT1HLgcRAhABAJ9Q/2MVGDTYM4VEKljaJvwoKXBuIQCgiIKj
Pj49vkNTym6ilvJs7yCcVpg=
=ZKb6
-----END PGP SIGNATURE-----
Re: Question about nntpcache used to join several news servers
#61675
Author: Curt Welch
Date: Sun, 27 Oct 2002 22:10
46 lines
3394 bytes
iarenaza@eb2ebu.ampr.org (I�aki Arenaza) wrote:
> >>>>> "Curt" == Curt Welch <curt@kcwc.com> writes:
>
>     Curt> You probably need to just throw the three little servers out
>     Curt> and build one big server.  Using software like diablo you
>     Curt> can probably take the hardware from the old servers and put
>     Curt> them to use building one larger distributed server.
>
> Hummm, I think Antonio forgot to say that all those servers are
> several hundred miles apart, behind small DSL lines ;)
>
> This is not about building something very big and powerful. It's more
> about building something as distributed and as transparent as possible
> to the users (bearing in mind that we are not making a living from
> this, just trying to learn a lot, make some fun and providing a free
> service to the Spanish Usenet community; USPs/ISPs are a PITA here in
> Spain).

Yeah, I figured there was more to it but I'd just thought I'd throw the
obvious answer out.

You should still check out diablo however because it might help you build
the distributed systems you are looking for.

If you are trying to make it easy for the users so they just use one server
name, and somehow, by magic, they get directed to the correct local server,
then they only way I can think of doing that is by some type of smart DNS
server that gives out different answers based on who is asking.  But to
avoid problems, it would still be best if you could synchronize the article
numbers on all the servers which would require all the feeds to go though a
common server.

If you set up an NNTP cache type front end, then you can get the one-server
for all function, but then all the traffic has to go though that one
server, and as long as you are making all the traffic go thorught the one
server, there is no point in having the back-end servers distributed -
which is why I said just build one big server instead of a
traffic-redirector.

NNTP doesn't have any type of "redirect" command to help you do something
like automtically switch the user to the correct server.

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.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