🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
1 messages
1 total messages Started by Tuc Mon, 21 Jun 2004 02:27
ctlinnd - Short Read Failures still
#69346
Author: Tuc
Date: Mon, 21 Jun 2004 02:27
36 lines
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.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads