Monday, January 24, 2011

IRC (Internet Relay Chat)

IRC (Internet Relay Chat) is by the Finn Jarkko Oikarinen in 1988 pioneered a network Chat agreement. After 10 years of development, now the world more than 60 countries provides IRC service. In the most popular EFnet, you can see thousands of users at the same time use IRC. Many claim for the following the BBS of real-time chat mode, compared with the BBS speaking, it has more direct-viewing, friendly interface, here, you can speak, but also can show action is changed, allowing the numerous networm inflame you staying. Compared to ICQ speaking, it is more human, but it is instantly type chat, closer to the real chat scene.
Working principle
IRC principle of work is very simple, as long as you in your own PC operation on the client software, then through the Internet to IRC protocol connected to a IRC server can. Its characteristic is speed is fast, chat with almost no delay, and occupy a smaller bandwidth resources. All users can be done in a called \ "\" (Channel) any place for a topic of conversation or a private conversation. Each IRC users have a Nickname (Nickname), all communication is in their respective within any in different Nickname to carry on the conversation.
IRC threat
Early 2004, IRC backdoor virus begins to appear in the global network mass. On the one hand has the potential risk of leakage local information, on the other hand the virus appears in LAN make network congestion. IRC - Stands for "Instant Relay Chat." now for a real transferring files over the Chat and Internet.
IRC Instant Relay Chat is the abbreviation of - and can be used to real-time Chat and transmit information.
Don't accept other documents (including picture), unless he is a you very, very familiar. If you accept a document, when performing without any response or after execution shows the executable files for zero bytes (deluxe), so you must be infected with the virus!
IRC principle
transshipment
Understanding the key is to understand IRC principle of its "transit" function. What is the transfer? We to do an compared. Hypothesis, A and B to conversation. If not using transhipment, then A direct build A to B communications tunnel, both through this line of communication tunnels for information exchange, information flow direction for: A - & gt; B and B - & gt; A; If using transshipment and requires A third party to act as interim role and set to C, A build A reach C communication tunnels, B also build A reach C communication tunnels, and then A and B C indirectly through communication, information flow direction for:
A - >, C - >, B and B - >, C - >, A
C just plays A and B A stepping-stone between the role. Transshipment what are the advantages? Transfer the biggest advantage is that "group chat" can be easily. Properly speaking, transshipment mode for information broadcast provides convenient. We will cite examples. If A, B and D three to chat together. If no C transfer, then A will say every sentence respectively to B and D, If there is A transfer, then do C will say to C, then C will be issued A's respectively B and D j visible, when no transshipment, each participating chat of computer to enforce information broadcast task, when there is A transfer, information broadcast task is complete by transfer the stepping-stone to execute. C exists objectively information communication in the process of separating tasks, can occur in the network environment is good, the machine configuration high computers as stepping-stone to provide the service function. This creates A IRC server - client model, LiaoTianZhe as client, connected to the station on the server.
Server networking
In the example above, only a transfer to assume the C service. LiaoTianZhe number when, can make C crumbling. The solution is, using multiple server, network, connected to each other between the LiaoTianZhe scattered to each server. Server network connectivity. Each other with tree structure LiaoTianZhe can choose a server connection. For example, in Beijing to establish a IRC server, called BJ, established in Shanghai a IRC server, called SH, then BJ connected with SH, forming one only two server IRC networks. Beijing users connect to BJ, Shanghai users connect to SH, so the Beijing that the user can chat with Shanghai users. In other areas of the user can choose according to the geographical position unhealthily use BJ or SH server. Generally speaking, network chat on each server is a stepping-stone, when it from a server or customers receive a message, will the message transmitted to other servers, also according to the specific circumstances, decide whether or not to news transmitted to connect to your own user.
Request and response
Using the information exchange IRC request and response pattern. The request was from the server or client issued, its purpose is to request (another) a server performs some action or to provide some information; Response to a request is server response information. The request is usually called command. Because of each response stipulated a three digital do mark, response also called digital response (numeric reply). 

No comments:

Post a Comment