Discrimination device, discrimination method, and discrimination program

The discrimination device addresses the challenge of analyzing dual-stack traffic by associating IPv6 and IPv4 communications through IP address and domain name databases, allowing for accurate traffic analysis in dual-stack environments.

JP7586334B2Active Publication Date: 2024-11-19NIPPON TELEGRAPH & TELEPHONE CORP
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
JP2023546605
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2021-09-07
Publication Date
2024-11-19
Estimated Expiration
2041-09-07

AI Technical Summary

Technical Problem

Conventional methods struggle to analyze traffic in dual-stack environments on an application/service basis due to the difficulty in matching name resolution results from IPv6 communications with actual IPv4 communications, making it impossible to determine domain names and perform accurate analysis.

Method used

A discrimination device that collects and associates IP addresses and domain names using both IPv6 and IPv4 communications by storing name resolution information and inner-outer associations in databases, enabling the determination of domain names for actual communication packets.

Benefits of technology

Enables analysis of traffic in dual-stack environments on an application/service basis by determining domain names for both IPv6 and IPv4 communications, facilitating accurate traffic analysis.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007586334000001
    Figure 0007586334000001
  • Figure 0007586334000002
    Figure 0007586334000002
  • Figure 0007586334000003
    Figure 0007586334000003
Patent Text Reader

Abstract

By using a name resolution packet between a user terminal and a DNS server, a first collection unit (15a) causes a storage unit (14) to store, in a name resolution information collection DB (14a), the correspondence among an IP address of the user terminal, a domain name thereof, and an IP address of a communication destination server corresponding to the domain name. By using outer header information of a capsule of an encapsulated packet between the user terminal and the communication destination server, and inner header information of the capsule, a second collection unit (15b) causes the storage unit (14) to store, in an Inner-Outer association DB (14b), the correspondence among an outer IP address of the capsule of the user terminal, an inner IP address of the capsule, and an IP address of the communication destination server 3.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a discrimination device, a discrimination method, and a discrimination program. [Background technology]

[0002] Conventionally, traffic transferred on a network is analyzed by collecting name resolution packets such as DNS queries and responses to identify the domain name of the traffic's destination. Here, to identify the traffic's application / service, the address information of the user terminal, the address information of the destination server, and the destination domain name are required.

[0003] Furthermore, in recent years, in a dual stack environment that is compatible with both IPv4 and IPv6 communications within a user's home, name resolution is often performed using IPv6 communications. [Prior art documents] [Non-patent literature]

[0004] [Non-Patent Document 1] “Genie Analytics Deep Trace”, [online], Genie, [Retrieved July 27, 2021], Internet<URL:https: / / www.genie-networks.com / genieanalytics-deep-trace / > [Non-Patent Document 2] “Arbor Sightline”, [online], NETSCOUT, [Retrieved July 27, 2021], Internet<URL:https: / / www.netscout.com / product / arbor-sightline> [Non-Patent Document 3] “InfiniStreamNG Smart Visibility”, [online], NETSCOUT, [Retrieved July 27, 2021], Internet<URL:https: / / www.netscout.com / product / isng-platform> [Non-Patent Document 4] “Deepfield”, [online], NOKIA, [Retrieved July 27, 2021], Internet<URL:https: / / www.nokia.com / networks / solutions / deepfield / > [Non-Patent Document 5] “Mapping of Address and Port with Encapsulation (MAP-E)”, [online], rfc7597, [retrieved July 27, 2021], Internet<URL:https: / / www.rfc-editor.org / rfc / rfc7597.html> [Non-Patent Document 6] “Dual-Stack Lite Broadband Deployments Following IPv4 Exhaustion”, [online], rfc6333, [Retrieved July 27, 2021], Internet<URL:https: / / www.rfc-editor.org / rfc / rfc6333.html> Summary of the Invention [Problem to be solved by the invention]

