🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #47216

dreaderd and traditional (non-headfeed) feeding

#47216
From: Kai 'wusel' Siering
Date: Fri, 30 Jun 2000 00:00
50 lines
3176 bytes
Hola,

another issue regarding dreaderd (nnrp-part of diablo): when
feeding dreaderd from a traditional news server (e. g. INN with
innfeed), so that dreaderd has to drop the bodies itself and has
to count the article sizes (instead of utilizing the Bytes: header
generated by diablos HEADFEED-mode), in my opinion, the current
versions, including 1.29 and 2.2, don't handle this correctly.

dreader stops counting the article size after the headers and also
stops stuffing the data in transmission into it's buffers. Later
on, the article's size for overview is taken from the size of the
buffer (which only contains the header in this setup). This can
be verified by looking at the overview-data of large articles:

200 dreaderd-1_29.local. Diablo NNTP Server ready (posting ok).
group alt.binaries.pictures.cd-covers
211 34 37503 37536 alt.binaries.pictures.cd-covers
xover 37536
224 data follows
37536   Top Of The Pops 2000 Vol2 Covers TOTP2000.zip [2/2]     "Grezza" <gray@grezza.fsnet.co.uk>      Fri, 30 Jun 2000 23:11:56 +0100    <8jj5vq$cll$2@news7.svr.pol.co.uk>              965     8233    Xref: nnrp-gtso-1.news.mediaWays.net alt.binaries.pictures.cd-covers:37536
..

I partially tried to fix this by (ab-)using co_BytesHeader in feeder.c
and checking for that special case in group.c:

200 dreaderd-2_2.local NNRP Service Ready - news@dreaderd-2_2.local (posting ok).
group alt.binaries.pictures.cd-covers
211 36 37502 37537 alt.binaries.pictures.cd-covers
xover 37536
224 data follows
37536   Top Of The Pops 2000 Vol2 Covers TOTP2000.zip [2/2]     "Grezza" <gray@grezza.fsnet.co.uk>      Fri, 30 Jun 2000 23:11:56 +0100    <8jj5vq$cll$2@news7.svr.pol.co.uk>              518854  8233    Xref: nnrp-gtso-1.news.mediaWays.net alt.binaries.pictures.cd-covers:37536
..

From looking at the code, I think there really exists a bug; but may-
be I'm missing some flags or setup-issues again? If not, just out of
curiousity: am I the only one using dreaderd without diablo? ;)

Regards,
			kai

-- 
Kai 'wusel' Siering                       eMail @ home: wusel@uu.org
Traveller on the Information Highway doing full-time administration.
The views expressed here are not neccessarily those of any employer.

- Looking for peers for several non-european national TLHs, please -
- contact me for details so we can arrange a peering.              -

Technical Details
Message-ID: <962407925.384606@news.mediaWays.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

Show Full Headers
Complete Article Headers
Message-ID: <962407925.384606@news.mediaWays.net>
Subject: dreaderd and traditional (non-headfeed) feeding
Date: Fri, 30 Jun 2000 00:00:00 +0000
From: wusel@uu.org (Kai 'wusel' Siering)
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: 641029832
X-NNTP-Posting-Host: 193.189.250.62 (unknown@gaspode.42.to)
Content-Type: text/plain; charset=us-ascii
X-Trace: demdwu84.mediaways.net 962407925 23395 193.189.224.35 (30 Jun 2000 23:32:05 GMT)
Organization: Unseen University
Mime-Version: 1.0
NNTP-Posting-Date: 30 Jun 2000 23:32:05 GMT
Newsgroups: news.software.nntp