DISTRIBUTED SYSTEMS
Principles and Paradigms
Second Edition
ANDREW S. TANENBAUM
MAARTEN VAN STEEN
Chapter 4
Plan
•
Communication protocols
–
Lower-level and higher-level
–
Communication types
•
Communication services
–
Remote Procedure Call
–
Message-oriented communication
–
Stream-oriented communication
–
Multicasting
•
Concrete instances
–
Java sockets
–
Java Remote Method Invocation (RMI)
Plan
•
Wireshark
•
Java technology
–
Remote Procedure Call
•
Java RMI
–
Message-Oriented Communication
•
Transient: Java sockets
•
Persistent: Mickey Mouse JMS
Wireshark
•
Great open-source tool for understanding and
debugging protocol behavior
–
http://www.wireshark.org
•
Features:
–
Trace packets over the wire
–
Sophisticated filtering language
–
Display contents of each protocol
–
Dump contents into file
–
Display TCP conversation
Wireshark
Captures frames/packets
on this level
Supports over 750 protocols…
3Com XNS Enc apsulati on 3G PP2 A11
3com Net wor k Jac k 802.1Q Vir tual LAN 802.1X Aut hentication AAL t ype 2 signalling protocol ( Q.2630) AC N AF S (4.0) Replic ation Ser ver call declarations AI M Admi nistrati ve AI M Adver tisements AI M Buddylist Ser vice AI M Chat Navigation AI M Chat Ser vice AI M Direc tor y Search AI M E- mail AI M Generic Ser vice AI M ICQ AI M Invitat ion Ser vice AI M Locati on AI M Mess aging AI M OFT AI M Popup AI M Pri vac y Management Ser vi ce AI M Ser ver Side I nfo AI M Ser ver Side Themes AI M Signon AI M Statis tics AI M Trans late AI M User Lookup AN SI A-I/ F BSM AP AN SI A-I/ F DTAP AN SI IS-637-A (SMS) T eleser vice Layer AN SI IS-637-A (SMS) T ranspor t Layer AN SI IS-683-A ( OTA (M obile)) AN SI IS-801 (Loc ation Ser vices (PLD) ) AN SI Mobile Appl ication Part AO L Instant Mess enger AR CNET ASN.1 dec oding AT AoverEthernet AVS WLAN Capt ure header AX/ 4000 T est Bloc k Act i ve Dir ector y Setup Ad hoc On-demand Dist ance Vector R outing Protocol Adapti ve Multi-R ate Address R esoluti on Prot ocol AgentX Aggregate Server Acces s Protocol Alert Standard Forum Alt eon - Tr anspar ent Proxy Cac he Prot ocol Andrew Fi le Syst em (AF S) Apache JSer v Pr otocol v1.3 Apple Filing Protocol Apple IP-over-IEEE 1394 AppleTal k Session Protocol AppleTal k Transaction Protocol pac ket Appletal k Addres s Resol ution Protocol Application Configuration Acces s Protocol Art -Net Aruba - Ar uba Di scover y Protoc ol As ync dat a over I SDN ( V.120) As ynchronous Layered Coding AudioCodes Trunk Trac e Aut hentication Header BACnet Vi rtual Li nk Cont rol BEA Tuxedo BSSAP/BSAP Banyan Vi nes AR P Banyan Vi nes Ec ho Banyan Vi nes Frag ment ation Pr otocol Banyan Vi nes IC P Banyan Vi nes IP Banyan Vi nes IPC Banyan Vi nes LLC Banyan Vi nes RT P Banyan Vi nes SPP Base Stati on Subs ystem GPRS Protoc ol Basic Enc oding Rules (ASN.1 X.690) Bearer Independent Call Control Bi- directional Fault Detection C ontrol Message Bit Torrent Bloc ks Ext ensible Exchange Protocol Blubster/Piolet M ANOLI TO Prot ocol Boardwal k Boot Parameters Bootstrap Protocol Bor der Gateway Protocol Bui lding Automati on and Control Net wor k APDU Bui lding Automati on and Control Net wor k NPDU CBAPhysi calDevice CC SDS CD S Cler k Ser ver Calls CSM_EN CAPS Camel Cast Client Contr ol Prot ocol Certificate Management Protoc ol Certificate Request Mes sage For mat Chec k Poi nt High Availabilit y Pr otocol Chec kpoint F W-1 Cis co Aut o-RP Cis co Dis cover y Protoc ol Cis co Group Management Prot ocol Cis co HD LC Cis co Hot Standby Rout er Protocol Cis co ISL Cis co Interior Gat eway Routing Protoc ol Cis co Net Flow Cis co SLARP Cis co Ses sion M anagement Cis co Wir eless Layer 2 Clearcase NFS CoSine IPNOS L2 debug output Common I mage Generat or Inter face Common I ndustri al Prot ocol Common Open Polic y Ser vice Common Uni x Pr inting System (CUPS) Browsing Protocol Compress ed Dat a T ype Compuser ve GIF Computer Interface to M essage Distribution Configuration Tes t Protocol (loopbac k) Connectionless Light weight Dir ector y Access Protoc ol Coseventc omm Dissect or Using GIOP API Cosnaming Diss ector U sing GIOP API Cr oss Poi nt Frame Injec tor Cr yptographic M essage Syntax DC E Distr ibuted Ti me Ser vice Local Ser ver DC E Distr ibuted Ti me Ser vice Provider DC E Name Ser vi ce DC E RPC DC E Securit y ID Mapper DC E/DFS BUDB DC E/RPC BOS Ser ver DC E/RPC BUTC DC E/RPC CDS Solicitat ion DC E/RPC Conversation Manager DC E/RPC Direct or y Acl Interface DC E/RPC Endpoint Mapper DC E/RPC Endpoint Mapper v4 DC E/RPC FLDB DC E/RPC FLDB UBIK TRANSFER DC E/RPC FLDB UBIKVOTE DC E/RPC ICL R PC DC E/RPC Kerberos V DC E/RPC NCS 1.5.1 Local Loc ation Broker DC E/RPC Operations bet ween registr y ser ver replic as DC E/RPC Prop Attr DC E/RPC RS_ACCT DC E/RPC RS_BI ND DC E/RPC RS_M ISC DC E/RPC RS_PROP_ACCT DC E/RPC RS_U NIX DC E/RPC Registr y Pas s word Management DC E/RPC Registr y Ser ver Attri butes Schema DC E/RPC Registr y ser ver propagation interface - ACLs. DC E/RPC Registr y ser ver propagation interface - PGO items DC E/RPC Registr y ser ver propagation interface - pr operties and policies DC E/RPC Remote Management DC E/RPC Repser ver C alls DC E/RPC TokenSer ver Calls DC E/RPC UpSer ver DC OM DC OM ID ispatch DC OM IR emoteActi vati on DC OM O XID Resol ver DEC DNA Routing Protocol DEC Spanning Tree Prot ocol DF S Calls DG Gr yphon Prot ocol DH CP Fai lover DH CPv6 DN S Cont rol Program Ser ver DO CSIS 1.1 DO CSIS Appendi x C TLV's DO CSIS Baseline Pri vac y Key Management Attributes DO CSIS Baseline Pri vac y Key Management Request DO CSIS Baseline Pri vac y Key Management Response DO CSIS D ynami c Ser vi ce Addi tion Ac knowledge DO CSIS D ynami c Ser vi ce Addi tion Request DO CSIS D ynami c Ser vi ce Addi tion Response DO CSIS D ynami c Ser vi ce Change Ac knowledgement DO CSIS D ynami c Ser vi ce Change Request DO CSIS D ynami c Ser vi ce Change Response DO CSIS D ynami c Ser vi ce Del ete Request DO CSIS D ynami c Ser vi ce Del ete Res ponse DO CSIS I nitial R anging Message DO CSIS Mac Management DO CSIS Range Request Mess age DO CSIS Ranging Response DO CSIS Registration Ac knowledge DO CSIS Registration R equests DO CSIS Registration R espons es DO CSIS Upstream Bandwidth Allocati on DO CSIS Upstream Channel Change Request DO CSIS Upstream Channel Change Respons e DO CSIS Upstream Channel Descriptor DO CSIS Upstream Channel Descriptor T ype 29 DO CSIS Vendor Specifi c Endodings DPNSS/D ASS2- User Adaptation Layer DR SUAPI Dat a Dat a Link SWitching Dat a Stream Inter face Dat agram Congestion C ontrol Protocol Dat agram Deli ver y Prot ocol Decompressed SigComp mess age as raw text Diameter Protocol Digital Audio Acc ess Protocol Dis tance Vector Multicast Routi ng Protocol Dis tcc Dis tributed Compiler Dis tributed Chec ksum C learinghouse Protocol Dis tributed Interacti ve Si mulation Dis tributed Net wor k Prot ocol 3. 0 Domain N ame Ser vice Dublin Core Metadata ( DC) D ynamic DNS T ools Pr otocol D ynamic Trunking Protocol EN TTEC Ec ho Encapsulating Securit y Payload Endpoint Name R esoluti on Prot ocol Enhanced Interior Gateway Routing Protocol EtherNet/I P (Industrial Protocol) Etheric Ethernet Ethernet over IP Ext ended Securit y Ser vi ces Ext ensible Authentication Protoc ol Ext reme Discover y Prot ocol FC Extended Link Svc FC Fabric Configuration Ser ver FC IP FT P Data FT Ser ver Operati ons Fiber Dist ributed Data Interface Fibre Channel Fibre Channel Common Transport Fibre Channel Fabric Zone Ser ver Fibre Channel Name Ser ver Fibre Channel Pr otocol f or SCSI Fibre Channel SW_ILS Fibre Channel Securit y Protocol Fibre Channel Si ngle Byt e Command Fil e Trans fer Prot ocol (F TP) Financial I nfor mation eXchange Protoc ol Frame Frame Relay G.723 GARP Multicast Registration Pr otocol GARP VLAN Registration Protocol GPRS Net wor k s er vice GPRS Tunneling Protoc ol GSM A-I/ F BSSMAP GSM A-I/ F DTAP GSM A-I/ F RP GSM Mobile Appl ication GSM SM S TPD U (GSM 03.40) GSM Shor t Mess age Ser vice U ser Dat a GSM_SS GSS-API Generic Securi t y Ser vice Application Program Interface General Inter-OR B Protocol Generic R outing Encaps ulation Gnutella Protocol HP Extended Loc al-Link Control HP Remot e Maintenanc e Protocol HP Switch Protoc ol HP-UX N et wor k Tracing and Logging Hummingbird NF S Daemon H yperSC SI H ypertext Transf er Protocol IC BAAccoCallbac k IC BAAccoCallbac k2
ICBAAccoMgt IC BAAccoMgt2 IC BAAccoSer ver IC BAAccoSer ver 2 IC BAAccoSer ver SRT IC BAAccoSync IC BABrowse IC BABrowse2 IC BAGroupError IC BAGroupError Event IC BALogicalDevi ce IC BALogicalDevi ce2 IC BAPersi st IC BAPersi st2 IC BAPhys icalDevice IC BAPhys icalDevice2 IC BAPhys icalDevicePC IC BAPhys icalDevicePC Event IC BARTAuto IC BARTAuto2 IC BAState IC BAStateEvent IC BASyst emProperties IC BATi me IC Q Protocol IEEE 802. 11 Radi otap C apture header IEEE 802. 11 wirel ess LAN IEEE 802. 11 wirel ess LAN management frame IEEE802a OUI Extended Ethert ype ILMI IP Device Control (SS7 over IP) IP O ver F C IP Payload Compression IP Virtual Ser vices Sync Daemon IPX Mess age IPX Routing Infor mation Protocol IPX WAN IRemUnknown IRemUnknown2 ISDN ISDN Q.921-User Adapt ation Layer ISDN User Part ISO 10589 ISIS InTRA D omain Routeing Infor mation Exchange Prot ocol ISO 8073 COTP Connec tion-Or iented Transport Prot ocol ISO 8327- 1 OSI Session Protoc ol ISO 8473 CLNP Connect ionLes s Net wor k Protocol ISO 8571 FTAM ISO 8602 CLTP Connect ionLes s Trans port Pr otocol ISO 8650- 1 OSI Associat ion Control Ser vice ISO 8823 OSI Presentati on Prot ocol ISO 9542 ESIS R outeing Infor mation Exchange Protocol ISUP Thin Protoc ol ISystemActi vator ISystemActi vator Resol ver IT U M.3100 Generic Net wor k Infor mati on Model IT U-T E.164 number IT U-T Recommendation H.223 IT U-T Recommendation H.261 IT U-T Recommendation H.263 IT U-T Recommendation H.263 RTP Payload header (RFC2190) InMon sFl ow Infor mation Access Prot ocol Init shutdown ser vice Intel ANS probe Intelligent Net wor k Appli cation Protocol Intelligent Platfor m Management Interface Inter-Access-Poi nt Protocol Inter-Aster is k eXchange v2 InterSwitc h Mess age Protocol Interbase Internet C ache Pr otocol Internet C ommunications Engine Protocol Internet C ontent Adaptati on Prot ocol Internet C ontrol Message Protocol Internet C ontrol Message Protocol v6 Internet Gr oup M anagement Protocol Internet Gr oup members hip Aut henticat ion Protocol Internet M essage Acces s Protocol Internet Pr inting Protocol Internet Pr otocol Internet Pr otocol Version 6 Internet R elay Chat Internet Securit y Association and Key Management Protocol Internet wor k Datagram Protocol Internet wor k Pac ket eXc hange IrC OMM Protocol IrD A Link Access Protoc ol IrD A Link Management Protocol IuU P JPEG File Interchange For mat JXTA Connection Welcome Message JXTA Mes sage JXTA Mes sage Framing JXTA P2P JXTA UD P Jabber XML Mes saging Java RMI Java Serialization Juniper K12xx Ker berized Internet Negotiation of Key Ker beros Ker beros Admini stration Ker beros v4 Ker nel Loc k Manager LWAP Control M essage LWAPP Encapsul ated Pac ket LWAPP Layer 3 Pac ket Label Dist ribution Protoc ol Laplink Layer 2 Tunneling Protoc ol Light Weight DN S RESol ver (BI ND9) Light weight Direc tor y Ac cess Protocol Light weight User Datagram Protocol Line Printer Daemon Protocol Line-based text data Link Access Proc edure Balanced (LAPB) Link Access Proc edure Balanced Ether net (LAPBET HER) Link Access Proc edure, Channel D (LAPD) Link Layer Discover y Pr otocol Link Management Protoc ol (LM P) Linux cooked- mode capt ure Loc al Management Interf ace Loc alTal k Link Ac cess Protocol Log Mess age Logical Link Cont rol GPRS Logical-Li nk Cont rol Logical-Li nk Cont rol Bas ic For mat XID Logot ype Certific ate Extensions Luc ent/As cend debug output MAC Cont rol MAP_Dial oguePDU M DS Header MEGACO MI ME Mul tipart Media Encapsulation M MS M MS Mes sage Encapsulation MS Kpass wd MS Net wor k Load Balancing MS Proxy Protoc ol MSN Mes senger Ser vic e MSNIP: M ulticast Sourc e Notifi cation of Interest Prot ocol MT P 2 Tr ansparent Proxy MT P 2 Us er Adaptation Layer MT P 3 Us er Adaptation Layer MT P2 Peer Adapt ation Layer M ULTIMEDIA-SYSTEM -CON TROL Media Gat eway Control Protocol Media T ype
Media T ype: mes sage/