[0005] However, with conventional technology, it was difficult to analyze traffic in a dual-stack environment on an application / service basis. In other words, it was difficult to match the results of name resolution in IPv6 communication with the actual communication in IPv4 communication, so it was not possible to identify domain names, making analysis on an application / service basis difficult. For example, when name resolution is performed using an IPv6 IP address in a dual-stack environment, the ISP side, where the IPv6 header is decapsulated, cannot obtain the address information of the user terminal, the address information of the destination server, and the information of the destination domain name pair, so it is not possible to identify the application / service.

[0006] The present invention has been made in view of the above, and has an object to analyze traffic in a dual stack environment on an application / service basis. [Means for solving the problem]

[0007] In order to solve the above-mentioned problems and achieve the object, the discrimination device of the present invention is characterized in having a first collection unit that uses a name resolution packet between a user terminal and a DNS (Domain Name System) server to store in a memory unit a correspondence between the IP address of the user terminal, a domain name, and the IP address of a destination server corresponding to the domain name, and a second collection unit that uses header information outside the capsule and header information inside the capsule of an encapsulated packet between the user terminal and the destination server to store in the memory unit a correspondence between the IP address outside the capsule of the user terminal, the IP address inside the capsule, and the IP address of the destination server. Effect of the Invention

[0008] According to the present invention, it becomes possible to analyze traffic in a dual stack environment for each application / service. [Brief description of the drawings]

[0009] [Figure 1] FIG. 1 is a diagram for explaining an outline of the discrimination device. [Diagram 2] FIG. 2 is a diagram for explaining an outline of the discrimination device. [Diagram 3] FIG. 3 is a diagram for explaining an outline of the discrimination device. [Figure 4] FIG. 4 is a schematic diagram illustrating a schematic configuration of the discrimination device. [Diagram 5] FIG. 5 is a flowchart showing the procedure of the determination process. [Figure 6] FIG. 6 is a diagram illustrating a computer that executes the discrimination program. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0010] Hereinafter, an embodiment of the present invention will be described in detail with reference to the drawings. Note that the present invention is not limited to this embodiment. In addition, in the description of the drawings, the same parts are indicated by the same reference numerals.

[0011] [Outline of the discrimination device] First, an overview of the discrimination device of this embodiment will be described with reference to Fig. 1 to Fig. 3. Fig. 1 to Fig. 3 are diagrams for explaining the overview of the discrimination device. As shown in Fig. 1, in the past, when communicating on the Internet, name resolution was performed by DNS (Domain Name System) before the actual communication of the service itself. Specifically, to identify the application / service of the traffic, address information of the user terminal, address information of the communication destination server, and information of a set of the communication destination domain name are required.

[0012] In the example shown in Fig. 1, user terminal 1 with IP address: A sends a DNS query to DNS server 2 with IP address: B, and receives a DNS response notifying that the domain name "www.example.com" is IP address: C. This name resolution packet (DNS query / DNS response) is then collected, and a name resolution information collection DB is constructed that associates user terminal 1 with IP address: A and the domain name "www.example.com" of destination server 3 with IP address: C. It is also possible to identify the payload of the actual communication between IP address: A and IP address: C as a packet of an application / service of the domain name "www.example.com", collect it, and analyze it.

[0013] On the other hand, in a dual-stack environment that can handle both IPv4 and IPv6 communications, if the protocol of the name resolution packet does not match that of the actual communication, it is not possible to determine the domain name of the destination of the actual communication, as shown in Figure 2. For example, in a dual-stack environment, when name resolution is performed using an IPv6 IP address, the ISP side, where the IPv6 header is decapsulated, is unable to obtain the set of address information of the user terminal, address information of the destination server, and information on the destination domain name, and is therefore unable to identify the application / service.

