🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #8122

Re: Linux unoff 4 experiences and queries

#8122
From: Clayton O'Neill
Date: Thu, 30 May 1996 00:00
38 lines
2478 bytes
On 23 May 1996 01:37:58 +1200, Alan Brown <alan@papaioea.manawatu.gen.nz> wrote:
>Another problem which seems to have gotten worse:
>
>People are reporting timeouts connecting to the server (ie, before INN 
>notices them and spawns nnrpd) and timeout/disconnections from the server
>while retrieving headers and/or articles. 
>
I can't think of any other OS that with would be a viable solution for, but
I'm also running Linux and this is working well for me.  In pre2.0.7 (1.99.7)
they added a feature called transparent proxies.  Basically, you enable 
the firewalling code and transparent proxies and place a set of rules like 
this in rc.blah:

FW=/sbin/ipfwadm
$FW -I -f
$FW -I -a accept -S 204.178.176.27/32 -D 204.178.176.27/32 119 -P tcp
$FW -I -a accept -S 204.178.176.0/23 -D 204.178.176.27/32 119 -P tcp -r 120
$FW -I -a accept -S 204.252.224.0/20 -D 204.178.176.27/32 119 -P tcp -r 120
$FW -I -a accept -S 206.124.192.0/19 -D 204.178.176.27/32 119 -P tcp -r 120

Basically the first line says that for the news server itself (204.178.176.27)
allow through traffic normally.  I then placed a line for each of our netblocks
that specifies to redirect port 119 accesses to port 120 for all of the 
networks that we own.  This way all of our customers will transparently be
redirected to port 120, and be connected to an nnrpd running from inetd.  All
of our feeds won't be redirected and will connect to innd on port 119.  This
is similar to the idea of connectd, but it doesn't take the (probably small)
performance hit of using an application level proxy.

-- 
-------------------------------------------------------------------------
Clayton O'Neill             Business-->                   Premier One Inc
whatever@oneill.net                                   clayton@premier.net
http://www.oneill.net       <--Personal            http://www.premier.net


Technical Details
Message-ID: <slrn4qps91.d00.coneill@premier1.premier.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
References: <4nv5bm$e3d@papaioea.manawatu.gen.nz>

Show Full Headers
Complete Article Headers
Message-ID: <slrn4qps91.d00.coneill@premier1.premier.net>
Subject: Re: Linux unoff 4 experiences and queries
Date: Thu, 30 May 1996 00:00:00 +0000
From: coneill@premier1.premier.net (Clayton O'Neill)
References: <4nv5bm$e3d@papaioea.manawatu.gen.nz>
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: 157445573
Organization: Premier One
Newsgroups: news.software.nntp