1
0
mirror of https://github.com/moparisthebest/xeps synced 2024-11-24 18:22:24 -05:00
git-svn-id: file:///home/ksmith/gitmigration/svn/xmpp/trunk@447 4b5297f7-1745-476d-ba37-a9c6900126ab
This commit is contained in:
Peter Saint-Andre 2007-01-30 18:02:41 +00:00
parent 10d3c5f583
commit 2702c80e4d

View File

@ -23,11 +23,17 @@
<shortname>N/A</shortname>
&hildjj;
&stpeter;
<revision>
<version>0.5</version>
<date>2007-01-30</date>
<initials>psa</initials>
<remark><p>Removed _xmpp-client-tcpssl attribute since use of the old-style SSL-only port is discouraged.</p></remark>
</revision>
<revision>
<version>0.4</version>
<date>2007-01-29</date>
<initials>psa</initials>
<remark><p>Added _xmpp-client-tcpssl for old-style SSL connections; discussed potential for using U-NAPTR.</p></remark>
<remark><p>Added _xmpp-client-tcpssl for old-style SSL connections; added discussion of IETF U-NAPTR technology.</p></remark>
</revision>
<revision>
<version>0.3</version>
@ -102,12 +108,14 @@
</ol>
</section1>
<section1 topic='Examples' anchor='examples'>
<p>The following examples show three DNS TXT resource records: the first indicates support for the httpbind connection method defined in XEP-0124 including the appropriate URL, the second indicates support for the httppoll connection method defined in XEP-0025 including the appropriate URL, and the third indicates support for WAP connections including the appropriate URL, and the fourth indicates support for the older, SSL-only connection method for clients.</p>
<p>The following examples show three DNS TXT resource records: the first indicates support for the httpbind connection method defined in XEP-0124 including the appropriate URL, the second indicates support for the httppoll connection method defined in XEP-0025 including the appropriate URL, and the third indicates support for WAP connections including the appropriate URL, the fourth indicates support for client connections at TCP port 5222, and the fifth indicates support for server connections at TCP port 5269.</p>
<example caption='TXT Resource Records'><![CDATA[
_xmppconnect IN TXT "_xmpp-client-httpbind=https://web.jabber.org:8080/bind.cgi"
_xmppconnect IN TXT "_xmpp-client-wap=http://wap.jabber.org/connector.cgi"
_xmppconnect IN TXT "_xmpp-client-tcpssl=5223"
_xmppconnect IN TXT "_xmpp-client-tcp=5222"
_xmppconnect IN TXT "_xmpp-server-tcp=5269"
]]></example>
<p>Note: These examples are included for the sake of completeness. As mentioned, use of the "_xmpp-client-tcp" and "_xmpp-server-tcp" attributes is discouraged, since SRV records are preferred.</p>
</section1>
<section1 topic='Security Considerations' anchor='security'>
<p>It is possible that advertisement of connection methods other than the standard TCP connection method may introduce security vulnerabilities, since a connecting entity (usually a client) might deliberately seek to connect using the method with the weakest security mechanisms (e.g., no channel encryption or relatively weak authentication). Care must be taken in determining which connection methods are appropriate to advertise.</p>
@ -153,20 +161,12 @@ _xmppconnect IN TXT "_xmpp-client-tcpssl=5223"
<doc>RFC 3920</doc>
</attribute>
<attribute>
<name>_xmpp-client-tcpssl</name>
<desc>old-style SSL-encrypted client-to-server TCP connection method</desc>
<value>should contain the port number (traditionally 5223)</value>
<doc>N/A</doc>
</attribute>
<attribute>
<name>_xmpp-server-tcp</name>
<desc>standard server-to-server TCP connection method (usually on port 5269)</desc>
<value>may contain the port number (however, this should be discovered via SRV)</value>
<doc>RFC 3920</doc>
</attribute>
]]></code>
</section3>
</section2>