🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
8 messages
8 total messages Started by Julien ÉLIE Mon, 12 May 2014 18:05
Unrecognized XYZZY command
#86254
Author: Julien ÉLIE
Date: Mon, 12 May 2014 18:05
64 lines
4231 bytes
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? ...

-- 
Julien ÉLIE

« Jésus-Christ est un exemple pour tous : même en mauvaise posture,
  il n'a jamais baissé les bras. »
Re: Unrecognized XYZZY command
#86255
Author: Paul Tomblin
Date: Mon, 12 May 2014 18:29
16 lines
1849 bytes
In a previous article, =?ISO-8859-1?Q?Julien_=C9LIE?= <iulius@nom-de-mon-site.com.invalid> said:
>NNRP unrecognized commands (by command):
>Command                                                                   Count
>XYZZY                                                                       156
>
>TOTAL: 1                                                                    156

Not seeing it in my logs. Under "NNRP unrecognized commands", all I ever see
is "XTHREAD DBINIT".


-- 
Paul Tomblin <ptomblin@xcski.com> http://blog.xcski.com/
The Write Many, Read Never drive.  For those people that don't know
their system has a /dev/null already.
              -- Rik Steenwinkel, singing the praises of 8mm Exabytes
Re: Unrecognized XYZZY command
#86256
Author: Ray Banana
Date: Mon, 12 May 2014 18:51
11 lines
1685 bytes
Thus spake Julien ÉLIE <iulius@nom-de-mon-site.com.invalid>
 
> In my daily Usenet reports, I see about 70 hosts sending
> the (unknown) XYZZY command.

I don't remember seeing this in my logs. You might want to implement the
proper response in INN, though: "Nothing happens".
Unless you're inside the building or the debris room, that is.

-- 
You are in a maze of twisty little passages, all alike.
Re: Unrecognized XYZZY command
#86257
Author: 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.
Re: Unrecognized XYZZY command
#86258
Author: Julien ÉLIE
Date: Mon, 12 May 2014 19:40
24 lines
1904 bytes
Hi Wolfgang,

>> In my daily Usenet reports, I see about 70 hosts sending
>> the (unknown) XYZZY command.
>
> I don't remember seeing this in my logs. You might want to implement the
> proper response in INN, though: "Nothing happens".

It would be amusing.

     500 Nothing happens
instead of
     500 What?

Do you know other "easter eggs" commands like this one?


Anyway, it does not explain why several hosts suddenly sent that 
command, and what they are expecting with it...

-- 
Julien ÉLIE

« Et maintenant, passons à table. Toi aussi, mon fils ! » (César)
Re: Unrecognized XYZZY command
#86259
Author: Julien ÉLIE
Date: Mon, 12 May 2014 20:20
116 lines
5252 bytes
Hi VanguardLH,

> 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.

As my news server is read-only (at least for unauthenticated users like them),
I do not have any articles posted by them.



> 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.

It would seem odd.



> 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.

I have just activated the trace mode for nnrpd so as to have the entire session.

Pretty interesting...  I have just understood what is going on.  These XYZZY commands
come from the test suite of the nntplib Python library:
    http://svn.python.org/projects/python/branches/pep-0384/Lib/test/test_nntplib.py

      NNTP_HOST = 'news.trigofacile.com'
      NNTP_HOST = 'nntp.aioe.org'


I now remember that thread in November 2010:
    http://bugs.python.org/issue1926

"Unfortunately nntplib lacks a test suite."
"I checked the functionality against eternal-september to be sure it does,
in fact, correctly succeed as well" -- just for Ray Banana :)



