250 likes | 863 Views
XMPP (eXtensible Messaging and Presence Protocol ). Reporter : Allen. Outline. Introduction XMPP Architecture - High Level View XMPP Architecture - Component Level View XMPP advantage Conclusion. Introduction.
E N D
XMPP(eXtensible Messaging and Presence Protocol ) Reporter : Allen
Outline • Introduction • XMPP Architecture - High Level View • XMPP Architecture - Component Level View • XMPP advantage • Conclusion
Introduction • XMPP is an open XML protocol for near-real-time messaging, presence, and request-response services • Jabber open-source community developed originally in 1999 • Work by the XMPP WG • Typical Client – Server Architecture • resembles the email network architecture provided by POP and SMTP
Introduction • Encryption & Authentication • Simple Authentication and Security Layer (SASL) - MUST • Transport Layer Security (TLS) – OPTION • Communications using XMPP normally occur over [TCP] connections on port 5222 (client-to-server) or port 5269 (server-to-server) • easy for enable or disable XMPP activity through existing and commonly-deployed firewalls.
SVR 1 PC 1 PC 3 PC 4 SVR 3 Foreign IM System Foreign IM Client Jabber Server Jabber Client Jabber Client SVR 2 Jabber Server Gateway PC 2 Jabber Client XMPP ArchitectureHigh Level View 3. PC 3 and PC 4 communication 1. PC 1 and PC 2 communication 2. PC 1 and PC 3 communication
PC 1 SVR 2 SVR 3 Jabber Client Jabber Server Foreign IM System XMPP ArchitectureComponent Level View C2S handles communication with Jabber clients 1. Connects to Jabber clients 2. Passes packets to the SM 3. Authenticates clients 4. Registers users 5. Triggers activity with the SM S2S handles communications with external servers SVR 1 Router 1. accepts connections from Jabberd components 2. passes XML packets between components Application Data Package SM implements the bulk of the instant messaging features 1. Message passing 2. Presence 3. Rosters 4. Subscriptions Resolver resolves hostnames for S2S C2S S2S Router Resolver Application Data Package Foreign IM Gateway Session Manager
XMPP advantage • Open source • Designed specifically for IM; 7-10 million users • Supporter - HP, EDS, Sony, Intel, BellSouth, Hitachi, France Telecom, ATT, Earthlink • Message size smaller than SIMPLE • Ex : a 'hello' message packet takes 100 bytes, but same in SIMPLE needs 300 bytes • Communication with non-XMPP protocol
Conclusion • Who Will Win (XMPP & SIMPLE) • Both (Allen concept)