WO2023281661A1 - 情報処理装置、情報処理システム、情報処理方法、及びコンピュータ可読媒体 - Google Patents

情報処理装置、情報処理システム、情報処理方法、及びコンピュータ可読媒体 Download PDF

Info

Publication number
WO2023281661A1
WO2023281661A1 PCT/JP2021/025629 JP2021025629W WO2023281661A1 WO 2023281661 A1 WO2023281661 A1 WO 2023281661A1 JP 2021025629 W JP2021025629 W JP 2021025629W WO 2023281661 A1 WO2023281661 A1 WO 2023281661A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal
address
information processing
relay device
port
Prior art date
Application number
PCT/JP2021/025629
Other languages
English (en)
French (fr)
Inventor
貴成 重田
Original Assignee
日本電気株式会社
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 日本電気株式会社 filed Critical 日本電気株式会社
Priority to PCT/JP2021/025629 priority Critical patent/WO2023281661A1/ja
Publication of WO2023281661A1 publication Critical patent/WO2023281661A1/ja

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/10Mapping addresses of different types
    • H04L61/103Mapping addresses of different types across network layers, e.g. resolution of network layer into physical layer addresses or address resolution protocol [ARP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5007Internet protocol [IP] addresses
    • H04L61/5014Internet protocol [IP] addresses using dynamic host configuration protocol [DHCP] or bootstrap protocol [BOOTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B7/00Radio transmission systems, i.e. using radiation field
    • H04B7/14Relay systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2101/00Indexing scheme associated with group H04L61/00
    • H04L2101/60Types of network addresses
    • H04L2101/618Details of network addresses
    • H04L2101/622Layer-2 addresses, e.g. medium access control [MAC] addresses

Definitions

  • the present disclosure relates to an information processing device, an information processing system, an information processing method, and a non-transitory computer-readable medium storing a program.
  • Patent Document 1 describes a technique for facilitating the identification of the geographical (spatial) position where each terminal is installed in a network in which terminals are connected by cables.
  • a terminal location detection device having a DHCP server acquires the IP address and MAC address of a terminal connected to an intelligent switch by a cable from a DHCP packet. Then, the terminal position detection device acquires the MAC address and the corresponding port number from the intelligent switch.
  • JP 2005-236893 A Japanese Patent Application Laid-Open No. 2004-015773
  • an object of the present disclosure is to provide an information processing device, an information processing system, an information processing method, and a non-temporary program storing a program that can appropriately manage which port of a relay device a terminal is connected to. to provide a computer-readable medium that
  • an information processing apparatus includes receiving means for receiving a duplicate packet in which a packet transmitted to the terminal from a server that sets an IP address in the terminal is duplicated, and based on the duplicate packet, identifying means for identifying the IP address and the MAC address of the terminal; and identification information of a port of a first relay device to which the terminal is connected based on the MAC address of the terminal identified by the identifying means. and control means for acquiring the IP address from the first relay device and storing the acquired identification information of the IP address and the port in a storage device in association with each other; 2 are duplicated by the relay device.
  • a second aspect of the present disclosure provides an information processing system including a first relay device, a second relay device, a server that sets an IP address to a terminal, and an information processing device.
  • the information processing apparatus includes receiving means for receiving a duplicate packet of a packet transmitted from the server to the terminal; a specifying means for specifying a MAC address; and based on the MAC address of the terminal specified by the specifying means, the identification information of the port of the first relay device to which the terminal is connected is acquired from the first relay device. and a control means for storing the obtained IP address and the identification information of the port in association with each other in a storage device, wherein the duplicated packet is duplicated by the second relay device connected to the server. be.
  • a packet transmitted from a server that sets an IP address to a terminal to the terminal is duplicated by a second relay device that is connected to the server, and a duplicate packet is received; Based on the duplicate packet, the IP address and the MAC address of the terminal are specified, and based on the specified MAC address of the terminal, the identification information of the port of the first relay device to which the terminal is connected is obtained from the An information processing method is provided for acquiring from a first relay device and storing the acquired IP address and port identification information in a storage device in association with each other.
  • a program for causing an information processing device to execute a process of acquiring information from the first relay device and a process of storing the acquired IP address and port identification information in a storage device in association with each other is stored.
  • a non-transitory computer-readable medium is provided.
  • FIG. 6 is a flowchart showing an example of information processing device processing according to the embodiment; 1 is a diagram illustrating a configuration example of an information processing system according to an embodiment; FIG. It is a figure which shows an example of a structure of the information processing apparatus which concerns on embodiment. It is a figure which shows the hardware structural example of the information processing apparatus which concerns on embodiment.
  • FIG. 7 is a sequence diagram showing an example of processing for managing terminals of the information processing system according to the embodiment; It is a figure which shows an example of the data recorded on the MAC address table which concerns on embodiment. It is a figure which shows an example of the data recorded on terminal management apparatus DB which concerns on embodiment.
  • FIG. 10 is a sequence diagram showing an example of processing for providing port ID information to which a terminal is connected according to the embodiment;
  • FIG. 1 is a diagram showing an example of the configuration of an information processing device 10 according to an embodiment.
  • the information processing device 10 has a receiving unit 11 , a specifying unit 12 and a control unit 13 . Each of these units may be implemented by cooperation of one or more programs installed in the information processing device 10 and hardware such as the processor 101 and the memory 102 of the information processing device 10 .
  • the receiving unit 11 receives various types of information from an external device.
  • the receiving unit 11 receives, for example, a DHCP ACK message (an example of a packet for setting an IP address to the terminal 40) duplicated by the second relay device 20A connected to the DHCP server 30, or the like.
  • the DHCP ACK message is sent by the DHCP server 30 to the terminal 40, which is the DHCP client.
  • the DHCP ACK message contains setting information such as the IP address that the DHCP server 30 leases to the terminal 40 .
  • the DHCP ACK message may contain information such as the MAC address of the terminal 40, the MAC address of the DHCP server 30, the IP address that the DHCP server 30 leases to the terminal 40, the lease period, the IP address of the DHCP server 30, etc. good.
  • the identifying unit 12 identifies the IP address set to the terminal 40 by the DHCP server 30 and the MAC address of the terminal 40 based on the DHCP ACK message received by the receiving unit 11, for example.
  • the control unit 13 performs various processes for managing the port ID of the relay device 20 to which the LAN cable of the terminal 40 is connected.
  • the port of the relay device 20 may be a physical port or a virtual port such as a VLAN (Virtual LAN).
  • the control unit 13 acquires the port ID of the first relay device 20B to which the terminal 40 is connected from the first relay device 20B. Then, for example, the control unit 13 associates the acquired IP address with the port ID and stores them in the internal or external storage device of the information processing apparatus 10 . Thereby, for example, it is possible to appropriately manage which port of the relay device 20 the terminal 40 is connected to.
  • the second relay device 20A and the first relay device 20B may be the same relay device 20 or different relay devices 20 .
  • FIG. 2 is a flowchart showing an example of processing of the information processing device 10 according to the embodiment.
  • step S1 the receiving unit 11 receives a packet (duplicate packet) obtained by duplicating the packet of the DHCP ACK message transmitted from the DHCP server 30 to the terminal 40 from the first relay device 20B. Subsequently, the identifying unit 12 identifies the IP address set (leased) to the terminal 40 and the MAC address of the terminal 40 based on the duplicate packet received by the receiving unit 11 (step S2).
  • the control unit 13 acquires the identification information of the port of the first relay device 20B to which the terminal 40 is connected from the first relay device 20B (step S3). Subsequently, the control unit 13 stores the acquired IP address and port identification information in a storage device inside or outside the information processing apparatus 10 in association with each other (step S4).
  • FIG. 3 is a diagram showing a configuration example of the information processing system 1 according to the embodiment.
  • the information processing system 1 has an information processing device 10 , a DHCP (Dynamic Host Configuration Protocol) server 30 , a terminal 40 and an administrator terminal 50 .
  • the information processing system 1 also includes a relay device 20A and a relay device 20B (hereinafter simply referred to as "relay device 20" when there is no need to distinguish between them).
  • the number of information processing apparatuses 10, DHCP servers 30, terminals 40, administrator terminals 50, and relay apparatuses 20 is not limited to the example in FIG.
  • the relay device 20 is, for example, a bridge (Layer 2 switch) that determines a frame transmission port based on information in the data link layer (Layer 2) of the OSI reference model and transfers the frame.
  • the terminal 40 is, for example, a terminal such as a personal computer, a network printer, or a network camera, which is connected to the relay device 20 via a LAN (Local Area Network) cable.
  • LAN Local Area Network
  • One or more communication devices may be connected to each relay device 20 .
  • the relay device 20 when receiving a port inquiry message, which is a predetermined request message, the relay device 20 receives the identification number (port ID) of the port to which the LAN cable of the device with the MAC address specified in the message is connected (inserted). to reply (answer).
  • the relay device 20 when the relay device 20 receives a predetermined setting command including the information of the port ID and the MAC address of the notification destination, the relay device 20 duplicates each packet transmitted/received at the port thereafter, and the MAC address of the notification destination. Send to address.
  • the information processing device 10 manages information regarding the port of the relay device 20 to which the terminal 40 is connected via a LAN cable.
  • the administrator terminal 50 is, for example, a terminal such as a personal computer, smart phone, or tablet.
  • the administrator terminal 50 displays, for example, information about the port of the relay device 20 to which the terminal 40 having the IP address designated by the administrator is connected.
  • the DHCP server 30 dynamically assigns network configuration settings such as IP addresses to terminals 40 on the network.
  • a known DHCP server can be used as the DHCP server 30 .
  • the DHCP server 30 is connected to the relay device 20A via a LAN cable. Also, the terminal 40 is connected to the relay device 20B by a LAN cable. The relay device 20, the information processing device 10, and the administrator terminal 50 are connected via a network N so as to be able to communicate with each other.
  • the network N1 may be an internal network such as a LAN, for example.
  • the network N1 may also include, for example, external networks such as the Internet, mobile networks, and networks outside the company.
  • FIG. 4 is a diagram showing an example of the configuration of the information processing device 10 according to the embodiment.
  • the information processing apparatus 10 further has a setting unit 14 as compared with the example of FIG.
  • the setting unit 14 may be implemented by cooperation between one or more programs installed in the information processing device 10 and hardware such as the processor 101 and the memory 102 of the information processing device 10 .
  • the setting unit 14 sets the relay device 20 so that each packet received at the port to which the DHCP server 30 is connected is duplicated and transmitted to the information processing device 10 .
  • FIG. 5 is a diagram illustrating a hardware configuration example of the information processing device 10 and the relay device 20 according to the embodiment.
  • the information processing apparatus 10 will be described below as an example.
  • the hardware configuration of the relay device 20 may be the same as the hardware configuration of the information processing device 10 in FIG. 5 .
  • the information processing device 10 (computer 100) includes a processor 101, a memory 102, and a communication interface 103. These units may be connected by a bus or the like. Memory 102 stores at least a portion of program 104 . Communication interface 103 includes interfaces necessary for communication with other network elements.
  • Memory 102 may be of any type suitable for a local technology network. Memory 102 may be, as a non-limiting example, a non-transitory computer-readable storage medium. Also, memory 102 may be implemented using any suitable data storage technology, such as semiconductor-based memory devices, magnetic memory devices and systems, optical memory devices and systems, fixed and removable memory, and the like. Although only one memory 102 is shown in computer 100, there may be several physically different memory modules in computer 100.
  • FIG. Processor 101 may be of any type.
  • Processor 101 may include one or more of a general purpose computer, a special purpose computer, a microprocessor, a Digital Signal Processor (DSP), and a processor based on a multi-core processor architecture as non-limiting examples.
  • Computer 100 may have multiple processors, such as application specific integrated circuit chips that are temporally dependent on a clock that synchronizes the main processor.
  • Embodiments of the present disclosure may be implemented in hardware or dedicated circuitry, software, logic, or any combination thereof. Some aspects may be implemented in hardware, while other aspects may be implemented in firmware or software, which may be executed by a controller, microprocessor or other computing device.
  • the present disclosure also provides at least one computer program product tangibly stored on a non-transitory computer-readable storage medium.
  • a computer program product comprises computer-executable instructions, such as those contained in program modules, to be executed on a device on a target real or virtual processor to perform the processes or methods of the present disclosure.
  • Program modules include routines, programs, libraries, objects, classes, components, data structures, etc. that perform particular tasks or implement particular abstract data types.
  • the functionality of the program modules may be combined or split between program modules as desired in various embodiments.
  • Machine-executable instructions for program modules may be executed within local or distributed devices. In a distributed device, program modules can be located in both local and remote storage media.
  • Program code for executing the methods of the present disclosure may be written in any combination of one or more programming languages. These program codes are provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable data processing apparatus. When the program code is executed by the processor or controller, the functions/acts in the flowchart illustrations and/or implementing block diagrams are performed. Program code may run entirely on a machine, partly on a machine, as a stand-alone software package, partly on a machine, partly on a remote machine, or entirely on a remote machine or server. be.
  • Non-transitory computer-readable media include various types of tangible storage media.
  • Examples of non-transitory computer-readable media include magnetic recording media, magneto-optical recording media, optical disc media, semiconductor memories, and the like.
  • Magnetic recording media include, for example, flexible disks, magnetic tapes, hard disk drives, and the like.
  • Magneto-optical recording media include, for example, magneto-optical disks.
  • Optical disc media include, for example, Blu-ray discs, CD (Compact Disc)-ROM (Read Only Memory), CD-R (Recordable), CD-RW (ReWritable), and the like.
  • the semiconductor memory includes, for example, mask ROM, PROM (Programmable ROM), EPROM (Erasable PROM), flash ROM, RAM (random access memory), and the like.
  • the program may also be provided to the computer by various types of transitory computer readable media. Examples of transitory computer-readable media include electrical signals, optical signals, and electromagnetic waves. Transitory computer-readable media can deliver the program to the computer via wired channels, such as wires and optical fibers, or wireless channels.
  • FIG. 6 is a sequence diagram showing an example of processing for managing the terminal 40 of the information processing system 1 according to the embodiment.
  • FIG. 7 is a diagram showing an example of data recorded in the MAC address table 701 according to the embodiment.
  • FIG. 8 is a diagram showing an example of data recorded in the terminal management device DB (Data Base) 701 according to the embodiment.
  • step S101 the terminal 40 broadcasts a DHCP DISCOVER message via the relay device 20B.
  • the DHCP DISCOVER message contains information such as the MAC address of the terminal 40, for example.
  • the relay device 20B like a known bridge (switch), receives the MAC address of the terminal 40 and the port ID of the port to which the LAN cable of the terminal 40 is connected. are associated with each other and recorded in the MAC address table 701 shown in FIG.
  • the DHCP server 30 transmits a DHCP OFFER message via the relay device 20A (step S102).
  • the DHCP OFFER message includes information such as the MAC address of the terminal 40, the MAC address of the DHCP server 30, the IP address that the DHCP server 30 leases to the terminal 40, the lease period, the IP address of the DHCP server 30, etc. is
  • the terminal 40 broadcasts a DHCP REQUEST message via the relay device 20B (step S103).
  • the DHCP REQUEST message contains information such as the MAC address of the terminal 40, for example.
  • the DHCP server 30 transmits a DHCP ACK message via the relay device 20A (step S104).
  • the DHCP ACK message includes information such as the MAC address of the terminal 40, the MAC address of the DHCP server 30, the IP address that the DHCP server 30 leases to the terminal 40, the lease period, and the IP address of the DHCP server 30. is
  • the terminal 40 can use the IP address leased from the DHCP server 30 to communicate with the external device.
  • the processing from step S101 to step S104 may be executed according to the known DHCP specifications.
  • the terminal 40 which is a DHCP client, updates the lease time limit before the lease time limit, which is the date and time from the lease time until the lease period (for example, 24 hours) elapses, expires.
  • the DHCP server 30 can lease (assign) the IP address to another terminal.
  • the relay device 20A duplicates the DHCP ACK message transmitted from the DHCP server 30 and transmits (mirroring) it to the information processing device 10 (step S105).
  • the information processing device 10 receives the DHCP ACK message duplicated by the relay device 20A connected to the DHCP server 30 .
  • the relay device 20A is configured by an administrator or the like to copy and transmit each packet transmitted/received at the port of the relay device 20A to which the LAN cable of the DHCP server 30 is connected (inserted) to the information processing device 10. may be accepted from In this case, the relay device 20 ⁇ /b>A may be designated by the administrator or the like with information on the port ID of the port and the MAC address of the information processing device 10 .
  • the relay device 20A sets the setting of duplicating each packet transmitted/received at the port of the relay device 20A to which the LAN cable of the DHCP server 30 is connected and transmitting the packet to the information processing device 10. It may be received from the setting unit 14 .
  • the relay device 20 ⁇ /b>A may receive from the setting unit 14 of the information processing device 10 a setting command that includes information on the port ID of the port and the MAC address of the information processing device 10 .
  • the setting unit 14 of the information processing device 10 may set the relay device 20A by, for example, the following processing.
  • the information processing device 10 broadcasts a DHCP DISCOVER message and receives a DHCP OFFER message from the DHCP server 30 .
  • the information processing device 10 extracts the MAC address of the DHCP server 30 included in the DHCP OFFER message.
  • the information processing apparatus 10 transmits a port inquiry including the information of the extracted MAC address by broadcasting or the like.
  • the information processing device 10 acquires the port ID recorded in the MAC address table 701 of the relay device 20A and the MAC address of the relay device 20A from the relay device 20A.
  • the information processing device 10 transmits a setting command including the information of the port ID and the information of the MAC address of the information processing device 10 to the MAC address of the relay device 20A.
  • the identifying unit 12 of the information processing device 10 extracts the IP address information leased to the terminal 40, the MAC address information of the terminal 40, etc. from the received DHCP ACK message (step S106).
  • the information processing device 10 may acquire information on the lease period from the received DHCP ACK message.
  • the control unit 13 of the information processing device 10 transmits a port inquiry message by broadcasting or the like (step S107).
  • the port inquiry message includes information on the MAC address of the terminal 40 .
  • the relay device 20B refers to the MAC address table 701, and stores the port ID recorded in association with the MAC address included in the received port inquiry, the identification information (relay device ID) of the relay device 20B, and the like. is notified to the information processing apparatus 10 (step S108).
  • the identification information of the relay device 20B may be, for example, the serial number of the relay device 20B.
  • the identification information of the relay device 20B may be a character string or the like set by the administrator.
  • the information processing device 10 records the port ID and the like in the terminal management DB 801 in association with the IP address leased to the terminal 40 (step S109). Thereby, the information processing device 10 can grasp the port of the relay device 20 to which the LAN cable of the terminal 40 is connected, for example, when the IP address is leased to the terminal 40 . Therefore, for example, if the terminal 40 supports UPnP (Universal Plug & Play), when the port to which the terminal 40 is connected is changed, the changed port can be immediately grasped. Moreover, even in a network in which a plurality of DHCP servers 30 or existing DHCP servers 30 exist, it is possible to appropriately manage them.
  • UPnP Universal Plug & Play
  • the terminal management DB 801 stores the IP address leased to the terminal 40, the relay device ID and port ID notified in step S108, the lease date and time, and the lease acquired in step S106. period is recorded.
  • the lease date and time may be the date and time when the information processing device 10 receives the DHCP ACK message.
  • the terminal management DB 801 may be recorded in a storage device inside the information processing apparatus 10 or may be recorded in a server or the like outside the information processing apparatus 10 .
  • the information processing apparatus 10 may reduce the processing load due to periodic DHCP lease renewal. In this case, the information processing apparatus 10 performs step It may be determined whether or not to perform the processing of S107. In this case, the information processing apparatus 10 may first determine whether or not the retransmission interval is less than the threshold. Here, the information processing apparatus 10 may set the time length corresponding to half of the lease period included in the DHCP ACK message as the threshold. In this case, for example, if the lease period is 24 hours, the threshold is determined to be 12 hours, and so on.
  • the information processing apparatus 10 may perform the process of step S109 without performing the process of step S107.
  • the process of step S108 is not executed in the case of periodic renewal of the lease period specified by DHCP, so the load on the network due to the broadcast of the port inquiry message and the processing load on the relay device 20 or the like are reduced. can.
  • the information processing device 10 may execute the processes from step S107 onward. Thereby, for example, when the terminal 40 is compatible with UPnP, when the port to which the terminal 40 is connected is changed, the changed port can be immediately grasped.
  • the information processing device may also determine whether the lease is to be renewed periodically based on the IP address leased to the terminal 40 .
  • the IP address or MAC address of a stationary terminal 40 for example, desktop PC or server
  • the information processing device 10 determines whether the DHCP periodic lease You may determine that it is an update.
  • FIG. 9 is a sequence diagram showing an example of processing for providing port ID information to which the terminal 40 is connected according to the embodiment.
  • step S201 the administrator terminal 50 transmits an inquiry message to the information processing device 10.
  • the inquiry message may include information such as the IP address of the terminal 40 designated by the administrator or the like.
  • the control unit 13 of the information processing device 10 refers to the terminal management DB 801 of FIG. 8 and notifies the administrator terminal 50 of the relay device ID and port ID information recorded in association with the IP address. (reply, reply) (step S202).
  • the user of the administrator terminal 50 system administrator
  • the relay device 20 and the port to which the terminal 40 is connected can grasp the relay device 20 and the port to which the terminal 40 is connected.
  • the administrator detects that the terminal 40 is infected with malware or the like the LAN cable connected to the terminal 40 can be quickly disconnected to cut off the communication.
  • the control unit 13 of the information processing device 10 may delete information on the terminal 40 from the terminal management DB 801 .
  • the information processing device 10 may receive from the relay device 20A a copy of the DHCP RELEASE message received at the port of the relay device 20A to which the LAN cable of the DHCP server 30 is connected. Then, the information processing apparatus 10 may delete the record of the IP address that matches the IP address included in the DHCP RELEASE message among the records recorded in the terminal management DB 801 of FIG.
  • control unit 13 of the information processing device 10 may delete the information of the terminal 40 from the terminal management DB 801 when the DHCP lease term for the terminal 40 has passed. Thereby, for example, it is possible to appropriately manage that the terminal 40 is disconnected from the relay device 20 . In this case, the information processing apparatus 10 selects a record in which the lease term, which is the date and time from the lease date until the lease period elapses, is earlier than the current date and time, among the records recorded in the terminal management DB 801 of FIG. May be deleted.
  • the information processing apparatus 10 may be implemented by cloud computing, which is configured by one or more computers, for example. Further, the information processing device 10 and the administrator terminal 50 may be configured as an integrated server (device). The information processing device 10 such as these is also included in an example of the "information processing device" of the present disclosure.
  • Appendix 2 The information processing apparatus according to appendix 1, wherein the control means receives an inquiry message including information on the IP address, and transmits identification information on the port stored in association with the IP address.
  • Appendix 3 The first relay device and the second relay device are the same relay device, The information processing device according to appendix 1 or 2.
  • the control means is Identification of the port to which the terminal is connected, according to the length of time between the transmission of a first DHCP ACK message from the server to the terminal and the transmission of a second DHCP ACK message. to get the 5.
  • the information processing device according to any one of appendices 1 to 4.
  • the control means is When receiving a DHCP RELEASE message transmitted from the terminal to the server and duplicated by the first relay device, deleting the association between the IP address and the identification information of the port; 6.
  • the information processing apparatus according to any one of appendices 1 to 5.
  • the control means is deleting the association between the IP address and the port identification information in response to the expiration of the DHCP lease for the terminal; 7.
  • the information processing device is a receiving means for receiving a duplicate packet obtained by duplicating a packet transmitted from the server to the terminal; identifying means for identifying the IP address and the MAC address of the terminal based on the duplicate packet; Acquiring, from the first relay device, identification information of a port of the first relay device to which the terminal is connected, based on the MAC address of the terminal identified by the identifying means; a control means for storing the acquired IP address and the identification information of the port in association with each other in a storage device; the duplicated packet is duplicated by the second relay device connected to the server; Information processing system.
  • control means receives an inquiry message including the information of the IP address, and transmits the identification information of the port stored in association with the IP address.
  • Appendix 10 receiving a duplicate packet in which a packet transmitted from a server that sets an IP address to a terminal to the terminal is duplicated by a second relay device that is connected to the server; identifying the IP address and the MAC address of the terminal based on the duplicate packet; Acquiring, from the first relay device, identification information of a port of the first relay device to which the terminal is connected, based on the specified MAC address of the terminal; storing the acquired IP address and the identification information of the port in a storage device in association with each other; Information processing methods.

Abstract

情報処理装置(10)が、端末(40)にIPアドレスを設定するサーバ(30)から前記端末に送信されるパケットが複製された複製パケットを受信する受信手段(11)と、前記複製パケットに基づいて、前記IPアドレスと、前記端末のMACアドレスとを特定する特定手段(12)と、前記特定手段により特定された前記端末のMACアドレスに基づいて、前記端末が接続する第1中継装置(20B)のポートの識別情報を、前記第1中継装置から取得し、取得した前記IPアドレスと前記ポートの識別情報とを、対応付けて記憶装置に記憶させる制御手段(13)とを有し、前記複製パケットは、前記サーバと接続する第2中継装置(20A)にて複製される。

Description

情報処理装置、情報処理システム、情報処理方法、及びコンピュータ可読媒体
 本開示は、情報処理装置、情報処理システム、情報処理方法、及びプログラムが格納された非一時的なコンピュータ可読媒体に関する。
 例えば、マルウェア等に感染した端末に接続されているLANケーブルを抜いて通信を遮断するために、端末のIPアドレスから端末が設置されている位置(場所)を知りたい場合がある。
 特許文献1には、端末間がケーブルで接続されたネットワークにおいて、前記各端末が設置された地理的(空間的)な位置の特定を容易にする技術が記載されている。特許文献1では、まず、DHCPサーバを有する端末位置検知装置が、インテリジェントスイッチにケーブルで接続された端末のIPアドレスとMACアドレスとをDHCPパケットから取得する。そして、端末位置検知装置が、当該MACアドレスと対応するポート番号をインテリジェントスイッチから取得する。
特開2005-236893号公報 特開2004-015773号公報
 しかしながら、特許文献1記載の技術では、例えば、効率的にネットワークを管理できない場合がある。例えば、DHCPサーバが端末検知装置の外部に存在するネットワークの場合、端末のIPアドレスの情報とMACアドレスの情報とを含むDHCPパケットを取得できない場合がある。
 本開示の目的は、上述した課題を鑑み、端末が中継装置のいずれのポートに接続されているかを適切に管理できる情報処理装置、情報処理システム、情報処理方法、及びプログラムが格納された非一時的なコンピュータ可読媒体を提供することである。
 本開示に係る第1の態様では、情報処理装置が、端末にIPアドレスを設定するサーバから前記端末に送信されるパケットが複製された複製パケットを受信する受信手段と、前記複製パケットに基づいて、前記IPアドレスと、前記端末のMACアドレスとを特定する特定手段と、前記特定手段により特定された前記端末のMACアドレスに基づいて、前記端末が接続する第1中継装置のポートの識別情報を、前記第1中継装置から取得し、取得した前記IPアドレスと前記ポートの識別情報とを、対応付けて記憶装置に記憶させる制御手段とを有し、前記複製パケットは、前記サーバと接続する第2中継装置にて複製される。
 また、本開示に係る第2の態様では、第1中継装置、第2中継装置、端末にIPアドレスを設定するサーバ、及び情報処理装置を有する情報処理システムが提供される。この情報処理システムにおいて、前記情報処理装置は、前記サーバから前記端末に送信されるパケットが複製された複製パケットを受信する受信手段と、前記複製パケットに基づいて、前記IPアドレスと、前記端末のMACアドレスとを特定する特定手段と、前記特定手段により特定された前記端末のMACアドレスに基づいて、前記端末が接続する前記第1中継装置のポートの識別情報を、前記第1中継装置から取得し、取得した前記IPアドレスと前記ポートの識別情報とを、対応付けて記憶装置に記憶させる制御手段とを有し、前記複製パケットは、前記サーバと接続する前記第2中継装置にて複製される。
 また、本開示に係る第3の態様では、端末にIPアドレスを設定するサーバから前記端末に送信されるパケットが前記サーバと接続する第2中継装置にて複製された複製パケットを受信し、前記複製パケットに基づいて、前記IPアドレスと、前記端末のMACアドレスとを特定し、前記特定した前記端末のMACアドレスに基づいて、前記端末が接続する第1中継装置のポートの識別情報を、前記第1中継装置から取得し、取得した前記IPアドレスと前記ポートの識別情報とを、対応付けて記憶装置に記憶させる情報処理方法が提供される。
 また、本開示に係る第4の態様では、端末にIPアドレスを設定するサーバから前記端末に送信されるパケットが前記サーバと接続する第2中継装置にて複製された複製パケットを受信する処理と、前記複製パケットに基づいて、前記IPアドレスと、前記端末のMACアドレスとを特定する処理と、前記特定した前記端末のMACアドレスに基づいて、前記端末が接続する第1中継装置のポートの識別情報を、前記第1中継装置から取得する処理と、取得した前記IPアドレスと前記ポートの識別情報とを、対応付けて記憶装置に記憶させる処理と、を情報処理装置に実行させるプログラムが格納された非一時的なコンピュータ可読媒体が提供される。
 一側面によれば、端末が中継装置のいずれのポートに接続されているかを適切に管理できる。
実施形態に係る情報処理装置の構成の一例を示す図である。 実施形態に係る情報処理装置処理の一例を示すフローチャートである。 実施形態に係る情報処理システムの構成例を示す図である。 実施形態に係る情報処理装置の構成の一例を示す図である。 実施形態に係る情報処理装置のハードウェア構成例を示す図である。 実施形態に係る情報処理システムの端末を管理する処理の一例を示すシーケンス図である。 実施形態に係るMACアドレステーブルに記録されるデータの一例を示す図である。 実施形態に係る端末管理装置DBに記録されるデータの一例を示す図である。 実施形態に係る端末が接続されているポートIDの情報を提供する処理の一例を示すシーケンス図である。
 本開示の原理は、いくつかの例示的な実施形態を参照して説明される。これらの実施形態は、例示のみを目的として記載されており、本開示の範囲に関する制限を示唆することなく、当業者が本開示を理解および実施するのを助けることを理解されたい。本明細書で説明される開示は、以下で説明されるもの以外の様々な方法で実装される。
 以下の説明および特許請求の範囲において、他に定義されない限り、本明細書で使用されるすべての技術用語および科学用語は、本開示が属する技術分野の当業者によって一般に理解されるのと同じ意味を有する。
 以下、図面を参照して、本開示の実施形態を説明する。
 (実施の形態1)
 <構成>
 図1を参照し、実施形態に係る情報処理装置10の構成について説明する。図1は、実施形態に係る情報処理装置10の構成の一例を示す図である。情報処理装置10は、受信部11、特定部12、及び制御部13を有する。これら各部は、情報処理装置10にインストールされた1以上のプログラムと、情報処理装置10のプロセッサ101、及びメモリ102等のハードウェアとの協働により実現されてもよい。
 受信部11は、各種の情報を外部装置から受信する。受信部11は、例えば、DHCPサーバ30に接続される第2中継装置20Aにて複製されたDHCP ACKメッセージ(端末40にIPアドレスを設定するパケットの一例。)等を受信する。なお、DHCP ACKメッセージは、DHCPサーバ30によりDHCPクライアントである端末40へ送信される。DHCP ACKメッセージには、DHCPサーバ30が端末40にリースするIPアドレス等の設定情報が含まれている。DHCP ACKメッセージには、例えば、端末40のMACアドレス、DHCPサーバ30のMACアドレス、DHCPサーバ30が端末40にリースするIPアドレス、リース期間、DHCPサーバ30のIPアドレス等の情報が含まれてもよい。
 特定部12は、例えば、受信部11により受信されたDHCP ACKメッセージに基づいて、DHCPサーバ30から端末40に設定されるIPアドレスと、端末40のMACアドレスを特定する。
 制御部13は、端末40のLANケーブルが接続されている中継装置20のポートIDを管理するための各種の処理を行う。なお、中継装置20のポートは、物理ポートでもよいし、VLAN(Virtual LAN)等の仮想ポートでもよい。
 制御部13は、例えば、特定部12により特定された端末40のMACアドレスに基づいて、端末40が接続されている第1中継装置20BのポートIDを、第1中継装置20Bから取得する。そして、制御部13は、例えば、取得したIPアドレスとポートIDとを、対応付けて情報処理装置10の内部または外部の記憶装置に記憶させる。これにより、例えば、端末40が中継装置20のいずれのポートに接続されているかを適切に管理できる。なお、第2中継装置20Aと第1中継装置20Bとは、同一の中継装置20でもよいし、異なる中継装置20でもよい。
 <処理>
 図2を参照し、実施形態に係る情報処理装置10の処理の一例について説明する。図2は、実施形態に係る情報処理装置10の処理の一例を示すフローチャートである。
 ステップS1において、受信部11は、DHCPサーバ30から端末40に送信されたDHCP ACKメッセージのパケットが第1中継装置20Bより複製されたパケット(複製パケット)を受信する。続いて、特定部12は、受信部11により受信された複製パケットに基づいて、端末40に設定(リース)されるIPアドレスと、端末40のMACアドレスとを特定する(ステップS2)。
 続いて、制御部13は、特定部12により特定された端末40のMACアドレスに基づいて、端末40が接続する第1中継装置20Bのポートの識別情報を、第1中継装置20Bから取得する(ステップS3)。続いて、制御部13は、取得したIPアドレスとポートの識別情報とを、対応付けて情報処理装置10の内部または外部の記憶装置に記憶させる(ステップS4)。
 (実施の形態2)
 次に、図3を参照し、実施形態に係る情報処理システム1の構成について説明する。
 <システム構成>
 図3は、実施形態に係る情報処理システム1の構成例を示す図である。図3において、情報処理システム1は、情報処理装置10、DHCP(Dynamic Host Configuration Protocol)サーバ30、端末40、及び管理者端末50を有する。また、情報処理システム1は、中継装置20A、及び中継装置20B(以下で、区別する必要がない場合は、単に「中継装置20」と称する。)を有する。なお、情報処理装置10、DHCPサーバ30、端末40、及び管理者端末50、及び中継装置20の数は図3の例に限定されない。
 中継装置20は、例えば、OSI参照モデルのデータリンク層(レイヤ2)の情報を基にフレームの送信ポートを決定し転送するブリッジ(レイヤ2スイッチ)である。端末40は、例えば、パーソナルコンピュータ、ネットワークプリンタ、ネットワークカメラ等の、LAN(Local Area Network)ケーブルを介して中継装置20に接続する端末である。なお、各中継装置20には、1以上の通信装置が接続されていてもよい。
 また、中継装置20は、所定の要求メッセージであるポート問い合わせメッセージを受信した場合、当該メッセージで指定されたMACアドレスの装置のLANケーブルが接続(挿入)されているポートの識別番号(ポートID)を返信(回答)する。
 また、中継装置20は、ポートID、及び通知先のMACアドレスの情報を含む所定の設定コマンドを受信した場合、以降に当該ポートにて送受信される各パケットを複製して、当該通知先のMACアドレス宛に送信する。
 情報処理装置10は、端末40がLANケーブルで接続されている中継装置20のポートに関する情報を管理する。管理者端末50は、例えば、パーソナルコンピュータ、スマートフォン、タブレット等の端末である。管理者端末50は、例えば、管理者に指定されたIPアドレスの端末40が接続されている中継装置20のポートに関する情報を表示させる。
 DHCPサーバ30は、IPアドレス等のネットワーク構成設定をネットワーク上の端末40に動的に割り当てる。なお、DHCPサーバ30として、公知のDHCPサーバを用いることができる。
 図3の例では、DHCPサーバ30は、LANケーブルにより中継装置20Aに接続されている。また、端末40は、LANケーブルにより中継装置20Bに接続されている。中継装置20、情報処理装置10、及び管理者端末50は、ネットワークNを介して通信ができるように接続されている。
 ネットワークN1は、例えば、LAN等の内部ネットワークでもよい。また、ネットワークN1には、例えば、インターネット、モバイルネットワーク、社外ネットワーク等の外部ネットワークが含まれてもよい。
 <構成>
 図4を参照し、実施形態に係る情報処理装置10の構成について説明する。図4は、実施形態に係る情報処理装置10の構成の一例を示す図である。図4の例では、図1の例と比較して、情報処理装置10は、設定部14をさらに有する。設定部14は、情報処理装置10にインストールされた1以上のプログラムと、情報処理装置10のプロセッサ101、及びメモリ102等のハードウェアとの協働により実現されてもよい。
 設定部14は、DHCPサーバ30が接続されているポートで受信される各パケットを複製して情報処理装置10宛に送信させる設定を、中継装置20に対して行う。
 <ハードウェア構成>
 図5は、実施形態に係る情報処理装置10、及び中継装置20のハードウェア構成例を示す図である。以下では、情報処理装置10を例として説明する。なお、中継装置20のハードウェア構成は、図5の情報処理装置10のハードウェア構成と同様でもよい。
 図5の例では、情報処理装置10(コンピュータ100)は、プロセッサ101、メモリ102、通信インターフェイス103を含む。これら各部は、バス等により接続されてもよい。メモリ102は、プログラム104の少なくとも一部を格納する。通信インターフェイス103は、他のネットワーク要素との通信に必要なインターフェイスを含む。
 プログラム104が、プロセッサ101及びメモリ102等の協働により実行されると、コンピュータ100により本開示の実施形態の少なくとも一部の処理が行われる。メモリ102は、ローカル技術ネットワークに適した任意のタイプのものであってもよい。メモリ102は、非限定的な例として、非一時的なコンピュータ可読記憶媒体でもよい。また、メモリ102は、半導体ベースのメモリデバイス、磁気メモリデバイスおよびシステム、光学メモリデバイスおよびシステム、固定メモリおよびリムーバブルメモリなどの任意の適切なデータストレージ技術を使用して実装されてもよい。コンピュータ100には1つのメモリ102のみが示されているが、コンピュータ100にはいくつかの物理的に異なるメモリモジュールが存在してもよい。プロセッサ101は、任意のタイプのものであってよい。プロセッサ101は、汎用コンピュータ、専用コンピュータ、マイクロプロセッサ、デジタル信号プロセッサ(DSP:Digital Signal Processor)、および非限定的な例としてマルチコアプロセッサアーキテクチャに基づくプロセッサの1つ以上を含んでよい。コンピュータ100は、メインプロセッサを同期させるクロックに時間的に従属する特定用途向け集積回路チップなどの複数のプロセッサを有してもよい。
 本開示の実施形態は、ハードウェアまたは専用回路、ソフトウェア、ロジックまたはそれらの任意の組み合わせで実装され得る。いくつかの態様はハードウェアで実装されてもよく、一方、他の態様はコントローラ、マイクロプロセッサまたは他のコンピューティングデバイスによって実行され得るファームウェアまたはソフトウェアで実装されてもよい。
 本開示はまた、非一時的なコンピュータ可読記憶媒体に有形に記憶された少なくとも1つのコンピュータプログラム製品を提供する。コンピュータプログラム製品は、プログラムモジュールに含まれる命令などのコンピュータ実行可能命令を含み、対象の実プロセッサまたは仮想プロセッサ上のデバイスで実行され、本開示のプロセスまたは方法を実行する。プログラムモジュールには、特定のタスクを実行したり、特定の抽象データ型を実装したりするルーチン、プログラム、ライブラリ、オブジェクト、クラス、コンポーネント、データ構造などが含まれる。プログラムモジュールの機能は、様々な実施形態で望まれるようにプログラムモジュール間で結合または分割されてもよい。プログラムモジュールのマシン実行可能命令は、ローカルまたは分散デバイス内で実行できる。分散デバイスでは、プログラムモジュールはローカルとリモートの両方のストレージメディアに配置できる。
 本開示の方法を実行するためのプログラムコードは、1つ以上のプログラミング言語の任意の組み合わせで書かれてもよい。これらのプログラムコードは、汎用コンピュータ、専用コンピュータ、またはその他のプログラム可能なデータ処理装置のプロセッサまたはコントローラに提供される。プログラムコードがプロセッサまたはコントローラによって実行されると、フローチャートおよび/または実装するブロック図内の機能/動作が実行される。プログラムコードは、完全にマシン上で実行され、一部はマシン上で、スタンドアロンソフトウェアパッケージとして、一部はマシン上で、一部はリモートマシン上で、または完全にリモートマシンまたはサーバ上で実行される。
 プログラムは、様々なタイプの非一時的なコンピュータ可読媒体を用いて格納され、コンピュータに供給することができる。非一時的なコンピュータ可読媒体は、様々なタイプの実体のある記録媒体を含む。非一時的なコンピュータ可読媒体の例には、磁気記録媒体、光磁気記録媒体、光ディスク媒体、半導体メモリ等が含まれる。磁気記録媒体には、例えば、フレキシブルディスク、磁気テープ、ハードディスクドライブ等が含まれる。光磁気記録媒体には、例えば、光磁気ディスク等が含まれる。光ディスク媒体には、例えば、ブルーレイディスク、CD(Compact Disc)-ROM(Read Only Memory)、CD-R(Recordable)、CD-RW(ReWritable)等が含まれる。半導体メモリには、例えば、マスクROM、PROM(Programmable ROM)、EPROM(Erasable PROM)、フラッシュROM、RAM(random access memory)等が含まれる。また、プログラムは、様々なタイプの一時的なコンピュータ可読媒体によってコンピュータに供給されてもよい。一時的なコンピュータ可読媒体の例は、電気信号、光信号、及び電磁波を含む。一時的なコンピュータ可読媒体は、電線及び光ファイバ等の有線通信路、又は無線通信路を介して、プログラムをコンピュータに供給できる。
 <処理>
 <<端末40を管理する処理>>
 図6から図8を参照し、実施形態に係る情報処理システム1の処理の一例について説明する。図6は、実施形態に係る情報処理システム1の端末40を管理する処理の一例を示すシーケンス図である。図7は、実施形態に係るMACアドレステーブル701に記録されるデータの一例を示す図である。図8は、実施形態に係る端末管理装置DB(Data Base)701に記録されるデータの一例を示す図である。
 ステップS101において、端末40は、DHCP DISCOVERメッセージを、中継装置20Bを介してブロードキャストで送信する。ここで、DHCP DISCOVERメッセージには、例えば、端末40のMACアドレス等の情報が含まれている。なお、中継装置20Bは、公知のブリッジ(スイッチ)と同様に、端末40からのパケットを受信した際に、端末40のMACアドレスと、端末40のLANケーブルが接続されているポートのポートIDとを対応付けて図7に示すMACアドレステーブル701に記録している。
 続いて、DHCPサーバ30は、DHCP OFFERメッセージを、中継装置20Aを介して送信する(ステップS102)。ここで、DHCP OFFERメッセージには、例えば、端末40のMACアドレス、DHCPサーバ30のMACアドレス、DHCPサーバ30が端末40にリースするIPアドレス、リース期間、DHCPサーバ30のIPアドレス等の情報が含まれている。
 続いて、端末40は、DHCP REQUESTメッセージを、中継装置20Bを介してブロードキャストで送信する(ステップS103)。ここで、DHCP REQUESTメッセージには、例えば、端末40のMACアドレス等の情報が含まれている。
 続いて、DHCPサーバ30は、DHCP ACKメッセージを、中継装置20Aを介して送信する(ステップS104)。ここで、DHCP ACKメッセージには、例えば、端末40のMACアドレス、DHCPサーバ30のMACアドレス、DHCPサーバ30が端末40にリースするIPアドレス、リース期間、DHCPサーバ30のIPアドレス等の情報が含まれている。
 これにより、端末40は、DHCPサーバ30からリースされたIPアドレスを用いて、外部装置との通信を行うことができる。なお、ステップS101からステップS104の処理は、公知のDHCPの仕様に従って実行されてもよい。なお、DHCPクライアントである端末40は、リース日時からリース期間(例えば、24時間)が経過するまでの日時であるリース期限が満了する前に、リース期限の更新を行う。DHCPサーバ30は、IPアドレスのリース期限が端末40から更新されずに満了した場合、当該IPアドレスを他の端末にリース(割り当て)することができる。
 続いて、中継装置20Aは、DHCPサーバ30から送信されたDHCP ACKメッセージを、複製して情報処理装置10に送信(ミラーリング)する(ステップS105)。これにより、DHCPサーバ30に接続される中継装置20Aにて複製されたDHCP ACKメッセージが情報処理装置10にて受信される。なお、中継装置20Aは、DHCPサーバ30のLANケーブルが接続(挿入)されている中継装置20Aのポートにて送受信される各パケットを、複製して情報処理装置10へ送信する設定を管理者等から受け付けてもよい。この場合、中継装置20Aは、当該ポートのポートID、及び情報処理装置10のMACアドレスの情報を管理者等から指定されてもよい。
 また、中継装置20Aは、DHCPサーバ30のLANケーブルが接続されている中継装置20Aのポートにて送受信される各パケットを、複製して情報処理装置10へ送信する設定を、情報処理装置10の設定部14から受け付けてもよい。この場合、中継装置20Aは、当該ポートのポートID、及び情報処理装置10のMACアドレスの情報を含む設定コマンドを情報処理装置10の設定部14から受信してもよい。
 この場合、情報処理装置10の設定部14は、例えば、以下のような処理により、中継装置20Aの設定を行ってもよい。まず、情報処理装置10は、DHCP DISCOVERメッセージをブロードキャストし、DHCPサーバ30からDHCP OFFERメッセージを受信する。そして、情報処理装置10は、DHCP OFFERメッセージに含まれるDHCPサーバ30のMACアドレスを抽出する。そして、情報処理装置10は、抽出したMACアドレスの情報を含むポート問い合わせをブロードキャスト等で送信する。そして、情報処理装置10は、中継装置20AのMACアドレステーブル701に記録されているポートIDと、中継装置20AのMACアドレスとを中継装置20Aから取得する。そして、情報処理装置10は、中継装置20AのMACアドレス宛に、当該ポートIDの情報と情報処理装置10のMACアドレスの情報とを含む設定コマンドを送信する。
 続いて、情報処理装置10の特定部12は、受信したDHCP ACKメッセージから、端末40にリースされたIPアドレスの情報と、端末40のMACアドレスの情報等とを抽出する(ステップS106)。ここで、情報処理装置10は、受信したDHCP ACKメッセージから、リース期間の情報を取得してもよい。
 続いて、情報処理装置10の制御部13は、ポート問い合わせメッセージを、ブロードキャスト等で送信する(ステップS107)。ここで、ポート問い合わせメッセージには、端末40のMACアドレスの情報が含まれている。
 続いて、中継装置20Bは、MACアドレステーブル701を参照し、受信したポート問い合わせに含まれるMACアドレスに対応付けて記録されているポートIDと、中継装置20Bの識別情報(中継装置ID)等とを情報処理装置10に通知する(ステップS108)。なお、中継装置20Bの識別情報は、例えば、中継装置20Bの製造番号でもよい。また、中継装置20Bの識別情報は、管理者により設定された文字列等でもよい。
 続いて、情報処理装置10は、端末40にリースされているIPアドレスに対応付けて、ポートID等を端末管理DB801に記録する(ステップS109)。これにより、情報処理装置10は、例えば、端末40にIPアドレスがリースされる際に、端末40のLANケーブルが接続されている中継装置20のポートを把握しておくことができる。そのため、例えば、端末40がUPnP(Universal Plug&Play)に対応している場合は、端末40が接続されるポートが変更された際に即座に変更後のポートを把握できる。また、複数のDHCPサーバ30、または既存のDHCPサーバ30が存在するネットワークにおいても、適切に管理することができる。
 図8の例では、端末管理DB801には、端末40にリースされているIPアドレスに対応付けて、ステップS108で通知された中継装置ID及びポートIDと、リース日時と、ステップS106で取得したリース期間とが記録されている。リース日時は、情報処理装置10がDHCP ACKメッセージを受信した日時でもよい。なお、端末管理DB801は、情報処理装置10の内部の記憶装置に記録されてもよいし、情報処理装置10の外部のサーバ等に記録されてもよい。
 (定期的なリースの更新による処理負荷を低減させる例)
 情報処理装置10は、DHCPの定期的なリースの更新による処理負荷を低減させるようにしてもよい。この場合、情報処理装置10は、DHCPサーバ30から端末40に対して前回にDHCP ACKメッセージが送信されてから今回にDHCP ACKメッセージが送信されるまでの時間長(再送間隔)に応じて、ステップS107の処理を行うか否かを判断してもよい。この場合、情報処理装置10は、まず、再送間隔が閾値未満であるか否かを判定してもよい。ここで、情報処理装置10は、DHCP ACKメッセージに含まれるリース期間の半分に応じた時間長を当該閾値としてもよい。この場合、例えば、リース期間が24時間である場合、当該閾値は12時間等と決定される。
 そして、再送間隔が閾値未満である場合、情報処理装置10は、ステップS107の処理を行わずに、ステップS109の処理を実行してもよい。これにより、DHCPに規定される定期的なリース期限の更新等の場合にはステップS108の処理が実行されなくなるため、ポート問い合わせメッセージのブロードキャストによるネットワークの負荷、及び中継装置20等の処理負荷を低減できる。
 一方、再送間隔が閾値未満でない場合、情報処理装置10は、ステップS107以降の処理を実行してもよい。これにより、例えば、端末40がUPnPに対応している場合は、端末40が接続されるポートが変更された際に即座に変更後のポートを把握できる。
 また、情報処理装置は、端末40にリースされているIPアドレスに基づき、定期的なリースの更新であるかを判断してもよい。この場合、情報処理装置10には、例えば、移動されない固定式の端末40(例えば、デスクトップPC、サーバ)のIPアドレスまたはMACアドレスが管理者等により予め登録されていてもよい。そして、情報処理装置10は、DHCP REQUESTメッセージまたはDHCP ACKメッセージに含まれる端末40のIPアドレスまたはMACアドレスが、固定式の端末40のものとして登録されている場合は、DHCPの定期的なリースの更新であると判定してもよい。
 <<端末40が接続されているポートIDの情報を提供する処理>>
 図9を参照し、実施形態に係る情報処理システム1の、端末40が接続されているポートIDの情報を提供する処理の一例について説明する。図9は、実施形態に係る端末40が接続されているポートIDの情報を提供する処理の一例を示すシーケンス図である。
 ステップS201において、管理者端末50は、問い合わせメッセージを情報処理装置10に送信する。ここで、当該問い合わせメッセージには、管理者等に指定された端末40のIPアドレス等の情報が含まれてもよい。
 続いて、情報処理装置10の制御部13は、図8の端末管理DB801を参照し、当該IPアドレスに対応付けて記録されている中継装置ID及びポートIDの情報を、管理者端末50に通知(返信、回答)する(ステップS202)。これにより、例えば、管理者端末50のユーザ(システムの管理者は、端末40が接続されている中継装置20とポートを把握することができる。そのため、例えば、端末40が送受信する通信パケットに基づいて端末40がマルウェア等に感染していることを管理者が検知した等の場合に、迅速に端末40に接続されているLANケーブルを抜いて通信を遮断することができる。
 (切断された端末40の情報を削除する例)
 情報処理装置10の制御部13は、端末40からDHCPサーバ30へDHCP RELEASEメッセージが送信された場合、端末管理DB801から端末40の情報を削除してもよい。これにより、例えば、端末40が中継装置20から切断されていることを適切に管理できる。この場合、情報処理装置10は、DHCPサーバ30のLANケーブルが接続されている中継装置20Aのポートにて受信されたDHCP RELEASEメッセージの複製を中継装置20Aから受信してもよい。そして、情報処理装置10は、図8の端末管理DB801に記録されている各レコードのうち、DHCP RELEASEメッセージに含まれるIPアドレスと合致するIPアドレスのレコードを削除してもよい。
 また、情報処理装置10の制御部13は、端末40に対するDHCPリース期限が経過した場合、端末管理DB801から端末40の情報を削除してもよい。これにより、例えば、端末40が中継装置20から切断されていることを適切に管理できる。この場合、情報処理装置10は、図8の端末管理DB801に記録されている各レコードのうち、リース日時からリース期間が経過するまでの日時であるリース期限が現在日時よりも前であるレコードを削除してもよい。
 <変形例>
 情報処理装置10は、例えば1以上のコンピュータにより構成されるクラウドコンピューティングにより実現されていてもよい。また、情報処理装置10と管理者端末50とを一体のサーバ(装置)として構成してもよい。これらのような情報処理装置10についても、本開示の「情報処理装置」の一例に含まれる。
 なお、本発明は上記実施の形態に限られたものではなく、趣旨を逸脱しない範囲で適宜変更することが可能である。
 上記の実施形態の一部又は全部は、以下の付記のようにも記載されうるが、以下には限られない。
 (付記1)
 端末にIPアドレスを設定するサーバから前記端末に送信されるパケットが複製された複製パケットを受信する受信手段と、
 前記複製パケットに基づいて、前記IPアドレスと、前記端末のMACアドレスとを特定する特定手段と、
 前記特定手段により特定された前記端末のMACアドレスに基づいて、前記端末が接続する第1中継装置のポートの識別情報を、前記第1中継装置から取得し、
 取得した前記IPアドレスと前記ポートの識別情報とを、対応付けて記憶装置に記憶させる制御手段とを有し、
 前記複製パケットは、前記サーバと接続する第2中継装置にて複製される、
情報処理装置。
 (付記2)
 前記制御手段は、前記IPアドレスの情報を含む問い合わせメッセージを受信し、前記IPアドレスに対応付けて記憶されている前記ポートの識別情報を送信する、付記1に記載の情報処理装置。
 (付記3)
 前記第1中継装置と、前記第2中継装置とは、同一の中継装置である、
付記1または2に記載の情報処理装置。
 (付記4)
 前記サーバが接続されているポートで受信される各パケットを複製して前記情報処理装置に送信させる設定を、前記第1中継装置に対して行う設定手段を有する、
付記1から3のいずれか一項に記載の情報処理装置。
 (付記5)
 前記制御手段は、
 前記サーバから前記端末に対して第1のDHCP ACKメッセージが送信されてから第2のDHCP ACKメッセージが送信されるまでの時間の長さに応じて、前記端末が接続されているポートの識別情報を取得する、
付記1から4のいずれか一項に記載の情報処理装置。
 (付記6)
 前記制御手段は、
 前記端末から前記サーバへ送信され、前記第1中継装置により複製されたDHCP RELEASEメッセージを受信した場合、前記IPアドレスと前記ポートの識別情報との対応付けを削除する、
付記1から5のいずれか一項に記載の情報処理装置。
 (付記7)
 前記制御手段は、
 前記端末に対するDHCPリース期限が経過したことに応じ、前記IPアドレスと前記ポートの識別情報との対応付けを削除する、
付記1から6のいずれか一項に記載の情報処理装置。
 (付記8)
 第1中継装置、第2中継装置、端末にIPアドレスを設定するサーバ、及び情報処理装置を有し、
 前記情報処理装置は、
 前記サーバから前記端末に送信されるパケットが複製された複製パケットを受信する受信手段と、
 前記複製パケットに基づいて、前記IPアドレスと、前記端末のMACアドレスとを特定する特定手段と、
 前記特定手段により特定された前記端末のMACアドレスに基づいて、前記端末が接続する前記第1中継装置のポートの識別情報を、前記第1中継装置から取得し、
 取得した前記IPアドレスと前記ポートの識別情報とを、対応付けて記憶装置に記憶させる制御手段とを有し、
 前記複製パケットは、前記サーバと接続する前記第2中継装置にて複製される、
情報処理システム。
 (付記9)
 前記制御手段は、前記IPアドレスの情報を含む問い合わせメッセージを受信し、前記IPアドレスに対応付けて記憶されている前記ポートの識別情報を送信する、付記8に記載の情報処理システム。
 (付記10)
 端末にIPアドレスを設定するサーバから前記端末に送信されるパケットが前記サーバと接続する第2中継装置にて複製された複製パケットを受信し、
 前記複製パケットに基づいて、前記IPアドレスと、前記端末のMACアドレスとを特定し、
 前記特定した前記端末のMACアドレスに基づいて、前記端末が接続する第1中継装置のポートの識別情報を、前記第1中継装置から取得し、
 取得した前記IPアドレスと前記ポートの識別情報とを、対応付けて記憶装置に記憶させる、
情報処理方法。
 (付記11)
 端末にIPアドレスを設定するサーバから前記端末に送信されるパケットが前記サーバと接続する第2中継装置にて複製された複製パケットを受信する処理と、
 前記複製パケットに基づいて、前記IPアドレスと、前記端末のMACアドレスとを特定する処理と、
 前記特定した前記端末のMACアドレスに基づいて、前記端末が接続する第1中継装置のポートの識別情報を、前記第1中継装置から取得する処理と、
 取得した前記IPアドレスと前記ポートの識別情報とを、対応付けて記憶装置に記憶させる処理と、
を情報処理装置に実行させるプログラムが格納された非一時的なコンピュータ可読媒体。
1 情報処理システム
10 情報処理装置
11 受信部
12 特定部
13 制御部
20 中継装置
30 DHCPサーバ
40 端末
50 管理者端末

Claims (11)

  1.  端末にIPアドレスを設定するサーバから前記端末に送信されるパケットが複製された複製パケットを受信する受信手段と、
     前記複製パケットに基づいて、前記IPアドレスと、前記端末のMACアドレスとを特定する特定手段と、
     前記特定手段により特定された前記端末のMACアドレスに基づいて、前記端末が接続する第1中継装置のポートの識別情報を、前記第1中継装置から取得し、
     取得した前記IPアドレスと前記ポートの識別情報とを、対応付けて記憶装置に記憶させる制御手段とを有し、
     前記複製パケットは、前記サーバと接続する第2中継装置にて複製される、
    情報処理装置。
  2.  前記制御手段は、前記IPアドレスの情報を含む問い合わせメッセージを受信し、前記IPアドレスに対応付けて記憶されている前記ポートの識別情報を送信する、請求項1に記載の情報処理装置。
  3.  前記第1中継装置と、前記第2中継装置とは、同一の中継装置である、
    請求項1または2に記載の情報処理装置。
  4.  前記サーバが接続されているポートで受信される各パケットを複製して前記情報処理装置に送信させる設定を、前記第1中継装置に対して行う設定手段を有する、
    請求項1から3のいずれか一項に記載の情報処理装置。
  5.  前記制御手段は、
     前記サーバから前記端末に対して第1のDHCP ACKメッセージが送信されてから第2のDHCP ACKメッセージが送信されるまでの時間の長さに応じて、前記端末が接続されているポートの識別情報を取得する、
    請求項1から4のいずれか一項に記載の情報処理装置。
  6.  前記制御手段は、
     前記端末から前記サーバへ送信され、前記第1中継装置により複製されたDHCP RELEASEメッセージを受信した場合、前記IPアドレスと前記ポートの識別情報との対応付けを削除する、
    請求項1から5のいずれか一項に記載の情報処理装置。
  7.  前記制御手段は、
     前記端末に対するDHCPリース期限が経過したことに応じ、前記IPアドレスと前記ポートの識別情報との対応付けを削除する、
    請求項1から6のいずれか一項に記載の情報処理装置。
  8.  第1中継装置、第2中継装置、端末にIPアドレスを設定するサーバ、及び情報処理装置を有し、
     前記情報処理装置は、
     前記サーバから前記端末に送信されるパケットが複製された複製パケットを受信する受信手段と、
     前記複製パケットに基づいて、前記IPアドレスと、前記端末のMACアドレスとを特定する特定手段と、
     前記特定手段により特定された前記端末のMACアドレスに基づいて、前記端末が接続する前記第1中継装置のポートの識別情報を、前記第1中継装置から取得し、
     取得した前記IPアドレスと前記ポートの識別情報とを、対応付けて記憶装置に記憶させる制御手段とを有し、
     前記複製パケットは、前記サーバと接続する前記第2中継装置にて複製される、
    情報処理システム。
  9.  前記制御手段は、前記IPアドレスの情報を含む問い合わせメッセージを受信し、前記IPアドレスに対応付けて記憶されている前記ポートの識別情報を送信する、請求項8に記載の情報処理システム。
  10.  端末にIPアドレスを設定するサーバから前記端末に送信されるパケットが前記サーバと接続する第2中継装置にて複製された複製パケットを受信し、
     前記複製パケットに基づいて、前記IPアドレスと、前記端末のMACアドレスとを特定し、
     前記特定した前記端末のMACアドレスに基づいて、前記端末が接続する第1中継装置のポートの識別情報を、前記第1中継装置から取得し、
     取得した前記IPアドレスと前記ポートの識別情報とを、対応付けて記憶装置に記憶させる、
    情報処理方法。
  11.  端末にIPアドレスを設定するサーバから前記端末に送信されるパケットが前記サーバと接続する第2中継装置にて複製された複製パケットを受信する処理と、
     前記複製パケットに基づいて、前記IPアドレスと、前記端末のMACアドレスとを特定する処理と、
     前記特定した前記端末のMACアドレスに基づいて、前記端末が接続する第1中継装置のポートの識別情報を、前記第1中継装置から取得する処理と、
     取得した前記IPアドレスと前記ポートの識別情報とを、対応付けて記憶装置に記憶させる処理と、
    を情報処理装置に実行させるプログラムが格納された非一時的なコンピュータ可読媒体。
PCT/JP2021/025629 2021-07-07 2021-07-07 情報処理装置、情報処理システム、情報処理方法、及びコンピュータ可読媒体 WO2023281661A1 (ja)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/JP2021/025629 WO2023281661A1 (ja) 2021-07-07 2021-07-07 情報処理装置、情報処理システム、情報処理方法、及びコンピュータ可読媒体

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2021/025629 WO2023281661A1 (ja) 2021-07-07 2021-07-07 情報処理装置、情報処理システム、情報処理方法、及びコンピュータ可読媒体

Publications (1)

Publication Number Publication Date
WO2023281661A1 true WO2023281661A1 (ja) 2023-01-12

Family

ID=84800483

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2021/025629 WO2023281661A1 (ja) 2021-07-07 2021-07-07 情報処理装置、情報処理システム、情報処理方法、及びコンピュータ可読媒体

Country Status (1)

Country Link
WO (1) WO2023281661A1 (ja)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007166082A (ja) * 2005-12-12 2007-06-28 Hitachi Communication Technologies Ltd パケット転送装置
JP2012080418A (ja) * 2010-10-04 2012-04-19 Alaxala Networks Corp ネットワーク認証における端末接続状態管理
CN105959315A (zh) * 2016-07-06 2016-09-21 锐捷网络股份有限公司 一种用于用户迁移的ip保活方法及客户端

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007166082A (ja) * 2005-12-12 2007-06-28 Hitachi Communication Technologies Ltd パケット転送装置
JP2012080418A (ja) * 2010-10-04 2012-04-19 Alaxala Networks Corp ネットワーク認証における端末接続状態管理
CN105959315A (zh) * 2016-07-06 2016-09-21 锐捷网络股份有限公司 一种用于用户迁移的ip保活方法及客户端

Similar Documents

Publication Publication Date Title
EP2843910A1 (en) Address allocation method, device, and system
US20050226224A1 (en) Method of synchronizing management information between a plurality of managing devices in a home network
US9912633B2 (en) Selective IP address allocation for probes that do not have assigned IP addresses
US9866522B2 (en) Method to control dynamic host configuration protocol pool exhaustion in dynamic network environments
WO2019019018A1 (zh) 智能设备控制方法、控制装置及控制系统
CN101465756B (zh) 使非法dhcp服务自动失效的方法和装置及dhcp服务器
JP2016540448A (ja) 仮想拡張lanの通信方法、装置、及びシステム
US10841271B2 (en) Systems, methods, and media for controlling traffic to Internet of Things devices
US9756148B2 (en) Dynamic host configuration protocol release on behalf of a user
US20040240393A1 (en) Communication system, address management method, relay device, and management device
CN107969026B (zh) 在无线局域网中实现无线投屏的方法和无线控制器ac
EP3657762B1 (en) Network service system and network service method
CN103001868A (zh) 用于虚拟路由器冗余协议备份组同步arp表项的方法和装置
CN105245629A (zh) 基于dhcp的主机通信方法及装置
JP5901586B2 (ja) 中継装置、通信システム、及びノードの設定情報の取得方法
WO2015196755A1 (zh) 一种身份位置分离网络中的地址分配方法及接入服务节点
CN112333733B (zh) 一种网络连接的建立方法及电子设备
WO2023281661A1 (ja) 情報処理装置、情報処理システム、情報処理方法、及びコンピュータ可読媒体
EP4210360A1 (en) Application context migration method and device
US11729140B2 (en) Method and system for managing DHCP servers
CN110096236B (zh) 一种kvm系统u盘远程挂机切换方法
CN112702361A (zh) 基于轻量级分布式协同设备安全阻断方法、装置及设备
CN112511440A (zh) 报文转发方法、系统、存储介质和电子设备
CN116366708B (zh) 网络靶场虚实结合场景中实体设备动态切换系统与方法
JP6564673B2 (ja) 情報処理装置及びプログラム

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE