The “background” description provided herein is for the purpose of generally describing the context of the invention. Work of the presently named inventors described in this description, as well as aspects of the description which may not otherwise qualify as prior art at the time of filing, are neither expressly or impliedly admitted as prior art against the present invention.
In recent years, network communication has been widely embraced due to the proliferation of the Internet and World Wide Web. Likewise, the spread and expansion of Internet communication has led to a corresponding increase in computer-related crimes known as “hacking” and “cracking.” Hacking and cracking refer to the ability of individuals and criminal organizations to misuse technology for the purposes of obtaining access to hardware and user information, unlawfully, or without permission.
For example, a denial of service attack generates a large amount of traffic through a network for the purpose of disrupting the operation of a particular computer system, such as a web server. The attack disrupts operation of the server to the point that it becomes overwhelmed by the traffic and can no longer function properly. When the server becomes overloaded owing to this disturbance, it typically goes down, rendering any content on the server inaccessible; such an attack is especially problematic for web-based e-commerce.
In addition to exploitations in TCP/IP communications, such as spoofing, there are more basic challenges to security of network terminals, such as theft of passwords and access permissions. For example, trojan programs, key loggers, and similar spy ware may be loaded to a network terminal for capturing passwords and user IDs of unsuspecting personnel utilizing the terminal. Once gaining access, unauthorized individuals may choose to maliciously destroy content, or, copy and distribute content which should otherwise be protected from access by unauthorized users. Such conduct may be thwarted by limiting access to physical facilities housing the network terminals; however, this problem is not eliminated as individuals within an organization may also engage in such behavior.
Moreover, computer viruses and worms provide another security concern in that users of network terminals often times “infect” such terminals inadvertently by visiting untrusted websites or by retrieving infected emails from untrusted sources. Of course, once one network terminal becomes infected, the infection can then be easily spread throughout an organization leading to a decreased performance in network systems and/or a complete crash of the system.
Consequently, in network communications utilizing a conventional TCP/IP (Transmission Control Protocol/Internet Protocol) or UDP (User Datagram Protocol), encryption communication, such as IPsec (Internet Protocol Security) or SSL (Secure Socket Layer), is utilized to prevent some security risks presented during the exchange of data between network terminals. In general, such encryption provides either a common key (also called a secret key) cryptograph system, and/or a public key cryptograph system. In the case of IPsec, a common key cryptograph system is used. The common key cryptograph system has an advantage in that the speed of encryption and decryption is faster with respect to the public key cryptograph system. The common key cryptograph system used in IPsec carries out encryption and decryption by the same key and enables key creation by either the transmission or the reception side of the communication. Of course, as a common key is exchanged, there is an increase risk of compromise by packet sniffing and like traffic intercepts because the common key is used on both sides of the communication.
The algorithm used in the common key cryptograph system is the DES (Data Encryption Standard: common key (secret key) encryption algorithm developed by IBM). IPsec also employs DES as one of its encryption algorithms. IPsec was promoted by the IETF (Internet Engineer Task Force) for standardization and the feature thereof lies not only in encrypting a specific application, but also in encrypting every communication transmitted from the host at the IP layer of the OSI model. In this manner, it becomes possible for a user to have a secure communication without being conscious of the underlying security application. Also, IPsec makes it possible to evolve the encryption algorithm without changing the basic IPsec structure.
A 32 bit code referred to as SPI (Security Pointer Index) is used for the common encryption key in IPsec based on a Security Association (SA) and IKE (Internet Key Exchange) is used for the key exchange protocol. Further, IPsec is provided with a protocol AH (Authentication Header) for providing integrity and authentication through encryption.
Also, Secure Socket Layer (SSL) is an HTTP protocol with a security function which was developed by Netscape®. Through HTTP, a client and a server authenticate each other on the network using SSL to interact with highly confidential information such as credit card information or the like, by encrypting it. In this manner, it is possible to prevent sniffing of data, replay attacks (capturing confidential data to be resent later), spoofing, falsifying of data and the like.
The OSI reference model is well known and is constituted such that a bottom layer (first layer) is a physical layer, a second layer is a data-link layer, a third layer is a network layer, a fourth layer is a transport layer, a fifth layer is a session layer, a sixth layer is a presentation layer and a top layer (seventh layer) is an application layer. The hierarchy in this OSI reference model is illustrated by dividing a communication function into seven stages and a standard function module is set for every layer. In the TCP/IP of
The TCP/IP protocol stack is typically expressed in software or firmware, each protocol of the stack being conceptually positioned in a respective OSI layer of the hierarchy.
First, to explain the distinctions between layers of the OSI reference model, the physical layer (first layer) is a layer which defines a physical electrical characteristic of the signal line. However, it is rare case that this layer is defined and mounted alone. Ordinarily layer 1 is defined, for example, as an Ethernet standard or the like together with the data-link layer of the second layer.
The data-link layer (second layer) is a layer which defines packet format, physical node addresses, a transmitting and receiving method of packets and the like. Layer 2 defines a protocol for interacting packets between two nodes through a physical communication medium. In this second layer, some kind of address or Medium Access Control (MAC) identifier is added with respect to each node and packets are transmitted on the communication medium by specifying a transmission source of the packets. As to communication mediums, there are diversified types of copper wiring, wireless, optical fiber and the like. Also, with respect to the connection mode (topology), there is not only point-to-point connection but also bus, star, and link topologies. The packet transmitted on the communication medium is provides to a node at a reception side where it is processed with respect to the remaining OSI layers.
For example, a NIC (Network Interface Card) functions in conjunction with an associated driver to operate at the physical layer and data-link layer for connecting a personal computer, a printer or the like to a premises network (LAN). In many cases, the NIC interfaces to an Ethernet.
By means of the NIC, a node (apparatus) which wants to transmit data awaits a vacant time slot to start a transmission via the Ethernet. At that time, if a plurality of nodes start transmissions simultaneously, data collide in the cable and are broken-down, so that transmitting nodes stop transmissions and will restart transmissions after waiting a random of time. In this manner, it is possible for a plurality of nodes to share a single cable so as to communicate mutually.
The network layer (third layer) is a layer which defines a communication method between two arbitrary nodes. In the case of TCP/IP, the third layer corresponds to an IP layer. It is possible in the data-link layer to carry out a communication between nodes on the same network medium. The role of the network layer is to communicate by using routing between two arbitrary nodes existing on the network. Here, “routing” refers to transmitting IP packets by selecting an optimum path when packets are transmitted to a host in the TCP/IP network. For example, communication is carried out in the network layer between two Ethernet segments by routing packets. Also, it is possible to route packets not through physical network media but by routing to a dial-up PPP (Point to Point Protocol) line which connects a computer to a network (Ethernet) through a telephone line, also by routing to an exclusive line using an optical fiber and the like. For this purpose, addresses (IP addresses in case of TCP/IP) which are not dependent on the physical medium are ordinarily allotted to respective nodes and the routing is carried out based thereupon. IPsec encrypts every communication in this network layer.
The transport layer (fourth layer) is a protocol layer for realizing a hypothetical communication path in which there is no error between two processes executed on respective nodes. In the case of TCP/IP, it corresponds to the TCP layer. The network layer offers a function to carry out a communication between two nodes. The role of the transport layer is to offer a hypothetical communication path by using this in which there is no error between two processes (applications). More specifically, it is possible to transmit data in the network layer, but there is no guarantee that the data will arrive at a destination. Also, there is no guarantee either that the data will arrive correctly in the transmitted order. Consequently, the transport layer provides a communication path in which there is error protection. For example, if it is necessary, data can be resent and recovery processes or the like may be carried out.
User Datagram Protocol (UDP) is also disposed in this transport layer together with TCP. The difference between UDP and TCP lies in that UDP provides high speed communication relative to TCP due to the non-compensation for data errors. TCP is used primarily to transmit data such as a case of a communication between computers. UDP is used primarily when audio and video is transmitted such as in the case of voice over IP (VoIP).
The session layer (fifth layer) defines a procedure of a session (from start to end of a communication) and enabling a communication by establishing a connection between applications. A socket disposed in this layer is defined as an IP address which the computer possesses and a port number which functions as a sub address of the IP address. In case of connecting nodes, a session is carried out by always appointing a socket (pair of IP address and port number). As shown in
The presentation layer (sixth layer) defines an expression method; coding, encrypting or the like, of the data which are interacted in the session (start to end of a communication). In the TCP/IP protocol, there is no function corresponding to this layer. The stream data process is ordinarily handled by the application itself.
Also, the application layer (seventh layer) defines data interaction between applications; there is no function corresponding to this layer in the TCP/IP protocol. The application layer defines, for example, an electronic mail format, an internal structure of a document text or the like which is a common data structure or the like necessary in case of interacting data between applications bilaterally.
Also, the network layer is provided with an ICMP (Internet Control Message Protocol). ICMP transfers an error message and a control message of IP for such purposes as PINGing a destination host. IGMP (Internet Group Management Protocol) controls a host group (i.e., multicast) for distributing the same data to a plurality of hosts efficiently or being constituted for receiving the distribution. TCP and UDP are disposed in the transport layer which is an upper layer relative to the network layer, a socket interface is disposed in the session layer which is an upper layer thereof.
In conventional encryption communication technologies, IPsec provides transmission and reception by encrypting IP packets. Consequently, this operation is transparent to application software which utilizes upper protocols of TCP, UDP or the like to be aware of a fact that IPsec is used.
On the other hand, in SSL, a digital certificate using RSA (Rivest, Shamir, Adleman) public key cryptograph technology provides the authentication level. A common key cryptograph technology such as DES or the like is used for the data encryption. SSL lies in the session layer of the fifth layer, so that it is dependent on a specific application.
IPsec is designed to prevent security compromises by ansuring the integrity and authentication of communications. On the other hand, SSL is an encryption technology in the fifth layer and is one for transmitting and receiving information relating to privacy, company secret information, etc., securely by encrypting data of the World Wide Web, FTP (File Transfer Protocol) or the like.
Table 1 is a table describing functions of IPsec and SSL by a comparison thereof. As seen from this table, IPsec and SSL have mutually exclusive advantages and defects.
For example, in the case of SSL, for the communication between client-client, the SSL message exchange and communication content becomes a master/slave relationship. In other words, the relationship is more client/server, so that the communication between client-client could not be carried out without employing a server. More specifically, in a case when secret data are transmitted from a terminal A to a terminal B by SSL encryption, it was always necessary to interpose a server therebetween. On the other hand, there is not such a restriction in IPsec, as direct communication is enabled.
Also, in a PPP (Point to Point Protocol) mobile environment, or, an ADSL (Asymmetric Digital Subscriber Line) environment, IPsec carries out authentication of its connecting partner. The authentication is via a communication using an IKE (Internet Key Exchange) protocol used for the determination of Security Associations (SA), such as encryption system, key exchange, and bilateral authentication before it starts an encryption communication of data. Yet, in the case of the PPP Mobile Environment (remote client) or the ADSL Environment, the IP address cannot be fixed. So, the main mode of IKE, used most between gateways of IPsec, in other words, a mode using IP address information of a communication partner for authentication, cannot be used. It should be noted that the IP address need not be used for ID information in an aggressive mode. In the aggressive mode, for example, user information is used for the ID information such that it becomes possible to specify a partner by using a password of a user as the common key. However, in the aggressive mode, the ID of the connecting partner is transmitted in a message which is the same as key exchange information, so that the ID is transmitted as a plaintext without encryption. Also, the authentication problem can be solved by utilizing XAUTH (Extended Authentication within IKE), but the IP address is unknown in the access by a remote client in a firewall setting, so that it becomes necessary to permit all of IKE and IPsec such that problems relating to security remain. Speaking of SSL, it is possible to communicate even under the environment described above.
Also, there is a problem in IPsec that it cannot communicate with NAT (Network Address Translation) and IP masquerade. In order to communicate therewith, it has to be commonly used with other function such that, for example, it is to be listed in a payload of UDP. NAT is a technology for a company or the like connected to an Internet to share one global IP address in a plurality of computers and a technology for bilaterally-converting IP address (local address) available only in an organization and address (global address) on the Internet. The reason why it cannot communicate with NAT is because it becomes impossible for the bilateral conversion of the global address to be performed by this local address since the IP header is in an authentication region of AH (Authentication Header) and it becomes impossible for local address peers having different sub-nets to communicate with each other.
IP masquerade makes it possible to access the Internet from a plurality of clients who possess private addresses in LAN and it can be said, seen from a view point of security, that it is desirable to utilize this arrangement, because only a terminal which is operated by the IP masquerade can be seen from the outside (Internet). The reason why IPsec cannot communicate with IP masquerade is because the ESP (Encapsulating Security Payload: encrypted payload) header of IPsec is positioned just after the IP header. An ordinarily router mounted with IP masquerade judges such that a TCP/UDP port number is to be positioned just after the IP header. Consequently, that port number is made to change if it goes by way of a router mounted with IP masquerade, so that IPsec judges that there was a falsifying and there occurs a problem that the authentication of the host cannot be obtained. It is possible to avoid this problem by utilizing a product which supports NAT-T (NAT-Traversal) for taking onto a payload of UDP. However, it is not possible to connect even NAT-T peers if versions of NAT-T are different from each other. It is possible for SSL to communicate even under the environment described above.
On the other hand, SSL is not helpless with respect to various kinds of attacks to TCP/IP. When a DoS attack to the TCP/IP protocol stack occurs, for example, a TCP cutoff attack takes place, the TCP session is cutoff such that service to SSL is stopped. The IP layer possess a security function since the IPsec is mounted in the third layer (IP layer), so that it is possible to prevent a DoS attack to TCP/IP (fourth layer, third layer). However, SSL is an encryption protocol which is mounted in a layer (fifth layer) upper than the TCP/IP (fourth layer, third layer), so that it is impossible to prevent a DoS attack to TCP/IP.
Further, SSL is more effective as compared with IPsec with respect to a communication under an inferior communication environment such as environments exhibiting physical layer noise and communication errors. More specifically, it becomes a situation for IPsec in the case of detecting an error that the resending operation is to be dependent on the upper TCP. TCP transmits resending data to IPsec, but IPsec cannot recognize resent data such that a re-encryption is to be carried out. SSL carries out an error recovering process by TCP, so that the same data is never re-encrypted.
Also, it is not possible for IPsec to communicate between different LANs. More specifically, distribution management of sub-net addresses in LAN is managed by DHCP (Dynamic Host Configuration Protocol) server existing in the LAN, the same sub-net addresses are never allocated in a LAN. But, there is a possibility in case of a communication between different LANs that the same addresses are allocated, because the DHCP servers existing in the respective LANs allocate sub-net addresses individually. In a case when the same addresses are allocated in this manner, it is not possible for the IPsec to communicate. However, it is possible to communicate therein if an IPsec-DHCP servers are set up differently so as to be managed such that same addresses never occur. The SLL is positioned in the fifth layer (session layer) of the OSI reference model as mentioned above, so that an error recovering process can be performed in TCP of a lower layer and it becomes possible to communicate under an inferior environment as described above.
Also, with respect to the communication under different network environments, IPsec has to manage all of the nodes along a route and to make setting changes such that the IPsec can pass therethrough. The management becomes difficult, but it is possible for SSL to carry out a communication even under this environment without being conscious of the environment of the nodes which are traversed during communication.
Further, there is a problem in IPsec that a connection through a plurality of carriers cannot be attained. In other words, IPsec has to manage all of the traversed nodes and to make setting changes such that IPsec can pass therethrough, so that a connection through a plurality of carriers cannot be attained. For example, in a case when contracts with different carriers in separate locations, such as Tokyo and Osaka, Japan, it is not possible to connect there between, so that there is also a case in which expensive exclusive lines are additionally required. It is possible for SSL to communicate even under this environment described above.
It is not possible for SSL to communicate UDP by encryption, because it does not support UDP communication. It is not possible for TCP either to communicate all of TCP ports by encryption, because it only supports specific ports. On the other hand, it is possible for IPsec to communicate either one of UDP and TCP by encryption.
Further, SSL is deficient in that it does not have compatibility with respect to the application. The application uses the socket (fifth layer) as a program interface when an Internet communication is carried out. Therefore, in a case when the application uses SSL (fifth layer), this socket interface must be changed to a SSL interface. Consequently, SSL has no compatibility with the application. On the other hand, IPsec is positioned lower than the socket (fifth layer), so that the socket (fifth layer) can be used as a program interface directly for the application such that it has compatibility with the application.
Also, while IPsec can control according to the IP address unit, SSL is to control according to the source unit (URL unit, folder unit).
Further, IPsec has a problem that the maximum segment size becomes small. More specifically, since IPsec uses an ESP header and an ESP trailer, the payload becomes small, so that fragment (division of packet) occurs and the throughput is lowered. Also, since the fragment is prohibited for the TCP packet, it is necessary in the end-end communication to comprehend environment in which IPsec passes and to set a maximum segment size by which a fragment does not occur. On the other hand, it is not necessary for SSL to comprehend an environment for passing through, so that it is not necessary to set the maximum segment size.
The protocol of the present invention described hereinafter is an encryption communication protocol which includes all of the advantages of IPsec and SSL, as well as those which will be appreciated from a reading of the following sections, while remedying at least the deficiencies discussed above.
The present invention provides a communication system, including a protocol encryption agent of a transport layer of a TCP/IP stack configured to encrypt at least a payload of a TCP/IP transport layer protocol packet defining an information payload for transmission from the node. A protocol decryption agent of a transport layer of a TCP/IP stack configured to decrypt an encrypted TCP/IP transport layer packet information payload communicated to the node. The communication exchange with a further node is carried out encrypting and decrypting the packet information of the transport layer protocol.
A communication apparatus which carries out a communication by encrypting a protocol positioned in a transport layer is provided. A node authentication unit is configured to authenticate communications to the communication apparatus. An authentication information addition unit is configured to transmit at least a payload of a protocol corresponding to TCP or UDP in a packet which is an information unit to be transmitted and received, by adding authentication information. A protocol authentication unit is configured to authenticate a received protocol, including said added authentication information, wherein a communication is carried out by using standard TCP or UDP protocol of TCP/IP.
A communication system is provided which may include a plurality of nodes for communicating packet data. At least two nodes employ a protocol encryption and protocol decryption unit configured to encrypt at least a playload of a protocol of a TCP/IP transport layer in a packet of an information unit for transmission from the at least two nodes. A protocol decryption unit is configured to decrypt encrypted TCP/IP transfer layer protocol layer payloads communicated to the nodes. A third node includes a TCP/IP protocol stack. The at least two nodes communicate with the third node through the TCP/IP protocol stack, the, at least, two nodes communicate with each other through a TCP/IP protocol stack, wherein the encryption unit and decryption unit are invoked so as to interoperate with TCP/IP to provide communication through an encrypted transport layer protocol of TCP/IP.
A removable hardware device configured to be interposed along a communications path of a communication device, comprising a protocol encryption agent of a transport layer of a TCP/IP stack configured to encrypt at least a payload of a TCP/IP transport layer protocol packet defining an information payload for transmission from the node; a protocol decryption agent of a transport layer of a TCP/IP stack configured to decrypt an encrypted TCP/IP transport layer packet information payload communicated to the node, wherein a communication exchange with a further node is carried out by encrypting and decrypting the packet information payload of the TCP/IP transport layer protocol.
It is to be understood that both the foregoing general description of the invention and the following detailed description are exemplary, but are not restrictive, of the invention.
A more complete appreciation of the invention and many of the attendant advantages thereof will be readily obtained as the same becomes better understood by reference to the following detailed description when considered in connection with the accompanying drawings wherein:
Certain terminology used in the following description is for convenience only and is not limiting. The term “TCP2” as used herein refers to en exemplary embodiment of the invention, which employs transport layer protocols, UDPsec and/or TCPsec. The term “node” as used herein refers to a point along a communication path in which a device processes transffic in accordance with the exemplary embodiment of the invention. Thus, “Node” embraces routers, gateways, bridges, personal computing devices, servers, and the like. In the drawings, the same reference numerals are used for designating the same elements throughout the several figures.
Hereinafter, examples of exemplary embodiments according to the present invention will be explained with reference to
An IP emulator (emulator) 13 which is partially extended upward to the transport layer (fourth layer) exists in the network layer (third layer). A transport function is not mounted on aforesaid extended portion of the IP emulator. The extended portion offers a function of the network layer to the session layer. The IP emulator 13 is provided to carry out an operation of using “IPsec on CP” 13b which is a protocol carrying out an encryption, communication, and “IP on CP” 13a by switching according to an application. Here, the terminology “on CP” means “cracking protector,” that it is to set protection against known TCP/IP exploits.
Also, the network layer is disposed with ARP on CP (Address Resolution Protocol on Cracking Protector). The ARP on CP is a protocol used for resolving a MAC (Media Access Control) address from an IP address, equipped with a protection countermeasure against a cracker.
Here, the IP emulator 13 is software or firmware enabling various kinds of security functions according to an exemplary embodiment of the present invention being matched with a conventional TCP/IP stack. More specifically, it is an ICMP (Internet Control Message Protocol) 14a which is a protocol for transferring an IP error message or a control message (PING). An IGMP (Internet Group Management Protocol) 14b which is a protocol (multicast) for controlling a host group constituted for distributing same data to a plurality of hosts efficiently or for receiving such distribution, TCP 15 and software, firmware or hardware for matching to UDP 16 and further to a socket (Socket) interface 17. As can be appreciated, the IP emulator 13 carries out an adaptation process before and after an IPsec encryption and decryption, a necessary authentication information addition and authentication or the like.
A TCP emulator 15 and a UDP emulator 16 are disposed in a transport layer (fourth layer) in an upper layer with respect to the IP emulator 13. The TCP emulator 15 has an operation for using “TCPsec on CP” 15b which is a protocol for carrying out an encryption communication, and, “TCP on CP” 15a which is a communication protocol by switching according to an application. Similarly, the UDP emulator 16 has an operation for using “UDPsec on CP” 16b which is a protocol carrying out an encryption communication and “UDP on CP” 16a which is a communication protocol by switching according to an application program.
The encryption communication protocol of TCPsec 15b and UDPsec 16b are mounted in the transport layer (fourth layer). The mounting of these protocols in the transport layer will be explained in detail herein.
A socket interface 17 carrying out data exchange with a protocol of TCP, UDP and the like is provided in an session layer (fifth layer) which is an upper layer of the transport layer (fourth layer). The socket is well known in the art, and combines an IP address corresponding to an address in a network which a computer possesses with a port number which is a sub address of the IP address. Practically, the socket typically is embodied via a single software and/or firmware program module carrying out addition or cancellation of a sequence of headers all together (execution program or the like) or a single hardware module.
The socket interface 17 provided a unified access system from a further upper application (EC application shown in
The TCP emulator 15 operates in the transport layer for distributing packets to either one of the TCPsec 15b and TCP 15a. TCPsec 15b provides encryption, completeness authentication, partner authentication or the like. TCP 15a provides conventional TCP functionality. Also, both of TCPsec 15b and TCP 15a is provided with a cracking-protector (CP), so that it is possible to defend against TCP/IP exploiting. The TCP emulator 15 also functions as an interface with the socket positioned in an upper layer.
As known to those skilled in the art, UDP does not have an error compensation function; TCP has an error compensation function. UPD transfer speed is faster as compared to TCP, and also a broadcast function is provided. The UDP emulator 16 has, similarly as TCP emulator 15, an operation for distributing packets to either one of the UDPsec 16b or UDP 16a. UPDsec 16b provides encryption, completeness authentication, partner authentication. UDP 16a provides conventional UDP functionality.
As shown in
TCP2, according to the exemplary embodiment, provides a standard protocol of TCP, UDP, IP, IPsec, ICMP, IGMP and ARP imounted with CP (cracking-protection). In this way, it is possible to protect against an attack from a communication with respect to the respective protocols and against an attack (trojan horse, falsifying of a program, and the like) from an application-program. Also, in TCP2, the TCP emulator 15 is mounted and keeps compatibility seen from the socket 17 existing in the session layer and from the IP emulator 13 existing in the network layer, so that the socket appears as a standard TCP socket to upper layers. Actually, TCP and TCPsec are switched so as to be executed as a TCP2 function. TCPsec is an encryption and authentication function in the transport layer according to the exemplary embodiment of the present invention.
TCP2 may be ported to an operating system of a communication device by including it as a driver of the operating system. For example, in Windows' based machines, a TCP2 driver would be added to the WINSOCK. Likewise, the TCP2 system may be incorporated directly into the TCP/IP stack of the operating system. In an alternative embodiment of the invention, the TCP2 instruction set may be provided via a removable hardware device, such as a USB key interposed along the communication path of a communication device.
Also, TCP2 is similarly mounted with a UDP emulator 16 and keeps compatibility seen from the socket 17 existing in the session layer and from the IP emulator 13 existing in the network layer, so that the socket appears as a standard TCP socket to upper layers. Actually, UDP and UDPsec are switched so as to be executed as a TCP2 function. UDPsec is an encryption and authentication function in the transport layer according to an exemplary embodiment of the present invention.
Next, the functionality of TCPsec 15b and the UDPsec 16b functionally is explained.
A publicly known secret key (common key) encryption algorithm is used as an encryption and decryption method (algorithm and logic) for the TCPsec 15b and the UDPsec 16b. For example, a DES (Data Encryption Standard) which is a secret key encryption algorithm developed by IBM® or a 3DES version is used. Further, an IDEA (International Data Encryption Algorithm) by Mr. James L. Massey and Mr. Xuejia Lai of Swiss Institute of Technology in 1992 is also used for other encryption algorithms. This encryption algorithm has 128 bits for the length of a cryptograph key, because data is encrypted by being divided into a block of 64 bits. It is designed so as to possess enough strength also with respect to a linear decryption method for decrypting the secret key cryptograph efficiently or a difference decryption method.
In addition, a cryptograph system called FEAL (Fast Data Encipherment Algorithm), MISTY or AES (Advanced Encryption Standard) is also utilized as a cryptograph system of the TCPsec 15b and the UDPsec 16b which are employed in an exemplary embodiment of the present invention and further, it is also possible to utilize a secret encryption and decryption algorithm created independently. Here, FEAL is a cryptograph system developed by Nippon Telegraph and Telephone Corporation and is a cryptograph system of a secret key type which uses the same key for the encryption and the decryption. This FEAL has an advantage that encryption and decryption are realized with a high speed as compared with DES.
Next, MISTY which is a cryptograph system similarly utilized in the present invention is a cryptograph system of a secret key type developed by Mitsubishi Electric Corporation and data are encrypted by being divided into a block of 64 bits just like IDEA. The key length is 128 bits. This system is the same as DES or the like in that the same program is used for the encryption and the decryption. This system is also designed so as to possess enough strength also with respect to a linear decryption method for decrypting the secret key cryptograph efficiently or a difference decryption method.
Also, AES is a standard encryption system for the next generation of U.S. Government applications. A system called Rijndael which was developed by Mr. Joan Daemen and Mr. Vincent Rijmen who are Belgium cryptograph developers was employed in October 2000 among some cryptograph systems collected around the world by inviting public participations.
In this manner, various kinds of secret key encryption algorithms can be employed as a cryptograph system of the TCPsec 15b and the UDPsec 16b according to the present invention and moreover, it is possible to utilize also a secret key (common key) cryptograph system developed independently by users.
Further, an authentication algorithm of an algorithm utilizing a public key or secret pre-sharing (Pre-shared) such, for example, as MD5 (Message Digest 5), SHA1 (Secure Hash Algorithm 1) or the like is used as a method of “partner authentication” and “completeness authentication” for preventing so-called “spoofing” and “data falsifying” or the like. Also, it is also possible to employ an original algorithm utilizing a unidirectional function in place of such a publicly known authentication algorithm.
This MD5 is one of hash functions (unidirectional summary functions) which are used for authentication and digital signature in which it becomes possible to detect whether or not an original text of a portion of a communication is falsified by generating a hash value of a fixed length based on the original text and by comparing this on both ends on the communication path. This hash value takes a value such as a quasi random number and it is made to be unable to reproduce the original text based thereon. In addition, it is difficult for another message to create the same hash value.
SHA1 is also one of hash functions which are used for authentication, digital signature or the like in which it becomes possible to detect falsifying of an original text on a portion of a communication by creating a 160 bits hash value from the original text of 64th power of 2 or less bits and by comparing on the both ends of the communication path. This authentication algorithm is employed also in IPsec which is a representative of conventional Internet encryption communications.
It should be noted that it is designed with respect to these authentication algorithms such that a secure key exchange can be carried out by means of DH (Diffie-Hellman) public key distribute method, IKE (Internet Key Exchange) protocol (No. 500 of UDP) similar as IPsec or the like and furthermore, it is scheduled by a protocol driver program (TCPsec 15b, UDPsec 16b or the like) such that encryption/completeness authentication algorithm (logic) itself and the set/domain of the key for that purpose will be changed periodically.
Next, it will be explained according to
The client terminal 3b and the client terminal 3c are not mounted with TCP2 of the present invention. In other words, the client terminals 3b and 3c are not mounted with TCPsec or UDPsec which is an exemplary protocol for the encryption system of the present invention either. The client terminal which supports TCP2 is 3a. Next, a communication between 3a and 3b is described.
Application software for the EC is mounted in an upper layer with respect to the socket of client terminals 3a to 3c. Also, a host computer 1 connected to the network 30 is equipped with TCP2 and EC application software 18 is mounted in an upper layer of its socket 17. Those skilled in the art will recognize that unused protocols, such as UDPsec or the like are omitted in
More specifically, in host computer 1, first, a NIC driver (NIC driver) 11 is disposed across the first layer (physical layer) and the second layer (data-link layer) and an ARP (Address Resolution Protocol) 12 and an IP emulator 13 are disposed in the network layer of its upper layer (third layer). Then, the TCP emulator 15 and the UDP 16 are disposed in the transport layer of the fourth layer. The reason why there is no description of the UDP emulator (including UDPsec and UDP) in
The client terminals 3a, 3b and 3c are operably linked to the network 20 and the protocol stack of the network control apparatus 2 by way of the host computer 1 operably linked to the network 30 by an NIC driver.
Also, the client terminal 3a is a terminal supporting TCP2 of the present invention and here, protocol stacks are shown as a terminal comprising a communication apparatus having correspondence with only TCPsec. The client terminals 3b and 3c do not support TCP2 of the present invention.
The client terminal 3a is mounted with protocol driver software which is distributed beforehand through a network or through a recording medium as known to those skilled in the art. In addition, TCP/IP driver software is distributed beforehand similarly also with respect to the client terminal 3b and the client terminal 3c and is mounted thereon.
Particularly, with respect to the client terminal 3c, IPsec which is a conventional encryption system is mounted thereon and it is constituted such that IPsec cannot be used effectively, because the network control apparatus (router) 2 masquerades IP addresses (i.e., NAT) being referenced to a TCP port number. Further with respect to the client terminal 3c, it is constituted to cancel the connection request according to a network policy setting, not shown. It should be noted that those skilled in the art will recognize confirmation (receiving packet analysis or the like) itself of such a setting of the network policy, or, whether or not the protocol is mounted, so that the explanation thereof will be omitted in the present specification.
When the host computer 1 communicates with the client terminal 3a, the communication is to be carried out according to an encryption and decryption arrangement based on TCP2 of the present invention and particularly on TCPsec, but when the host computer 1 communicates with the client terminal 3b or 3c, the communication is to be carried out in a condition that the encryption and decryption arrangement based on TCP2 (particularly, TCPsec) of the present invention is not done. In other words, communication with 3b and 3c is carried out according to the typical TCP protocol. It is needless to say in a case when the host computer 1 communicates with the client terminal 3c supporting IPsec that an encryption communication based on IPsec can be carried out naturally. It should be noted that it is possible to stop the communication by the operation of TCP2 which the host computer 1, even if the host computer 1 tries to communicate with the client terminal 3b or 3c not equipped with TCP2.
Also, the host computer 1 and the client terminal 3a may carry out an exchange of an encryption and decryption software through a network according to this exemplified embodiment, but it is needless to say that it is also possible to configure communication peers beforehand by using a removable medium such as an FD, a CD, a UDB memory or the like. Likewise, TCP2 may be incorporated into the operating system.
Next, it will be explained according to
The protocol stack possessed by the host computer 1 are almost the same as the protocol stack of the host computer 1 in
The client terminals 4a, 4b and 4c are operably linked to the network 20 and the protocol stack of the network control apparatus 2 by way of the host computer 1 operably linked to the network 30 by an NIC driver.
Also, the client terminal 4a is a terminal supporting TCP2 of the present invention and here, is a terminal provided with a communication apparatus having correspondence with only UDPsec, the client terminal 4b is a communication apparatus having correspondence with UDPsec of the present invention and with conventional IPsec. The client terminal 4c is a communication apparatus having correspondence only with conventional IPsec. The client terminal 4c does not support TCP2 of the present invention. These client terminals 4a to 4c are mounted with protocol driver software which is distributed beforehand through a network or through a recording medium such as a CD-ROM, DVD, Memory Stick®, or the like, similarly as described relative to the client terminals 3a to 3c in
With respect to the encryption and decryption logic for preventing data compromises and the authentication information addition and authentication logic for preventing “spoofing”, it is necessary to make a correspondence between the host computer 1 and client terminals 4a, 4b and 4c. An arrangement according to a similar policy as that for conventional IPsec, but protocol driver software itself is distributed beforehand in the second exemplified embodiment of the present invention, so that it is also possible to arrange a secret key or the like by a more concise original protocol or to use packets having a simpler structure. Also, it is possible to mount encryption, decryption and authentication algorithm (logic) itself which is not publicly known encryption, decryption and authentication algorithm but independently created one as a software module of the protocol driver or the like.
It should be noted that the client terminal 4c is not mounted with TCP2, but conventional IPsec, so that it is possible to make a secure communication. However, the clients 4a and 4b are mounted without IPsec but with UDPsec element of TCP2 for the performance of the objective broadcasting application or as a matter of convenience in security policy. The reason why UDPsec is utilized instead of IPsec is that IPsec has lowered performance caused by the fact that a UDP port number portion (belonging to IP payload) is encrypted by IPsec or the like.
Also, by embedding a partner authentication protocol which judges whether or not the communication partner is correct into TCP of TCP2 or UDP protocol stacks, that is, into TCPsec or UDPsec, it is possible to carry out a communication partner authentication function between communication partners bilaterally without being aware of a higher layer application. In this case, it is also possible to increase communication packet numbers, packet length or the like substantially within the range in which the cost metric associated therewith does not increase.
Also, in case of utilizing UDPsec which is an encryption system according to the exemplary embodiment of the present invention, when a broadcast function for transmitting data particularly toward unspecified number of partners (i.e., multicast) is carried out in the network, the client terminals 3a and 3b which receive the broadcast start negotiation (arrangement) obtain communication partner authentication or the secret key for communication. Then, it is not possible for the client terminal 3a and 3b to decrypt delivered data by UDPsec from the host computer 1 until the secret key for the communication is obtained after carrying out authentication of the communication partner.
Next, it will be explained according to
As shown in
Among those above, the portion shown by the numerals 41, 42, 48 and 49 is information for IPsec and the numeral 43, 44, 46 and 47 are information relating to TCPsec. TCPsec is also is disposed here according to IPsec; but, it should be noted that this utilization depends on employed encryption or algorithm of authentication even if the additional information 44 of TCPsec and the added trailer 46 are omitted or the added authentication data 47 of TCPsec is reduced.
In the packet structure of TCP2 shown in
In this manner, encryption is carried out by using two kinds of encryption algorithms of IPsec and TCPsec and further completeness authentication is carried out with respect to data having a packet structure as shown in
Here, the numerals 43, 44, 46 and 47 become characteristic information for TCPsec. However, as mentioned above, it is possible depending on the employed encryption/authentication algorithm to disperse this of information into unused header field portions of TCPsec/IP or the like or to omit them by a dependent and prior arrangement (negotiation) which cannot be reassembled or determined from the individual packet. Also, by constituting TCPsec/IP packets as shown in
Next, it will be explained with respect to the operation of the encryption process system using TCPsec which is a first exemplified embodiment of the present invention according to flowchart diagrams shown in
Any processes descriptions or blocks in flow charts should be understood as representing modules, segments, portions of code which include one or more executable instructions for implementing specific logical functions or steps in the process, and alternate implementations are included within the scope of the exemplary embodiment of the present invention in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending upon the functionality involved, as would be understood by those skilled in the art.
(Open of connection waiting which corresponds to a host B of
First, analysis of a port number to be opened is carried out first (step S2). In this analysis, for example, its definition condition is confirmed by using a TCP port No. 80 in the case of Web server. Then, it is judged next whether or not this port No. 80 is permitted for TCPsec passive-open (step S3). In a case when TCPsec passive-open is not permitted in step S3, it is judged this time whether or not TCP passive-open is permitted (step S4). In a case when TCP passive-open is not permitted in judging step S4 either, not only TCPsec but also TCP are found not to be permitted and TCP/TCPsec passive-open fails, so that the process will be discontinued (step S7).
In a case when TCP passive-open is permitted in judging step S4, more specifically when TCP passive-open is permitted while TCPsec passive-open is not permitted, TCP passive-open process shown in
In a case when permission condition of TCPsec passive-open is confirmed in judging step S3, similarly TCPsec passive-open process shown in
When the TCP passive-open process or the TCPsec passive-open process in step S5 or step S6 is ended, the TCP/TCPsec passive-open process will end (step S7). In this manner, passive-open is carried out by TCP from an application of a higher layer in the present example based on the judgment of TCP2, if TCPsec is supported, a communication is to be carried out by TCPsec and if TCPsec is not supported, a communication is carried out by TCP.
Next, it will be explained according to
First, an analysis of a port number to be opened is carried out (step S9). This analysis confirms definition condition of a TCP port No. 3000 in a case when, for example, a client terminal application mounted with a Web browser tries to use the TCP port No. 3000.
Next, it is judged whether or not TCPsec active-open is permitted with respect to the port No. 3000 (step S10). In a case when it is judged in step S10 that the TCPsec active-open is not permitted, it is judged subsequently whether or not TCP active-open is permitted (step S11). In a case when TCP active-open is not permitted in judging step S11 either, either one of TCPsec and TCP active-open was not to be permitted and the TCP/TCPsec active fails, so that a connect process is discontinued (step S14).
In a case when TCP active-open is permitted in judging step S11 and more specifically, when TCP active-open is permitted while TCPsec active-open is not permitted, a TCP active-open process shown in
In a case when permission condition of TCPsec active-open is confirmed in judging step S10, a TCPsec active-open process shown in
When the TCPsec active-open process of step 12, or, the TCPsec active-open process of step S13 is ended, the TCP/TCPsec active-open process is ended (step S14). Also in case of TCP/TCPsec active-open, active open is carried out by TCP from an application of a higher layer similarly as the case of TCP/TCPsec passive-open (
Next, a communication process using TCPsec of an exemplary embodiment of the present invention will be explained with respect to a sequence process between a host A on the active-open side and a host B on the passive-open side according to
As shown in
When the application of the host B becomes TCP passive-open, a TCP passive-open process (see step 5 of
On the host B side, when this connection request (SYN) is received, a receiving packet analysis of this connection request is ended and a connection response (SYN/ACK) is transmitted to the host A side. Here, (ACK) is abbreviation of Acknowledgement, which is transmitted when data transfer is ended normally. On the host A side, when this connection response (SYN/ACK) is received, ACK (acknowledgment) that a connection is completed is transmitted and the connection sequence of the standard TCP is ended.
When ending the connection sequence of standard TCP, a data communication sequence by standard TCP becomes effective and data transmitting and receiving is carried out. Communication includes repeating a fundamental pattern such that ACK (acknowledgment) is returned from the side which received data after either one of the host A side and the host B side transmits data.
In this data communication sequence of the standard TCP, it is possible for either one of the host A and the host B to carry out a cutoff request with respect to its partner.
Next, a communication sequence by TCPsec of the exemplary embodiment of the present invention will be explained according to
When the application of the host B becomes TCPsec passive-open, a TCPsec passive-open process (see step S6 of
When the connection request (SYN) transmitted from the host A is received on the host B side, a connection response (SYN/ACK) is transmitted with respect to the host A. Then, the host A side transmits ACK (acknowledgment) when the connection response (SYN/ACK) is received from this host B. Subsequently, TCPsec negotiation data are exchanged between the host A and the host B and the TCPsec connection sequence is ended.
When this connection sequence is ended, a TCPsec data communication sequence becomes effective and after either one of the host A side and the host B side transmits data, data transmission and reception are carried out by repeating a pattern in which ACK (acknowledgment) is returned from data receiving side. Here, the data are all cryptograph data.
It should be noted in the TCPsec data communication sequence that it is possible for either one of the host A and the host B to make a cutoff request with respect to the other partner. In
As mentioned above, the sequence from the connection to the cutoff of the communication was explained according to
First, it will be explained in step S5 of the flowchart diagram in
In a case when the protocol processed in step S5 of
In a case when it was judged in judging step S16 that the received packet is a correct TCP packet, it is judged subsequently whether or not it is connected, in other words, whether or not the connection sequence of the host A and the host B in
In a case when a cutoff response is transmitted in step S23, final ACK will be awaited (step S24). Then, TCP will cutoff after the final ACK is received (step S25), and the TCP passive-open is ended (step S26).
In a case when it is judged in judging step S18 that the receiving port is not in a connected condition, it is judged whether or not the received packet is a passive-open permission port (step S27). Then, in a case when the received packet is not permitted, the received packet is discarded (step S28) and a next packet will be awaited. Also, in a case when it is judged in judging step S27 that the received packet is of passive-open permission, it is judged whether or not the next packet is a connection request (step S29), and in a case when it is not a connection request, the packet is discarded (step S28) and a next packet will be awaited. Also, in a case when it is judged as a connection request in judging step S29, a connection response is transmitted and it will be made to be a TCP connecting condition (step S30).
Next, it will be explained according to a flowchart diagram of
In a case when it is judged in judging step S32 that the received packet is a correct packet, it is judged subsequently whether or not the connection of the host A and the host B is completed (whether or not being connected) (step S34). In a case when it is judged in judging step S34 that the host A and the host B are connected, it is judged next whether or not the received packet is a cutoff request (FIN) (step S35). If it is not a cutoff request, it is judged whether or not the received packet is a cutoff response (FIN/ACK) (step S36). Then, in a case when the received packet is neither a cutoff request nor a cutoff response, a TCPsec data transmission and reception process, shown in
In a case when it is judged in judging step S34 that the host A and the host B are not connected, it is judged whether or not the received packet is a passive-open permission port (step S46). Then, in a case when the received packet is not a passive-open permission port, the received packet is discarded (step S47), the flow returns to step S31 and a next packet will be awaited. Also, in a case when it is judged in judging step S46 that the received packet is to be a passive-open permission port, a TCPsec passive connection process shown in
Subsequently, it is judged according to the common key and the authentication data whether or not the communication partner is normal, in other words, whether or not it is a partner possessing right authority (step S49). If it is judged as a normal partner, the flow returns to step S31 and a next receiving packet is awaited, but if it is judged that the communication partner is not a normal partner, the TCPsec connection is cutoff (step S50) and the TCPsec passive-open process is ended (step S51).
Next, it will be explained according to a flowchart diagram of
In a case when it is judged in judging step S54 that the received packet is a correct packet, it is judged subsequently whether or not the transmission side (active side) host A and the reception side (passive side) host B are in a connected condition (step S56). In a case when it is judged in this judging step S56 that they are connected, it is judged next whether or not the received packet is a cutoff request from the transmission side host A with respect to the reception side host B (step S57). If this is not a cutoff request, it is judged whether or not it is a cutoff response (FIN/ACK) from the reception side host B with respect to the transmission side host A (step S58). If it becomes neither a cutoff request nor a cutoff response, a TCP data transmitting and receiving process is carried out (step S59) and a next receiving packet is awaited. If it is judged as in judging step S58 that it is a cutoff response from the host B to the host A, the host A transmits ACK for affirming the cutoff (step S60) so as to cutoff TCP (step S63).
In a case when the received packet is a cutoff request in judging step S57, a cutoff response is transmitted from the host B with respect to the host A (step S61) and the host B waits for the reception of the final ACK from the host A (step S62). Then, TCP cutoff after host B receives the final ACK from the host A (step S63) and the TCP active-open is ended (step S64).
In a case when it is judged in judging step S56 that the transmission side host A and the reception side host B is not in a connected condition, it is judged whether or not the received packet is an active-open permission port (step S65). Then, in a case when the received packet is not permitted, the received packet is discarded (step S66) and a next packet is awaited. Also, in a case when it is judged in judging step S65 that the received packet is to be active-open permission, it is judged whether or not there was a connection response from the reception side host B (step S67), and, if there is no connection response, the packet is discarded (step S66) and a next packet awaited. In a case when a connection response is provided from the reception side host B, a TCP connection is made (step S68), the flow returns to step S53 and a next receiving packet will be awaited.
Next, it will be explained according to a flowchart diagram of
The process shown in the flowchart diagram of
Next, it is judged as a result of the received packet analysis whether or not the received packet is a correct TCP packet and more specifically, whether or not it is not a TCP protocol attack pattern, such as a DoS attack (step S71). In a case when it is judged as this result that it is an improper packet, that packet is discarded (step S72), the flow returns to step S70 and a next packet is awaited.
When it is judged in judging step S71 that the received packet is a correct TCP packet, it is judged whether or not the connection of the transmission side host A and the reception side host B is completed (whether or not being connected) (step S73). Then, if the host A and the host B is in connected condition, it is judged whether or not the received packet is a cutoff request (FIN) (step S74). When the received packet is not a cutoff request, it is judged whether or not there is a cutoff response from the reception side host B (step S75). In a case when there is neither a cutoff request nor a cutoff response, a TCPsec data transmitting and receiving process shown in
In a case when there was a cutoff response in judging step S75, it is judged whether or not the cutoff key coincides (step S77). With respect to this cutoff key, it is all the same as that explained in
In a case in judging step S73 when a connection of the transmission side host A and the reception side host B is not completed, that is, not being connected, it is judged whether or not the received packet is an active-open permission port (step S85). Then, in a case when the received packet is not permitted, that received packet is discarded (step S87), the flow returns to step S70 and a next packet is awaited. Also, in a case when the received packet is judged to be of an active-open permission in judging step S85, it is judged whether or not the received packet is a packet of a connection response (SYN/ACK) from the reception side host B (step S86), and in a case when it is not a packet of a connection response, the packet is discarded (step S87) and a next packet is awaited; and, in a case when it is judged as a connection response packet in judging step S86, a TCPsec active connection process the detail of which is shown in
When the TCPsec active connection process is performed in step S88, it is judged next whether or not the reception side host B is a normal partner, in other words, whether or not it is a partner for which the connection is permitted (step S89). Then, if it is judged as a partner for which the connection is allowed, the flow returns to step S70, a next packet reception is waited for, and when it is judged in step S89 that it is a partner for which the connection is not permitted, the transmitting and receiving by TCPsec is cutoff (step S90) and the TCPsec active-open is ended (step S91).
Next, it will be explained according to a flowchart diagram of
First, when the TCPsec data transmitting and receiving process starts in step S37 of
Next, it is judged whether or not there are received data (step S96) and in a case when there are received data, decryption of the received data is carried out (step S97). Next, is judged whether or not the received and decrypted data are correct data (step S98). This judgment is carried out by confirming the decrypted data and the received authentication data and in a case when it is judged as a result of confirming the decoded data that they are not correct data, the TCP/TCPsec is cutoff (step S99). This cutoff is carried out by discarding the receive data and at the same time, by performing a cutoff request to the transmission side. In a case when it is judged in the judging step S98 that the decrypted data are correct data, processing of the received data and more specifically, data delivery to higher layer protocol stack is carried out (step S100), and the TCPsec data transmitting and receiving process is completed (step S101).
Next, it will be explained according to a flowchart diagram of
First, it is judged whether or not the partner is a correct partner, in other words, whether or not it is a device having authority for connecting to the receiving node (step S102) and in a case when it is not a correct partner, a process for cutting-off TCPsec is carried out (step S103). If it is judged in judging step S102 that the connection partner is a correct partner, a connection response is transmitted from the reception side host B (step S104).
Then, it is confirmed whether or not there is information of the partner who transmitted the connection response within the receiving node (step S105). In a case when there is not the partner information within the receiving node, the partner information is obtained from the present system, more specifically, from the install server used when TCP2 is installed (step S106). Alternatively, the flow proceeds to step S107 by obtaining the partner information from the server of third party authentication. As for the obtaining information, it is possible to use one or a plurality of TCP2 ID on the partner side, user ID, password, biometrics information, inherent apparatus information, LAN connecting apparatus information and the like. It should be noted that it is necessary to carry out the obtaining operation anew even in a case when the node already possesses the obtaining information from the server if it goes beyond the term of validity or the number of times of effective uses.
Next, it is judged whether or not the partner information corresponds to the correct partner, that is, whether or not it is a partner admitted for accessing the receiving node (step S107). Here, if the connecting partner is a correct partner, the TCPsec passive connection is completed (step S108), but in a case when it is not a correct partner, TCPsec cutoff is carried out so as to stop the connection (step S103).
Next, it will be explained according to a flowchart diagram of
Similarly as a case of the passive connection process in
If it is judged as a correct partner in judging step S109, an affirmative connection response (ACK) is transmitted from the transmission side host with respect to the reception side host B (step S111).
Next, it is judged whether or not the node possesses information of the partner side (step S112). In a case when there is no partner information within the node, the partner information is obtained from the present system, more specifically, from the install server used when TCP2 is installed (step S113). Alternatively, the flow proceeds to step S114 by obtaining the partner information from the server of third party authentication. Here, as for the obtaining information similarly as step S106 of
Next, it is judged whether or not the partner information corresponds to the correct partner, that is, whether or not it is a partner admitted for accessing the receiving node (step S114). If the connecting partner is a correct partner, the TCPsec active connection is completed (step S115), but in a case when it is not a correct partner, TCPsec cutoff is carried out so as to stop the connection (step S110).
As mentioned above, it was explained within TCP2 of the present invention with respect to the passive-open and active-open communication processes using TCP/TCPsec.
Next, it will be explained with respect to a communication system and a communication method using UDP/UDPsec, such as shown in
This process starts from a higher layer application-program (step120). First, analysis of the port number to be opened, more specifically, definition condition of the port number is confirmed (step121). Next, it is judged whether or not the port number is made to be UDPsec open (step S122) In a case when it is not made to be UDPsec open, it is judged whether or not UDP is open (step123). Then, in a case when neither UDPsec nor UDP is permitted to be open UDP/UDPsec will be ended (step S126). In a case when UDP is permitted to be open in judging step S123, that is, in a case when UDP is permitted to be open while UDPsec is not permitted to be open, a UDP open process shown in
Next, it will be explained according to
The standard UDP of
Next, a communication process sequence by UDPsec which is a TCP2 encryption systems according to an exemplary embodiment of the present invention will be explained.
When the host B becomes UDPsec open, a UDPsec open process (see step S125 of
Also in the unicast communication using UDPsec shown in this
Also, both of the host A and the host B can generate data, but
Next, it will be explained with respect to an encryption communication according to UDPsec of
When the host B becomes UDPsec open, a UDPsec open process (step S125 of
It will be explained as shown in
Next, it will be explained according to
First, a transmission request or a receiving packet from the application is awaited and when a transmission request or a packet is received, a packet analysis is carried out (step S127). Here, the reason why not only a receiving packet but also a transmission request are analyzed to prevent communication with an unspecified numbers of hosts by making the host A a source of distributed denial of service (DDOS) attack. After the analysis of this transmitting and receiving packet is carried out, it is judged whether or not it is a correct packet, that is, whether or not it is not a UDP protocol attack pattern in a DoS attack (step S128). In a case when it is judged as an improper packet in this judging step S128, the packet is discarded (step S129) and a next packet is awaited.
In a case when it is judged as a correct packet in judging step S128, a UDP data transmitting and receiving process is carried out (step S130) and subsequently, it is judged whether or not there is a UDP closing request from a higher layer application (step S131). In a case when there is a UDP closing request from a higher layer application, the UDP open process is ended (step S132).
Next, UDPsec will be explained according to
First, a transmission request or a received packet is awaited from the application. The analysis of the transmission request or the received packet is carried out (step S133). Next, it is judged whether or not the transmission request or transmitting and receiving packet from the higher layer application is a correct UDP packet, that is, whether or not it is not a TCP protocol attack pattern in a DoS attack (step S134). In a case when it is judged as not a correct UDP packet in judging step S134, the packet is discarded (step S135) and a next packet is awaited.
In a case when it is judged as not a correct UDP packet in judging step S134, it is judged next whether or not the receiving packet is one after a UDPsec negotiation (step S136).
Then, in a case when it is judged as a result thereof that it is a negotiation packet of UDPsec, a UDPsec unicast receiving start process shown in
Also, if it is judged as not a negotiation packet of UDPsec in judging step S136, it is judged subsequently whether or not it is a broadcast communication (step S138). Then, in a case when it is judged as a broadcast communication, it is judged whether or not it is a communication start packet, that is whether or not it is a first communication packet after opened (step S139) and in a case when it is not a start packet, a UDPsec data transmitting and receiving process explained in
Also, in a case when it is judged as not a broadcast communication in judging step S138, more specifically, that it is a unicast communication, it is judged whether or not it is a communication start packet, more specifically, it is a first communication packet after opened (step S145). In a case when it is judged as a result thereof that it is not a start packet, a UDPsec data transmitting and receiving process describe in detail in
Also, in a case when it is judged in judging step S145 that it is a first communication packet after open, a UDPsec unicast transmission starting process described in
Next, it will be explained according to a flowchart diagram shown in
First, it is judged whether or not the receiving node possesses information of a partner who delivered the broadcast (step S149). Then, in a case when the information is not possessed, the partner information is obtained from the install server which was used when the present system was installed (step S150). Alternatively, information is obtained from a server of a third party authentication. This obtaining information utilizes one or a plurality of combinations among TCP2 ID of the partner, user ID, password, biometrics information, apparatus information, LAN connection apparatus information and the like. Next, it is judged whether or not the partner who delivered the broadcast is a correct partner (step S151). Then, if it is judged as a correct partner, UDPsec communication is received and the communication starting process of the UDPsec broadcast is ended (step S153), and it is instructed to step S142 of
Next, it will be explained according to a flowchart diagram shown in
First, it is confirmed whether or not the receiving node possesses information of the transmission partner (step S154). Then, in a case when the information is not possessed, the partner information is obtained by a method similar to step S150 of
Next, it is judged whether or not the transmission partner is a correct partner (step S156). Then, if it is judged as a correct partner, transmission by UDPsec comes to be possible and the UDPsec unicast communication starting process is ended (step S158), and it is instructed to step S147 of
Next, it will be explained according to
First, it is judged whether or not there was a transmission request from the application of the host A (step S159). If there is a transmission request, the data are encrypted in the transmission side host A (step S160), authentication data are added to the encrypted data (step S161), and the packet encrypted and added with the authentication data is transmitted to the reception side host B (step S162).
Next, it is judged in the reception side host B whether or not there are received data (step S163) and in a case when there are received data, decryption of the received data is carried out (step S164). Next, it is judged whether or not the received and decrypted data are correct data (step S165). This judgment is carried out by confirming the decrypted data and the received authentication data and in a case when it is judged as not correct data as a result of confirming the decoded data, UDP/UDPsec is cutoff (step S166). In a case when it is judged in judging step S165 that the decrypted data are correct data, taking-in of the received data, more specifically, data delivery to the higher layer protocol stacks is carried out (step S167) and the UDPsec data transmitting and receiving process is completed (step S168).
Next, it will be explained according to a flowchart of
First, it is judged whether or not the receiving node possesses the partner information of the packet received by unicast (step S169). In a case when the partner information is not possessed, the partner information is obtained from the install server used when the present system was installed or from the server authenticated by the third party (step S170). As for the obtaining information, it is same as in a case of step S150 of
Next, it is judged whether or not the partner transmitting unicast is a correct partner (step S171). If it is judged as a correct partner, the process proceeds to step S147 of
As mentioned above, it was explained in detail according to flowchart diagrams and sequence diagrams with respect to an encryption process using TCPsec which is a first exemplified embodiment according to the present invention and an encryption process using UDPsec which is a second exemplified embodiment of according to the present invention.
Next, it will be explained according to table 2 and
TCP2 enhances the protection of communication occurring between client-client, DoS attacks to TCP/IP protocols, secure communication of all UDP ports or TCP ports, limitation in applications for which socket programs should be changed so far and the like, which were deficiencies of SSL.
In addition, TCP2 is a robust solution with respect to a communication under an inferior environment where errors occur frequently, a communication between different LANs, a connection by way of a plurality of carriers, a PPP mobile environment and a communication under ADSL Environment which were deficiencies of IPsec.
Further, with respect to the Internet using VoIP under mobile environment or ADSL Environment, there are problems both in IPsec and SSL as shown in table 1 and table 2, remedied by TCP2.
Further, also with respect to Internet telephone using VoIP between different LANs or between LANs spanning a plurality of carriers, it is possible according to TCP2 of an exemplary embodiment of the present invention, while impossible for IPsec and SSL to enable such applications.
As described above, it can be said that the encryption communication system or the encryption communication method using TCP2 according to the present invention has an enhanced security function.
Obviously, readily discernible modifications and variations of the present invention are possible in light of the above teachings. It is therefore to be understood that within the scope of the appended claims, the invention may be practiced otherwise than as specifically described herein. For example, while described in terms of both software and hardware components interactively cooperating, it is contemplated that the system described herein may be practiced entirely in software. The software may be embodied in a carrier such as magnetic or optical disk, or a radio frequency or audio frequency carrier wave.
Thus, the foregoing discussion discloses and describes merely exemplary embodiments of the present invention. As will be understood by those skilled in the art, the present invention may be embodied in other specific forms without departing from the spirit or essential characteristics thereof. For example, while discussed in the context of a hard-wired TCP/IP communication, the invention is equally applicable to Wi-Fi, Wi-Max, 3GPP, and like implementations. Accordingly, the disclosure of the present invention is intended to be illustrative, but not limiting of the scope of the invention, as well as other claims. The disclosure, including any readily discernible variants of the teachings herein, define, in part, the scope of the foregoing claim terminology such that no inventive subject matter is dedicated to the public.
Number | Date | Country | Kind |
---|---|---|---|
2003-290822 | Aug 2003 | JP | national |
This application is a continuation of U.S. application Ser. No. 11/349,142, filed Feb. 8, 2006, which is a continuation of and claims the benefit of the earlier filing date of PCT Application Serial No. PCT/JP2004/011304, filed Jul. 30, 2004, which claims priority to JP 2003-290822, filed in Japan on Aug. 8, 2003, the entire contents of each of which are incorporated herein by reference. The present invention relates to a telecommunication security system. More particularly, the present invention relates to a TCP/IP communication system for addressing security threats, such as denial of service, spoofing, replay attacks, and like compromises of data on a network; and, furthermore, to an enhanced transport layer protocol.
Number | Date | Country | |
---|---|---|---|
Parent | 11349142 | Feb 2006 | US |
Child | 13230390 | US | |
Parent | PCT/JP04/11304 | Jul 2004 | US |
Child | 11349142 | US |