Project

General

Profile

how to explain these packets ?

peirong jiang
Added over 3 years ago

how to explain these packets:

part 1. 
<iq xmlns="jabber:client" id="815deda5-2629-4d8e-a71b-bf523440fe64" to="pubsub.10.5.1.48" from="http@cd365-pc/21b4b3e4-d018-4f23-816b-f1e376e73b03" type="get">
<query xmlns="http://jabber.org/protocol/disco#items" node="http://jabber.org/protocol/commands"/>
</iq>

part 2. 
<iq type='get' id='purpleb72541a4' to='pubsub.10.5.1.48'>
<query xmlns='http://jabber.org/protocol/disco#info'/>
</iq>


Replies (1)

Added by Daniel Wisnewski IoT 1 Cloud over 3 years ago

These two packets are part of the normal Service Discovery process, in this case user http@cd365-pc/21b4b3e4-d018-4f23-816b-f1e376e73b03a is requesting service discovery from your pubsub (publish/subscribe) component.

Service Discovery is described here in XEP-0030

http://xmpp.org/extensions/xep-0030.html

this section may be of some help

http://xmpp.org/extensions/xep-0030.html#items

    (1-1/1)