[0014] In the example shown in FIG. 2, the name resolution packet is sent by IPv6 communication, and the actual communication is performed by IPv4 communication. That is, the user terminal 1 with IPv6 IP address: A6 sends a DNS query to the DNS server 2 with IPv6 IP address: B6, and receives a DNS response notifying that the domain name "www.example.com" is the IPv4 IP address: C4. A name resolution information collection DB is constructed that associates the IPv6 IP address: A6 with the domain name "www.example.com" of the communication destination server 3 with IPv4 IP address: C4. The user terminal 1 is performing actual communication with the IPv4 IP address: C4 from the IPv4 IP address: A4. Therefore, the information in the name resolution information collection DB cannot determine the domain name of the actual communication between the IPv4 IP address: A4 and the IPv4 IP address: C4.

[0015] Therefore, as shown in Figure 3, the discrimination device of this embodiment collects header information inside and outside the capsule within the access network, thereby obtaining information on a set of address information of the user terminal, address information of the destination server, and destination domain name, thereby making it possible to identify the application / service.

[0016] Specifically, in the discrimination device, the source IPv6 address and the name resolution content are stored in the name resolution information collection DB 14a using the name resolution packet, as in Fig. 2. In addition, for the actual communication packet of IPv4 over IPv6, the inner / outer capsule header information of the encapsulated packet in the IPv6 tunnel section is collected and stored in the Inner-Outer linking DB 14b. In the example shown in Fig. 3, the Inner-Outer linking DB 14b is constructed by associating the IPv6 IP address: A6 and the IPv4 IP address: A4 of the user terminal 1 with the IPv4 IP address: C4 of the communication destination server 3.

[0017] Then, by referring to the name resolution information collection DB14a and the Inner-Outer linking DB14b, the discrimination device becomes able to discriminate the domain name "www.example.com" for the actual communication between the IPv4 IP address: A4 inside the capsule and the IPv4 IP address: C4.

[0018] [Configuration of discrimination device] 4 is a schematic diagram illustrating a schematic configuration of the discrimination device 10. As illustrated in FIG. 4, the discrimination device 10 is realized by a general-purpose computer such as a personal computer, and includes a communication control unit 13, a storage unit 14, and a control unit 15.

[0019] The communication control unit 13 is realized by a NIC (Network Interface Card) or the like, and controls communication between an external device such as a server via a network and the control unit 15. For example, the communication control unit 13 controls communication between the control unit 15 and the user terminal 1, the DNS server 2, the communication destination server 3, etc., which are targets of a discrimination process described later.

[0020] The storage unit 14 is realized by a semiconductor memory element such as a RAM (Random Access Memory) or a flash memory, or a storage device such as a hard disk or an optical disk, and stores a name resolution information collection DB 14a and an Inner-Outer linking DB 14b used in the discrimination process described later. The storage unit 14 may be configured to communicate with the control unit 15 via the communication control unit 13.

[0021] 3, the name resolution information collection DB 14a is information that associates the IP address of the user terminal 1, a domain name, and the IP address of the communication destination server 3 corresponding to the domain name. In the example shown in Fig. 3, the IPv6 IP address: A6 of the user terminal 1, the IPv4 IP address: C4 of the communication destination server 3, and the domain name "www.example.com" of the communication destination server 3 are associated with each other.

[0022] 3, the Inner-Outer linking DB 14b is information that associates, among the header information of an encapsulated packet, the outer IP address of the capsule of the user terminal 1, the inner IP address of the capsule, and the IP address of the communication destination server 3. In the example shown in Fig. 3, among the capsule inner / outer header information of an encapsulated packet in the IPv6 tunnel section, the IPv6 IP address: A6 of the user terminal 1, the IPv4 IP address: A4, and the IPv4 IP address: C4 of the communication destination server 3 are associated.

[0023] The control unit 15 is realized using a CPU (Central Processing Unit), an NP (Network Processor), an FPGA (Field Programmable Gate Array), etc., and executes a processing program stored in a memory. As a result, the control unit 15 functions as a first collection unit 15a, a second collection unit 15b, and a discrimination unit 15c, as exemplified in FIG. 4. These functional units may be implemented in different hardware. For example, the discrimination unit 15c may be implemented in hardware different from the first collection unit 15a and the second collection unit 15b. The control unit 15 may also include other functional units. The discrimination device 10 may also be implemented in the user terminal 1.

