[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bug ?



On Sun, 2002-04-07 at 15:11, Andrew Suffield wrote:
> Somebody got ircnet to support 005 instead of the random stuff they
> used to have? I thought they were stubbornly doing their own thing
> still... (haven't been able to connect to ircnet in months, silly
> ineptly paranoid server admins).

FYI, the random stuff they use for 005 is a 'bounce message', like the
Location response-header in HTTP. It's used to instruct a client to
break the connection and connect to a different IRC server, and to tell
the client which server to connect to.

In other words, it's useful, but still has a namespace clash with what
everyone else thinks 005 is supposed to mean. Fortunately, the format of
the 005 numeric's parameters on IRCnet and on the other networks is
quite different, so they're easy to distinguish. For reference, IRCnet
sends:

  005 Try server <host>, port <port>

Everyone else sends:

  005 <stuff> :are supported by this server

So, if the parameters fit the regular expression '^Try server .*, port
[0-9]*$' then it's IRCnet's 005; otherwise it's everyone else's 005.

A hassle, sure, but not a huge one.

Regards,

Alex.

-- 
PGP Public Key: http://aoi.dyndns.org/~alex/pgp-public-key

-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCS d- s:++ a18 C++(++++)>$ UL+++(++++) P--- L+++>++++ E---- W+(+++) N-
o-- K+ w--- !O M(+) V-- PS+++ PE-- Y+ PGP+(+++) t* 5-- X-- R tv b- DI
D+++ G e h! !r y
------END GEEK CODE BLOCK------

This is a digitally signed message part