🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #79115

Re: Strange problem with nnrpd 2.4.4 and XOVER over SSL connection

#79115
From: Tim Fardell
Date: Tue, 10 Jun 2008 17:17
30 lines
2493 bytes
On Tue, 10 Jun 2008, Russ Allbery wrote:

> Tim Fardell <tim.fardell.all-your-clothes@virgin.net> writes:
> > With one specific group only, and no others, when the client requests
> > XOVER for the full range of articles, instead of sending the overview
> > data back to the client, there is a short pause (about 5 seconds) and
> > nnrpd dies, closing the connection to the client.
> 
> This is fixed in STABLE.  The problem was that nnrpd was using alloca to
> allocate memory for the SSL encryption buffer, which exploded if the data
> to be encrypted was larger than the stack size limit.  It wasn't a good
> place to use alloca and the current STABLE version switches to allocating
> regular heap memory for this purpose.

Thanks Russ. 

Is there any way to work around this with 2.4.4? 

I don't like the idea of running a development snapshot on a live server. 

Another, unrelated problem - I notice that nnrpd isn't always dieing when 
the user disconnects, resulting in hundreds of 'orphan' nnrpd processes 
hanging around. I had to do a 'killall nnrpd' today because users started 
reporting that they couldn't log in to the server. Is this also fixed? 

Tim. 

-- 
Please remove all-your-clothes before replying. 
Technical Details
Message-ID: <Pine.LNX.4.44.0806101813350.8321-100000@menace.crumblenet.co.uk>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!zen.net.uk!demorgan.zen.co.uk!reader02.news.zen.co.uk.POSTED!not-for-mail
References: <Pine.LNX.4.44.0806101536250.5497-100000@menace.crumblenet.co.uk> <87abhte0r2.fsf@windlord.stanford.edu>

Show Full Headers
Complete Article Headers
Message-ID: <Pine.LNX.4.44.0806101813350.8321-100000@menace.crumblenet.co.uk>
Subject: Re: Strange problem with nnrpd 2.4.4 and XOVER over SSL connection
Date: Tue, 10 Jun 2008 18:17:18 +0100
From: Tim Fardell <tim.fardell.all-your-clothes@virgin.net>
References: <Pine.LNX.4.44.0806101536250.5497-100000@menace.crumblenet.co.uk> <87abhte0r2.fsf@windlord.stanford.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!zen.net.uk!demorgan.zen.co.uk!reader02.news.zen.co.uk.POSTED!not-for-mail
Newsgroups: news.software.nntp
X-X-Sender: tim@menace.crumblenet.co.uk
In-Reply-To: <87abhte0r2.fsf@windlord.stanford.edu>
X-Mailer: Not telling you!
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Lines: 30
Organization: Zen Internet
NNTP-Posting-Host: 0552c147.news.zen.co.uk
X-Trace: DXC=5mNZQY\YoKW1i>g:<=BiJQYjZGX^207P[`<MJMoM3PF]2HMPS9;
 jDRXU]U^0dkcTj^oX6[DmA\8bR[\]Qija^:MP
X-Complaints-To: abuse@zen.co.uk