< CAPABILITIES
> 101 Capability list:
< GROUP fr.comp.lang.python
> 211 1311 5808 7208 fr.comp.lang.python
< HEAD 7208
> 221 7208 <1d0900b0e3c6.201452.maintdoc@jeffrey.matabio.net> head
< BODY 7208
> 222 7208 <1d0900b0e3c6.201452.maintdoc@jeffrey.matabio.net> body
< ARTICLE 7208
> 220 7208 <1d0900b0e3c6.201452.maintdoc@jeffrey.matabio.net> article
< CAPABILITIES
> 101 Capability list:
< DATE
> 111 20140512195623
< LIST NEWSGROUPS fr.comp.lang.python
> 215 Newsgroup descriptions in form "group description"
< LIST NEWSGROUPS fr.comp.lang.*
> 215 Newsgroup descriptions in form "group description"
< LIST NEWSGROUPS zk.brrtt.baz
> 215 Newsgroup descriptions in form "group description"
< LIST NEWSGROUPS fr.comp.lang.*
> 215 Newsgroup descriptions in form "group description"
< LIST NEWSGROUPS fr.comp.lang.python
> 215 Newsgroup descriptions in form "group description"
< GROUP fr.comp.lang.python
> 211 1311 5808 7208 fr.comp.lang.python
< HELP
> 100 Legal commands
< LIST
> 215 Newsgroups in form "group high low status"
< LIST ACTIVE fr.comp.lang.*
> 215 Newsgroups in form "group high low status"
< NEWGROUPS 20140505 000000
> 231 New newsgroups follow
< GROUP fr.comp.lang.python
> 211 1311 5808 7208 fr.comp.lang.python
< OVER 7198-
> 224 Overview information for 7198- follows
< LIST OVERVIEW.FMT
> 215 Order of fields in overview database
< OVER 7198-7208
> 224 Overview information for 7198-7208 follows
< XYZZY
> 500 What?
< GROUP fr.comp.lang.python
> 211 1311 5808 7208 fr.comp.lang.python
< XHDR subject 7208
> 221 Header or metadata information for subject follows (from overview)
< GROUP fr.comp.lang.python
> 211 1311 5808 7208 fr.comp.lang.python
< XOVER 7203-7208
> 224 Overview information for 7203-7208 follows
< authinfo user notarealuser
> 381 Enter password
< AUTHINFO PASS ********
> 481 Authentication failed
< QUIT
> 205 Bye!



Everything is now explained!

-- 
Julien ÉLIE

« Et maintenant, passons à table. Toi aussi, mon fils ! » (César)
Re: Unrecognized XYZZY command
#86260
Author: Steve Crook
Date: Tue, 13 May 2014 07:57
32 lines
2115 bytes
On Mon, 12 May 2014 21:40:42 +0200, Julien ÉLIE wrote in
Message-Id: <lkr83q$144$1@news.trigofacile.com>:

> Hi Wolfgang,
>
>>> In my daily Usenet reports, I see about 70 hosts sending
>>> the (unknown) XYZZY command.
>>
>> I don't remember seeing this in my logs. You might want to implement the
>> proper response in INN, though: "Nothing happens".
>
> It would be amusing.
>
>      500 Nothing happens
> instead of
>      500 What?
>
> Do you know other "easter eggs" commands like this one?

Plugh and Plover are the other two magic words from the original
Colossal Cave Adventure.  I still find it more engaging than most modern
graphics games.  :)

> Anyway, it does not explain why several hosts suddenly sent that 
> command, and what they are expecting with it...

I'm not seeing any XYZZY commands in my innreport.

-- 
What shall we use 
To fill the empty spaces 
Where we used to talk?
Re: Unrecognized XYZZY command
#86261
Author: Julien ÉLIE
Date: Wed, 14 May 2014 18:03
32 lines
2388 bytes
Hi Steve,

>>> I don't remember seeing this in my logs. You might want to implement the
>>> proper response in INN, though: "Nothing happens".

Wolfgang will be pleased to hear that CURRENT now recognizes that no-op word:

200 news.trigofacile.com InterNetNews NNRP server INN 2.6.0 (20140514 snapshot) ready (no posting)
HELLO
500 What?
XYYZY
500 Nothing happens
QUIT
205 Bye!



>> Do you know other "easter eggs" commands like this one?
> 
> Plugh and Plover are the other two magic words from the original
> Colossal Cave Adventure.  I still find it more engaging than most modern
> graphics games.  :)

Oh, thanks for having searched other magic words from that game.
My question was in fact for other "famous" magic commands (not necessarily
from the Colossal Cave Adventure) that are somehow recognized by a few software.
Do you happen to know such commands?

-- 
Julien ÉLIE

« Et maintenant, passons à table. Toi aussi, mon fils ! » (César)
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