The present invention relates to a packet transfer system, a communication network, and a packet transfer method. More particularly, the present invention is concerned with a packet transfer system with address monitoring that connects a Dynamic Host Configuration Protocol (DHCP) server, which uses the DHCP to provide addresses, with a client terminal, a communication network, and a packet transfer method.
In the past, routers have been used to connect leased lines employed by businesses with wide area networks (WAN) including frame relay networks. However, local area networks (LAN) have come to support a high data transfer rate of 1 gigabit. Processing performed at the routers has become a bottleneck. A group of switches including a layer-3 switch and a layer-2 switch has taken over the routers to attract attention.
The router intended mainly for routing is a routing software product to be run on the UNIX. The routing is achieved by a general-purpose CPU and software. In contrast, the group of switches (hereinafter switches or switch) is intended for fast routing and designed to be implemented by an Application Specific Integrated Circuit (ASIC) that is dedicated hardware. Due to the mechanical difference, the employment of the switches would prove effective for the purpose of fast routing.
Under the foregoing circumstances, telecommunications carriers have evolved a wide-area switching service using switches in place of edge routers so as to cope with the trend toward diversity of access networks via which connection to the Internet is made, and fast and constant connection to the Internet. Moreover, when an application is installed in the switch, connection of each subscriber to an Internet Service Provider (ISP) can be facilitated. The application includes an application conformable to the Dynamic Host Configuration Protocol (DHCP).
The DHCP is a protocol for automatically assigning internet protocol (IP) addresses to clients. The DHCP is an expansion of the bootstrap protocol (Bootp) stipulated in the Request for Comment (RFC) 951. The DHCP defines a use-permitted period of time (lease period) during which an assigned IP address can be used and defines automatic designation of a set value such as an IP address provided by a Domain Name Server (DNS). The protocols are stipulated in, for example, the RFC 2131 and RFC 2132.
A DHCP server or a server adopting the DHCP dynamically assigns an IP address in response to a request issued from a client terminal. The client terminal can communicate data according to the Transmission Control Protocol/Internet Protocol (TCP/IP) suite without the necessity of designating an IP address. When the client terminal completes communication, the IP address is automatically collected and reassigned to other client terminal. Even users unfamiliar with a network configuration can readily access the Internet, and network managers can readily manage numerous client terminals on a centralized basis. Currently, the Internet and intranets are interconnected to become complex. Automatic provision of IP addresses by the DHCP server is quite helpful.
The DHCP server has the merit of dynamically assigning IP addresses. However, if a terminal user designates an IP address (hereinafter referred to as a static IP address) by himself/herself at his/her client terminal so as to access a network, the DHCP server cannot provide the IP address.
Since the DHCP server cannot manage such an IP address, an IP address that cannot be managed may be used to illegally access a network. For networks, security is one of very important issues. An illegal access prevention system technology has been disclosed (refer to, for example, Japanese Unexamined Patent Publication No. 2001-211180), wherein IP addresses and Media Access Control (MAC) addresses are stored in association with each other, client terminals identified with the addresses are regarded as authorized clients, and transfer of data to or from the other client terminals is disabled.
To be more specific, the DHCP server includes a storage database. In response to an IP address assignment request issued from a client terminal, the DHCP server collates the MAC address with a MAC address database, in which authorized client terminals are recorded, so as to check if the MAC address is recorded in the database. If the MAC address is recorded, an IP address associated with the MAC address is recorded in association with the MAC address in an assigned address database. Thereafter, a packet produced by the Address Resolution Protocol (ARP) is cyclically transmitted to the IP address, and a combination of a source MAC address and a source IP address contained in a response packet is collated with the assigned address database in order to check if the combination is recorded in the database. If the combination is recorded, the client is regarded as an authorized client. Otherwise, the client is regarded as an unauthorized client terminal.
As a technology of disabling communication by a terminal, which attempts to illegally access a network having simple architecture based on a switching hub, for example, Japanese Unexamined Patent Publication No. 2003-338826 has disclosed an art.
Specifically, the switching hub described in the Japanese Unexamined Patent Publication No. 2003-338826 treats a port of the switching hub, via which the DHCP server is connected, as a master port, and treats a physical port (hereinafter a port), via which a client terminal is connected, as a sub-port. In response to a signal sent from the DHCP server, a signal detection unit and a communication control unit control the master port and sub-port so as to disable connection of an illegal terminal.
However, according to the technology described in the Japanese Unexamined Patent Publication No. 2001-211180, the DHCP server must be a dedicated server. Moreover, the switching hub must have a feature that supports the dedicated server.
The art described in the Japanese Unexamined Patent Publication No. 2003-338826 does not merely disable communication of a terminal to which an IP address has already been assigned. The switching hub should include a port called a maser port via which the switching hub is connected to a network including the DHCP server, and a port via which the switching hub is connected to a client terminal. Unlike an ordinary switching hub, the switching hub does not permit free selection of a port via which equipment is connected.
Furthermore, the switching hub discontinues data transfer via a port, via which a client terminal is connected, according to the address of the client terminal. The art does not consider employment of the switching hub in a system in which switching hubs are cascaded via the port (connected in tandem) and a plurality of client terminals is connected subordinately to the switching hubs. Specifically, if any of the cascaded hubs accommodates an illegal client terminal, data transfer via the port via which the hub is connected is disabled. Consequently, the other authorized client terminals accommodated by the hub cannot communicate data any longer.
Accordingly, an object of the present invention is to provide a packet transfer system, a communication network, and a packet transfer method in which data transfer via each port is not discontinued (hereinafter interrupted) but in which when an accommodated client terminal is assigned a static IP address, data transfer is disabled. Another object of the present invention is to provide a technology for interrupting communication by filtering packets, which are addressed to a client terminal that is illegally accessing a network, on the basis of an IP address while employing a simple configuration. Another object of the present invention is to transfer information required for filtering to packet transfer systems that are cascaded.
In order to solve the aforesaid problems, a packet transfer system with address monitoring includes a plurality of ports permitting accommodation of a plurality of client terminals or communication networks, a protocol handling unit, and a control unit.
The packet transfer system includes a means for, in response to a request for provision of an IP address by the DHCP which is issued from a client terminal, recording the MAC address of the client terminal in a user management table preserved in the packet transfer system with address monitoring. Moreover, the packet transfer system includes a means for, for example, after recording the MAC address, transferring information required by the terminal to DHCP servers included in a communication system, and for, after receiving an application for IP address assignment from each of the DHCP servers, instructing the protocol handling unit to record an IP address assigned to the terminal in the user management table. Furthermore, the packet transfer system includes a means for instructing the protocol handling unit to record the IP address of the terminal in the user management table by acquiring the IP address from an ARP packet returned in response to an ARP request broadcasted by the terminal or the packet transfer system with address monitoring. Moreover, the packet transfer system includes a means for, when recorded information contained in a DHCP packet and recorded information contained in the ARP packet agree with each other, filtering packets on the basis of the IP address so as to decide whether the packets are permitted to pass through a port via which the terminal that has transmitted the ARP packet is connected.
Referring to the drawings, embodiments of the present invention will be described below.
(System Configuration)
To begin with, the first embodiment of the present invention will be described below.
The communication system includes a router 4000 connected to the Internet 5000, and communication networks 1 and 2 subordinate to the router 4000. The communication network 1 is an example of a network including one packet transfer system with address monitoring alone. The communication network 2 is an example of a network including a plurality of packet transfer systems with address monitoring. Incidentally, either of the communication networks 1 and 2 may be included or an appropriate number of communication networks 1 and an appropriate number of communication networks 2 may be included.
The communication network 1 includes a packet transfer system with address monitoring 1 (2000), a client terminal 1 (first terminal) (1000) and a client terminal 2 (second terminal) (1100) accommodated by the packet transfer system with address monitoring 1 (2000), and a DHCP server 1 (3000). The communication network 1 is, for example, a network identified with 192.168.0.0/24. The DHCP server 1 (3000) can provide IP addresses ranging from, for example, 192.168.0.1 to 192.168.0.254.
In the communication network 2, a packet transfer system with address monitoring 3 (2200) connected to the router 4000 accommodates a DHCP server 2 (3100), a packet transfer system with address monitoring 2 (2100), and a packet transfer system with address monitoring 4 (2300).
The packet transfer system with address monitoring 2 (2100) accommodates, for example, a client terminal 3 (third terminal) (1200). The packet transfer system with address monitoring 4 (2300) accommodates, for example, a packet transfer system with address monitoring 5 (2400) and a packet transfer system with address monitoring 6 (2500). Moreover, the packet transfer system with address monitoring 5 (2400) accommodates a client terminal 4 (fourth terminal) (1300) as a subordinate. The packet transfer systems may be connected to appropriate systems other than the foregoing ones.
The communication network 2 is, for example, a network identified with 192.168.1.0/24. The DHCP server 2 (3100) can assign IP addresses ranging from, for example, 192.168.1.1 to 192.168.1.254.
In the present embodiment, the client terminal is sensed when connected to a network, and physically connected to an Ethernet® network. Moreover, the router 4000 is thought to have a DHCP relay agent installed therein, and can relay a received broadcast packet. The router will not limit the present invention.
The components will be briefed below. Actions to be performed will be detailed later.
In the communication system to which the present embodiment is adapted, when a client terminal issues an IP address assignment request (IP address provision request), a DHCP packet shown in
After an IP address to be assigned by the DHCP server is determined, the packet transfer system with address monitoring provides the assigned IP address according to either of two address provision methods using the ARP.
One of the provision methods is such that the packet transfer system with address monitoring receives an acknowledge signal for IP address assignment from each DHCP server, and then transmits a DHCP packet to a client terminal. The client terminal having received the packet broadcasts an ARP request so as to check if the assigned IP address contained in the DHCP packet is duplicated. Eventually, the client terminal obtains the assigned IP address. The other method is such that, in response to an acknowledge signal for IP address assignment sent from each DHCP server, the packet transfer system with address monitoring broadcasts an ARP request to client terminals accommodated thereby. The present embodiment employs the former IP address provision method in which the client terminal broadcasts an ARP request. In relation to other embodiment, the latter method in which the packet transfer system with address monitoring broadcasts an ARP request to terminals accommodated thereby will be described.
Using either of the two ARP methods, if an ARP response is not returned (for example, the elapse of a time is indicated by a timer), a client terminal having broadcasted an ARP request can utilize an IP address assigned by a DHCP server. On the other hand, if the ARP response is returned, a packet transfer system with address monitoring that receives the ARP packet records an IP address and a MAC address contained in the ARP packet in the user management table. If the IP address contained in the DHCP packet and the IP address contained in the ARP packet agree with each other, packets bearing the MAC address of the terminal are filtered based on the IP address in order to decide whether the packets are permitted to pass through a port via which the ARP response is returned.
The packet transfer system with address monitoring does not transfer a broadcast ARP response. A control communication packet employed in the present embodiment permits transfer of pieces of information on a port that has packets, which bear an IP address, filtered, an MAC address, and the IP address to cascaded packet transfer systems with address monitoring. Consequently, communication is interrupted by filtering packets, which bear the MAC address of a client terminal using a static IP address, on the basis of the IP address. Thus, a technology of preventing illegal use of an IP address can be provided.
The control communication packet is a packet helpful for other cascaded packet transfer systems with address monitoring. Even if a client terminal receives the control communication packet, the client terminal is not affected at all. When the packet transfer system with address monitoring receives the control communication packet, it can receive information on a port of a client terminal using a static IP address, and the MAC address and IP address thereof. Consequently, the packet transfer system with address monitoring filters packets, which are addressed to the client terminal using the static IP address, on the basis of the IP address, and interrupts communication so as not to allow the client terminal to transfer data.
In response to the ARP request, the personal computer PC2 transmits an ARP acknowledge (ACK) signal like the one shown in
The ports 2010 are interfaces for providing interface with client terminals and a communication network that accommodates packet transfer systems with address monitoring. Packets (for example, DHCP packets) are transferred to or from the plurality of client terminals and communication network via the ports. The protocol handling unit 2020 handles a protocol according to the contents of a packet received via the port 2010, and transmits data via any of the ports 2010-1 to 2010-n.
The processor 2023 reads a packet stored in the reception buffer, handles a protocol using the DHCP management routine 2026-1, ARP management routine 2026-2, and user management table 2024-1, and transfers the packet to the transmission buffer 2022 according to the header of the packet.
The DHCP ACK packet memory 2027-1 that will be detailed laser is a memory in which a DHCP ACK signal to be transmitted to the packet transfer system with address monitoring 1 (2000) is temporarily stored.
In the user management table 2024-1, a port number (or identifier) 400 of a port included in the packet transfer system with address monitoring, a MAC address 410 of a client terminal connected via the port having the port number 400, the status (state) 420 of a DHCP packet, an IP address 430 to be assigned by a DHCP server, the status (state) 440 of an ARP packet, an IP address 450 to be mapped by the ARP, and On or Off (a filtering check flag) 460 signifying whether filtering is performed based on an IP address are recorded in association with one another.
Every time a DHCP packet or an ARP packet is received, the protocol type (status) of the packet is checked, and the state of the DHCP or ARP packet recorded in the user management table 2024-1 included in the packet transfer system with address monitoring is updated. Moreover, if the IP address 430 to be assigned by the DHCP server agrees with the IP address 450 to be mapped by the ARP, packets bearing the MAC address 410 of a terminal using the IP address 450 to be mapped by the ARP are filtered based on the IP address. Whether filtering is performed is signified with On or Off recorded in the filtering check column (flag).
(Sequence of Actions)
Now, actions to be performed in the present embodiment will be described below.
As shown in
In order to initiate a DHCP sequence, the client terminal 1 (1000) transmits a DHCP Discover packet (an address discover packet) to a broadcast address using a User Datagram Protocol (UDP) (step 20). For example, the DHCP Discover packet contains the MAC address of the client terminal 1 (1000). The DHCP Discover packet is a protocol packet requesting assignment of an IP address. The DHCP server can employ any protocol as a protocol for providing an IP address. The protocol shall not limit the present embodiment.
The packet transfer system with address monitoring 1 (2000) having received DHCP Discover transfers the DHCP Discover to the protocol handling unit 2020 via the reception port 2010-1 and reception buffer 2021 included therein. Moreover, the DHCP management routine 2026-1 is run in order to record the MAC address of the client terminal 1 and the protocol type of the packet (herein DHCP Discover), which are contained in the DHCP Discover packet, in the user management table 2024-1 (this results in a user management table 2024-11 shown in
The protocol handling unit 2020 transmits the DHCP Discover to the client terminal 2 (1100) and the DHCP server 1 (3000) via the transmission buffers 2022 and transmission ports 2010-3 via which the client terminal 2 (1100) and DHCP server 1 (3000) are connected (step 22).
The client terminal 2 (1100) ignores the DHCP Discover and returns no response. In response to the inquiry of the DHCP Discover, the DHCP server 1 (3000) transmits a DHCP offer packet (DHCP address offer packet), which signifies that an IP address (herein, for example, 192.168.0.1) is offered to the client terminal 1 (1000), to the packet transfer system with address monitoring 1 (2000) through unicast (step 23).
The packet transfer system with address monitoring 1 (2000) having received the DHCP offer transfers the DHCP offer to the protocol handling unit 2020 via the reception port 2010-1 and reception buffer 2021 which are included therein. Moreover, the packet transfer system with address monitoring 1 (2000) runs the DHCP management routine 2026-1 so as to record the protocol type (herein DHCP Offer) of the packet in the user management table 2024-1 (this results in a user management table 2024-12 shown in
The packet transfer system with address monitoring 1 (2000) transmits the DHCP offer to the client terminal 1 (1000) via the transmission buffer 2022 and transmission port 2010-1 (step 25).
In response to the DHCP offer, the client terminal 1 (1000) broadcasts a DHCP request (DHCP address request), which is an application for assignment of an offered IP address (192.168.0.1) (step 26).
The packet transfer system with address monitoring 1 (2000) having received the DHCP request transfers the DHCP request to the protocol handling unit 2020 via the reception port 2010-1 and reception buffer 2021 included therein. Moreover, the packet transfer system with address monitoring 1 (2000) runs the DHCP management routine 2026-1 so as to record the protocol type of the packet (herein DHCP Request) in the user management table 2024-1 (this results in a user management table 2024-13 shown in
The protocol handling unit 2020 transmits the DHCP request to the client terminal 2 (1100) and DHCP server 1 (3000) via the transmission buffers 2022 and transmission ports 2010-3 via which the client terminal 2 (1100) and DHCP server 1 (3000) respectively are connected (step 28).
The client terminal 2 (1100) ignores the DHCP request and returns no response. The DHCP server 1 (3000) transmits a DHCP ACK signal (DHCP address provision response), which signifies that IP address assignment is acknowledged (steps 23 and 24: IP address 192.168.0.1), to the packet transfer system 1 (2000) through unicast (step 29).
The packet transfer system with address monitoring 1 (2000) having received the DHCP ACK signal transfers the DHCP ACK signal to the protocol handling unit 2020 via the reception port 2010-1 and reception buffer 2021 included therein. Moreover, the packet transfer system with address monitoring 1 (2000) runs the DHCP management routine 2026-1 so as to record the protocol type of the packet (DHCP ACK) and the assigned IP address (192.168.0.1) in the user management table 2024-1 (this results in a user management table 2024-14 shown in
The packet transfer system with address monitoring 1 (2000) transmits the DHCP ACK signal to the client terminal 1 (1000) via the transmission buffer 2022 and transmission port 2010-1 (step 31).
The client terminal 1 (1000) broadcasts an ARP request, which is described in the RFC 826, so as to check if the IP address offered by the DHCP server 1 (3000) is duplicated by any other client terminal (step 32). The ARP is a protocol for managing the relationship between a MAC address and an IP address, and is included in the TCP/IP suite and used to map IP addresses into Ethernet MAC addresses. Herein, the ARP request contains the offered IP address 192.168.0.1.
The packet transfer system with address monitoring 1 (2000) having received the ARP request transfers the ARP request to the protocol handling unit 2020 via the reception port 2010-1 and reception buffer 2021 included therein, and runs the ARP management routine 2026-2 so as to record the protocol type of the packet (herein ARP Request) in the user management table 2024-1 (this results in a user management table 2024-15 shown in
The protocol handling unit 2020 transmits the ARP request to the client terminal 2 (1100) and DHCP server 1 (3000) via the transmission buffers 2022 and transmission ports 2010-4 via which the client terminal 2 (1100) and DHCP server 1 (3000) respectively are connected (step 34).
The DHCP server 1 (3000) ignores the ARP request and returns no response. The client terminal 2 (1100) compares the IP address (192.168.0.1) of the client terminal 2 (1100) with the IP address (192.168.0.1) contained in the ART request. If the addresses disagree with each other, it means that the IP address contained in the ART request is not duplicated. The client terminal 1 (1000) can use the IP address offered by the DHCP server 1 (3000) (step 36). Herein, the IP address (192.168.0.1) offered by the DHCP server 1 (3000) is supposed to be duplicated with the IP address (192.168.0.1) of the client terminal 2 (1100). The client terminal 2 (1100) broadcasts an ARP ACK signal (ARP response) to the other client terminals including the client terminal 1 (1000) that is the source of the ARP request (step 37).
Ordinary switches (layer-2 switch and layer-3 switch) including the conventional packet transfer system transmit an ARP ACK signal to other client terminals including the source client terminal 1 (1000) in response to a broadcast ARP ACK signal. The client terminal 1 (1000) having received the ARP ACK signal transmits a DHCP Release packet to the DHCP server 1 (3000) so as to request reassignment of an IP address because the IP address (192.168.0.1) is duplicated. As long as the client terminal 2 (1100) has a static IP address (192.168.0.1), the DHCP server 1 (3000) cannot assign the address 192.169.0.1. In contrast, the packet transfer system with address monitoring 1 (2000) in accordance with the present embodiment having received the broadcast ARP ACK signal does not broadcast the ARP ACK signal to other client terminals. Since the ARP ACK signal is not transmitted to the client terminal 1 (1000), DHCP Release that requests reassignment of an IP address and that is transmitted from the client terminal 1 is not executed.
Moreover, the packet transfer system with address monitoring 1 (2000) transfers an ARP ACK signal to the protocol handling unit 2020 via the reception port 2010-3 and reception buffer 2021 included therein, and runs the ARP management routine 2026-2 to record the protocol type of the packet (herein ARP ACK) and an IP address (192.168.0.1) and a MAC address contained in the ARP ACK signal in the user management table 2024-1 (this results in a user management table 2024-16 shown in
Since the IP address (192.168.0.1) assigned by the DHCP server 1 (3000) agrees with the IP address (192.168.0.1) contained in the ARP ACK signal, the filtering check flag associated with the port 3 (via which the client terminal 2 is connected), via which the ARP ACK signal is received, in the user management table 2024-1 (user management table 2024-17 shown in
After receiving the ARP ACK signal, the packet transfer system with address monitoring 1 (2000) transmits a control communication packet (step 40). The control communication packet fills the role of transferring information on a port that has packets filtered, an IP address, and a MAC address to cascaded packet transfer systems with address monitoring or client terminals. Owing to the pieces of information, the cascaded packet transfer systems with address monitoring can obtain information on a client terminal whose packets should be filtered. Even when a client terminal receives the control communication packet, no problem will occur. When the client terminal 1 (1000) accommodated by the communication network 1 in accordance with the present embodiment receives the control communication packet, it discards the packet (step 41). Incidentally, steps 40 and 41 may be omitted from the present embodiment.
Consequently, the client terminal 2 (1100) cannot use the IP address (192.168.0.1). When the timer indicates the elapse of a predetermined time since transmission of an ARP request, the client terminal 1 (1000) can use the IP address (192.168.0.1) and communicate data (step 42).
(Flowchart)
When the processor 2023 included in the packet transfer system with address monitoring 1 (2000) receives a broadcast DHCP Discover packet via the reception port 2010-1 (or reception port 2010-3) and the reception buffer 2021, the processor 2023 records the MAC address of the client terminal 1 (1000) and the protocol type of the DHCP packet in the user management table 2024-1 (step 2210 corresponding to step 21 in
The protocol handling unit 2020 transmits DHCP Discover to each of the client terminal 2 (1100) and DHCP server 1 (3000) via the transmission buffers 2022 and transmission ports 2010-3 via which the client terminal 2 (1100) and DHCP server 1 (3000) respectively are connected (step 2111 corresponding to step 22 in
The client terminal 2 (1100) returns no response. A DHCP offer sent through unicast is received from the DHCP server 1 (3000) via the reception port 2010-4 and reception buffer 2021 included in the packet transfer system with address monitoring 1 (2000). In response to the DHCP ACK offer, the packet transfer system with address monitoring 1 (2000) records the protocol type of the DHCP packet (DHCP Offer) in association with the port 1 in the user management table 2024-1 included therein (step 2112 corresponding to step 24 in
The protocol handling unit 2020 transfers the DHCP offer to the client terminal 1 (1000) via the transmission buffer 2022 and transmission port 2010-1 via which the client terminal 1 (1000) is connected (step 2113 corresponding to step 25 in
If the client terminal 1 (1000) responds to the DHCP offer, the packet transfer system with address monitoring 1 (2000) receives a broadcast DHCP request via the reception port 2010-1 and reception buffer 2021. The packet transfer system with address monitoring 1 (2000) having received the DHCP request records the protocol type of the DHCP packet in the user management table 2024-1 included therein (step 2214 corresponding to step 27 in
The protocol handling unit 2020 transmits the DHCP request to each of the client terminal 2 (1100) and DHCP server 1 (3000) via the transmission buffers 2022 and transmission ports 2010-3 via which the client terminal 2 (1100) and DHCP server 1 (3000) respectively are connected (step 2115 corresponding to step 28 in
The client terminal 2 (1100) returns no response. A DHCP ACK signal that is transmitted through unicast is received from the DHCP server 1 (3000) via the reception port 2010-4 and reception buffer 2021 included in the packet transfer system with address monitoring 1 (2000). An IP address to be assigned to the client terminal 1 (1000) and the protocol type of the DHCP packet are recorded in the user management table 2024-1 included in the packet transfer system with address monitoring 1 (2000) (step 2116 corresponding to step 30 in
The packet transfer system with address monitoring 1 (2000) supports two ARP methods or modes. One of the ARP modes is a mode in which: the packet transfer system with address monitoring 1 (2000) having received a DHCP ACK signal from the DHCP server 1 (3000) transmits the DHCP ACK signal to the client terminal 1 (1000); and the client terminal 1 (1000) broadcasts an ARP request so as to check if an IP address (192.168.0.1), which is assigned based on the DHCP packet, is duplicated. In the other mode, when the packet transfer system with address monitoring 1 (2000) receives a DHCP ACK signal from the DHCP server 1 (3000), the packet transfer system with address monitoring 1 (2000) broadcasts an ARP request to the client terminal 1 (1000) and client terminal 2 (1100) accommodated thereby.
In the sequence described in
The packet transfer system with address monitoring 1 (2000) receives the ARP request via the reception port 2010-1 and reception buffer 2021. In response to the ARP request, the packet transfer system with address monitoring 1 (2000) records the protocol type of the ARP packet in the user management table 2024-1 included therein. The state of the user management table 2024-1 comes to the one presented as a user management table 2024-15 in
After the ARP request is recorded, the protocol handling unit 2020 transmits the ARP request to the client terminal 2 (1100) and DHCP server 1 (3000) via the transmission buffers 2022 and transmission ports 2010-3 and 2010-4 via which the client terminal 2 (1100) and DHCP server 1 (3000) respectively are connected (step 2120 corresponding to step 34 in
If the client terminal 2 (1100) uses the IP address (192.168.0.1), it means that the assigned IP address is duplicated. The packet transfer system with address monitoring 1 (2000) receives the ARP ACK signal from the client terminal 2 (1100) via the reception port 2010-3 and reception buffer 2021.
Supposing that the client terminal 2 (1100) has an address other than the IP address (192.168.0.1), the packet transfer system with address monitoring 1 (2000) receives no ARP ACK signal (step 2121). The client terminal 1 can use the assigned IP address (192.168.0.1) (step 2122).
Herein, the client terminal 2 (1100) is supposed to have the IP address (192.168.0.1), the ARP ACK signal is received through unicast. After receiving the ARP ACK signal (step 2121), the packet transfer system with address monitoring 1 (2000) records the protocol type of the ARP packet (ARP ACK) and the MAC address of the client terminal 2 (00:20:30:40:50:60) in the user management table 2024-1 included therein, and also records 192.168.0.1 as the IP address 430 therein. The state of the user management table 2024-1 comes to the one presented as a user management table 2024-16 in
In the user management table 2025-1 in which the above pieces of information have been recorded, the IP address (192.168.0.1) contained in the DHCP ACK signal and the IP address (192.168.0.1) contained in the ARP ACK signal agree with each other (step 2124).
When the IP addresses agree with each other, the state of the user management table 2024-1 comes to the one presented as a user management table 2024-17 in
When the ARP ACK signal is received, a control communication packet is used to automatically transmit the port number 3 of the port, via which the client terminal 2 (1100) whose IP address (192.168.0.1) is a duplicate is connected, the MAC address (00:20:30:40:50:60) thereof, and the IP address (192.168.0.1) thereof to the other packet transfer systems with address monitoring or client terminals (step 2126 corresponding to step 40 in
Consequently, the client terminal 2 (1100) cannot use the IP address (192.168.0.1) any longer. When the timer indicates the elapse of a certain time, the client terminal 1 (1000) can use the assigned IP address (192.168.0.1) and communicate data.
Next, the second embodiment of the present invention will be described below. The configuration of a communication system and the configuration of a packet transfer system are identical to the aforesaid ones. An iterative description will be omitted.
The packet transfer system with address monitoring 1 (2000) receives a DHCP ACK signal (step 30), the DHCP ACK signal or message is stored in the DHCP ACK signal packet memory 2027-1 included therein (step 50).
The protocol handling unit 2020 included in the packet transfer system with address monitoring 1 (2000) transmits an ARP request to each of the client terminal 1 (1000) and client terminal 2 (1100) via the transmission buffers 2022 and transmission ports 2010-1 and 2010-3 via which the client terminal 1 (1000) and client terminal 2 (1100) respectively are connected (step 51). Herein, the ARP request contains an IP address (for example, 192.168.0.1) identical to the one contained in a DHCP ACK signal or a DHCP request.
The client terminal 1 (1100) does not respond to the ARP request. The client terminal 2 (1100) compares the IP address (192.168.0.1) thereof with the IP address (192.168.0.1) contained in the ARP request (step 52). If the IP addresses disagree with each other, the IP address is not duplicated. The client terminal 1 can therefore use the IP address offered by the DHCP server 1 (3000) (step 53). Herein, the IP address (192.168.0.1) offered by the DHCP server 1 (3000) is supposed to be duplicated with the IP address (192.168.0.1) of the client terminal 2 (1100). The client terminal 2 (1100) therefore broadcasts an ARP ACK signal (step 54). The ARP ACK signal is distributed to, for example, the packet transfer system 1 (2000) that is the source of the ARP request and other client terminals.
When the packet transfer system with address monitoring 1 (2000) receives the broadcast ARP ACK signal via the port 3, it does not broadcast the ARP ACK signal to the other client terminals connected thereto but transfers the ARP ACK signal to the protocol handling unit 2020 via the reception port 2010-3 and reception buffer 2021 included therein. The packet transfer system with address monitoring 1 (2000) runs the ARP management routine 2026-2 so as to record the protocol type of the packet (herein, ARP ACK), an IP address (192.168.0.1), and a MAC address (00:20:30:40:50:60) in association with the port 3 in the user management table 2024-1 (this results in a user management table 2025-20 shown in
Since the IP address (192.168.0.1) assigned by the DHCP server 1 (3000) agrees with the IP address contained in the ARP ACK signal (192.168.0.1), the user management table 2024-1 (user management table 2024-20 shown in
On receipt of the ARP ACK signal, the packet transfer system with address monitoring 1 (2000) transmits a control communication packet (step 57). Even if a client terminal receives the control communication packet, no problem will occur. Even if the client terminal 1 (1000) accommodated by the communication network 1 receives the control communication packet, it will discard the packet (step 58). In the present embodiment, steps 57 and 58 may be omitted.
A DHCP ACK signal packet is read from the DHCP ACK signal packet memory 2027 included in the packet transfer system with address monitoring 1 (2000). The protocol handling unit 2020 transmits the DHCP ACK signal to the client terminal 1 (1000) via the transmission buffer 2022 and transmission port 2010-1 via which the client terminal 1 (1000) is connected (step 59).
The DHCP ACK signal is used to assign an IP address (192.168.0.1) to the client terminal 1 (1000).
Consequently, the client terminal 2 (1100) cannot use the IP address (192.168.0.1) any longer. When the timer indicates the elapse of a certain time, the client terminal 1 (1000) can use the IP address (192.168.0.1) and communicate data (step 60).
Next, referring to the flowcharts of
In the present embodiment, the packet transfer system with address monitoring 1 (2000) broadcasts an ARP request. At step 2117 in
The protocol handling unit 2020 transmits an ARP request to each of the client terminal 1 (1000) and client terminal 2 (1100) via the transmission buffers 2022 and transmission ports 2010-1 via which the client terminal 1 (1000) and client terminal 2 (1100) respectively are connected (step 2131 corresponding to step 51 in
Supposing the client terminal 2 (1100) has an address other than the IP address (192.168.0.1), the packet transfer system with address monitoring 1 (2000) does not receive an ARP ACK signal (step 2132). The protocol handling unit 2020 reads the DHCP ACK signal, which is temporarily stored, from the DHCP ACK packet memory 2027-1 (step 2133), and transmits the DHCP ACK signal to the client terminal 1 (1000) (step 2134). Consequently, the client terminal 1 can use the IP address (192.168.0.1) assigned using the DHCP ACK signal (step 2135).
Herein, the client terminal 2 (1100) is supposed to have the IP address (192.168.0.1). An ARP ACK signal is therefore received through unicast. Specifically, if the client terminal 2 (1100) uses the IP address (192.168.0.1), since the assigned IP address is duplicated, the packet transfer system with address monitoring 1 (2000) receives the ARP ACK signal from the client terminal 2 via the reception port 2010-3 and reception buffer 2021 (step 2132).
On receipt of the ARP ACK signal, the packet transfer system with address monitoring 1 (2000) records the protocol type of the ARP packet and the MAC address (00:20:30:40:50:60) of the client terminal 2, which is the source of the ARP ACK signal, in the user management table 2024-1 included therein. The state of the user management table 2024-1 comes to the one presented as a user management table 2024-20 in
The state of the user management table 2024-1 comes to the one presented as a user management table 2024-21 in
When the ARP ACK signal is received, a control communication packet is used to automatically transmit the port number 3 of the port, via which the client terminal 2 (1100) whose IP address (192.18.0.1) is a duplicate is connected, and the MAC address (00:20:30:40:50:60) and IP address (192.168.0.1) of the client terminal 2 to the other packet transfer systems with address monitoring or other client terminals (step 2189). Moreover, the protocol handling unit 2020 reads the DHCP ACK signal, which is stored temporarily, from the DHCP ACK packet memory 2027-1 (step 2140), and transmits the DHCP ACK signal to the client terminal 1 (1000) (step 2141).
Consequently, the client terminal 2 (1100) cannot use the IP address (192.168.0.1) any longer, while the client terminal 1 (1000) can use the IP address (192.168.0.1) assigned using the DHCP ACK signal and communicate data.
In relation to the present embodiment, a description will be made of a network composed of a plurality of packet transfer systems with address monitoring similarly to the communication network 2 shown in
In the example shown in
The client terminal 3 (1200) is a terminal that hopes the DHCP server 2 (3100) will assign an IP address, and that is currently assigned a MAC address (00:30:40:50:60:70) alone. On the other hand, the client terminal 4 (1300) is a client terminal assigned a MAC address (00:40:50:60:70:80) and a static IP address (192.168.1.1) alike, and supposed to a terminal illegally using an IP address.
The client terminal 3 (1200) broadcasts DHCP Discover, which requests assignment of an IP address, to the DHCP server 2 (3100) (step 100 and step 101). The packet transfer system with address monitoring 2 (2100) having received the DHCP Discover transfers the DHCP Discover to the protocol handling unit 2020 via the reception port 2010-3 and reception buffer 2021 included therein. Moreover, the packet transfer system with address monitoring 2 (2100) runs the DHCP management routine 2026-1 so as to record the protocol type of the packet (herein DHCP Discover) and the MAC address (00:30:40:50:60:70) of the client terminal 3 (1200) in the user management table 2024-1 (step 102).
The protocol handling unit 2020 transmits DHCP Discover to the packet transfer system with address monitoring 3 (2200) via the transfer buffer 2022 and transmission port 2010-1 via which the packet transfer system with address monitoring 3 (2200) is connected (step 103).
The packet transfer systems with address monitoring 2 (2100) to 5 (2400) perform the same actions (steps 102 to 110) as those of steps 101 to 103. An iterative description will be omitted.
At step 111, the DHCP server 2 (3100) transmits a DHCP offer to the client terminal 3 (1200) through unicast in response to the inquiry of DHCP Discover (105) (step 111). The packet transfer system with address monitoring 3 (2200) transmits the DHCP offer to the packet transfer system with address monitoring 2 (2100), and transfers the DHCP offer to the protocol handling unit 2020 via the reception port 2010-1 and reception buffer 2021 included therein. The packet transfer system with address monitoring 3 (2200) runs the DHCP management routine 2026-1 so as to record the protocol type of the packet (DHCP Offer) in the user management table 2024-1 (step 112). The packet transfer system with address monitoring 2 (2100) performs the same action (step 113) as the packet transfer system with address monitoring 3 does. An iterative description will be omitted.
Thereafter, the client terminal 3 (1200) having received the DHCP offer broadcasts a DHCP request in response to the DHCP offer (step 114). The packet transfer system with address monitoring 2 (2100) having received the DHCP request transfers the DHCP request to the protocol handling unit 2020 via the reception port 2010-3 and reception buffer 2021 included therein. Moreover, the packet transfer system with address monitoring 2 (2100) runs the DHCP management routine 2026-1 so as to record the protocol type of the packet (herein DHCP Request) in the user management table 2024-1. Moreover, the protocol handling unit 2020 transmits the DHCP request to the packet transfer system with address monitoring 3 (2200) via the transmission buffer 2022 and transmission port 2010-1 via which the packet transfer system with address monitoring 3 (2200) is connected (step 116).
The packet transfer systems with address monitoring 2 (2100) to 5 (2400) perform the same processing (steps 116 to 125) as that of step 115. An iterative description will be omitted.
At step 126, the DHCP server 2 (3100) transmits a DHCP ACK signal to the client terminal 3 (1200) through unicast in response to the inquiry of the DHCP request (step 120) (step 126 and step 127). The packet transfer system with address monitoring 3 (2200) having received the DHCP ACK signal temporarily stores the DHCP ACK packet in the DHCP ACK packet memory 2027-1 (step 128). The packet transfer system with address monitoring 3 (2200) transfers the DHCP ACK signal to the protocol handling unit 2020 via the reception port 2010-1 and reception buffer 2021 included therein. Moreover, the packet transfer system with address monitoring 3 (2200) runs the DHCP management routine 2026-1 so as to record the protocol type of the packet (herein DHCP ACK) and the assigned IP address (192.168.1.1) in the user management table 2024-1 (step 129).
The packet transfer system with address monitoring 3 (2200) transmits an ARP request to the subordinate packet transfer systems with address monitoring 2 (2100) to 6 (2500) and the client terminals 3 (1200) and 4 (1300) via the transmission buffers 2022 and the transmission ports 2010-2 and transmission ports 2010-3 (step 130). Each of the packet transfer systems with address monitoring receives the ARP request and records the protocol type of the DHCP packet (ART Request) in the user management table 2024-1 (step 131 to step 139). Moreover, each of the packet transfer systems broadcasts the ART request.
At step 140, the client terminal 4 (1300) receives the ARP request, and then compares the IP address (192.168.1.1) thereof with the IP address (192.168.1.1) contained in the ARP request packet (step 140). If the IP addresses disagree with each other, the IP address contained in the ARP request is not duplicated. This means that the IP address offered by the DHCP server 2 (3100) can be used (step 141). Herein, the IP address (192.168.1.1) offered by the DHCP server 2 (3100) is supposed to be duplicated with the IP address (192.168.1.1) of the client terminal 4 (1300). Therefore, the client terminal 4 (1300) broadcasts an ARP ACK signal to the other client terminals (steps 142 and 143).
On receipt of the broadcast ARP ACK signal, the packet transfer system with address monitoring 5 (2400) transfers the ARP ACK signal to the protocol handling unit 2020 via the reception port 2010-3 and reception buffer 2021 included therein. Moreover, the packet transfer system with address monitoring 5 (2400) runs the ARP management routine 2026-2 so as to record the protocol type of the packet (herein ARP ACK) and the IP address (192.168.1.1) and MAC address (00:40:50:60:70:80) of the client terminal 4 in the user management table 2024-1 (step 144).
Since the IP address assigned by the DHCP server 2 (3100) and the IP address contained in the ARP ACK signal (192.168.1.1) agree with each other, the user management table 2024-1 is referenced in order to filter packets, which bear the MAC address (00:40:50:60:70:80) and IP address (192.168.1.1), so as to decide whether the packets are permitted to pass through the port 1 (via which the client terminal 4 is connected) via which the ARP ACK signal is received. For example, when On is recorded as the filtering check flag in association with the port 1 in the user management table 2024-1, the filtering is performed. Moreover, the ARP ACK signal is broadcasted.
The packet transfer systems with address monitoring 4 (2300) to 3 (2200) perform the same processing (step 146 to step 151). An iterative description will be omitted.
The packet transfer system with address monitoring 3 (2200) having received the ARP ACK signal perform the same processing (step 150 and step 151) as the packet transfer systems with address monitoring 5 (2400) and 4 (2300) do. Moreover, the packet transfer system with address monitoring 3 (2200) transmits a control communication packet to the subordinate packet transfer systems with address monitoring but does not broadcast an ARP response (step 152 and step 153). The control communication packet contains, for example, the pieces of information shown in
The packet transfer system with address monitoring 2 (2100) receives a control communication packet, whereby it acquires information on a port having packets, which are received via the port, filtered. For example, the packet transfer system with address monitoring 2 (2100) acquires an IP address and a MAC address from the control communication packet, and records the IP address and MAC address in association with the identifier of a port (port 1), via which the control communication packet is received, in the user management table 2024-1. Moreover, On is recorded as the filtering check flag in association with the port information in the user-management table 2024-1. Thus, packets bearing the MAC address (00:40:50:60:70:80) and IP address (192.168.1.1) are filtered (step 154).
In the present embodiment, since the packet transfer system with address monitoring 3 (2200) transmits an ARP request, an ARP ACK signal is transferred from the client terminal 4 (1300) to the packet transfer system with address monitoring 3 (2200). A control communication packet is therefore produced and transmitted so that information required for filtering will be transmitted to the packet transfer system with address monitoring 2 (2100). Owing to the control communication packet, the packet transfer system with address monitoring 2 (2100) can interrupt communication of packets, which bear the MAC address (00:40:50:60:70:80) and IP address (192.168.1.1) of the client terminal 4 (1300) whose IP address (192.168.1.1) is a duplicate, via the port (port 1) thereof.
Furthermore, the packet transfer system with address monitoring 2 (2100) broadcasts the received control communication packet (step 155). Even if a client terminal receives the control communication packet, no problem will occur. Consequently, if the client terminal 3 (1200) accommodated by the communication network 2 receives the control communication packet, it may discard the control communication packet (step 156).
The broadcast control communication packet is received by each of the packet transfer systems with address monitoring 4 (2300) and 5 (2400), and then transferred (steps 159 to 162). Each of the packet transfer systems 4 (2300) and 5 (2400) may perform the same processing as that of steps 154 and 155. Since an ARP ACK signal is received in order to perform address filtering, the control communication packet may be ignored. Moreover, the client terminal 4 (1300) may receive the control communication packet and discard it similarly to the action performed at the step 156 (step 163).
After the ARP ACK signal is transmitted, a DHCP ACK signal is read from the DHCP ACK packet memory 2027-1 included in the packet transfer system with address monitoring 3 (220) (step 164). The protocol handling unit 2020 transmits the DHCP ACK signal to the packet transfer system with address monitoring 2 (2100) so that an IP address (192.168.1.1) will be assigned to the client terminal 3 (1200) (step 165).
The packet transfer system with address monitoring 2 (2100) having received the DHCP ACK signal transfers a DHCP request to the protocol handling unit 2020 via the reception port 2010-3 and reception buffer 2021 included therein, and runs the DHCP management routine 2026-1 so as to record the protocol type of the packet (herein DHCP ACK) in the user management table 2024-1 (step 106). Moreover, the protocol handling unit 2020 transmits the DHCP ACK signal to the client terminal 3 (1200) via the transmission buffer 2022 and transmission port 2010-3 via which the packet transfer system with address monitoring 3 (2200) is connected (step 167).
The DHCP ACK signal is used to assign the IP address (192.168.1.1) to the client terminal 3. Consequently, the client terminal 3 (1200) can use the IP address (192.168.1.1) and can communicate data (step 168). The present embodiment adopts, similarly to the second embodiment, the method in which the packet transfer system itself broadcasts an ARP request. The present embodiment can be modified so that a client terminal will broadcast the ARP request in the same manner as it does in the first embodiment.
Moreover, the connections of the system in accordance with each of the embodiment are presented as an example. Any other topology may be adopted. Moreover, ports via which a terminal, a server, and other transfer system are connected may be any appropriate ports.
According to the present invention, there are provided a packet transfer system, a communication network, and a packet transfer method which do not discontinue (hereinafter interrupt) data transfer via each port, but which, if a client terminal to be accommodated has a static IP address, disables the client terminal from transferring data. According to the present invention, there is provided a technology for interrupting communication by filtering packets, which are addressed to a client terminal that illegally accesses a network, on the basis of an IP address while employing a simple configuration. According to the present invention, even if packet transfer systems are cascaded, information required for the filtering can be transmitted to each of the packet transfer systems.
Number | Date | Country | Kind |
---|---|---|---|
2005-212938 | Jul 2005 | JP | national |