πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #86257

Re: Unrecognized XYZZY command

#86257
From: VanguardLH
Date: Mon, 12 May 2014 19:31
133 lines
8959 bytes
Julien Γ‰LIE wrote:

> Hi all,
> 
> In my daily Usenet reports, I see about 70 hosts sending
> the (unknown) XYZZY command.
> 
> NNRP unrecognized commands (by host):
> System                                                                     Conn
> 173-13-127-166-newengland.hfc.comcastbusiness.net                            11
> ool-182dab26.dyn.optonline.net                                               10
> sleipnir.bytereef.org                                                         8
> 2a01:e35:87c8:1f60:a00:27ff:fe77:1d2                                          7
> ppp59-167-128-11.static.internode.on.net                                      6
> 91.194.74.91                                                                  6
> 2001:470:1f07:12a:216:cbff:fea9:af01                                          4
> c122-107-147-136.eburwd5.vic.optusnet.com.au                                  4
> 2001:470:1f07:12a:207a:eba:3952:c7ec                                          4
> 50-196-182-73-static.hfc.comcastbusiness.net                                  4
> 2600:3c03::f03c:91ff:fe96:fd46                                                4
> gcc1-power7.osuosl.org                                                        4
> 194.82.165.83.dynamic.mundo-r.com                                             4
> 2620:8d:8000:e49:216:3eff:fe59:db2d                                           4
> 178.21.153.124                                                                3
> 60.245.65.210                                                                 3
> 65-128-23-11.hlrn.qwest.net                                                   3
> rabbit.mageia.org                                                             3
> mt-farm02.eecs.qmul.ac.uk                                                     3
> ecosse.mageia.org                                                             3
> ec2-54-186-235-81.us-west-2.compute.amazonaws.com                             3
> [...]
> 
> TOTAL: 70                                                                   156
> 
> NNRP unrecognized commands (by command):
> Command                                                                   Count
> XYZZY                                                                       156
> 
> TOTAL: 1                                                                    156
> 
> That command has been sent since November, 10th 2010 on my news server.
> Nothing before, and after that date, daily XYZZY commands are sent.
> On November, 10th 2010, 17 hosts sent that command.
> 
> It looks very strange.
> 
> A look at innreport on aioe also shows that daily XYZZY commands have been sent
> since almost the same day (November, 12th 2010 for aioe):
>     http://www.aioe.org/index.php?innreport-reports
> 
> Does anyone have a clue about what could be happening?
> A "new" news client?  a "new" news server?  probes for something?  zombies
> that send the XYZZY command on every open port? ...

So for the logs or entries therein that are recording a count of 156
events of receiving the unknown XYZZY command, they don't provide any
correlation to the articles, if any, that were submitted during that
NNTP session?  If an entry for "unrecognized command (XYZZY)" listed the
article(s) submitted within the same NNTP session as when the XYZZY
command got issued then you could look at those articles to see what
client was specified in the User-Agent or X-Newsreader headers.  (Sorry,
I have no experience with managing an NNTP server so I don't know how
useful are its logs.)

Couldn't be from Outlook Express since that client got abandoned back in
2002 (with a slight change when WinXP SP-2 came out to effect top/bottom
posting and sig placement).  In case it was generated by Thunderbird, I
did a search at Mozilla's bug site (bugzilla.mozilla.com) on all
products and got:

https://bugzilla.mozilla.org/buglist.cgi?query_format=specific&order=relevance+desc&bug_status=__all__&product=&content=xyzzy&comments=0

but those are on the bugzilla product, not Thunderbird (yet it's odd
that "xyzzy" would happen to show up there).

http://en.wikipedia.org/wiki/Xyzzy

