Ovládání Zabezpečovací Kamery EYE-02 Protokolem

Total Page:16

File Type:pdf, Size:1020Kb

Ovládání Zabezpečovací Kamery EYE-02 Protokolem TECHNICKA´ UNIVERZITA V LIBERCI Fakulta mechatroniky, informatiky a mezioborov´ych studi´ı DIPLOMOVA´ PRACE´ V Liberci, 18. kvˇetna2013 Bc. Jakub Ponikelsk´y TECHNICKA´ UNIVERZITA V LIBERCI Fakulta mechatroniky, informatiky a mezioborov´ych studi´ı Studijn´ıprogram: N2612 – Elektronika a informatika Studijn´ıobor: 1802T007 – Informaˇcn´ıtechnologie Ovl´ad´an´ızabezpeˇcovac´ıkamery EYE-02 protokolem XMPP Control of security camera EYE-02 via XMPP protocol Bc. Jakub Ponikelsk´y Vedouc´ıpr´ace: doc. RNDr. Pavel Satrapa, Ph.D. Konzultant: Ing. Jan Halama, JABLOCOM s. r. o. Pracoviˇstˇe: Ustav´ nov´ych technologi´ıa aplikovan´einformatiky Prohl´aˇsen´ı Byl(a) jsem sezn´amen(a)s t´ım,ˇze na mou diplomovou pr´aci se plnˇevztahuje z´akon ˇc.121/2000 Sb., o pr´avuautorsk´em,zejm´ena § 60 – ˇskoln´ıd´ılo. Beru na vˇedom´ı,ˇzeTechnick´auniverzita v Liberci (TUL) nezasahuje do m´ych autorsk´ych pr´avuˇzit´ımm´ediplomov´epr´acepro vnitˇrn´ıpotˇrebuTUL. Uˇziji-lidiplomovou pr´acinebo poskytnu-li licenci k jej´ımu vyuˇzit´ı,jsem si vˇedom povinnosti informovat o t´etoskuteˇcnostiTUL; v tomto pˇr´ıpadˇem´aTUL pr´avo ode mne poˇzadovat ´uhradun´aklad˚u,kter´evynaloˇzilana vytvoˇren´ıd´ıla,aˇzdo jejich skuteˇcn´e v´yˇse. Diplomovou pr´acijsem vypracoval(a) samostatnˇes pouˇzit´ımuveden´eliteratury a na z´akladˇekonzultac´ıs vedouc´ımdiplomov´epr´acea konzultantem. Datum: 18. kvˇetna2013 Podpis: ......................... Bc. Jakub Ponikelsk´y 3 Podˇekov´an´ı Touto cestou bych r´adpodˇekoval vedouc´ımu diplomov´epr´acedoc. RNDr. Pavlu Satrapovi, Ph.D., za jeho cenn´epˇripom´ınkypˇrivytv´aˇren´ıa dokonˇcov´an´ıpr´ace.R´ad bych tak´epodˇekoval spoleˇcnosti JABLOCOM s. r. o. za zprostˇredkov´an´ıpr´acea jme- novitˇepak Ing. Janu Halamovi a Ing. Pavlu Vikovi, Ph.D., za rady a veˇskerou pomoc pˇrikonzultac´ıch. D´alebych velmi r´adpodˇekoval sv´erodinˇeza oporu, kterou mi poskytovala bˇehemcel´ehostudia, konkr´etnˇepak za mor´aln´ı podporu bˇehemkompletov´an´ı t´eto diplomov´epr´acea vytvoˇren´ıpotˇrebn´ehoz´azem´ıpro klidn´estudium na vysok´eˇskole. Pouˇzit´ysoftware Tato pr´acebyla vys´azenapomoc´ısyst´emu LATEX (prosˇred´ıEclipse Juno ve verzi 4.2.1, plugin TeXlipse a s´azec´ı syst´emMiKTeX ve verzi 2.9) a programu Software Ideas Modeler (v´yvojov´ea dalˇs´ıdiagramy) pod operaˇcn´ımsyst´ememMicrosoft Windows 7 Professional 64b. Jako n´astroj pro tvorbu zdrojov´ych k´od˚ubylo pouˇzitoMicrosoft Visual Studio 2010 Ultimate. Kontakt E-mail: [email protected] 4 Abstrakt C´ılemt´etodiplomov´epr´aceje rozˇs´ıˇritmnoˇzinu komunikaˇcn´ıch kan´al˚uslouˇz´ıc´ıch pro ovl´ad´an´ıbezpeˇcnostn´ıkamery EYE-02 o protokol XMPP. V teoretick´eˇc´astije struˇcnˇepˇredstaven zadavatel projektu spoleˇcnostJablocom s. r. o. a z´akladn´ıcha- rakteristick´evlastnosti jej´ıhoproduktu – kamery EYE-02. D´aleje zde sezn´amen´ıse z´akladn´ımimechanismy protokolu XMPP, jejichˇzpochopen´ıje d˚uleˇzit´ek vybudov´an´ı sluˇzby, kter´aby mˇelanahrazovat XMPP klienta pro vybranou kameru. V praktick´eˇc´astije nejdˇr´ıve pops´anv´ybˇerXMPP serveru a jeho nastaven´ı tak, aby byla zaruˇcena maxim´aln´ı ´uroveˇnzabezpeˇcen´ı pˇren´aˇsen´ych dat ale i sa- motn´ehosyst´emu. D´aleje zde navrˇzenapodoba datab´aze, kter´atvoˇr´ıprostˇredn´ıka mezi sluˇzbou a existuj´ıc´ıinfrastrukturou spoleˇcnostiJablocom s. r. o. K t´etodatab´azi je pak navrˇzenaa implementov´anaWCF sluˇzbapro pˇrid´av´an´ıpovel˚udo datab´aze a naopak z´ısk´av´an´ıa filtrov´an´ıpoˇzadavk˚uv datab´azi. N´aslednˇeje zde navrˇzenaa implementov´anasluˇzba,kter´aumoˇzˇnujepˇren´aˇset uˇzivatelsk´ezpr´avy(poplachy, stavov´ezpr´avy, chyby) z kamery na IM klienta uˇzivatele a naopak od nˇejpˇreb´ır´aovl´adac´ıpovely a zobrazuje aktu´aln´ıstav kamery (watch, sleep). Sluˇzbam´atak´eimplementov´any z´akladn´ıpostupy pro pˇrenossoubor˚ua video- hovor˚uprostˇrednictv´ımprotokolu XMPP. D´aleje pak implementov´anahlavn´ısluˇzba, kter´akontroluje spr´avnostchodu jednotliv´ych vl´aken a v periodick´ych intervalech spouˇst´ınebo naopak ukonˇcujevl´aknavybran´ych kamer. Posledn´ıvytvoˇrenouaplikac´ı je pak webov´astr´anka slouˇz´ıc´ık administraci cel´ehosyst´emu. Kl´ıˇcov´aslova: XPPP protokol, bezpeˇcnostn´ıkamera, pˇrenoszpr´av, XMPP server, XMPP sluˇzba 5 Abstract The objective of this thesis is to add XMPP protocol into a set of communi- cation channels used to control security camera EYE-02. The theoretical part presents the project submitter Jablocom ltd. and basic properties of the product – EYE-02. Then there is the introduction to the basic mechanisms of the protocol XMPP, whose understanding is important to build a service that would replace XMPP client for the selected camera. The practical part of the thesis describes selection of the XMPP server and configuration of the XMPP server to ensure the safety of transmitted data as well as the system itself. Then there is a database designed, which is an intermediary be- tween the service and the infrastructure of Jablocom ltd. and WCF Service for adding commands to the database and retrieving and filtering commands from the database. Then there is a service designed and implemented. The service allows to transmit messages (alarms, status messages, errors) from the camera to the IM client of user and to take control command from the user and to display the current status of the camera (watch, sleep). The service has also implemented the basic procedures for transferring files and making video calls via XMPP protocol. There is also main service implemented. Main service checks the runtime of individual fibers in periodic intervals and launches or terminates fibers of selected cameras. Last created application is a webpage that is used to administer the whole system. Keywords: XMPP protocol, security camera, instant messaging, XMPP server, XMPP service 6 Obsah Prohl´aˇsen´ı ................................... 3 Podˇekov´an´ı .................................. 4 Abstrakt.................................... 5 Abstract .................................... 6 Obsah ..................................... 7 Seznam obr´azk˚ua tabulek ......................... 9 Seznam zkratek ............................... 10 1 Uvod´ .................................... 12 2 Sezn´amen´ıs prostˇred´ım ......................... 14 2.1 SpoleˇcnostJablocom a jej´ıprodukty ................... 14 2.1.1 Kamera EYE-02 .......................... 15 2.2 XMP protokol (XMPP) .......................... 17 2.2.1 Vlastnosti XMPP.......................... 18 2.2.2 Adresa XMPP (JID)........................ 20 2.2.3 Princip navazov´an´ırelace...................... 21 2.2.4 Spr´ava kontakt˚uv XMPP ..................... 22 2.2.5 Pˇrenosstavov´einformace v XMPP ................ 25 2.2.6 Spr´ava povolen´ıstavov´einformace v XMPP ........... 26 2.2.7 Pˇrenoszpr´avv XMPP....................... 28 3 Specifikace zad´an´ı ............................ 29 4 Realizace sluˇzby ............................. 31 4.1 V´ybˇerXMPP serveru............................ 32 4.1.1 Openfire............................... 32 4.1.2 Ejabberd............................... 34 4.1.3 Jabberd 2.x............................. 35 4.1.4 Tigase XMPP server........................ 36 4.1.5 Prosody............................... 37 4.1.6 Shrnut´ıa v´ybˇer........................... 38 4.1.7 Nastaven´ı .............................. 40 4.2 Datab´aze .................................. 42 4.2.1 WCF sluˇzba............................. 44 4.3 Vl´aknokamery ............................... 47 4.3.1 Zpracov´av´an´ıpoˇzadavk˚u...................... 49 4.3.2 Odesl´an´ızpr´avyklientovi...................... 50 7 4.3.3 Zabezpeˇcen´ıpˇren´aˇsen´ych zpr´av .................. 51 4.3.4 Zmˇenastavu kamery........................ 54 4.3.5 Pˇrid´an´ıXMPP adresy do kontakt listu.............. 55 4.3.6 Odebr´an´ıXMPP adresy z kontakt listu.............. 57 4.3.7 Odesl´an´ızpr´avyse soubory .................... 58 4.3.8 Pˇrenosvidea protokolem XMPP.................. 61 4.4 Hlavn´ısluˇzba ................................ 65 4.5 Administr´atorsk´erozhran´ı......................... 69 4.6 Uˇzivatelsk´erozhran´ı ............................ 71 5 Z´avˇer .................................... 73 Seznam pouˇzit´eliteratury ......................... 75 Pˇr´ılohaA – Obsah CD ........................... 78 8 Seznam obr´azk˚u Obr´azek1: Princip XMPP pˇrenosu...................... 19 Obr´azek2: Diagram otev´ır´an´ıXMPP relace................. 22 Obr´azek3: Sch´emav´ysledn´eaplikace..................... 31 Obr´azek4: Openfire – admin console – relace s XMPP servery . 33 Obr´azek5: Schema datab´azevyv´ıjen´esluˇzby................. 44 Obr´azek6: Zivotn´ıcyklusˇ vl´aknakamery................... 48 Obr´azek7: Vl´aknokamery – Zpracov´an´ıpoˇzadavk˚u............. 49 Obr´azek8: Vl´aknokamery – Odesl´an´ızpr´avy ................ 50 Obr´azek9: Vl´aknokamery – Zmˇenastavu.................. 55 Obr´azek10: Vl´aknokamery – Pˇrid´an´ıadresy klienta do kontakt listu . 56 Obr´azek11: Vl´aknokamery – Odebr´an´ıadresy klienta z kontakt listu . 57 Obr´azek12: Vl´aknokamery – Odesl´an´ızpr´avyse soubory.......... 58 Obr´azek13: Vl´aknokamery – Vl´aknoodes´ılaj´ıc´ısoubory .......... 59 Obr´azek14: Princip videohovoru........................ 62 Obr´azek15: Vl´aknokamery – Videohovor od kamery............. 63 Obr´azek16: Vl´aknokamery – Videohovor od klienta............. 65 Obr´azek17: Zivotn´ıcyklusˇ hlavn´ıhovl´akna.................. 65 Obr´azek18: Hlavn´ıvl´akno– Inicializace.................... 66 Obr´azek19: Hlavn´ıvl´akno– Kontrola vl´aken................. 67 Obr´azek20: Hlavn´ıvl´akno– Spr´ava vl´aken.................
Recommended publications
  • Universidad Pol Facultad D Trabajo
    UNIVERSIDAD POLITÉCNICA DE MADRID FACULTAD DE INFORMÁTICA TRABAJO FINAL DE CARRERA ESTUDIO DEL PROTOCOLO XMPP DE MESAJERÍA ISTATÁEA, DE SUS ATECEDETES, Y DE SUS APLICACIOES CIVILES Y MILITARES Autor: José Carlos Díaz García Tutor: Rafael Martínez Olalla Madrid, Septiembre de 2008 2 A mis padres, Francisco y Pilar, que me empujaron siempre a terminar esta licenciatura y que tanto me han enseñado sobre la vida A mis abuelos (q.e.p.d.) A mi hijo icolás, que me ha dejado terminar este trabajo a pesar de robarle su tiempo de juego conmigo Y muy en especial, a Susana, mi fiel y leal compañera, y la luz que ilumina mi camino Agradecimientos En primer lugar, me gustaría agradecer a toda mi familia la comprensión y confianza que me han dado, una vez más, para poder concluir definitivamente esta etapa de mi vida. Sin su apoyo, no lo hubiera hecho. En segundo lugar, quiero agradecer a mis amigos Rafa y Carmen, su interés e insistencia para que llegara este momento. Por sus consejos y por su amistad, les debo mi gratitud. Por otra parte, quiero agradecer a mis compañeros asesores militares de Nextel Engineering sus explicaciones y sabios consejos, que sin duda han sido muy oportunos para escribir el capítulo cuarto de este trabajo. Del mismo modo, agradecer a Pepe Hevia, arquitecto de software de Alhambra Eidos, los buenos ratos compartidos alrrededor de nuestros viejos proyectos sobre XMPP y que encendieron prodigiosamente la mecha de este proyecto. A Jaime y a Bernardo, del Ministerio de Defensa, por haberme hecho descubrir las bondades de XMPP.
    [Show full text]
  • XEP-0113: Simple Whiteboarding
    XEP-0113: Simple Whiteboarding Huib-Jan Imbens mailto:jabber@imbens:nl xmpp:imbens@jabber:org 2003-09-07 Version 0.2 Status Type Short Name Deferred Informational Not yet assigned A proposal for an extremely simple whiteboarding protocol over Jabber. Legal Copyright This XMPP Extension Protocol is copyright © 1999 – 2020 by the XMPP Standards Foundation (XSF). Permissions Permission is hereby granted, free of charge, to any person obtaining a copy of this specification (the ”Specification”), to make use of the Specification without restriction, including without limitation the rights to implement the Specification in a software program, deploy the Specification in a network service, and copy, modify, merge, publish, translate, distribute, sublicense, or sell copies of the Specifi- cation, and to permit persons to whom the Specification is furnished to do so, subject to the condition that the foregoing copyright notice and this permission notice shall be included in all copies or sub- stantial portions of the Specification. Unless separate permission is granted, modified works that are redistributed shall not contain misleading information regarding the authors, title, number, or pub- lisher of the Specification, and shall not claim endorsement of the modified works by the authors, any organization or project to which the authors belong, or the XMPP Standards Foundation. Warranty ## NOTE WELL: This Specification is provided on an ”AS IS” BASIS, WITHOUT WARRANTIES OR CONDI- TIONS OF ANY KIND, express or implied, including, without limitation,
    [Show full text]
  • A Survey of Open Source Products for Building a SIP Communication Platform
    Hindawi Publishing Corporation Advances in Multimedia Volume 2011, Article ID 372591, 21 pages doi:10.1155/2011/372591 Research Article A Survey of Open Source Products for Building a SIP Communication Platform Pavel Segec and Tatiana Kovacikova Department of InfoCom Networks, University of Zilina, Univerzitna 8215/1, 010 26 Zilina, Slovakia Correspondence should be addressed to Tatiana Kovacikova, [email protected] Received 29 July 2011; Revised 31 October 2011; Accepted 15 November 2011 Academic Editor: T. Turletti Copyright © 2011 P. Segec and T. Kovacikova. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited. The Session Initiation Protocol (SIP) is a multimedia signalling protocol that has evolved into a widely adopted communication standard. The integration of SIP into existing IP networks has fostered IP networks becoming a convergence platform for both real- time and non-real-time multimedia communications. This converged platform integrates data, voice, video, presence, messaging, and conference services into a single network that offers new communication experiences for users. The open source community has contributed to SIP adoption through the development of open source software for both SIP clients and servers. In this paper, we provide a survey on open SIP systems that can be built using publically available software. We identify SIP features for service deve- lopment and programming, services and applications of a SIP-converged platform, and the most important technologies support- ing SIP functionalities. We propose an advanced converged IP communication platform that uses SIP for service delivery.
    [Show full text]
  • Pipenightdreams Osgcal-Doc Mumudvb Mpg123-Alsa Tbb
    pipenightdreams osgcal-doc mumudvb mpg123-alsa tbb-examples libgammu4-dbg gcc-4.1-doc snort-rules-default davical cutmp3 libevolution5.0-cil aspell-am python-gobject-doc openoffice.org-l10n-mn libc6-xen xserver-xorg trophy-data t38modem pioneers-console libnb-platform10-java libgtkglext1-ruby libboost-wave1.39-dev drgenius bfbtester libchromexvmcpro1 isdnutils-xtools ubuntuone-client openoffice.org2-math openoffice.org-l10n-lt lsb-cxx-ia32 kdeartwork-emoticons-kde4 wmpuzzle trafshow python-plplot lx-gdb link-monitor-applet libscm-dev liblog-agent-logger-perl libccrtp-doc libclass-throwable-perl kde-i18n-csb jack-jconv hamradio-menus coinor-libvol-doc msx-emulator bitbake nabi language-pack-gnome-zh libpaperg popularity-contest xracer-tools xfont-nexus opendrim-lmp-baseserver libvorbisfile-ruby liblinebreak-doc libgfcui-2.0-0c2a-dbg libblacs-mpi-dev dict-freedict-spa-eng blender-ogrexml aspell-da x11-apps openoffice.org-l10n-lv openoffice.org-l10n-nl pnmtopng libodbcinstq1 libhsqldb-java-doc libmono-addins-gui0.2-cil sg3-utils linux-backports-modules-alsa-2.6.31-19-generic yorick-yeti-gsl python-pymssql plasma-widget-cpuload mcpp gpsim-lcd cl-csv libhtml-clean-perl asterisk-dbg apt-dater-dbg libgnome-mag1-dev language-pack-gnome-yo python-crypto svn-autoreleasedeb sugar-terminal-activity mii-diag maria-doc libplexus-component-api-java-doc libhugs-hgl-bundled libchipcard-libgwenhywfar47-plugins libghc6-random-dev freefem3d ezmlm cakephp-scripts aspell-ar ara-byte not+sparc openoffice.org-l10n-nn linux-backports-modules-karmic-generic-pae
    [Show full text]
  • Jabber/Xmpp Robot Pro Vyhledávání Pomocí Google Jabber/Xmpp Robot for Searching by Means of Google
    VYSOKÉ UČENÍ TECHNICKÉ V BRNĚ BRNO UNIVERSITY OF TECHNOLOGY FAKULTA INFORMAČNÍCH TECHNOLOGIÍ ÚSTAV INFORMAČNÍCH SYSTÉMŮ FACULTY OF INFORMATION TECHNOLOGY DEPARTMENT OF INFORMATION SYSTEMS JABBER/XMPP ROBOT PRO VYHLEDÁVÁNÍ POMOCÍ GOOGLE JABBER/XMPP ROBOT FOR SEARCHING BY MEANS OF GOOGLE BAKALÁŘSKÁ PRÁCE BACHELOR´S THESIS AUTOR PRÁCE Jiří Hrazdil AUTHOR VEDOUCÍ PRÁCE Mgr. Marek Rychlý SUPERVISOR BRNO 2007 Jabber/XMPP robot pro vyhledávání pomocí Google Zadání 1. Seznamte se s protokolem Jabber/XMPP a jeho open-source implementacemi. 2. Seznamte se se službami vyhledávače Google a s rozhraním webové služby Google (Google Web APIs service). 3. Návrhněte vhodný formát dotazu (strukturovaný prostý text), který pokryje funkce a služby poskytované vyhledávačem Google. 4. Navrhněte a implementujte robota pro Jabber, který bude odpovídat na dotazy podle výsledků hledání pomocí služby Google. Robot by měl umožnit přizpůsobit své uživatelské rozhraní podle požadavků uživatele. 5. Diskutujte výsledky práce a navrhněte možná rozšíření. 2 Licenční smlouva Licenční smlouva je uložena v archivu Fakulty informačních technologií Vysokého učení technického v Brně. 3 Abstrakt Cílem této práce bylo seznámit se s principem a fungováním komunikační sítě Jabber/XMPP a jeho open-source implementacemi, dále pak seznámit se s rozhraním pro vyhledávání webových stránek pomocí rozhraní webové služby vyhledávače Google a implementovat robota, který na dotazy položené prostřednictvím protokolu XMPP odpoví výsledky získanými z webového vyhledávače pomocí protokolu SOAP. Klíčová slova Jabber, XMPP, robot, Google, Yahoo, MSN Live, SOAP, vyhledávání na webu. Abstract The aim of this thesis was to get acquainted with principles and basics of Jabber/XMPP communication network and its open-source implementations, learn about Google web search application interface and implement a robot, which will respond to search queries sent via XMPP protocol with adequate search results acquired through SOAP.
    [Show full text]
  • DVD-Ofimática 2014-07
    (continuación 2) Calizo 0.2.5 - CamStudio 2.7.316 - CamStudio Codec 1.5 - CDex 1.70 - CDisplayEx 1.9.09 - cdrTools FrontEnd 1.5.2 - Classic Shell 3.6.8 - Clavier+ 10.6.7 - Clementine 1.2.1 - Cobian Backup 8.4.0.202 - Comical 0.8 - ComiX 0.2.1.24 - CoolReader 3.0.56.42 - CubicExplorer 0.95.1 - Daphne 2.03 - Data Crow 3.12.5 - DejaVu Fonts 2.34 - DeltaCopy 1.4 - DVD-Ofimática Deluge 1.3.6 - DeSmuME 0.9.10 - Dia 0.97.2.2 - Diashapes 0.2.2 - digiKam 4.1.0 - Disk Imager 1.4 - DiskCryptor 1.1.836 - Ditto 3.19.24.0 - DjVuLibre 3.5.25.4 - DocFetcher 1.1.11 - DoISO 2.0.0.6 - DOSBox 0.74 - DosZip Commander 3.21 - Double Commander 0.5.10 beta - DrawPile 2014-07 0.9.1 - DVD Flick 1.3.0.7 - DVDStyler 2.7.2 - Eagle Mode 0.85.0 - EasyTAG 2.2.3 - Ekiga 4.0.1 2013.08.20 - Electric Sheep 2.7.b35 - eLibrary 2.5.13 - emesene 2.12.9 2012.09.13 - eMule 0.50.a - Eraser 6.0.10 - eSpeak 1.48.04 - Eudora OSE 1.0 - eViacam 1.7.2 - Exodus 0.10.0.0 - Explore2fs 1.08 beta9 - Ext2Fsd 0.52 - FBReader 0.12.10 - ffDiaporama 2.1 - FileBot 4.1 - FileVerifier++ 0.6.3 DVD-Ofimática es una recopilación de programas libres para Windows - FileZilla 3.8.1 - Firefox 30.0 - FLAC 1.2.1.b - FocusWriter 1.5.1 - Folder Size 2.6 - fre:ac 1.0.21.a dirigidos a la ofimática en general (ofimática, sonido, gráficos y vídeo, - Free Download Manager 3.9.4.1472 - Free Manga Downloader 0.8.2.325 - Free1x2 0.70.2 - Internet y utilidades).
    [Show full text]
  • Estructura De Computadores I “Protocolo XMPP”
    UNIVERSIDAD TÉCNICA FEDERICO SANTA MARÍA DEPARTAMENTO DE ELECTRÓNICA Estructura de Computadores I “Protocolo XMPP” Nombres Rol Cristian Acuña S. 2921006-3 Manuel Almendra V. 2921019-5 Hugo Herrera L. 2921020-9 Profesor: Agustín González Ayudante: Evandry Ramos Fecha: 06 de Septiembre 2013 ELO 322: Redes de Computadores I, Primer Semestre 2013 RESUMEN El presente trabajo pretende mostrar los aspectos generales del protocolo XMPP, protocolo de la capa de aplicación originalmente diseñado para mensajería instantánea; esto, mediante las herramientas de análisis entregadas en el presente curso, y haciendo uso a referencias oficiales (RFCs producidos por la IETF) y herramientas de software para el análisis de protocolos (Wireshark). INTRODUCCIÓN XMPP (Extensible Messaging and Presence Protocol) es un protocolo de la capa de aplicación diseñado originalmente por Jeremie Miller en 1998 para la mensajería instantánea (originalmente llamado Jabber). El protocolo consiste, a grandes rasgos, en un sistema de mensajería presencial el cual usa datagramas en XML para implementar las funcionalidades necesarias en este tipo de mensajería. Es un protocolo libre y abierto (según el standard de software libre). Éste fue creado con la intención de unificar los servicios de mensajería instantánea, dado que para su época no existía un protocolo que pudiese satisfacer dicha necesidad, lo que llevaba a situaciones incómodas como el uso de múltiples clientes (uno por cada servidor/servicio) lo cual era altamente ineficiente. Lo anterior motiva a su creador a desarrollar un protocolo el cual pudiese convertirse en el standard ‘de facto’, siendo éste un protocolo abierto y libre de implementación; cualquier persona podía (y puede) realizar un ‘fork’ del cliente que se adecuase a las necesidades del desarrollador/usuario.
    [Show full text]
  • International Journal for Scientific Research & Development| Sp. Issue- Computer Networking | ISSN (Online):2321-061
    IJSRD - International Journal for Scientific Research & Development| Sp. Issue- Computer Networking | ISSN (online):2321-0613 XMPP in Instant Messengers Neeraj Vashistha1 Akshay Khilari2 S.N. Shelke3 3Assistant Professor 1,2,3Department of Computer Engineering 1,2,3Sinhgad Academy of Engineering, SPPU, Pune. Abstract— Instant Messengers(IM) are the most commonly like Pidgin, Adium using the standard XMPP protocol. The used interacting method to communicate with people main advantage of using a decentralized architecture is that worldwide. IM presence is felt in multicast (chat rooms) and it allows client developers to focus on user experience and one-to-one message exchange between different kind of server developers to focus on reliability and scalability. The client entities. IM using eXtensible Messaging and Presence servers incorporate important security features such as Protocol (XMPP) as the base protocol is able to provide near authentication, channel encryption. real-time text-based communication through the use of The following are the components of the XMPP XML. Social media networks like gtalk, ejabberd, facebook architecture: employ XMPP. XMPP can be implemented with servers as well as without servers. XMPP is not only used in IM but also collaborative services like sensor networks, multiplayer games and Internet-of-Things (IoT) as they require real-time event publication and distribution. In this paper we briefly describe XMPP and its usage in IM and also discuss the market share of XMPP. Key words: XMPP, Social Media Networks, Collaborative Services, Internet of things, Near Real-time communication I. HISTORY OF XMPP AND LESSONS LEARNT As discussed in [1], based on TCP, DNS and SSL and built as a client-server architecture XMPP prophesied for simple Fig.
    [Show full text]
  • Vysoké Učení Technické V Brně Nebezpečí Internetové Komunikace
    VYSOKÉ U ČENÍ TECHNICKÉ V BRN Ě BRNO UNIVERSITY OF TECHNOLOGY FAKULTA ELEKTROTECHNIKY A KOMUNIKA ČNÍCH TECHNOLOGIÍ ÚSTAV TELEKOMUNIKACÍ FACULTY OF ELECTRICAL ENGINEERING AND COMMUNICATION DEPARTMENT OF TELECOMMUNICATIONS NEBEZPE ČÍ INTERNETOVÉ KOMUNIKACE INTERNET COMMUNICATION RISKS BAKALÁ ŘSKÁ PRÁCE BACHELOR‘S THESIS AUTOR PRÁCE RADEK ŠT ĚRBA AUTHOR VEDOUCÍ PRÁCE ING. MICHAL POLÍVKA SUPERVISOR BRNO 2009 Anotace Tato práce se zabývá problematikou komunikačních protokolů a serverů. Jsou zde popsány protokoly TCP/IP. Dále jsou popsány čtyři nejpoužívanější IM protokoly (popis přihlašování, komunikace a zabezpečení). Jsou zde popsány protokoly pro hlasovou komunikaci a problematika softwarových ústředen. Dále jsou zde nastíněny databázové systémy hlavně LDAP. Součástí této práce je také praktická činnost – zprovoznění serveru pro hlasovou komunikaci a posílání zpráv a databáze LDAP. Je popsán postup pro zprovoznění jednotlivých serverů, navázání příslušných klientů na servery a v neposlední řadě komunikace s LDAP. Klíčová slova TCP/IP, Instant Messaging, Jabber, VoIP, SIP, LDAP, server, klient, odposlech, ústředna. Abstrakt This work deals with problems of communications protocols and servers. Primarily protocols TCP/IP are described. Next four the most used IM protocols (account of log in, communications and security) are described. Protocols for voice communications and problems of software phone systems are described here. Also database systems especially LDAP are mentioned here. A practical working is a part of this work too – a putting server for voice communications and sending messages and database LDAP into service. The process for putting the servers into service, connecting competent clients, and last but not least communications with LDAP are described. Key words TCP/IP, Instant Messaging, Jabber, VoIP, SIP, LDAP, server, client, wiretap, phone system.
    [Show full text]
  • Real-Time Communications Quick Start Guide
    Real-Time Communications Quick Start Guide Daniel Pocock [http://danielpocock.com] Real-Time Communications Quick Start Guide Daniel Pocock [http://danielpocock.com] Copyright © 2013, 2014, 2015 Daniel Pocock Table of Contents Preface ........................................................................................................................ x 1. Introduction .............................................................................................................. 1 Federation ............................................................................................................ 1 Independent and decentralized alternatives to federation ............................................... 1 Private networks ........................................................................................... 1 Decentralized networks .................................................................................. 1 Conclusion ................................................................................................... 2 Choosing between SIP and XMPP ........................................................................... 2 Choice of operating system ..................................................................................... 3 Using a ready-to-run or turn-key solution .......................................................... 3 Using a generic GNU/Linux distribution ........................................................... 3 Use latest software versions ...................................................................................
    [Show full text]
  • List Software Pengganti Windows Ke Linux
    Tabel Padanan Aplikasi Windows di Linux Untuk Migrasi Selasa, 18-08-2009 Kesulitan besar dalam melakukan migrasi dari Windows ke Linux adalah mencari software pengganti yang berkesesuaian. Berikut ini adalah tabel padanan aplikasi Windows di Linux yang disusun dalam beberapa kategori. Nama Program Windows Linux 1) Networking. 1) Netscape / Mozilla. 2) Galeon. 3) Konqueror. 4) Opera. [Prop] Internet Explorer, 5) Firefox. Web browser Netscape / Mozilla, Opera 6) Nautilus. [Prop], Firefox, ... 7) Epiphany. 8) Links. (with "-g" key). 9) Dillo. 10) Encompass. 1) Links. 1) Links 2) ELinks. Console web browser 2) Lynx 3) Lynx. 3) Xemacs + w3. 4) w3m. 5) Xemacs + w3. 1) Evolution. 2) Netscape / Mozilla/Thunderbird messenger. 3) Sylpheed / Claws Mail. 4) Kmail. Outlook Express, 5) Gnus. Netscape / Mozilla, 6) Balsa. Thunderbird, The Bat, 7) Bynari Insight GroupWare Suite. Email client Eudora, Becky, Datula, [Prop] Sylpheed / Claws Mail, 8) Arrow. Opera 9) Gnumail. 10) Althea. 11) Liamail. 12) Aethera. 13) MailWarrior. 14) Opera. 1) Evolution. Email client / PIM in MS 2) Bynari Insight GroupWare Suite. Outlook Outlook style [Prop] 3) Aethera. 4) Sylpheed. 5) Claws Mail 1) Sylpheed. 2) Claws Mail Email client in The Bat The Bat 3) Kmail. style 4) Gnus. 5) Balsa. 1) Pine. [NF] 2) Mutt. Mutt [de], Pine, Pegasus, Console email client 3) Gnus. Emacs 4) Elm. 5) Emacs. 1) Knode. 2) Pan. 1) Agent [Prop] 3) NewsReader. 2) Free Agent 4) Netscape / Mozilla Thunderbird. 3) Xnews 5) Opera [Prop] 4) Outlook 6) Sylpheed / Claws Mail. 5) Netscape / Mozilla Console: News reader 6) Opera [Prop] 7) Pine. [NF] 7) Sylpheed / Claws Mail 8) Mutt.
    [Show full text]
  • An Analysis of Instant Messaging and E- Mail Access Protocol Behavior in Wireless Environment
    An Analysis of Instant Messaging and E- mail Access Protocol Behavior in Wireless Environment IIP Mixture Project Simone Leggio Tuomas Kulve Oriana Riva Jarno Saarto Markku Kojo March 26, 2004 University of Helsinki - Department of Computer Science i TABLE OF CONTENTS 1 Introduction ..................................................................................................................................... 1 PART I: BACKGROUND AND PROTOCOL ANALYSIS ............................................................. 1 2 Instant Messaging............................................................................................................................ 1 3 ICQ.................................................................................................................................................. 3 3.1 Overview ................................................................................................................................. 3 3.2 Protocol Operation .................................................................................................................. 4 3.2.1 Client to Server................................................................................................................4 3.2.2 Client to Client ................................................................................................................5 3.2.3 Normal Operation............................................................................................................ 5 3.2.4 Abnormal Operation.......................................................................................................
    [Show full text]