🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #36283

Re: Unwanted connections from ctl.f10.com

#36283
From: Per Hedeland
Date: Wed, 31 Mar 1999 00:00
26 lines
2019 bytes
In article <slrn7fr95l.b0j.niels@liquid.tpb.net> niels@usenet.bakker.net
(Niels Bakker - Non PGP encrypted email deleted automatically.) writes:
>In article <7djonu$nkk$1@news.du.etx.ericsson.se>, Per Hedeland wrote:
>
>> The problem is of course that a DNS lookup can take a *very* long time,
>> the standard resolver interface is synchronous, and you don't want innd
>> sitting idle waiting for the lookup to complete while the incoming news
>> piles up... I guess this is yet another thing that shouldn't be in the
>> main loop but in a separate process (like with e.g. Squid or (x)ntpd) -
>> it could just keep doing periodic lookups and reporting any changes to
>> innd via the control channel (while innd cached the results "forever"
>> like it does now).
>
>news# crontab -l news | grep ctl
>55        7,12,17,22  * * * ctlinnd -s reload hosts.nntp crontab

This is the conventional way of dealing with it of course - unfortunaely
it introduces about as many problems as it solves... (You can pick up
hosts that failed initially, or that have changed address - but it may
cause innd to block for a long time, and you may *lose* hosts that you
previously had AFAIK - the latter shouldn't be hard to fix though.)

--Per Hedeland
per@erix.ericsson.se

Technical Details
Message-ID: <7drtnu$jqd$1@news.du.etx.ericsson.se>
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: <7d0j7j$1num$1@thor.wirehub.nl> <yl90cmsb09.fsf@windlord.stanford.edu> <7djonu$nkk$1@news.du.etx.ericsson.se> <slrn7fr95l.b0j.niels@liquid.tpb.net>

Show Full Headers
Complete Article Headers
Message-ID: <7drtnu$jqd$1@news.du.etx.ericsson.se>
Subject: Re: Unwanted connections from ctl.f10.com
Date: Wed, 31 Mar 1999 00:00:00 +0000
From: per@erix.ericsson.se (Per Hedeland)
References: <7d0j7j$1num$1@thor.wirehub.nl> <yl90cmsb09.fsf@windlord.stanford.edu> <7djonu$nkk$1@news.du.etx.ericsson.se> <slrn7fr95l.b0j.niels@liquid.tpb.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: 460978460
Distribution: inet
Organization: Ericsson Utvecklings AB, Stockholm, Sweden
Newsgroups: news.software.nntp
NNTP-Posting-User: per