It seems odd that an OS command would creep into the NNTP protocol
commands issued by a client, however.  The wiki article mentions "The
low-traffic Usenet newsgroup alt.xyzzy is used for test messages ...".
Yet a newsgroup would be an argument to a command and shouldn't be the
name of the command.  Could be there's a timing issue between client and
server where the client issued, say, "group xyzzy" but the server only
got "xyzzy", like the server wasn't immediately ready to accept a
command right after it issued a status.  Maybe it's a pipelining issue
at the server.

  http://www.davros.org/nntp-texts/draft21.html
  3.3 Pipelining
  NNTP is designed to operate over a reliable bi-directional connection 
  such as TCP. Therefore, if a command does not depend on the response 
  to the previous one, it should not matter if it is sent before that 
  response is received. Doing this is called "pipelining". However, 
  certain server implementations throw away all text received from the 
  client following certain commands before sending their response. If 
  this happens, pipelining will be affected because one or more commands 
  will have been ignored or misinterpreted, and the client will be   
  matching the wrong responses to each command. Since there are 
  significant benefits to pipelining, but also circumstances where it is 
  reasonable or common for servers to behave in the above manner, this 
  document puts certain requirements on both clients and servers. 
  
If the server isn't setup for pipeling but the client starts issuing a
command without waiting for a status back from its prior command,
couldn't that cause "misinterpretation" (e.g., command truncation)?  For
some commands issued by the client, the client is not supposed to
pipeline (ram in) another command until status comes back so it could be
one, or more, NNTP clients aren't waiting when they should.  Pipelining
has always seemed to cause problems.  Thunderbird has some pipelining
settings (have to use the adv config editor) but they all look to be
associated with HTTP.

The above quote is for an Internet draft dated 2004.  RFC 3977
(http://www.rfc-editor.org/rfc/rfc3977.txt), section 3.5, is about
pipelining and that was ratified back in 2006.  That RFC says the client
MAY use pipelining and the server MUST allow pipelining.  So it could be
pipelining is disabled by default in the clients but clients discovered
the option and decided to enable it to speed up their NNTP transaction.
So although there might be a time when you've seen when this problem
cropped up, it may be due to the server not handling pipelining or doing
it correctly or the client not doing pipelining correctly (after the
option is enabled).  

There is an alt.xyzzy newsgroup.  So it could be that clients have been
submitting to there for a long time, even before your Nov 2010 date.
Not propely handing pipelining could be the cause, like the client
shoves out a "group xyzzy" command but the server isn't ready and only
sees "xyzzy".  That could be the fault of the NNTP server, especially if
the ones you're looking at are using the same server program (e.g., INN)
and a bug crept in regarding pipelining.  But it's also possible some
client got updated back then and its pipelining got screwed up.  Too bad
the logs for "unrecognized command" don't list the articles for that
NNTP session.
Technical Details
Message-ID: <lkr7hn$164$1@news.albasani.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.20141118.mbox.gz!border2.nntp.dca.giganews.com!nntp.giganews.com!ottix-news.ottix.net!news.litech.org!news2.arglkargh.de!news.albasani.net!.POSTED!not-for-mail
References: <lkr2i3$qqa$1@news.trigofacile.com>

Show Full Headers
Complete Article Headers
Message-ID: <lkr7hn$164$1@news.albasani.net>
Subject: Re: Unrecognized XYZZY command
Date: Mon, 12 May 2014 14:31:04 -0500
From: VanguardLH <V@nguard.LH>
References: <lkr2i3$qqa$1@news.trigofacile.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.20141118.mbox.gz!border2.nntp.dca.giganews.com!nntp.giganews.com!ottix-news.ottix.net!news.litech.org!news2.arglkargh.de!news.albasani.net!.POSTED!not-for-mail
Newsgroups: news.software.nntp
Organization: Usenet denizen
Lines: 133
Sender: VanguardLH <>
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: news.albasani.net
 nPcI7cXwGkyUTjXVcaEjI1ZBhUo68syRIBHNJpfE9oHT0P3EBpv94+2MQS0V9l4Uco0UNxF2iIwSvgBBNiYwjQ==
NNTP-Posting-Date: Mon, 12 May 2014 19:31:04 +0000 (UTC)
Injection-Info: news.albasani.net;
 logging-data="IPcgkx/zB1jA5Bsy3bNEceRiP77Y/AfX6eLwkNeu1XoJBVCIIluLnaKbznVVZg3suUoVyvZ2thOoQyMQ1EvwptwLSRFf1iKnKKnj3C1D/r1WsLSNkHx8Ts03psiTblVd";
 mail-complaints-to="abuse@albasani.net"
Keywords: VanguardLH VLH811
User-Agent: 40tude_Dialog/2.0.15.41
Cancel-Lock: sha1:FXTHa1cigA0kcUHuRWKdib3sNuw=