🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #9915

Re: News Proxy?

#9915
From: Sean Donelan
Date: Tue, 06 Aug 1996 00:00
71 lines
4441 bytes
In article <slrn50fd9t.o0b.tqbf@enteract.com>, tqbf@enteract.com (Thomas H. Ptacek) writes:
> Wed, 31 Jul 1996 00:11:16 GMT clewis@ferret.ocunix.on.ca:
>>We believe exposing port 119 on an internal machine is considerably
>>less of a risk (and a lot easier to maintain) than yet another machine
>>entirely flapping in the breeze on the outside of the firewall.
> 
> Interesting. So, you're confident enough in the nnrpd code to trust your
> entire X-thousand-dollar firewall installation to the fact that there's no
> way to subvert all that code into executing arbitrary commands.

Exposing a single port on a machine otherwise protected by a firewall
may be less risky than exposing the entire machine outside the firewall.
It is even less risky when using a firewall which does some application level
sanity checking of the data stream.  Besides, as firewall vendors keep putting
more and more "features" in their firewalls, with the increased code bloat,
I'm not sure I trust many firewalls anymore.

Whether you put the machine inside the firewall, or outside the firewall,
you need pass NNTP through the firewall.   The question is, do you want
to trust the implementation of thousands of different NNTP clients inside
your firewall accessing a untrustworthy NNTP server outside your firewall.
Or do you trust the implementation of one NNTP server inside your firewall
talking to a limited number of newsfeeds outside your firewall.

Ok, so the real answer is trust no one.  But if you only had resources
for one news machine, and had to choose where to put it, which is less
risky.

> Part of the concept is that you don't provide services to the outside
> world from machines inside your firewall. NNTP is no different from HTTP
> in this respect, and there's just as much potential for mischief in INN
> code as there is in Apache. Perhaps more, because fewer people seem to
> understand the potential for such problems in news servers.

A factor in deciding whether to put a server inside or outside a firewall
is which side will account for the majority of usage.  You want to place
the machine to minimize the number of entities needing to cross the
firewall.

A standalone Apache server for the typical corporate propaganda pages
works well outside the firewall because it requires little interaction
with users inside the firewall and is expect to be used mainly by users
outside the firewall.

Putting a NFS server, used by mostly by users inside the firewall, on the
outside is probably not a good idea.

> INN's saving grace is that it runs as "news", not as "root", but that
> doesn't help you much if your internal news server (as is likely in a
> firewall installation) isn't appropriately patched up, thus allowing user
> "news" to comprimise user "root". There's no reason why all of this
> couldn't be done right through the NNTP port.
> 
> You might want to think this through a little further.

If you put the NNTP server outside the firewall, it is much more likely
to be compromised through all the other holes that exist on most machines.
Inside the firewall, you can concentrate on protecting the one port you let
through.  The same port you would have to let through anyway if you put
the NNTP server outside the firewall.

In an ideal world, you would have protection in depth.  But if you have only
one firewall, and one NNTP machine, you have to make some tough choices.  If
you really want to protect yourself, you might look at the newsfeed to the
FBI.  At one time I believe they got it from UUNET on tape via human courier.
-- 
Sean Donelan, Data Research Associates, Inc, St. Louis, MO
  Affiliation given for identification not representation

Technical Details
Message-ID: <1996Aug6.204729@sdg.dra.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: <Duxq35.5Ew@taux01.nsc.com> <LOC.gergDvBL8A.G9B@netcom.com> <4tjgtu$h2d@fugue.clari.net> <gergDvDCqE.C4C@netcom.com> <DvDsIs.EA5@ferret.ocunix.on.ca> <slrn50fd9t.o0b.tqbf@enteract.com>

Show Full Headers
Complete Article Headers
Message-ID: <1996Aug6.204729@sdg.dra.com>
Subject: Re: News Proxy?
Date: Tue, 06 Aug 1996 00:00:00 +0000
From: sean@sdg.dra.com (Sean Donelan)
References: <Duxq35.5Ew@taux01.nsc.com> <LOC.gergDvBL8A.G9B@netcom.com> <4tjgtu$h2d@fugue.clari.net> <gergDvDCqE.C4C@netcom.com> <DvDsIs.EA5@ferret.ocunix.on.ca> <slrn50fd9t.o0b.tqbf@enteract.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
X-Deja-AN: 172634615
Organization: Data Research Associates, St. Louis MO
Newsgroups: news.software.nntp