Patent ID: 9137207
Filing Date: 2015-09-15
Classification: H04L

Abstract:
1. An information processing apparatus which communicates with an external device via a network, comprising: a registering unit configured to register a plurality of IP (Internet Protocol) addresses as IP addresses for which communication should be allowed or prohibited; a receiving unit configured to receive a packet from the external device; an obtaining unit configured to obtain a transmission-source IP address from the received packet; an extracting unit configured to extract a prefix number and an interface ID from the transmission-source IP address; a first identifying unit configured to identify, from among the plurality of IP addresses registered by the registering unit, a first IP address having an interface ID that is the same as the interface ID extracted by the extracting unit; a second identifying unit configured to identify, from among the plurality of IP addresses registered by the registering unit, a second IP address having a prefix number that is the same as a prefix number of the first IP address identified by the first identifying unit; and a changing unit configured to change the prefix number of the first IP address and the second IP address to the prefix number extracted by the extracting unit, wherein at least one of the registering unit, receiving unit, obtaining unit, extracting unit, first identifying unit, second identifying unit and changing unit are implemented by a processor and a memory.