[Bug 70626] Provide access to the user and host parts of RPL_WHOISUSER

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Oct 21 17:02:10 CEST 2013


https://bugs.freedesktop.org/show_bug.cgi?id=70626

--- Comment #6 from Debarshi Ray <rishi.is at lostca.se> ---
(In reply to comment #4)
> (In reply to comment #2)
> > The x-client-hostname can also be a cloak on networks that have them. Given
> > that we already have a x-host field, maybe we should choose a different
> > name? I don't know.
> 
> What's the difference between x-host and x-client-hostname? Is it just "how
> we got the information"?

x-host is only returned if you are doing a WHOIS on your own nick, and it is
unaffected by any cloaks that you might have.

x-client-hostname is always there, and might have a cloak if the target user
has one.

> Another concrete example: jjones connects from the same location to the same
> server, with real name "Jane Jones" and nick "Jane". Jane is a Red Hat
> employee and has been given the "cloak" redhat/janej. Her IRC client does
> not respond to identd, and her claimed identity in the USER message is "jj".
> Would she have this?
> 
>     ("fn", [], ["Jane Jones"]),
>     ("nickname", [], ["Jane"]),
>     ("x-host", [], ["redhat/janej"]),
>     ("x-client-username", [], ["~jj"]),
>     ("x-client-hostname", [], ["redhat/janej"]),
>     ("x-irc-server", [], ["irc2.eu.freenode.net"]),

Assuming that Jane is WHOISing her own nick (otherwise she wouldn't have a
x-host), her x-host might look like:
 ["*@client45285.cablemodem.example.net"], [2a01:4f8:191:2334::2]

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the telepathy-bugs mailing list