[IRCServices] Little remote WHOIS formal bug

Andrew Kempe andrewk at isdial.net
Mon Nov 19 16:13:01 PST 2001


I'm not arguing... just curious :-)

Thanks though.

Andrew

----- Original Message -----
From: "John Binder" <jbinder at kgazd.bme.hu>
To: <ircservices at ircservices.za.net>
Sent: Monday, November 19, 2001 3:54 PM
Subject: Re: [IRCServices] Little remote WHOIS formal bug


> It was Unreal ,but it is not important. I mean that remote whois reply in
> services is incomplete (/whois nick nick). Try to do a '/whois nick nick'
on
> a remote server. (The best if it is done by a raw telnet connection) And
> then '/whois chanserv chanserv' for example and see the differences
between
> them. (numeric 311)
>
> Cya
>
> John Binder
>
> ----- Original Message -----
> From: "Andrew Kempe" <andrewk at isdial.net>
> To: <ircservices at ircservices.za.net>
> Sent: Monday, November 19, 2001 7:25 AM
> Subject: Re: [IRCServices] Little remote WHOIS formal bug
>
>
> > Out of interest, what ircd were you using to test this?
> >
> > Andrew
> >
> > ----- Original Message -----
> > From: "John Binder" <jbinder at kgazd.bme.hu>
> > To: <ircservices at ircservices.za.net>
> > Sent: Saturday, November 17, 2001 12:02 AM
> > Subject: [IRCServices] Little remote WHOIS formal bug
> >
> >
> > > Hi,
> > >
> > > I've just found this reply via whois from services:
> > > :services.abc.xyz 311 janos operserv services services.abc.xyz
:Operator
> > > Server
> > > From server:
> > > :irc.abc.xyz 311 janos OperServ services services.abc.xyz * :Operator
> > Server
> > > So the * is missing from the source.
> > > And the last line is also buggy in void m_whois, it should be:
> > >         'send_cmd(ServerName, "318 %s %s End of /WHOIS response.",
> source,
> > > av[0])'
> > >
> > > For extra another line should be added (oper numeric) and it should
be:
> > >         'send_cmd(ServerName, "313 %s %s :is a Network Service",
source,
> > > av[0])' (or "an IRC Operator")  - but this is only optional , and it
> > should
> > > be for clients/scripts to detect services as a "super-user". (Scripts
> and
> > > clients only watch the numeric in the most cases)
> > >
> > > Effect: breaking some client (I tried mirc and xchat)
> > >
> > > "/whois services.abc.xyz notexistantuser" is also affected:
> > >     'send_cmd(ServerName, "401 %s %s :No such service.", source,
> av[0]);'
> > > Sometimes it breaks some client, it should be two lines:
> > >     'send_cmd(ServerName, "401 %s %s :No such nick/channel.", source,
> > > av[0]);'
> > >     'send_cmd(ServerName, "318 End of /WHOIS response.");'
> > > But the last bug can be found rarely.
> > >
> > > John Binder (Janos on IRC)
> > >
> > > P.S.: I hope I didn't write my bug report to the wrong place.
> > >
> > > -----------------------------------------------------------
> > > To unsubscribe, mail ircservices-request at ircservices.za.net
> > > with the word UNSUBSCRIBE in the subject of the mail.
> > > http://www.ircservices.za.net/mailman/listinfo/ircservices
> > >
> >
> > -----------------------------------------------------------
> > To unsubscribe, mail ircservices-request at ircservices.za.net
> > with the word UNSUBSCRIBE in the subject of the mail.
> > http://www.ircservices.za.net/mailman/listinfo/ircservices
> >
> >
>
> -----------------------------------------------------------
> To unsubscribe, mail ircservices-request at ircservices.za.net
> with the word UNSUBSCRIBE in the subject of the mail.
> http://www.ircservices.za.net/mailman/listinfo/ircservices
>