As an important computing model,Cloud computing has greate space and value for the future development.Desktop virtualization is a typical cloud application,which is flexible,reliable and efficient.It can deal with many problems of personal computer and save the cost for the enterprise that it gains great popularity.Different virtual desktop display protocols can bring different product performance and user experience,protocol operation efficiency is the key of virtual desktop user experience.CITRIX is a leader in desktop virtualization technology area,its private ICA protocol has low bandwidth requirement,and supports a variety of terminal equipment,smooth video playback and data transmission security and high benefits,which can bring users similar virtual desktop experience to the real PC.This article mainly analysed ICA protocol in the small-scale simulation of the cloud environment.First,the network sniffing tool is used to capture the communication data of the ICA client and the server during the session,the client login authentication and the virtual desktop distribution process are analyzed in detail.Secondly,after studying inverse analysis of protocol based on network traffic and instruction sequence,this article gets the encapsulation and port mappingrelation of CGP protocol to ICA protocol and analyzes the field behavior and semantic information of CGP protocol and the ICA protocol based on the analysis of the communication flow between the user and the virtual desktop.Finally,we design and implement a protocol resolution plug-in based on Wireshark.The plug-in can calculate the CGP data length,identify the CGP control command,and strip the CGP protocol header to extract the ICA protocol data.After that,we can identify the ICA length,priority,encryption head,and ICA control commands. |