Software: Apache/2.2.16 (Debian). PHP/5.3.3-7+squeeze19 uname -a: Linux mail.tri-specialutilitydistrict.com 2.6.32-5-amd64 #1 SMP Tue May 13 16:34:35 UTC uid=33(www-data) gid=33(www-data) groups=33(www-data) Safe-mode: OFF (not secure) /usr/share/doc/telepathy-salut/ drwxr-xr-x |
Viewing file: Select action/file-type: XEP-proto-clique: Clique - link-local chat roomsA protocol for serverless link-local multi-user chat over reliable multicast. WARNING: This document has not yet been accepted for consideration or approved in any official manner by the XMPP Standards Foundation, and this document must not be referred to as an XMPP Extension Protocol (XEP). If this document is accepted as a XEP by the XMPP Council, it will be published at <http://www.xmpp.org/extensions/> and announced on the <standards@xmpp.org> mailing list. Document Information
Series: XEP Author InformationSimon McVittie
Email:
simon.mcvittie@collabora.co.uk Legal NoticesCopyrightPermissionsDisclaimer of WarrantyLimitation of LiabilityIPR ConformanceDiscussion VenueThe preferred venue for discussion of this document is the Standards discussion list: <http://mail.jabber.org/mailman/listinfo/standards>. Errata may be sent to <editor@xmpp.org>. Table of Contents
1. IntroductionClique is an extension of XEP-0174 to support multi-user chat. It consists of the following components:
The chat room behaves a lot like XMPP, and namespaces used in XMPP have their usual semantics. However, instead of a stream of XML as in XMPP, Clique's XMPP-like messages are individually well-formed XML documents. XEP-0174 instance names are used for identification in a chat room. The Clique XML namespace can also be used for certain elements sent over XEP-0174 unicast TCP streams, for instance to send invitations. 2. RequirementsSTRONGLY RECOMMENDED. 3. GlossaryOPTIONAL. 4. Use CasesFIXME: there need to be some examples of the actual Clique protocol here 4.1 Advertising a public link-local chatroom via mDNSIn this example a chatroom called "Witchcraft" uses the multicast group 239.255.71.66, port 13251 (arbitrarily chosen). We recommend that chatrooms use a random high port number in a random multicast group in the range 239.255.71.x. ; A dummy A record for the chatroom's multicast group Witchcraft._clique._udp.local. IN A 239.255.71.66 ; A DNS-SD service of type _clique._udp _clique._udp.local. IN PTR Witchcraft._clique._udp.local. Witchcraft._clique._udp.local. IN SRV 13251 ._clique._udp.local. ; For future expansion - implementations SHOULD NOT resolve this, ; unless they implement a future version of this protocol that ; defines some TXT keys for _clique._udp Witchcraft._clique._udp.local. IN TXT "txtvers=0" 4.2 Inviting a contact to a public or private roomIn this example crone@desktop invites hecate@broom to the chatroom given above. This would work just as well if the chatroom was not advertised in mDNS; this can be used to make "private" chatrooms. Note however that anyone with a network traffic sniffer can see the chatroom itself. <!-- Sent via XEP-0174 unicast TCP from crone@desktop to hecate@broom --> <message from='crone@desktop' to='hecate@broom'> <invite xmlns='http://telepathy.freedesktop.org/xmpp/clique'> <roomname>Witchcraft</roomname> <address>239.255.71.66</address> <port>13251</port> <!-- reason is optional --> <reason>We need to plot Macbeth's doom, but the XMPP server is down</reason> </invite> <!-- Displayed by iChat and other non-Clique-compatible clients --> <body>You got a Clique chatroom invitation</body> </message> 5. Business RulesOPTIONAL. 6. Implementation NotesOPTIONAL. 7. Internationalization ConsiderationsOPTIONAL. 8. Security ConsiderationsREQUIRED. 9. IANA ConsiderationsREQUIRED. 10. XMPP Registrar ConsiderationsNone. 11. XML Schema<xs:schema xmlns:xs='http://www.w3.org/2001/XMLSchema' targetNamespace='http://telepathy.freedesktop.org/xmpp/clique' xmlns='http://telepathy.freedesktop.org/xmpp/clique' elementFormDefault='qualified'> <!-- LLMUC invitation. Sent over the IM socket --> <xs:element name='invite'> <xs:complexType> <xs:all> <xs:element name='roomname' type='xs:string'/> <xs:element name='reason' minOccurs='0' type='xs:string'/> <xs:element name='address' type='xs:string'/> <xs:element name='port' type='xs:unsignedShort'/> <!-- In OLPC builds, <properties> with NS_OLPC_ACTIVITY_PROPS goes here --> <xs:any minOccurs='0' maxOccurs='unbounded' namespace='##other'> </xs:all> </xs:complexType> </xs:element> </xs:schema> NotesRevision HistoryVersion 0.0.1 (2007-11-02)First draft. (smcv)END |
:: Command execute :: | |
--[ c99shell v. 2.0 [PHP 7 Update] [25.02.2019] maintained by KaizenLouie | C99Shell Github | Generation time: 0.0142 ]-- |