[0024] The first collection unit 15a uses a name resolution packet between the user terminal 1 and the DNS server 2 to store in the memory unit 14 the correspondence between the IP address of the user terminal 1, a domain name, and the IP address of the communication destination server 3 corresponding to the domain name.

[0025] Specifically, the first collector 15a collects DNS queries and DNS responses as name resolution packets between the user terminal 1 and the DNS server 2. Then, as shown in FIG. 3, the first collector 15a associates the IP address of the user terminal 1, the domain name, and the IP address of the communication destination server 3 corresponding to the domain name, and stores them in the name resolution information collection DB 14a.

[0026] The second collection unit 15b uses the header information outside the capsule and the header information inside the capsule of the encapsulated packet between the user terminal 1 and the communication destination server 3 to store in the memory unit 14 the correspondence between the IP address outside the capsule of the user terminal 1, the IP address inside the capsule, and the IP address of the communication destination server 3.

[0027] Specifically, the second collection unit 15b collects the outer header information of the capsule and the inner header information of the capsule of an encapsulated packet between the user terminal 1 and the communication destination server 3. Then, as shown in Fig. 3, the second collection unit 15b associates the outer IP address of the capsule of the user terminal 1, the inner IP address of the capsule, and the IP address of the communication destination server 3, and stores them in the Inner-Outer linking DB 14b.

[0028] This enables the discrimination device 10 to discriminate the domain name corresponding to the IP address of the packet inside the capsule by referring to the name resolution information collection DB 14a and the Inner-Outer linking DB 14b.

[0029] Here, for example, the DNS server 2 communicates in IPv6, and the communication destination server 3 communicates in IPv4. Therefore, the discrimination device 10 refers to the name resolution information collection DB 14a illustrated in FIG. 3, and obtains the correspondence between the IPv6 IP address: A6 of the user terminal 1, the IPv4 IP address: C4 of the communication destination server 3, and the domain name "www.example.com" of the communication destination server 3. The discrimination device 10 also refers to the Inner-Outer linking DB 14b, and obtains the correspondence between the IPv6 IP address: A6 of the user terminal 1, the IPv4 IP address: A4, and the IPv4 IP address: C4 of the communication destination server 3. This enables the discrimination device 10 to discriminate the domain name of the packet between the IPv4 IP address: A4 inside the capsule and the IPv4 IP address: C4 of the communication destination server 3.

[0030] The determination unit 15c refers to the storage unit 14 and determines the domain name of the packet inside the capsule between the user terminal 1 and the communication destination server 3.

[0031] Specifically, the discrimination unit 15c extracts packets inside a capsule between the user terminal 1 and the communication destination server 3 as traffic to be analyzed. Then, as described above, the discrimination unit 15c discriminates a domain name corresponding to the IP address of the packet inside the capsule by referring to the name resolution information collection DB 14a and the Inner-Outer linking DB 14b. This enables the discrimination device 10 to discriminate the domain name of the actual communication packet for traffic in a dual stack environment and analyze it on an application / service basis.

[0032] [Discrimination process] Next, the discrimination process by the discrimination device 10 according to the present embodiment will be described with reference to Fig. 5. Fig. 5 is a flowchart showing the procedure of the discrimination process. The flowchart in Fig. 5 is started, for example, when an instruction to start the process is issued.

[0033] First, if the collected packet is a DNS packet (Step S1 → Step S2, Yes), the first collection unit 15a associates the IP address of the user terminal 1, a domain name, and the IP address of the communication destination server 3 corresponding to the domain name, and stores them in the name resolution information collection DB 14a (Step S3).

