Thread View: news.software.nntp
5 messages
5 total messages
Started by Curt Welch
Mon, 06 Mar 2000 00:00
146 MB articles?
Author: Curt Welch
Date: Mon, 06 Mar 2000 00:00
Date: Mon, 06 Mar 2000 00:00
23 lines
1720 bytes
1720 bytes
I've been working on my transist box lately, and noticed that my incomming UUNET feeds seem to be trying to send some HUGE articles to me, which I have been rejecting. I can't yet tell if they are "real" articles, or just a bug somehwere. They use Diablo servers, and what I typically have been seeing is a connect, a single TAKETHIS from them, and then a small ton of data. Then finally, I get the dot CR LF, and reject the message, then life goes on normally with a series of normal sized articles. One example was the article <d7r6csonlq80nfv7r7h30od8tegoouv82a@4ax.com> Does anyone have a copy of this article? How large is it? When uunet tried to send it to me it took over two hours to transfer and it was over 146 MB of data. If this is a buggy tranist server, has anybody else seen this problem with Diablo before? -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Re: 146 MB articles?
Author: Curt Welch
Date: Mon, 06 Mar 2000 00:00
Date: Mon, 06 Mar 2000 00:00
28 lines
1816 bytes
1816 bytes
Jeremy <bofh@netscum.dk> wrote: > Curt Welch <curt@kcwc.com> wrote: > > > One example was the article > > <d7r6csonlq80nfv7r7h30od8tegoouv82a@4ax.com> > > > > Does anyone have a copy of this article? How large is it? > > When uunet tried to send it to me it took over two hours to transfer > > and it was over 146 MB of data. > > Sounds wrong; it's 631519 bytes, according to the overview. Yeah. Since I posted my message, I've been capturing the data coming over the pipe and it's just tons of articles run together. It's just Diablo spool file format with a single NULL between articles. So, for some reason, UUNET's diablo server got confused and decided to send entire spool files as if they were a single article. Anybody ever see a diablo server do that? Any clue as to why? Maybe a > 2GB spool file size issue??? -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Re: 146 MB articles?
Author: Jeremy
Date: Mon, 06 Mar 2000 00:00
Date: Mon, 06 Mar 2000 00:00
34 lines
1876 bytes
1876 bytes
Curt Welch <curt@kcwc.com> wrote: > One example was the article <d7r6csonlq80nfv7r7h30od8tegoouv82a@4ax.com> > > Does anyone have a copy of this article? How large is it? Path: ...!newsfeed.direct.ca!zapata.tvd.be!nexus.news.chello.be!news.tvd.be!amsnews01.chello.com!newsrouter.chello.at!news.chello.at!not-for-mail From: Legalizer <legalizer@SoftHome.net> Newsgroups: no.ms-windows Subject: M$ Autoroute - [ File094 of 180] - M$-AutoRoute Express-Europe 2000.r93 (1/7) Message-ID: <d7r6csonlq80nfv7r7h30od8tegoouv82a@4ax.com> References: <1oq6csoihhkug7ml9biudlhkeapvam07s5@4ax.com> X-Newsreader: Forte Agent 1.7/32.534 Lines: 10009 Date: Mon, 06 Mar 2000 10:11:54 GMT NNTP-Posting-Host: 212.17.75.235 X-Complaints-To: news@chello.at X-Trace: news.chello.at 952337514 212.17.75.235 (Mon, 06 Mar 2000 11:11:54 MET) NNTP-Posting-Date: Mon, 06 Mar 2000 11:11:54 MET Organization: Chello Austria It was rejected by my transit servers as EMP, incidentally. I exempt multipart-binary groups from the posting-host/lines filter, but this isn't such a group. > When uunet tried to send it to me it took over two hours to transfer > and it was over 146 MB of data. Sounds wrong; it's 631519 bytes, according to the overview. -- Jeremy ( jeremy@exit109.com | bofh@netscum.dk )
Re: 146 MB articles?
Author: Joe Greco
Date: Mon, 06 Mar 2000 00:00
Date: Mon, 06 Mar 2000 00:00
47 lines
2760 bytes
2760 bytes
In news.software.nntp article <20000306145245.750$Ev@newsreader.com>, curt@kcwc.com (Curt Welch) wrote:
:Jeremy <bofh@netscum.dk> wrote:
:> Curt Welch <curt@kcwc.com> wrote:
:>
:> > One example was the article
:> > <d7r6csonlq80nfv7r7h30od8tegoouv82a@4ax.com>
:> >
:> > Does anyone have a copy of this article? How large is it?
:
:
:> > When uunet tried to send it to me it took over two hours to transfer
:> > and it was over 146 MB of data.
:>
:> Sounds wrong; it's 631519 bytes, according to the overview.
:
:Yeah. Since I posted my message, I've been capturing the data coming
:over the pipe and it's just tons of articles run together. It's just
:Diablo spool file format with a single NULL between articles. So,
:for some reason, UUNET's diablo server got confused and decided to
:send entire spool files as if they were a single article.
:
:Anybody ever see a diablo server do that? Any clue as to why? Maybe
:a > 2GB spool file size issue???
Unlikely but possible.
More likely: somebody wrote an automated rebatcher script or something
that does something lame. Diablo is 8-bit-clean, and will merrily not
care about nulls in articles. I believe it will happily send the article
as long as the framing of the article appears to be correct (SOF or NUL
prior to the article, NUL after). It may not even bother with that level
of sanity checking... dunno.
Having run Diablo since early '97 (?), I can say that I've not seen any
behaviour like what you describe. Hence, I'd write it up to something odd
going on at UUNet. I'd imagine maybe somebody is trying to rebatch news
with some lame incantation such as
find /news/spool/news -type f -ls | awk '{print $11 ":0," $7}' | sed 's:.*D:D:'
but to properly rebatch, you need a program that actually walks the file and
looks for likely indicators that there is a message (got one, but it's a bit
ugly and designed for my own use).
... JG
Re: 146 MB articles?
Author: Curt Welch
Date: Mon, 06 Mar 2000 00:00
Date: Mon, 06 Mar 2000 00:00
65 lines
3722 bytes
3722 bytes
jgreco@ns.sol.net (Joe Greco) wrote:
> In news.software.nntp article <20000306145245.750$Ev@newsreader.com>,
> curt@kcwc.com (Curt Welch) wrote:
> :Yeah. Since I posted my message, I've been capturing the data coming
> :over the pipe and it's just tons of articles run together. It's just
> :Diablo spool file format with a single NULL between articles. So,
> :for some reason, UUNET's diablo server got confused and decided to
> :send entire spool files as if they were a single article.
> :
> :Anybody ever see a diablo server do that? Any clue as to why? Maybe
> :a > 2GB spool file size issue???
>
> Unlikely but possible.
>
> More likely: somebody wrote an automated rebatcher script or something
> that does something lame. Diablo is 8-bit-clean, and will merrily not
> care about nulls in articles. I believe it will happily send the article
> as long as the framing of the article appears to be correct (SOF or NUL
> prior to the article, NUL after). It may not even bother with that level
> of sanity checking... dunno.
>
> Having run Diablo since early '97 (?), I can say that I've not seen any
> behaviour like what you describe. Hence, I'd write it up to something
> odd going on at UUNet.
I've sent the letter off to them. It's taken days to get an answer to
a simple problem in the past so I'm not expecting quick results...
I checked out the code in the version of Diablo I have (a very old
version).
It reads the offset and size out of the queue files, and then mmap()s that
chunk of the article batch file (plus 1 byte) into the program. It makes
sure the last byte is a null (which is why the +1 byte), and aborts with a
corrupted queue file message if it doesn't find it.
But in typical Matt fashion, the offset and size are read as such:
if (isdigit(*s))
sscanf(s, "%d,%d", offp, sizep);
With zero checks of the sscanf return value or of the resulting *offp
or *sizep values. And *sizep is a stack variable which isn't even
initialized before this call.
So if the first line of a batch file is missing a size parameter, then the
size variable will end up with a random value.
And I just did a quick test of mmap(). If you map a size larger than
the file, it fills the extra space with nulls. So that would make
the simple "last byte must be null" test pass with flying colors.
So if the size in the queue file is missing, or bogus (i.e. 146000000),
then Diablo will be happy to send the entire article batch file plus a ton
of nulls.
Like you say however, I've never had Diablo do anything like that to
me, so it seems likely this is caused by something UUNET has done.
--
Curt Welch http://CurtWelch.Com/
curt@kcwc.com Webmaster for http://NewsReader.Com/
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