[Standards] Presences of Contacts in Search Result

Phuong Vo phngt2 at gmail.com
Mon Oct 19 20:46:05 UTC 2015


Hi Cramer,

I did try your suggestion; however, my server (Cisco Jabber server) does
not support "Group Services". But when I use Cisco Jabber client for my
server I can get presences of contacts in search result (of cause those
contacts in search result are not in my contact list).
Does anyone have any idea how Cisco Jabber client implement this?

Thanks,
Phuong Vo

On Mon, Oct 19, 2015 at 10:40 AM, <standards-request at xmpp.org> wrote:

> Send Standards mailing list submissions to
>         standards at xmpp.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         http://mail.jabber.org/mailman/listinfo/standards
> or, via email, send a message with subject or body 'help' to
>         standards-request at xmpp.org
>
> You can reach the person managing the list at
>         standards-owner at xmpp.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Standards digest..."
>
>
> Today's Topics:
>
>    1. Re: Stream Management and BOSH (Christian Schudt)
>    2. Re: Presences of Contacts in Search Result (Phuong Vo)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Mon, 19 Oct 2015 14:23:43 +0200
> From: "Christian Schudt" <christian.schudt at gmx.de>
> To: standards at xmpp.org
> Subject: Re: [Standards] Stream Management and BOSH
> Message-ID:
>
> <trinity-af1e57e0-9070-4356-8fc7-fa3134b62d79-1445257423880 at 3capp-gmx-bs27
> >
>
> Content-Type: text/plain; charset=UTF-8
>
> While BOSH has it's own acknowledgement mechanism, there are still some
> subtle differences when it comes to resumption:
> With resumption you don't need to:
> - re-request the roster
> - resend presence
> - re-establish state information (as mentioned in XEP-0198)
>
> I see performance benefits (less HTTP queries), when you could just resume
> a BOSH session by means of XEP-0198.
>
>
> - Christian
>
>
> > Hi,
> >
> > I don't know if this was discussed already or not but I couldn't find
> > anything trustworthy about combining Stream Management with BOSH.
> >
> > I'd like to hear an opinion from the community regarding using Stream
> > Management over BOSH. It looks like these two can be combined but the
> > questions are:
> > 1. Doest this make sense?
> > 2. Was Stream Management designed with BOSH in mind or only for regular
> TCP
> > (or WS) connections?
>
>
> ------------------------------
>
> Message: 2
> Date: Mon, 19 Oct 2015 10:40:07 -0700
> From: Phuong Vo <phngt2 at gmail.com>
> To: standards at xmpp.org
> Subject: Re: [Standards] Presences of Contacts in Search Result
> Message-ID:
>         <CA+wHs=
> wMCiTkhy9hqaY7gxW5+w5KXv1Z-RHpjv+yVJUN8USz9g at mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> Hi Dave,
>
> Maybe I misunderstood yours, but your response states "so to see people's
> presence you'd need to add them to your roster. You do this by subscribing
> to their presence via a <presence type='subscribe'/> stanza." That's why I
> replied for getting help with other workaround. I am appreciated your help
> though.
>
> Hi Cramer,
>
> Thanks for your idea. I am going to try your suggestion.
>
> Thanks,
> Phuong Vo
>
> On Mon, Oct 19, 2015 at 4:27 AM, <standards-request at xmpp.org> wrote:
>
> > Send Standards mailing list submissions to
> >         standards at xmpp.org
> >
> > To subscribe or unsubscribe via the World Wide Web, visit
> >         http://mail.jabber.org/mailman/listinfo/standards
> > or, via email, send a message with subject or body 'help' to
> >         standards-request at xmpp.org
> >
> > You can reach the person managing the list at
> >         standards-owner at xmpp.org
> >
> > When replying, please edit your Subject line so it is more specific
> > than "Re: Contents of Standards digest..."
> >
> >
> > Today's Topics:
> >
> >    1. Re: Presences of Contacts in Search Result (Phuong Vo)
> >    2. Questions regarding Diffie-Hellman (Peter Waher)
> >    3. Re: Presences of Contacts in Search Result (Dave Cridland)
> >    4. Re: Presences of Contacts in Search Result (Cramer, E.R. (Eelco))
> >    5. Stream Management and BOSH (Michal Piotrowski)
> >
> >
> > ----------------------------------------------------------------------
> >
> > Message: 1
> > Date: Sun, 18 Oct 2015 16:25:04 -0700
> > From: Phuong Vo <phngt2 at gmail.com>
> > To: standards at xmpp.org
> > Subject: Re: [Standards] Presences of Contacts in Search Result
> > Message-ID: <7711C6E8-FAD0-44C3-9E33-33678847A5D0 at gmail.com>
> > Content-Type: text/plain;       charset=us-ascii
> >
> > Hi Dave
> >
> > According to your reply, if I want to see presences of all contacts in
> > search result, I have to add them to roster. That is just fine for single
> > endpoint; however, jabber supports multiple endpoints (the same users can
> > login on multiple devices) if I do this on one endpoint, all other
> > endpoints will see searched contacts in the contact list which is weird
> > behavior. I am not sure XMPP has a workaround for this issue. Thanks for
> > your response Dave.
> >
> > Thanks,
> > Phuong Vo
> >
> > > On Oct 17, 2015, at 5:00 AM, standards-request at xmpp.org wrote:
> > >
> > > Send Standards mailing list submissions to
> > >    standards at xmpp.org
> > >
> > > To subscribe or unsubscribe via the World Wide Web, visit
> > >    http://mail.jabber.org/mailman/listinfo/standards
> > > or, via email, send a message with subject or body 'help' to
> > >    standards-request at xmpp.org
> > >
> > > You can reach the person managing the list at
> > >    standards-owner at xmpp.org
> > >
> > > When replying, please edit your Subject line so it is more specific
> > > than "Re: Contents of Standards digest..."
> > >
> > >
> > > Today's Topics:
> > >
> > >   1. Fwd: [Council] Minutes 20151014 (Kevin Smith)
> > >   2. Presences of Contacts in Search Result (Phuong Vo)
> > >   3. Re: Presences of Contacts in Search Result (Dave Cridland)
> > >   4. Re: Fwd: [Council] Minutes 20151014 (Goffi)
> > >
> > >
> > > ----------------------------------------------------------------------
> > >
> > > Message: 1
> > > Date: Fri, 16 Oct 2015 15:08:18 +0100
> > > From: Kevin Smith <kevin.smith at isode.com>
> > > To: XMPP Standards <standards at xmpp.org>
> > > Subject: [Standards] Fwd: [Council] Minutes 20151014
> > > Message-ID: <68941690-A778-4858-8126-27CEB165A8BE at isode.com>
> > > Content-Type: text/plain; charset="utf-8"
> > >
> > > FYI
> > >
> > >> Begin forwarded message:
> > >>
> > >> From: Kevin Smith
> > >> Date: 16 October 2015 at 15:06:51 BST
> > >> To: XMPP Council
> > >> Subject: [Council] Minutes 20151014
> > >>
> > >> 1) Roll call
> > >> Kev, Lance, Fippo, Dave present. Matt absent (it later transpired he?d
> > tried to send apologies and failed)
> > >>
> > >> 2) Website review
> > >>
> > >> Dave asked everyone to review all the technical content on
> > http://new.xmpp.org/ for correctness
> > >>
> > >> 3) Date of next meeting
> > >>
> > >> 20151021 15:00Z
> > >>
> > >> 4) Any other business
> > >>
> > >> Fippo asked if https://github.com/xsf/xeps/pull/108 satisfied Kev?s
> > previous comment (it did).
> > >>
> > >> Kev reminded everyone about the upcoming elections.
> > >>
> > >> Fini
> > >
> > > -------------- next part --------------
> > > An HTML attachment was scrubbed...
> > > URL: <
> >
> http://mail.jabber.org/pipermail/standards/attachments/20151016/c06ca407/attachment-0001.html
> > >
> > >
> > > ------------------------------
> > >
> > > Message: 2
> > > Date: Fri, 16 Oct 2015 10:14:12 -0700
> > > From: Phuong Vo <phngt2 at gmail.com>
> > > To: standards at xmpp.org
> > > Subject: [Standards] Presences of Contacts in Search Result
> > > Message-ID:
> > >    <CA+wHs=z-Wo9TEj9edCGVR7tORkFDt1NsXcnaW5mEfHC3YjhLdg at mail.gmail.com
> >
> > > Content-Type: text/plain; charset="utf-8"
> > >
> > > Hi,
> > >
> > > I am currently developing jabber client (vs Cisco Jabber server) and
> > facing
> > > a difficulty of getting presences of contacts (internal contacts, not
> > > federated contacts) in search result if those contacts are not in my
> > > contact list (not in roster). In term of XMPP protocol, could you
> please
> > > help me how to achieve this feature? Any idea, direction are
> appreciated.
> > >
> > > Thanks,
> > > Phuong Vo
> > > -------------- next part --------------
> > > An HTML attachment was scrubbed...
> > > URL: <
> >
> http://mail.jabber.org/pipermail/standards/attachments/20151016/f262e3cb/attachment-0001.html
> > >
> > >
> > > ------------------------------
> > >
> > > Message: 3
> > > Date: Fri, 16 Oct 2015 20:07:32 +0100
> > > From: Dave Cridland <dave at cridland.net>
> > > To: XMPP Standards <standards at xmpp.org>
> > > Subject: Re: [Standards] Presences of Contacts in Search Result
> > > Message-ID:
> > >    <CAKHUCzyPbA2TOJbRgmep5h65HVwCPMnRmg_RLSJHozC0025jAw at mail.gmail.com
> >
> > > Content-Type: text/plain; charset="utf-8"
> > >
> > >> On 16 October 2015 at 18:14, Phuong Vo <phngt2 at gmail.com> wrote:
> > >>
> > >> I am currently developing jabber client (vs Cisco Jabber server) and
> > >> facing a difficulty of getting presences of contacts (internal
> contacts,
> > >> not federated contacts) in search result if those contacts are not in
> my
> > >> contact list (not in roster). In term of XMPP protocol, could you
> please
> > >> help me how to achieve this feature? Any idea, direction are
> > appreciated.
> > > You can't, by design, in standard XMPP.
> > >
> > > The roster is not only a contact list, but also an access control list
> of
> > > which other jids are allowed to see your presence; so to see people's
> > > presence you'd need to add them to your roster. You do this by
> > subscribing
> > > to their presence via a <presence type='subscribe'/> stanza.
> > >
> > > Dave.
> > > -------------- next part --------------
> > > An HTML attachment was scrubbed...
> > > URL: <
> >
> http://mail.jabber.org/pipermail/standards/attachments/20151016/0614f8bf/attachment-0001.html
> > >
> > >
> > > ------------------------------
> > >
> > > Message: 4
> > > Date: Sat, 17 Oct 2015 12:55:50 +0200
> > > From: Goffi <goffi at goffi.org>
> > > To: XMPP Standards <standards at xmpp.org>
> > > Subject: Re: [Standards] Fwd: [Council] Minutes 20151014
> > > Message-ID: <1981379.Sl3HtCtIuH at dhcppc7>
> > > Content-Type: text/plain; charset="utf-8"
> > >
> > > Le vendredi 16 octobre 2015, 15:08:18 Kevin Smith a ?crit :
> > >> FYI
> > >>
> > >>> Begin forwarded message:
> > >>>
> > >>> From: Kevin Smith
> > >>> Date: 16 October 2015 at 15:06:51 BST
> > >>> To: XMPP Council
> > >>> Subject: [Council] Minutes 20151014
> > >>>
> > >>> 1) Roll call
> > >>> Kev, Lance, Fippo, Dave present. Matt absent (it later transpired
> he?d
> > >>> tried to send apologies and failed)
> > >>>
> > >>> 2) Website review
> > >>>
> > >>> Dave asked everyone to review all the technical content on
> > >>> http://new.xmpp.org/ for correctness
> > >
> > > The new website looks great, congrats ! I'm just wondering if "The most
> > secure
> > > messaging protocol" and "Privacy-focused" is suitable when we still
> > don't have
> > > a good popular solution for end to end encryption. I know there is work
> > on
> > > Axolotl/Omemo which fixes some stuff but:
> > > 1) it's not standardised yet
> > > 2) it seems to be focusing on chat
> > > 3) it encodes the <body> element instead of the whole stanza
> > >
> > > We still lack a popular end to end full stanza encryption solution.
> > >
> > > Is it possible to have a focus on end 2 end encryption for the Fosdem
> > XMPP
> > > summit ? It's a long time issue in XMPP, and I don't think we can claim
> > "the
> > > most secure messaging protocol" without this fixed.
> > >
> > >
> > > Thanks
> > > Goffi
> > >
> > >
> > > ------------------------------
> > >
> > > Subject: Digest Footer
> > >
> > > _______________________________________________
> > > Standards mailing list
> > > Standards at xmpp.org
> > > http://mail.jabber.org/mailman/listinfo/standards
> > >
> > >
> > > ------------------------------
> > >
> > > End of Standards Digest, Vol 143, Issue 21
> > > ******************************************
> >
> >
> > ------------------------------
> >
> > Message: 2
> > Date: Mon, 19 Oct 2015 09:59:50 +0200
> > From: Peter Waher <peterwaher at hotmail.com>
> > To: "standards at xmpp.org" <standards at xmpp.org>, "security at xmpp.org"
> >         <security at xmpp.org>
> > Subject: [Standards] Questions regarding Diffie-Hellman
> > Message-ID: <DUB123-W865A52AAE6A955B1DF8F7D03A0 at phx.gbl>
> > Content-Type: text/plain; charset="iso-8859-1"
> >
> > Hello
> >
> > Regarding the latest report concerning vulnerabilities in the
> > Diffie-Hellman key Exchange [1] (short introduction in [2]) and the
> logjam
> > attack [3], is there anyone with experience in securing encypted channels
> > or end-to-end-encrypted channels using either 2048 bit keys or elliptic
> > curve cryptography? Does anyone know to which extent there are brokers
> that
> > support such level of cryptography? Or to what extent it is even legal to
> > use such level of cryptography, and where?
> >
> > Best regards,
> > Peter Waher
> >
> > [1] https://weakdh.org/imperfect-forward-secrecy-ccs15.pdf
> > [2]
> >
> https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange#Practical_attacks_on_Internet_traffic
> > [3] https://en.wikipedia.org/wiki/Logjam_(computer_security)
> >
> > -------------- next part --------------
> > An HTML attachment was scrubbed...
> > URL: <
> >
> http://mail.jabber.org/pipermail/standards/attachments/20151019/bce50d59/attachment-0001.html
> > >
> >
> > ------------------------------
> >
> > Message: 3
> > Date: Mon, 19 Oct 2015 11:28:11 +0100
> > From: Dave Cridland <dave at cridland.net>
> > To: XMPP Standards <standards at xmpp.org>
> > Subject: Re: [Standards] Presences of Contacts in Search Result
> > Message-ID:
> >         <CAKHUCzykJ=jSbfKwvgH6DZpACSo99_mFnh=
> > BCzLPYeCH-L0T3w at mail.gmail.com>
> > Content-Type: text/plain; charset="utf-8"
> >
> > On 19 October 2015 at 00:25, Phuong Vo <phngt2 at gmail.com> wrote:
> >
> > > According to your reply, if I want to see presences of all contacts in
> > > search result, I have to add them to roster. That is just fine for
> single
> > > endpoint; however, jabber supports multiple endpoints (the same users
> can
> > > login on multiple devices) if I do this on one endpoint, all other
> > > endpoints will see searched contacts in the contact list which is weird
> > > behavior. I am not sure XMPP has a workaround for this issue. Thanks
> for
> > > your response Dave.
> > >
> >
> > You're misunderstanding.
> >
> > You can only see presence for those people who have given you permission
> to
> > do so.
> >
> > This is intentional, and a workaround would be a security issue.
> >
> > Dave.
> > -------------- next part --------------
> > An HTML attachment was scrubbed...
> > URL: <
> >
> http://mail.jabber.org/pipermail/standards/attachments/20151019/289377f3/attachment-0001.html
> > >
> >
> > ------------------------------
> >
> > Message: 4
> > Date: Mon, 19 Oct 2015 10:45:36 +0000
> > From: "Cramer, E.R. (Eelco)" <Eelco.Cramer at tno.nl>
> > To: XMPP Standards <standards at xmpp.org>
> > Subject: Re: [Standards] Presences of Contacts in Search Result
> > Message-ID: <6DFFF2E2-4153-4399-BC6F-3320CC960953 at tno.nl>
> > Content-Type: text/plain; charset="utf-8"
> >
> > For internal contact only you might want to check out:
> >
> > http://www.xmpp.org/extensions/xep-0144.html#entities-groupservice <
> > http://www.xmpp.org/extensions/xep-0144.html#entities-groupservice>
> >
> > If you server administrator allows it and you server supports it.
> >
> > ?A group service enables an administrator to centrally define and
> > administer roster groups so that they can be shared among a user
> population
> > in an organized fashion.?
> >
> > "If the user has registered with a group service or been otherwise
> > provisioned to use a group service, the receiving application SHOULD
> > process roster item suggestions received from the service. Such
> processing
> > MAY occur automatically (i.e., without the user's approval of each roster
> > item or batch of roster items) if and only if the receiving application
> has
> > explicitly informed the user that it will automatically process roster
> > items from the service. Furthermore, the receiving application SHOULD
> > periodically verify automatic processing with the user (e.g., once per
> > session in which the service sends roster item suggestions to the user).?
> >
> > Hope this helps.
> >
> > > On 19 Oct 2015, at 12:28, Dave Cridland <dave at cridland.net> wrote:
> > >
> > > On 19 October 2015 at 00:25, Phuong Vo <phngt2 at gmail.com <mailto:
> > phngt2 at gmail.com>> wrote:
> > > According to your reply, if I want to see presences of all contacts in
> > search result, I have to add them to roster. That is just fine for single
> > endpoint; however, jabber supports multiple endpoints (the same users can
> > login on multiple devices) if I do this on one endpoint, all other
> > endpoints will see searched contacts in the contact list which is weird
> > behavior. I am not sure XMPP has a workaround for this issue. Thanks for
> > your response Dave.
> > >
> > > You're misunderstanding.
> > >
> > > You can only see presence for those people who have given you
> permission
> > to do so.
> > >
> > > This is intentional, and a workaround would be a security issue.
> > >
> > > Dave.
> >
> > -------------- next part --------------
> > An HTML attachment was scrubbed...
> > URL: <
> >
> http://mail.jabber.org/pipermail/standards/attachments/20151019/b6ee3425/attachment-0001.html
> > >
> > -------------- next part --------------
> > A non-text attachment was scrubbed...
> > Name: signature.asc
> > Type: application/pgp-signature
> > Size: 841 bytes
> > Desc: Message signed with OpenPGP using GPGMail
> > URL: <
> >
> http://mail.jabber.org/pipermail/standards/attachments/20151019/b6ee3425/attachment-0001.sig
> > >
> > -------------- next part --------------
> > This message may contain information that is not intended for you. If you
> > are not the addressee or if this message was sent to you by mistake, you
> > are requested to inform the sender and delete the message. TNO accepts no
> > liability for the content of this e-mail, for the manner in which you use
> > it and for damage of any kind resulting from the risks inherent to the
> > electronic transmission of messages.
> >
> > ------------------------------
> >
> > Message: 5
> > Date: Mon, 19 Oct 2015 13:27:40 +0200
> > From: Michal Piotrowski <michal.piotrowski at erlang-solutions.com>
> > To: standards at xmpp.org
> > Subject: [Standards] Stream Management and BOSH
> > Message-ID:
> >         <CAGH=v4f3WP=
> > MrU53sNKT3mo4y8y_fD-FXjKhuK2ObY3q3KTohw at mail.gmail.com>
> > Content-Type: text/plain; charset="utf-8"
> >
> > Hi,
> >
> > I don't know if this was discussed already or not but I couldn't find
> > anything trustworthy about combining Stream Management with BOSH.
> >
> > I'd like to hear  an opinion from the community regarding using Stream
> > Management over BOSH. It looks like these two can be combined but the
> > questions are:
> > 1. Doest this make sense?
> > 2. Was Stream Management designed with BOSH in mind or only for regular
> TCP
> > (or WS) connections?
> >
> > Many thanks in advance for any comment.
> >
> > Best regards
> > Michal Piotrowski
> > michal.piotrowski at erlang-solutions.com
> > -------------- next part --------------
> > An HTML attachment was scrubbed...
> > URL: <
> >
> http://mail.jabber.org/pipermail/standards/attachments/20151019/1bfb692d/attachment.html
> > >
> >
> > ------------------------------
> >
> > Subject: Digest Footer
> >
> > _______________________________________________
> > Standards mailing list
> > Standards at xmpp.org
> > http://mail.jabber.org/mailman/listinfo/standards
> >
> >
> > ------------------------------
> >
> > End of Standards Digest, Vol 143, Issue 22
> > ******************************************
> >
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> http://mail.jabber.org/pipermail/standards/attachments/20151019/0b80ada0/attachment.html
> >
>
> ------------------------------
>
> Subject: Digest Footer
>
> _______________________________________________
> Standards mailing list
> Standards at xmpp.org
> http://mail.jabber.org/mailman/listinfo/standards
>
>
> ------------------------------
>
> End of Standards Digest, Vol 143, Issue 24
> ******************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.jabber.org/pipermail/standards/attachments/20151019/6dcc18bc/attachment-0001.html>


More information about the Standards mailing list