Article View: news.software.nntp
Article #26498Re: Virtual INN servers
From: bill davidsen
Date: Tue, 24 Feb 1998 00:00
Date: Tue, 24 Feb 1998 00:00
49 lines
2927 bytes
2927 bytes
In article <34ED5250.4B2A2D95@chasque.apc.org>, Pablo Alsina <palsina@chasque.apc.org> wrote: | bill davidsen wrote: | > | > So how would you tell if a machine was going to the regular server | > or the "other" server? You have to have something diferent, either | > the port, the server IP, or the client IP. I guess you could | > authenticate and have the same IP do various things depending on the | > password. You can have two copies of innd listening to diferent IP | > numbers by a small patch to innd or any of several other obvious | > tricks. | | I would like to use the destination IP (that is, the server IP) to | select to witch server the client wants to connect, but have both IPs | mapped on the same machine, so I suppose that "small patch" you're | talking about will be the right thing to use. Where can I find more info | about it? Just take a look at the socket setup and bind to a single IP address, then alias multiple IPs on a single NIC. See bind() man page, I think. | Another solution (proposed by Steven Jones) is to use Dnntp. As he told | me, | "Dnntp allows a traditional newsreader (supports a connection to | a single NNTP server) to access newsgroups from multiple NNTP servers, | and the port numbers for the servers need not be the standard 119. | The configuration allows for any combination of newsgroups from | any number of servers, so you can have as many "virtual" servers | as you have hosts for them." Earlier you said: <> My fisrt idea was to have 2 daemons running on the same <> machine, but they would have to listen to different ports and thats <> not acceptable. If you can stand using several port numbers (which I thought was not an option) that's a good way to do it. But if you use several IPs you don't have to worry about stupid browsers which can't handle any port but 119. -- bill davidsen (davidsen@tmr.com) CTO, TMR Associates, Inc Company policy prevents me from commenting on the performance of this distributed database. However, the machines on which it runs are called bottleneck and roadblock.
Technical Details
Message-ID:
<6cvgm9$jn6$1@newssvr03-int.news.prodigy.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.mbox.zip!not-for-mailReferences:
<34EC0397.46B4232A@chasque.apc.org> <6ck431$3at6$1@newssvr04-int.news.prodigy.com> <34ED5250.4B2A2D95@chasque.apc.org>Show Full Headers
Complete Article Headers
Message-ID: <6cvgm9$jn6$1@newssvr03-int.news.prodigy.com> Subject: Re: Virtual INN servers Date: Tue, 24 Feb 1998 00:00:00 +0000 From: davidsen@tmr.com (bill davidsen) References: <34EC0397.46B4232A@chasque.apc.org> <6ck431$3at6$1@newssvr04-int.news.prodigy.com> <34ED5250.4B2A2D95@chasque.apc.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.mbox.zip!not-for-mail X-Deja-AN: 328304861 X-Auth-User: 000000000/9acd4a0cb4e50888 Originator: davidsen@darkstar.prodigy.com X-Post-Time: 24 Feb 1998 22:13:29 GMT Organization: TMR Associates, Schenectady NY X-Problems-To: abuse@prodigy.net Newsgroups: news.software.nntp