Article View: news.software.nntp
Article #79118Re: Strange problem with nnrpd 2.4.4 and XOVER over SSL connection
From: Tim Fardell
Date: Wed, 11 Jun 2008 10:48
Date: Wed, 11 Jun 2008 10:48
35 lines
2709 bytes
2709 bytes
On Tue, 10 Jun 2008, Chris Caputo wrote: > Tim Fardell <tim.fardell.all-your-clothes@virgin.net> writes: > >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. > > The fix for this is attached below. Brilliant! Your patch against 2.4.4 seems to have fixed this one - many thanks Chris! Still working on the Keepalive problem, but I'll post again if I can't solve that one. Tim. -- Please remove all-your-clothes before replying.
Technical Details
Message-ID:
<Pine.LNX.4.44.0806111145570.27526-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!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!dedekind.zen.co.uk!zen.net.uk!hamilton.zen.co.uk!shaftesbury.zen.co.uk.POSTED!not-for-mailReferences:
<Pine.LNX.4.44.0806101536250.5497-100000@menace.crumblenet.co.uk> <87abhte0r2.fsf@windlord.stanford.edu> <Pine.LNX.4.44.0806101813350.8321-100000@menace.crumblenet.co.uk> <1ujglg.p6.19.1@news.alt.net>Show Full Headers
Complete Article Headers
Message-ID: <Pine.LNX.4.44.0806111145570.27526-100000@menace.crumblenet.co.uk> Subject: Re: Strange problem with nnrpd 2.4.4 and XOVER over SSL connection Date: Wed, 11 Jun 2008 11:48:46 +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> <Pine.LNX.4.44.0806101813350.8321-100000@menace.crumblenet.co.uk> <1ujglg.p6.19.1@news.alt.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.20141118.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!dedekind.zen.co.uk!zen.net.uk!hamilton.zen.co.uk!shaftesbury.zen.co.uk.POSTED!not-for-mail Newsgroups: news.software.nntp X-X-Sender: tim@menace.crumblenet.co.uk In-Reply-To: <1ujglg.p6.19.1@news.alt.net> X-Mailer: Not telling you! MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Lines: 35 Organization: Zen Internet NNTP-Posting-Host: d053fa42.news.zen.co.uk X-Trace: DXC=WF]fD:2RL\g; j@8IDJoe@hnok4Z\<mH4ihDU:2=XKPkhUmGDNGV?0EfiT61nhc4T?lj_G=\Jk1[WoYFoRI6^XGkb X-Complaints-To: abuse@zen.co.uk