[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 12:36:56 CEST 2013


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

--- Comment #4 from Simon McVittie <simon.mcvittie at collabora.co.uk> ---
(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"?

Concrete example: the Unix user jsmith at client45285.cablemodem.example.net
sets his "real name" to "Joe Smith" and connects to irc2.eu.freenode.net, where
he takes the nickname Joe. His IRC client sends "jsmith" in the USER message,
and responds to identd to confirm that his username is jsmith. Am I right in
thinking that he would have this?

    ("fn", [], ["Joe Smith"]),
    ("nickname", [], ["Joe"]),
    ("x-host", [], ["client45285.cablemodem.example.net"]),
    ("x-client-username", [], ["jsmith"]),
    ("x-client-hostname", [], ["client45285.cablemodem.example.net"]),
    ("x-irc-server", [], ["irc2.eu.freenode.net"]),

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"]),

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