1
0
mirror of https://github.com/moparisthebest/xeps synced 2024-11-21 16:55:07 -05:00

XEP-0347 v0.3 - Added the possibility for owners to update meta-data about its things. This is done through the optional attribute jid on the update element; Added ROOM to the list of predefined tag names; Added anchors to section headers (pw)

This commit is contained in:
Matthew A. Miller 2014-11-24 08:26:22 -07:00
parent 7cba9d292e
commit aa8fd0f4ea

View File

@ -32,7 +32,7 @@
</dependencies> </dependencies>
<supersedes/> <supersedes/>
<supersededby/> <supersededby/>
<shortname>NOT_YET_ASSIGNED</shortname> <shortname>iot-discovery</shortname>
<author> <author>
<firstname>Peter</firstname> <firstname>Peter</firstname>
<surname>Waher</surname> <surname>Waher</surname>
@ -47,6 +47,19 @@
<jid>TBD</jid> <jid>TBD</jid>
<uri>http://www-rnks.informatik.tu-cottbus.de/~rklauck</uri> <uri>http://www-rnks.informatik.tu-cottbus.de/~rklauck</uri>
</author> </author>
<revision>
<version>0.3</version>
<date>2014-11-11</date>
<initials>pw</initials>
<remark>
<p>
Added the possibility for <link url='#ownerupdate'>owners to update meta-data about its things</link>.
This is done through the optional attribute <strong>jid</strong> on the <strong>update</strong> element.
</p>
<p>Added <strong>ROOM</strong> to the <link url='#tags'>list of predefined tag names</link>.</p>
<p>Added anchors to section headers.</p>
</remark>
</revision>
<revision> <revision>
<version>0.2</version> <version>0.2</version>
<date>2014-09-07</date> <date>2014-09-07</date>
@ -345,7 +358,7 @@
The life cycle of a Thing can be divided into multiple steps. The following sections will list many of these steps in possible order of occurrence during the The life cycle of a Thing can be divided into multiple steps. The following sections will list many of these steps in possible order of occurrence during the
life cycle of the Thing. life cycle of the Thing.
</p> </p>
<section2 topic='Production'> <section2 topic='Production' anchor='production'>
<p> <p>
During production of a Thing, decisions have to be made whether the following parameters should be pre-configured, manually entered after installation or During production of a Thing, decisions have to be made whether the following parameters should be pre-configured, manually entered after installation or
automatically found and/or created by the device if possible (zero-configuration networking): automatically found and/or created by the device if possible (zero-configuration networking):
@ -371,7 +384,7 @@
decentralized network architecture. A detailed discussion of the two alternatives goes beyond the scope of this specification, and will not be presented here. decentralized network architecture. A detailed discussion of the two alternatives goes beyond the scope of this specification, and will not be presented here.
</p> </p>
</section2> </section2>
<section2 topic='Installation'> <section2 topic='Installation' anchor='installation'>
<p> <p>
Apart from physical installation, and connection to power and communication infrastructure, the installation phase of a Thing might also require manual entry of values that Apart from physical installation, and connection to power and communication infrastructure, the installation phase of a Thing might also require manual entry of values that
could not be set in the production environment. Since Things might have very limited human user interfaces, external tools might be required to provide this information. Due could not be set in the production environment. Since Things might have very limited human user interfaces, external tools might be required to provide this information. Due
@ -379,7 +392,7 @@
resources where such cannot be found nor set in a production environment. resources where such cannot be found nor set in a production environment.
</p> </p>
</section2> </section2>
<section2 topic='Finding XMPP Server'> <section2 topic='Finding XMPP Server' anchor='findingserver'>
<p> <p>
If the address of an XMPP Server is not preconfigured, the Thing must attempt to find one in its local surroundings. This can be done using one of several methods: If the address of an XMPP Server is not preconfigured, the Thing must attempt to find one in its local surroundings. This can be done using one of several methods:
</p> </p>
@ -391,7 +404,7 @@
<p> <p>
The following sections describe them in more detail. The following sections describe them in more detail.
</p> </p>
<section3 topic='DHCP'> <section3 topic='DHCP' anchor='dhcp'>
<p> <p>
DHCP offers an internal structure for advertising configuration information to clients in a network. DHCP offers an internal structure for advertising configuration information to clients in a network.
This includes configuration parameters and other control elements, which are transmitted in special marked data elements, called 'options', as described in This includes configuration parameters and other control elements, which are transmitted in special marked data elements, called 'options', as described in
@ -415,7 +428,7 @@
<strong>TBD:</strong> Define and register DHCP and BOOTP option as described in <link url='#option'>Parameters for IoT Discovery</link>. Use of 'option-code' 84. <strong>TBD:</strong> Define and register DHCP and BOOTP option as described in <link url='#option'>Parameters for IoT Discovery</link>. Use of 'option-code' 84.
</li> </li>
</ul> </ul>
<section4 topic='XMPP Server Option'> <section4 topic='XMPP Server Option' anchor='serveroption'>
<p> <p>
This option specifies the name of the XMPP server. This option specifies the name of the XMPP server.
The name may or may not be qualified with the local domain name. The name may or may not be qualified with the local domain name.
@ -434,7 +447,7 @@
224 12 pronto.local]]> 224 12 pronto.local]]>
</example> </example>
</section4> </section4>
<section4 topic='Dynamic Host Configuration Protocol (DHCP) and Bootstrap Protocol (BOOTP) Parameters for IoT Discovery' anchor='option'> <section4 topic='Dynamic Host Configuration Protocol (DHCP) and Bootstrap Protocol (BOOTP) Parameters for IoT Discovery' anchor='dhcpoption'>
<p>The following parameters in use as of MONTH 201x. Refer to the DHCP and BOOTP parameters itself for a complete and current list of parameters (this specification might or might not be revised when new parameters are registered).</p> <p>The following parameters in use as of MONTH 201x. Refer to the DHCP and BOOTP parameters itself for a complete and current list of parameters (this specification might or might not be revised when new parameters are registered).</p>
<example caption='IoT Discovery DHCP and BOOTP Parameters Registry'> <example caption='IoT Discovery DHCP and BOOTP Parameters Registry'>
<![CDATA[ <![CDATA[
@ -446,7 +459,7 @@
</example> </example>
</section4> </section4>
</section3> </section3>
<section3 topic='Multicast DNS (mDNS) and DNS Service Discovery (DNS-SD)'> <section3 topic='Multicast DNS (mDNS) and DNS Service Discovery (DNS-SD)' anchor='dns'>
<p> <p>
An introduction of mDNS/DNS-SD (e.g., how it works and terminology) is described in &xep0174; (i.e., sections [1.2] and [2]). An introduction of mDNS/DNS-SD (e.g., how it works and terminology) is described in &xep0174; (i.e., sections [1.2] and [2]).
For the purpose of IoT Discovery we are interested only in the "xmpp-client" service. For the purpose of IoT Discovery we are interested only in the "xmpp-client" service.
@ -454,7 +467,7 @@
An XMPP chat client (actually its mDNS daemon) can send out multicast DNS queries for services of type "xmpp-client". An XMPP chat client (actually its mDNS daemon) can send out multicast DNS queries for services of type "xmpp-client".
<strong>Note:</strong> the service of type "xmpp-client" is the reservered name for client-to-server connections by IANA, as described in &rfc6120;. <strong>Note:</strong> the service of type "xmpp-client" is the reservered name for client-to-server connections by IANA, as described in &rfc6120;.
</p> </p>
<section4 topic='DNS Records'> <section4 topic='DNS Records' anchor='dnsrecords'>
<p>In order to advertise its availability, a server MUST publish four different kinds of DNS records:</p> <p>In order to advertise its availability, a server MUST publish four different kinds of DNS records:</p>
<ol> <ol>
<li> <li>
@ -551,7 +564,7 @@
</section4> </section4>
<!-- Ref: XEP-0174 --> <!-- Ref: XEP-0174 -->
</section3> </section3>
<section3 topic='SSDP/UPnP'> <section3 topic='SSDP/UPnP' anchor='upnp'>
<p>TBD</p> <p>TBD</p>
<!-- TODO --> <!-- TODO -->
</section3> </section3>
@ -560,7 +573,7 @@
Provisioning Server and other peers it want to connect to. The next section can thus be skipped. Provisioning Server and other peers it want to connect to. The next section can thus be skipped.
</p> </p>
</section2> </section2>
<section2 topic='Connection to XMPP Server'> <section2 topic='Connection to XMPP Server' anchor='connection'>
<p> <p>
Once an XMPP Server has been found, a connection can be made. If multiple XMPP Servers are found, the client is free to choose the one that best suits its purposes. Once an XMPP Server has been found, a connection can be made. If multiple XMPP Servers are found, the client is free to choose the one that best suits its purposes.
</p> </p>
@ -569,7 +582,7 @@
allows account creation can be used. allows account creation can be used.
</p> </p>
</section2> </section2>
<section2 topic='Finding Thing Registry'> <section2 topic='Finding Thing Registry' anchor='findingregistry'>
<p> <p>
If a Thing Registry is not preconfigured, one must be found. A Thing Registry can be hosted either as a server component using &xep0114; or as an XMPP Client accessible through If a Thing Registry is not preconfigured, one must be found. A Thing Registry can be hosted either as a server component using &xep0114; or as an XMPP Client accessible through
a JID. The following lists methods to obtaining the Component Address or JID for the Thing Registry. Note that the last one has <link url='#security'>security considerations</link> a JID. The following lists methods to obtaining the Component Address or JID for the Thing Registry. Note that the last one has <link url='#security'>security considerations</link>
@ -593,7 +606,7 @@
</li> </li>
</ol> </ol>
</section2> </section2>
<section2 topic='Registering Thing'> <section2 topic='Registering Thing' anchor='register'>
<p> <p>
Once a Thing Registry has been found and been befriended, the Thing can register itself with the registry, as follows: Once a Thing Registry has been found and been befriended, the Thing can register itself with the registry, as follows:
</p> </p>
@ -649,7 +662,7 @@
<strong>Note:</strong> Meta Tag names are case insensitive. In this document, all tag names have been written using upper case letters. <strong>Note:</strong> Meta Tag names are case insensitive. In this document, all tag names have been written using upper case letters.
</p> </p>
</section2> </section2>
<section2 topic='Register self-owned Thing'> <section2 topic='Register self-owned Thing' anchor='registerselfowner'>
<p> <p>
If a thing is self-owned, it can register itself with the Registry as normal, with the addition of setting the attribute <strong>selfOwned</strong> to <strong>true</strong>, If a thing is self-owned, it can register itself with the Registry as normal, with the addition of setting the attribute <strong>selfOwned</strong> to <strong>true</strong>,
as is shown below. This registers the Thing directly as PUBLIC CLAIMED, with no need for an owner to claim ownership of the device. This can be useful if as is shown below. This registers the Thing directly as PUBLIC CLAIMED, with no need for an owner to claim ownership of the device. This can be useful if
@ -676,7 +689,7 @@
id='2'/>]]> id='2'/>]]>
</example> </example>
</section2> </section2>
<section2 topic='Register Thing behind Concentrator'> <section2 topic='Register Thing behind Concentrator' anchor='registerconcentrator'>
<p> <p>
A Thing might reside behind a gateway or concentrator and might not be directly connected to the XMPP network itself, as is described in &xep0326;. In these cases, there are three optional A Thing might reside behind a gateway or concentrator and might not be directly connected to the XMPP network itself, as is described in &xep0326;. In these cases, there are three optional
attributes that can be used to identify the Thing behind the JID: The <strong>nodeId</strong> attribute gives the ID of the Thing (a.k.a. "Node"). The Node might reside in attributes that can be used to identify the Thing behind the JID: The <strong>nodeId</strong> attribute gives the ID of the Thing (a.k.a. "Node"). The Node might reside in
@ -713,7 +726,7 @@
If the Thing behind the concentrator is self-owned, it simply adds the <strong>selfOwned</strong> attribute to the request and sets it to <strong>true</strong>. If the Thing behind the concentrator is self-owned, it simply adds the <strong>selfOwned</strong> attribute to the request and sets it to <strong>true</strong>.
</p> </p>
</section2> </section2>
<section2 topic='Claiming Ownership of a Thing'> <section2 topic='Claiming Ownership of a Thing' anchor='claim'>
<p> <p>
As mentioned above, the owner of the Thing must provide the information provided by the Thing to the Registry, in order to claim ownership over it. To avoid the As mentioned above, the owner of the Thing must provide the information provided by the Thing to the Registry, in order to claim ownership over it. To avoid the
possibility that somebody can guess the information, the information must necessarily be long. This creates the problem of transfer of information. One method to solve this possibility that somebody can guess the information, the information must necessarily be long. This creates the problem of transfer of information. One method to solve this
@ -889,7 +902,7 @@
<strong>Note:</strong> Meta Tag names are case insensitive. In this document, all tag names have been written using upper case letters. <strong>Note:</strong> Meta Tag names are case insensitive. In this document, all tag names have been written using upper case letters.
</p> </p>
</section2> </section2>
<section2 topic='Removing Thing from Registry'> <section2 topic='Removing Thing from Registry' anchor='remove'>
<p> <p>
After a Thing has been claimed and is registed as a PUBLIC CLAIMED Thing in the Registry, it implies the Thing is available in searches. The owner can choose to remove After a Thing has been claimed and is registed as a PUBLIC CLAIMED Thing in the Registry, it implies the Thing is available in searches. The owner can choose to remove
the Thing from the Registry, to avoid that the Thing appears in searches. To remove a Thing from the Registry the owner simply sends a removal request to the Registry the Thing from the Registry, to avoid that the Thing appears in searches. To remove a Thing from the Registry the owner simply sends a removal request to the Registry
@ -983,7 +996,7 @@
id='7'/>]]> id='7'/>]]>
</example> </example>
</section2> </section2>
<section2 topic='Finding Provisioning Server'> <section2 topic='Finding Provisioning Server' anchor='findingprovisioning'>
<p> <p>
Up to this point only basic configuration and ownership and visibility of a Thing has been covered. For more advanced operations, a Thing might be required to Up to this point only basic configuration and ownership and visibility of a Thing has been covered. For more advanced operations, a Thing might be required to
use a Provisioning Server to whom it can delegate trust and allow making decisions, controlling access rights and privileges for the Thing, as described in &xep0324;. use a Provisioning Server to whom it can delegate trust and allow making decisions, controlling access rights and privileges for the Thing, as described in &xep0324;.
@ -1015,12 +1028,12 @@
</li> </li>
</ol> </ol>
</section2> </section2>
<section2 topic='Delegating Trust'> <section2 topic='Delegating Trust' anchor='delegate'>
<p> <p>
Once a Provisioning Server has been found and been befriended, the Thing can delegate its trust to it, according to &xep0324;. Once a Provisioning Server has been found and been befriended, the Thing can delegate its trust to it, according to &xep0324;.
</p> </p>
</section2> </section2>
<section2 topic='Update Meta Information about Thing in Registry'> <section2 topic='Update Meta Information about Thing in Registry' anchor='update'>
<p> <p>
Once a Thing has been claimed and chooses to reside as a public Thing in the registry, it can update its meta information at any time. This meta information Once a Thing has been claimed and chooses to reside as a public Thing in the registry, it can update its meta information at any time. This meta information
will be available in searches made to the registry by third parties and is considered public. However, the Thing should be connected to a provisioning server will be available in searches made to the registry by third parties and is considered public. However, the Thing should be connected to a provisioning server
@ -1111,7 +1124,80 @@
<strong>Note:</strong> Meta Tag names are case insensitive. In this document, all tag names have been written using upper case letters. <strong>Note:</strong> Meta Tag names are case insensitive. In this document, all tag names have been written using upper case letters.
</p> </p>
</section2> </section2>
<section2 topic='Search for Public Things in Registry'> <section2 topic='Owner updating Meta Information about Thing in Registry' anchor='ownerupdate'>
<p>
An owner of a thing can also update the meta-data of a thing it has claimed. To do this, you simply add a <strong>jid</strong> attribute containing the JID of the thing to the
<strong>update</strong> element. (If this attribute is not present, the JID is assumed to be that of the sender of the message.)
</p>
<example caption='Owner requests an update of Meta Data of Thing'>
<![CDATA[
<iq type='set'
from='owner@clayster.com/1234'
to='discovery.clayster.com'
id='8'>
<update xmlns='urn:xmpp:iot:discovery' jid='thing@clayster.com'>
<str name='ROOM' value='...'/>
<str name='APT' value='...'/>
<str name='BLD' value='...'/>
<str name='STREET' value='...'/>
<str name='STREETNR' value='...'/>
<str name='AREA' value='...'/>
<str name='CITY' value='...'/>
<str name='REGION' value='...'/>
<str name='COUNTRY' value='...'/>
</update>
</iq>]]>
</example>
<p>
The owner can update meta-data of things behind concentrators also. To do this, the corresponding attributes <strong>nodeId</strong>, <strong>sourceId</strong>
and <strong>cacheType</strong> must be used to identify the thing, as follows:
</p>
<example caption='Owner requests an update of Meta Data of Thing behind concentrator'>
<![CDATA[
<iq type='set'
from='owner@clayster.com/1234'
to='discovery.clayster.com'
id='8'>
<update xmlns='urn:xmpp:iot:discovery' jid='rack@clayster.com' nodeId='imc1' sourceId='MeteringTopology'>
<str name='ROOM' value='...'/>
<str name='APT' value='...'/>
<str name='BLD' value='...'/>
<str name='STREET' value='...'/>
<str name='STREETNR' value='...'/>
<str name='AREA' value='...'/>
<str name='CITY' value='...'/>
<str name='REGION' value='...'/>
<str name='COUNTRY' value='...'/>
</update>
</iq>]]>
</example>
<p>
If the Thing is found in the registry and it is claimed by the sender of the current message (i.e. owner is the sender), the registry simply acknowledges the update as follows:
</p>
<example caption='Owner updating thing Meta Data request acknowledgement'>
<![CDATA[
<iq type='result'
from='discovery.clayster.com'
to='owner@clayster.com/1234'
id='8'/>]]>
</example>
<p>
But if the owner is not the sender of the current message (i.e. owner is somebody else), or if the thing is not found at all, the server must report the node as
<strong>not existing</strong> (i.e. not existing among the set of things claimed by the owner).
</p>
<example caption='Owner updating thing Meta Data request failure'>
<![CDATA[
<iq type='error'
from='discovery.clayster.com'
to='owner@clayster.com/1234'
id='8'>
<error type='cancel'>
<item-not-found xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/>
</error>
</iq>]]>
</example>
</section2>
<section2 topic='Search for Public Things in Registry' anchor='search'>
<p> <p>
It is possible for anyone with access to the Thing Registry to search for public Things that have been claimed, including self-owned Things. Such searches It is possible for anyone with access to the Thing Registry to search for public Things that have been claimed, including self-owned Things. Such searches
will never return things that have not been claimed or have been removed from the registry. will never return things that have not been claimed or have been removed from the registry.
@ -1320,7 +1406,7 @@
<strong>Note:</strong> Meta Tag names are case insensitive. In this document, all tag names have been written using upper case letters. <strong>Note:</strong> Meta Tag names are case insensitive. In this document, all tag names have been written using upper case letters.
</p> </p>
</section2> </section2>
<section2 topic='Unregistering Thing from Registry'> <section2 topic='Unregistering Thing from Registry' anchor='unregister'>
<p> <p>
A thing can unregister itself from the Registry. This can be done in an uninstallation procedure for instance. To unregister from the registry, it simply sends A thing can unregister itself from the Registry. This can be done in an uninstallation procedure for instance. To unregister from the registry, it simply sends
an un-registration request to the registry as follows. an un-registration request to the registry as follows.
@ -1358,7 +1444,7 @@
id='10'/>]]> id='10'/>]]>
</example> </example>
</section2> </section2>
<section2 topic='Disowning Thing'> <section2 topic='Disowning Thing' anchor='disown'>
<p> <p>
The owner of a Thing can disown the Thing, returning it to a state without owner. This is done by sending the following request to the Thing Registry: The owner of a Thing can disown the Thing, returning it to a state without owner. This is done by sending the following request to the Thing Registry:
</p> </p>
@ -1668,6 +1754,11 @@
<td>String</td> <td>String</td>
<td>Region associated with the Thing</td> <td>Region associated with the Thing</td>
</tr> </tr>
<tr>
<td>ROOM</td>
<td>String</td>
<td>Room associated with the Thing</td>
</tr>
<tr> <tr>
<td>SN</td> <td>SN</td>
<td>String</td> <td>String</td>
@ -1697,7 +1788,7 @@
<strong>Note:</strong> Meta Tag names are case insensitive. In this document, all tag names have been written using upper case letters. <strong>Note:</strong> Meta Tag names are case insensitive. In this document, all tag names have been written using upper case letters.
</p> </p>
</section2> </section2>
<section2 topic='Friendships between Things and Registry'> <section2 topic='Friendships between Things and Registry' anchor='friendships'>
<p> <p>
In the case the Thing Registry is not the XMPP Server to which the Thing is connected, a friendship relationship between the Thing and the Thing Registry needs to be handled. In the case the Thing Registry is not the XMPP Server to which the Thing is connected, a friendship relationship between the Thing and the Thing Registry needs to be handled.
To minimize the number of concurrent friends the Thing Registry needs to maintain, a Thing must only maintain an active friendship with the registry if it needs to To minimize the number of concurrent friends the Thing Registry needs to maintain, a Thing must only maintain an active friendship with the registry if it needs to
@ -1729,7 +1820,7 @@
Component when the population of Things grows. Component when the population of Things grows.
</p> </p>
</section2> </section2>
<section2 topic='Hijacking predefined JIDs'> <section2 topic='Hijacking predefined JIDs' anchor='hijackingjids'>
<p> <p>
If using predefined user names when searching for a Thing Registry or Provisioning Server, care must be taken to which XMPP Server things connect. If using predefined user names when searching for a Thing Registry or Provisioning Server, care must be taken to which XMPP Server things connect.
It might be possible for third parties to register these predefined account names, and pretend to be a Thing Registry or Provisioning Server and in this way hijack It might be possible for third parties to register these predefined account names, and pretend to be a Thing Registry or Provisioning Server and in this way hijack
@ -1737,7 +1828,7 @@
sure the things cannot be hijacked. sure the things cannot be hijacked.
</p> </p>
</section2> </section2>
<section2 topic='Hijacking things in public areas'> <section2 topic='Hijacking things in public areas' anchor='hijackingthings'>
<p> <p>
The combination of visible key meta information (perhaps in a visible QR-code) and a factory default reset button on a Thing, opens up the possibility to hijack the Thing. The combination of visible key meta information (perhaps in a visible QR-code) and a factory default reset button on a Thing, opens up the possibility to hijack the Thing.
To avoid this, at least one of the two should be removed after successful installation. Either the key meta information (QR-code) should be placed on the package or separate To avoid this, at least one of the two should be removed after successful installation. Either the key meta information (QR-code) should be placed on the package or separate
@ -1751,7 +1842,7 @@
thing hijacked. thing hijacked.
</p> </p>
</section2> </section2>
<section2 topic='Key meta information in searches'> <section2 topic='Key meta information in searches' anchor='keysearch'>
<p> <p>
Care should be taken what key meta information is used to accept an ownership claim. After a successful claim, this meta information is still available in the registry, Care should be taken what key meta information is used to accept an ownership claim. After a successful claim, this meta information is still available in the registry,
at least until the Thing is removed from the registry. While public in the registry, the meta information can be searched and presented to third parties. Access to this at least until the Thing is removed from the registry. While public in the registry, the meta information can be searched and presented to third parties. Access to this
@ -1772,7 +1863,7 @@
</li> </li>
</ul> </ul>
</section2> </section2>
<section2 topic='KEY tag'> <section2 topic='KEY tag' anchor='key'>
<p> <p>
The <strong>KEY</strong> tag is unique in that it is not searchable nor available is search results. For this reason it is ideal for providing secrets shared only The <strong>KEY</strong> tag is unique in that it is not searchable nor available is search results. For this reason it is ideal for providing secrets shared only
between the Thing and the owner. By providing a sufficiently long KEY value in the key meta information required to claim the Thing, guessing the information even though between the Thing and the owner. By providing a sufficiently long KEY value in the key meta information required to claim the Thing, guessing the information even though
@ -1783,7 +1874,7 @@
the key cannot be learned by looking into the database of the registry, or by some other means. the key cannot be learned by looking into the database of the registry, or by some other means.
</p> </p>
</section2> </section2>
<section2 topic='Tag name spam'> <section2 topic='Tag name spam' anchor='tagspam'>
<p> <p>
This document does not limit tag names or the number of tags that can be used by Things. This opens up the possibility of tag spam. Malicious things could fill the database This document does not limit tag names or the number of tags that can be used by Things. This opens up the possibility of tag spam. Malicious things could fill the database
of the registry by reporting random tag names until the database is full. of the registry by reporting random tag names until the database is full.
@ -1793,21 +1884,21 @@
tag names defined in this document. If it has a configurable list of approved tags that can be stored, or if it allows any tags is an implementation decision. tag names defined in this document. If it has a configurable list of approved tags that can be stored, or if it allows any tags is an implementation decision.
</p> </p>
</section2> </section2>
<section2 topic='External services for creating QR-codes'> <section2 topic='External services for creating QR-codes' anchor='externalqr'>
<p> <p>
If using external services when creating QR-codes, like the Google Charts API used in this document, make sure HTTPS is used and certificates validated. If HTTP is used, If using external services when creating QR-codes, like the Google Charts API used in this document, make sure HTTPS is used and certificates validated. If HTTP is used,
meta-data tags used in Thing Registry registrations can be found out by sniffing the network, making it possible to hijack the corresponding devices. meta-data tags used in Thing Registry registrations can be found out by sniffing the network, making it possible to hijack the corresponding devices.
</p> </p>
</section2> </section2>
<section2 topic='DHCP Security Considerations'> <section2 topic='DHCP Security Considerations' anchor='dhcpsec'>
<p>TBD</p> <p>TBD</p>
<!-- TODO --> <!-- TODO -->
</section2> </section2>
<section2 topic='DNS Security Considerations'> <section2 topic='DNS Security Considerations' anchor='dnssec'>
<p>TBD</p> <p>TBD</p>
<!-- TODO --> <!-- TODO -->
</section2> </section2>
<section2 topic='UPnP Security Considerations'> <section2 topic='UPnP Security Considerations' anchor='upnpsec'>
<p>TBD</p> <p>TBD</p>
<!-- TODO --> <!-- TODO -->
</section2> </section2>
@ -1832,7 +1923,7 @@
<xs:element name='register' type='Register'/> <xs:element name='register' type='Register'/>
<xs:element name='mine' type='Mine'/> <xs:element name='mine' type='Mine'/>
<xs:element name='update' type='MetaDataNodeInfo'/> <xs:element name='update' type='Update'/>
<xs:element name='claimed' type='Claimed'/> <xs:element name='claimed' type='Claimed'/>
<xs:element name='remove' type='Jid'/> <xs:element name='remove' type='Jid'/>
@ -1903,7 +1994,6 @@
<xs:element name='str' type='StrTag'/> <xs:element name='str' type='StrTag'/>
<xs:element name='num' type='NumTag'/> <xs:element name='num' type='NumTag'/>
</xs:choice> </xs:choice>
<xs:attributeGroup ref='nodeInfo'/>
</xs:complexType> </xs:complexType>
<xs:complexType name='MetaDataNodeInfo'> <xs:complexType name='MetaDataNodeInfo'>
@ -1924,12 +2014,20 @@
<xs:complexType name='Mine'> <xs:complexType name='Mine'>
<xs:complexContent> <xs:complexContent>
<xs:extension base='MetaData'> <xs:extension base='MetaDataNodeInfo'>
<xs:attribute name='public' type='xs:boolean' use='optional' default='true'/> <xs:attribute name='public' type='xs:boolean' use='optional' default='true'/>
</xs:extension> </xs:extension>
</xs:complexContent> </xs:complexContent>
</xs:complexType> </xs:complexType>
<xs:complexType name='Update'>
<xs:complexContent>
<xs:extension base='MetaDataNodeInfo'>
<xs:attribute name='jid' type='xs:string' use='optional'/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name='Claimed'> <xs:complexType name='Claimed'>
<xs:complexContent> <xs:complexContent>
<xs:extension base='Jid'> <xs:extension base='Jid'>
@ -2002,8 +2100,8 @@
</section1> </section1>
<section1 topic='Acknowledgements' anchor='ack'> <section1 topic='Acknowledgements' anchor='ack'>
<p> <p>
Thanks to Henrik Svedlund, Ivan Vučica, Joachim Lindborg, Joakim Eriksson, Joakim Ramberg, Johannes Hund, Karin Forsell, Kevin Smith, Lance Stout, Lars Åkerskog, Olof Zandrén, Thanks to Eelco Cramer, Henrik Svedlund, Ivan Vučica, Joachim Lindborg, Joakim Eriksson, Joakim Ramberg, Johannes Hund, Karin Forsell, Kevin Smith, Lance Stout, Lars Åkerskog,
Philipp Hancke, Steffen Larsen, Teemu Väisänen and Yusuke Doi for all valuable feedback. Olof Zandrén, Philipp Hancke, Steffen Larsen, Teemu Väisänen and Yusuke Doi for all valuable feedback.
</p> </p>
</section1> </section1>
</xep> </xep>