[0034] Furthermore, if the collected packet is an encapsulated packet such as IPv4 over IPv6 (step S2, No → step S4, Yes), the second collection unit 15b associates the outer IP address of the capsule of the user terminal 1, the inner IP address of the capsule, and the IP address of the communication destination server 3, and stores them in the Inner-Outer linking DB 14b (step S5).

[0035] The discrimination unit 15c also extracts packets inside the capsule between the user terminal 1 and the communication destination server 3 as the traffic to be analyzed (step S6).The discrimination unit 15c then determines a domain name corresponding to the IP address of the packet inside the capsule by referring to the name resolution information collection DB 14a and the Inner-Outer linking DB 14b (step S7).

[0036] If the collected packet is not an encapsulated packet such as IPv4 over IPv6 (step S2, No → step S4, No), the determination unit 15c refers to the name resolution information collection DB 14a and determines the domain name of the packet of the actual communication (step S7). This ends a series of determination processes.

[0037] As described above, in the discrimination device 10, the first collection unit 15a uses a name resolution packet between the user terminal 1 and the DNS server 2 to store in the storage unit 14 the association between the IP address of the user terminal 1, a domain name, and the IP address of the communication destination server 3 corresponding to the domain name. In addition, the second collection unit 15b uses the outer header information of the capsule of an encapsulated packet between the user terminal 1 and the communication destination server 3 and stores in the storage unit 14 the association between the outer IP address of the capsule of the user terminal 1, the inner IP address of the capsule, and the IP address of the communication destination server 3.

[0038] This allows the discrimination device 10 to determine the domain name corresponding to the IP address of the packet inside the capsule by referring to the name resolution information collection DB 14a and the Inner-Outer linking DB 14b. Therefore, the discrimination device 10 can determine the domain name of the actual communication packet for the traffic in the dual stack environment and analyze it on an application / service basis.

[0039] Specifically, the DNS server 2 communicates in IPv6, and the communication destination server 3 communicates in IPv4. Therefore, the discrimination device 10 can discriminate the domain name of the packet between the IPv4 IP address inside the capsule and the IPv4 IP address of the communication destination server 3.

[0040] Furthermore, the discrimination unit 15c discriminates the domain name of the packet inside the capsule between the user terminal 1 and the communication destination server 3 by referring to the storage unit 14. This enables the discrimination device 10 to extract the actual communication traffic in the dual stack environment as the analysis target, discriminate the domain name of the actual communication packet, and analyze it on an application / service basis.

[0041] [program] A program in which the process executed by the discrimination device 10 according to the above embodiment is written in a language executable by a computer can also be created. As an embodiment, the discrimination device 10 can be implemented by installing a discrimination program that executes the above discrimination process as package software or online software on a desired computer. For example, the above discrimination program can be executed by an information processing device, so that the information processing device can function as the discrimination device 10. In addition, the information processing device also includes mobile communication terminals such as smartphones, mobile phones, and PHS (Personal Handyphone System), and further slate terminals such as PDA (Personal Digital Assistant). The function of the discrimination device 10 may be implemented in a cloud server.

[0042] 6 is a diagram showing an example of a computer that executes a discrimination program. The computer 1000 includes, for example, a memory 1010, a CPU 1020, a hard disk drive interface 1030, a disk drive interface 1040, a serial port interface 1050, a video adapter 1060, and a network interface 1070. These components are connected by a bus 1080.

[0043] The memory 1010 includes a ROM (Read Only Memory) 1011 and a RAM 1012. The ROM 1011 stores a boot program such as a BIOS (Basic Input Output System). The hard disk drive interface 1030 is connected to a hard disk drive 1031. The disk drive interface 1040 is connected to a disk drive 1041. A removable storage medium such as a magnetic disk or an optical disk is inserted into the disk drive 1041. The serial port interface 1050 is connected to a mouse 1051 and a keyboard 1052, for example. The video adapter 1060 is connected to a display 1061, for example.

