Article View: news.software.nntp
Article #79114Re: Strange problem with nnrpd 2.4.4 and XOVER over SSL connection
From: Russ Allbery
Date: Tue, 10 Jun 2008 16:02
Date: Tue, 10 Jun 2008 16:02
22 lines
2084 bytes
2084 bytes
Tim Fardell <tim.fardell.all-your-clothes@virgin.net> writes:
> Hello again, all! More problems, I'm afraid :-(
>
> I have compiled nnrpd with SSL support, and am running this from xinetd.
>
> 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.
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Technical Details
Message-ID:
<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!newshub.sdsu.edu!headwall.stanford.edu!news.stanford.edu!not-for-mailReferences:
<Pine.LNX.4.44.0806101536250.5497-100000@menace.crumblenet.co.uk>Show Full Headers
Complete Article Headers
Message-ID: <87abhte0r2.fsf@windlord.stanford.edu> Subject: Re: Strange problem with nnrpd 2.4.4 and XOVER over SSL connection Date: Tue, 10 Jun 2008 09:02:57 -0700 From: Russ Allbery <rra@stanford.edu> References: <Pine.LNX.4.44.0806101536250.5497-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!newshub.sdsu.edu!headwall.stanford.edu!news.stanford.edu!not-for-mail Newsgroups: news.software.nntp Organization: The Eyrie Lines: 22 NNTP-Posting-Host: windlord.stanford.edu Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: news.stanford.edu 1213113777 11280 171.64.19.147 (10 Jun 2008 X-Complaints-To: news@news.stanford.edu User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) Cancel-Lock: sha1:hWWmcADlnHO31WAeuX48Ul4pvD4=