Article View: news.software.nntp
Article #69346ctlinnd - Short Read Failures still
From: Tuc
Date: Mon, 21 Jun 2004 02:27
Date: Mon, 21 Jun 2004 02:27
36 lines
2681 bytes
2681 bytes
When last we left : Russ Allbery <rra@stanford.edu> wrote: > <google@ttsg.com> writes: > > Russ Allbery <rra@stanford.edu> wrote: > >> The ctlinnd protocol uses UDP datagrams to communicate with innd, and > >> UDP datagrams are, I think, limited to 64KB (although I'm not sure). > >> Plus, the protocol itself uses a short to store the length, which > >> further limits it to 32KB. I should change that to an unsigned short, > >> to start with, but it's something of a protocol flaw. Not sure the > >> best way to address it. > > Ok, well, please let me know. I really miss this part of the report. > > I looked at this some more and this code was just broken. The buffer used > to receive the reply from the server is either as large as is required to > send the command or 4KB, whichever is larger. This is ridiculous. > > I'm working on redoing the algorithm to receive up to a 64KB datagram. > That should be more than enough buffer to store any list of sites or > names. This fix will be in the next release. I loaded "INN 2.4.2 (20040617 prerelease)" which says that the fix is in, but I still get : hermod# ./ctlinnd name '' ctlinnd: cannot send "name" command (short read failure) I contacted Russ about it, and he says "Well, it works for me, should work for you". Well, it doesn't. Has anyone else loaded this and not had it work? He is also unable to spend the time to work with me on determining why his fix doesn't seem to be working for my setup. Anyone have any ideas/help, or do I just give up hoping I can get this functionality back? Thanks, Tuc/TTSG Internet Services, Inc.
Technical Details
Message-ID:
<b0a6af8e.0406201827.34a30cae@posting.google.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20140818.mbox.gz!number1.nntp.dca.giganews.com!internal1.nntp.sjc.giganews.com!border2.nntp.sjc.giganews.com!border1.nntp.sjc.giganews.com!border2.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!news.glorb.com!postnews2.google.com!not-for-mailShow Full Headers
Complete Article Headers
Message-ID: <b0a6af8e.0406201827.34a30cae@posting.google.com> Subject: ctlinnd - Short Read Failures still Date: Mon, 21 Jun 2004 02:27:52 +0000 From: google@ttsg.com (Tuc) Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20140818.mbox.gz!number1.nntp.dca.giganews.com!internal1.nntp.sjc.giganews.com!border2.nntp.sjc.giganews.com!border1.nntp.sjc.giganews.com!border2.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!news.glorb.com!postnews2.google.com!not-for-mail Newsgroups: news.software.nntp Organization: http://groups.google.com Lines: 36 NNTP-Posting-Host: 68.192.152.82 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1087784872 22949 127.0.0.1 (21 Jun 2004 02:27:52 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Mon, 21 Jun 2004 02:27:52 +0000 (UTC)