🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #15141

Re: Problems streaming to Linux systems?

#15141
From: Richard Todd
Date: Tue, 18 Feb 1997 00:00
47 lines
3233 bytes
In article <E5t578.M6x@spcuna.spc.edu> Terry Kennedy <terry@spcuna.spc.edu> writes:

>  I have a news server (number 81 in the Freenix top 1000 list) which feeds
>a large number of sites using innxmit (INN 1.5.1). I have 2 sites which give
>me frequent "unexpected response code" errors. The received response code is
>always part of an article header or body. I only have this problem with these
>2 sites, and they're both running Linux - 2.0.18 w/ INN 1.4unoff4 in one case
>and 2.0.28 w/ INN 1.5.1 in the other.


You mean something like this (as seen from the receiving end)?
choctaw# grep bad_comm /var/log/news/news.notice | tail -10
Feb 18 16:44:04 choctaw innd: apple.telalink.net:20 bad_command Organization: AOL http://www.aol.com
Feb 18 16:44:04 choctaw innd: apple.telalink.net:20 bad_command Lines: 16
Feb 18 16:44:04 choctaw innd: apple.telalink.net:20 bad_command Message-ID: <19970218182800.NAA01076@ladder01.news.aol.com>
Feb 18 16:44:04 choctaw innd: apple.telalink.net:20 bad_command References: <19970218113501.GAA13942@ladder01.news.aol.com>
Feb 18 16:52:41 choctaw innd: news-out.direct.ca:19 bad_command 43@memyam.dinoco.de>
Feb 18 16:52:45 choctaw innd: serv.hinet.net:22 bad_command 5447.833740234375.diff.faq.p6_856232723@pilhuhn.de>
Feb 18 17:08:52 choctaw innd: news-out.direct.ca:19 bad_command 702141444.JAA18501@atlanta.american.edu>
Feb 18 17:12:46 choctaw innd: serv.hinet.net:22 bad_command bc1de0$1b07b120$LocalHost@default>
Feb 18 17:13:43 choctaw innd: apple.telalink.net:18 bad_command dd2.gwi.net>
Feb 18 17:15:26 choctaw innd: serv.hinet.net:22 bad_command 07@news>

>  I don't see how it's anything my innxmit is doing (since it only happens
>with these 2 sites) and since I can't think of any reason for nnrpd to spit
>back parts of article headers or bodies to the feeder.

(You mean 'innd', not nnrpd.) 

There's been a bug in the streaming patches since the beginning that
occasionally seems to cause the receiving end to 'lose sync' and start 
thinking that the next NNTP command should come from somewhere in the buffer
that actually conatins part of an article.  It seems to be usually triggered
by the 'rejecting huge article' code.  You might try asking what your peers
are using as an article size limit and make sure you don't feed them articles
bigger than that.

And no, this bug doesn't have anything to do with Linux.  I've seen it on
FreeBSD and BSDI systems as well.

And yes, I've tried previously to find exactly what the bug is, back in the
inn1.4unoff3 days.  I did stomp on a couple similar bugs (and the fixes got
incorporated), but this one still eludes me.


Technical Details
Message-ID: <5edqi1$t7f@comanche.wildstar.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.mbox.zip!not-for-mail
References: <E5t578.M6x@spcuna.spc.edu>

Show Full Headers
Complete Article Headers
Message-ID: <5edqi1$t7f@comanche.wildstar.net>
Subject: Re: Problems streaming to Linux systems?
Date: Tue, 18 Feb 1997 00:00:00 +0000
From: rmtodd@comanche.wildstar.net (Richard Todd)
References: <E5t578.M6x@spcuna.spc.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.mbox.zip!not-for-mail
X-Deja-AN: 219837035
Organization: Wildstar Internet Services
Newsgroups: news.software.nntp