🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #40848

Re: Virtual news servers on INN2.2

#40848
From: Joe Greco
Date: Thu, 14 Oct 1999 00:00
70 lines
3494 bytes
In news.software.nntp article <2UxN3.9$qN2.1441942@dca1-nnrp1.news.digex.net>, Dale Ghent <daleg@elemental.org> wrote:
:Ron Schofield <rschofie@hfx.andara.com> wrote:
:
:
:: Ron Schofield wrote:
:
::> Ron Schofield wrote:
::>
::> > Is it possible to setup virtual news servers (i.e. news.server1.com and
::> > news.server2.com) with INN 2.2? I think it is possible but have not seen
::> > anything in the man pages on virtual servers. Can anybody say yes or no,
::> > and if yes how does one go about it?
::>
::> OK, after getting some pointers on how to do this, I got it to work (with
::> COL 2.3). Heres how:
::>
::> news.vserver1.com        192.168.20.201
::> news.vserver2.com        192.168.20.202
::>
::> add the following to /etc/hosts
::>
::>         192.168.20.201        news.vserver1.com        virtualnews1
::>         192.168.20.202        news.vserver2.com        virtualnews2
::>
::> add the following to /etc/sysconfig/network-scripts/ifcfg-eth0
::>
::>         ifconfig eth0:1 192.168.20.201
::>         route add -host 192.168.20.201 dev eth0:1
::>         ifconfig eth0:2 192.168.20.202
::>         route add -host 192.168.20.202 dev eth0:2
::>
::> in /etc/news/inn.conf
::>
::>         bindaddress:        192.168.20.201
::>
::> in /etc/rc.d/local.rc
::>
::>         nnrpd -D -b 192.168.20.202
::>
:
:: Then use the nnrp.access file to control the access to the newsgroups.
:
:Okay, so you went through all that trouble just so you could use an A record
:in DNS rather than just CNAME news.vserver2.com to news.vserver1.com ?
:
:What exactly does this buy you? In the end, no matter what interface a client
:connects to, they're seeing the same active file and spool, as well as the
:same nnrp.access file.
:
:You can forego all the virtual interface and inn.conf foo by just CNAME'ing
:vserver2.com to vserver1.com and putting the appropriate access restrictions
:in nnrp.access.
:
:Am I missing something?

Yeah, you can actually make virtual news servers if you want to spend some
time and effort on code...  I stopped just shy of individual active files
since I could gain largely the same effect via careful nnrp.access design.
But I had support for separate nnrp.access, inn.conf, etc., etc., such that
the only thing that'd give away that you weren't REALLY on ISP x's news
server was that the IP address and traceroute would let the cat out of
the bag.  The system even included path munging to remove traces of the 
actual sponsoring organization.

Ahhh, and it worked so well for over three years.  Too bad I had to retire
it.

... JG

Technical Details
Message-ID: <3806afd5$0$89147@news.execpc.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-mail
References: <38055966.B729A9E9@hfx.andara.com> <38068066.46D06197@hfx.andara.com> <38068160.FB07ACBA@hfx.andara.com> <2UxN3.9$qN2.1441942@dca1-nnrp1.news.digex.net>

Show Full Headers
Complete Article Headers
Message-ID: <3806afd5$0$89147@news.execpc.com>
Subject: Re: Virtual news servers on INN2.2
Date: Thu, 14 Oct 1999 00:00:00 +0000
From: jgreco@ns.sol.net (Joe Greco)
References: <38055966.B729A9E9@hfx.andara.com> <38068066.46D06197@hfx.andara.com> <38068160.FB07ACBA@hfx.andara.com> <2UxN3.9$qN2.1441942@dca1-nnrp1.news.digex.net>
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: 536941929
Sender: jgreco@earth.execpc.com
X-Trace: K5Si:bCC31MI5[332>a9YKbfNiaEHUgJGRYcgIRLSUEM1RaZ<AUdD1Le@=iL\Gh4GB=2TJP5mJl:CGhaMU<hZ^NGF4FfQ?Mh6UM
Organization: sol.net Network Services - Milwaukee, WI
Newsgroups: news.software.nntp
X-Complaints-To: abuse@execpc.com