🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #88817

Re: [Xnews] Break Connection

#88817
From: JanC
Date: Tue, 04 Dec 2001 02:02
44 lines
2772 bytes
My Name wrote:

> JanC <janc_removethis@digibel.org> wrote in
> news:Xns916CC4C45E089JanC@195.130.132.65: 
> 
>> In Xnews.ini, [Misc] section
>> 
>> XferTimeOut=
>> 
>> This is the time in seconds that Xnews waits before it
>> assumes the answer from the server won't come anymore. 
>> Default is 30, I have it set to 150 now (1 of the news
>> servers I use is very slow sometimes).
> 
> Hi JanC, I'm not quite sure I see how the Xfer time out will 
> break the phantom connection between me and the server but I'm 
> gonna try it anyway. 'cept I'm going the opposite direction 
> taking the default 30 down to 5. This sounds more like a packet 
> TTL on an exisiting xfer. Am I wrong?

I think you're wrong ;-)

AFAIK, this is what happens:

When Xnews requests something from the news server, it waits 
XferTimeOut seconds and then assumes something went wrong and stops 
listening.  At the same time it decreases its internal server 
connection counter (say from 2 to 1).

But if the server waits longer before it times out than Xnews does, the 
server's connection counter for you IP is still on 2 at this moment.

Now when you try to make a new connection with the server, Xnews thinks 
it's okay to do so (connection counter = 1 <= 2), but the server's own 
counter is still at 2 and therefore it answers with "too many 
connections"...  (After some time the server will time-out the 
connection and decrease the connection counter for your IP)

-- 
JanC

"Behold, I send thee forth as newbies in the midst of wolves,
so RTFM! (read the fine manual)"  --Xnews manual
Technical Details
Message-ID: <Xns916D1EE1EAC92JanC@195.130.132.65>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!newsfeeds.belnet.be!news.belnet.be!ossa.telenet-ops.be!afrodite.telenet-ops.be.POSTED!not-for-mail
References: <u0i3vngg4aetf9@corp.supernews.com> <Xns916BEDD80EEAEJanC@195.130.132.65> <u0lbal3jvvqg82@corp.supernews.com> <Xns916CC4C45E089JanC@195.130.132.65> <u0njogt4prlv7f@corp.supernews.com>

Show Full Headers
Complete Article Headers
Message-ID: <Xns916D1EE1EAC92JanC@195.130.132.65>
Subject: Re: [Xnews] Break Connection
Date: Tue, 04 Dec 2001 02:02:09 GMT
From: JanC <janc_removethis@digibel.org>
References: <u0i3vngg4aetf9@corp.supernews.com> <Xns916BEDD80EEAEJanC@195.130.132.65> <u0lbal3jvvqg82@corp.supernews.com> <Xns916CC4C45E089JanC@195.130.132.65> <u0njogt4prlv7f@corp.supernews.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!newsfeeds.belnet.be!news.belnet.be!ossa.telenet-ops.be!afrodite.telenet-ops.be.POSTED!not-for-mail
Newsgroups: news.software.readers
Organization: JanC
User-Agent: Xnews/4.11.29
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
Lines: 43
NNTP-Posting-Host: 213.118.79.122
X-Complaints-To: abuse@pandora.be
X-Trace: afrodite.telenet-ops.be 1007431329 213.118.79.122 (Tue, 04 Dec 2001 03:02:09 MET)
NNTP-Posting-Date: Tue, 04 Dec 2001 03:02:09 MET