[0044] Here, the hard disk drive 1031 stores, for example, an OS 1091, an application program 1092, a program module 1093, and program data 1094. Each piece of information described in the above embodiments is stored in the hard disk drive 1031 or memory 1010, for example.

[0045] The discrimination program is stored in the hard disk drive 1031 as, for example, a program module 1093 in which instructions to be executed by the computer 1000 are written. Specifically, the hard disk drive 1031 stores the program module 1093 in which each process executed by the discrimination device 10 described in the above embodiment is written.

[0046] Data used for information processing by the discrimination program is stored as program data 1094, for example, in the hard disk drive 1031. Then, the CPU 1020 reads out the program module 1093 and the program data 1094 stored in the hard disk drive 1031 into the RAM 1012 as necessary, and executes each of the above-mentioned procedures.

[0047] The program module 1093 and program data 1094 relating to the discrimination program are not limited to being stored in the hard disk drive 1031, and may be stored in, for example, a removable storage medium and read by the CPU 1020 via the disk drive 1041 or the like. Alternatively, the program module 1093 and program data 1094 relating to the discrimination program may be stored in another computer connected via a network such as a LAN (Local Area Network) or a WAN (Wide Area Network), and read by the CPU 1020 via the network interface 1070.

[0048] Although the embodiment to which the invention made by the present inventor is applied has been described above, the present invention is not limited by the description and drawings which form a part of the disclosure of the present invention according to the present embodiment. In other words, other embodiments, examples, operation techniques, etc. made by those skilled in the art based on the present embodiment are all included in the scope of the present invention. [Explanation of symbols]

[0049] 1 User terminal 2. DNS Server 3. Destination server 10 Discrimination device 13 Communication control section 14 Storage section 14a Name resolution information collection DB 14b Inner-Outer Linking DB 15 Control section 15a First collection section 15b Second collection section 15c Discrimination part

Claims

1. a first collection unit that uses a name resolution packet between a user terminal and a DNS (Domain Name System) server to store in a storage unit a correspondence between an IP address of the user terminal, a domain name, and an IP address of a communication destination server corresponding to the domain name; a second collection unit that uses header information on the outside of a capsule and header information on the inside of the capsule of an encapsulated packet between the user terminal and the communication destination server to store in the storage unit a correspondence between an outer IP address of the capsule of the user terminal, an inner IP address of the capsule, and an IP address of the communication destination server; A discrimination device comprising:

2. 2. The apparatus according to claim 1, further comprising a determination unit that determines a domain name of a packet inside a capsule between the user terminal and the communication destination server by referring to the storage unit.

3. 2. The determination device according to claim 1, wherein the DNS server communicates in IPv6 and the communication destination server communicates in IPv4.

4. A discrimination method executed by a discrimination device, a first collection step of storing in a storage unit, by using a name resolution packet between a user terminal and a DNS (Domain Name System) server, a correspondence between an IP address of the user terminal, a domain name, and an IP address of a communication destination server corresponding to the domain name; a second collection step of storing in the storage unit a correspondence between an outer IP address of the user terminal, an inner IP address of the capsule, and an IP address of the communication destination server, using outer header information and inner header information of the capsule of an encapsulated packet between the user terminal and the communication destination server; A method for determining whether a particular

5. a first collection step of storing in a storage unit, by using a name resolution packet between a user terminal and a DNS (Domain Name System) server, a correspondence between an IP address of the user terminal, a domain name, and an IP address of a communication destination server corresponding to the domain name; a second collection step of storing in the storage unit a correspondence between an outer IP address of the user terminal, an inner IP address of the capsule, and an IP address of the communication destination server, using outer header information and inner header information of the capsule of an encapsulated packet between the user terminal and the communication destination server; A discrimination program for causing a computer to execute the above.

Citation Information

Patent Citations

  • Method of accessing private network server on public network client side, and router

    CN103338151A

  • Network connection device

    JP2004104664A

  • Network system and method for performing routing using dynamic address

    JP2006180480A