A method for anonymous processing of IPv6 network addresses

Through high-strength encryption and random rearrangement, the network segment and host fields of the IPv6 network address are processed to generate an anonymous IPv6 network address, which solves the problem that existing technology cannot effectively protect the privacy of IPv6 network measurement data and realizes the privacy of IPv6 network measurement data. Effective anonymity processing and attack defense.

CN115277162BActive Publication Date: 2024-10-01SOUTHEAST UNIV
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202210872768.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-07-21
Publication Date
2024-10-01
Estimated Expiration
2042-07-21

AI Technical Summary

Technical Problem

Existing IPv6 network address anonymization processing methods, such as Crypto-PAn and IPv6 prefix rotation privacy protection technology, cannot effectively protect personal and organizational information in IPv6 network measurement data, and are vulnerable to semantic attacks and active attacks, and cannot satisfy scientific research and Privacy protection needs of production practices.

Method used

Use a high-strength encryption function to encrypt the network segment and host fields of the IPv6 network address, and randomly rearrange the network segment fields to generate an anonymous IPv6 network address. The five-tuple information is encrypted with a randomly generated key to ensure that the network is protected during the anonymization process. Segment and host information are encrypted and irreversible, increasing resistance to plaintext and active attacks.

Benefits of technology

Effectively protect personal and organizational information in IPv6 network measurement data, resist plaintext and active attacks, meet the anonymous data release needs of scientific research and production practice, and provide valuable network session and traffic statistics.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115277162B_ABST
    Figure CN115277162B_ABST
Patent Text Reader

Abstract

The present invention discloses an anonymous processing method for an IPv6 network address. The method first sets parameters, including randomly generating a key required for encryption and initializing a list for temporarily storing address type, allocation area, and network segment information; then reads original IPv6 network measurement data, encrypts and randomly rearranges to generate an anonymous network segment; finally reads original IPv6 network measurement data, encrypts a five-tuple and generates an anonymous IPv6 network address in combination with the anonymized network segment obtained in step (2), wherein the five-tuple includes an in-network address, an out-network address, an in-network port, an out-network port, and a protocol. The present invention ensures that personal and organizational information is not leaked while retaining IPv6 network session information and traffic statistics information, and can effectively respond to plaintext attacks and active attacks.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to an anonymous processing method for an IPv6 network address, belonging to the technical field of computer networks. Background Art

[0002] Network measurement data, including network messages, flows, topology, etc., are helpful for various scientific research and production practice activities related to computer networks, such as network architecture research, network behavior research, network security research and practice, network management research and practice, etc. Collecting network measurement data requires a specific network environment and a lot of work; publishing network measurement data must solve difficult problems such as privacy protection. With the widespread application of the Internet around the world, countries (regions) have formulated and gradually improved laws and regulations related to privacy protection, among which there are clear requirements for the public release of network measurement data. With reference to the relevant laws and regulations of the European Union and China, it is clearly stated that privacy protection is a necessary condition for the use of data (including network measurement data). The published data cannot contain communication content and cannot leak personal and organizational information. At the same time, the research of privacy protection technologies such as anonymization is encouraged. Anonymization has become a prerequisite for the release of network measurement data. The IP network address that can be used to identify users in network measurement data is the focus of anonymization.

[0003] In recent years, IPv6 networks have developed rapidly, and a large number of network applications have migrated to IPv6 networks. Related scientific research and production practices are in urgent need of IPv6 network measurement data. At present, only a few research institutions at home and abroad have publicly released IPv6 network measurement data, such as CAIDA, WIDE, ISI, Tsinghua University, and Southeast University. Before releasing the data, they all used a method similar to Crypto-PAn to anonymize IPv6 network addresses. However, the address space of IPv6 networks is very different from that of IPv4 networks. Specifically, the following are the differences: 1. The information entropy of each bit of IPv6 network addresses is smaller than that of IPv4 addresses, which reduces the security of Crypto-PAn in dealing with semantic attacks; 2. The randomness of IPv6 network address segments is smaller than that of IPv4 addresses, making Crypto-PAn more vulnerable to active attacks; 3. The existence of EUI-64 tags that can be used to track users makes the IPv6 prefix rotation privacy protection technology invalid. Therefore, traditional anonymization methods such as Crypto-PAn for IPv4 addresses and IPv6 prefix rotation privacy protection technology cannot effectively solve the privacy protection problem of anonymously publishing IPv6 network measurement data.

[0004] We attempt to solve the above problem, that is, to design an IPv6 network address anonymization method for publishing IPv6 network measurement data that can effectively protect personal and organizational information while meeting the needs of scientific research and production practice. Summary of the invention

[0005] The present invention proposes an anonymous processing method for IPv6 network addresses. The present invention can effectively protect personal and organizational information, meet the needs of scientific research and production practice, and can be used to anonymously publish IPv6 network measurement data.

[0006] The present invention adopts the following technical solution:

[0007] A method for anonymizing an IPv6 network address, characterized in that it comprises the following steps:

[0008] Step (1) setting parameters, including randomly generating the encryption key and initializing a list for temporarily storing address type, allocation area, and network segment information;

[0009] Step (2) reading the original IPv6 network measurement data, encrypting and randomly rearranging the data to generate anonymized network segments;

[0010] Step (3) reads the original IPv6 network measurement data, encrypts the five-tuple (on-net address, off-net address, on-net port, off-net port, protocol) and generates an anonymized IPv6 network address in combination with the anonymized network segment obtained in step (2).

[0011] Step (1) is as follows:

[0012] (1.1) randomly generate the keys ikn1 and ikn2 required for encrypting the intranet segment, the keys ekn1 and ekn2 required for encrypting the extranet segment, the keys ikh1 and ikh2 required for encrypting the intranet address, and the keys ekh1 and ekh2 required for encrypting the extranet address in step (2);

[0013] (1.2) Initialize the lists IG and EG that temporarily store the types and allocation areas of 16-bit long addresses within and outside the network;

[0014] (1.3) Initialize the lists ISG and ESG that temporarily store the randomly rearranged 16-bit long address types and areas within and outside the network;

[0015] (1.4) Initialize the lists IN and EN that temporarily store the mapping relationship between the 64-bit length to the 64-bit length encrypted network segments inside and outside the network;

[0016] (1.5) Initialize the lists IGN and EGN for temporarily storing the 64-bit encrypted segments inside and outside the network;

[0017] (1.6) Initialize the temporary storage of the randomly rearranged 64-bit long encrypted network segment lists ISGN and ESGN for intra-network and extra-network.

[0018] Furthermore, the step (2) specifically includes the following sub-steps:

[0019] (2.1) Read the original IPv6 network measurement data, and extract the 128-bit IPv6 network addresses iaddr and eaddr inside and outside the network according to the measurement point attributes;

[0020] (2.2) Extract the high 16 bits of the iaddr obtained in (2.1) and add it to the IG obtained in (1.2);

[0021] (2.3) Extract the high 16 bits of the eaddr obtained in (2.1) and add it to the EG obtained in (1.2);

[0022] (2.4) Extract the high 64 bits of the iaddr obtained in (2.1), encrypt them with ikn1 and ikn2 obtained in (1.1) respectively, generate 64-bit long fields in1 and in2, and add the mapping relationship from in1 to in2 to IN obtained in (1.4);

[0023] (2.5) extract the high 64 bits of the eaddr obtained in (2.1), encrypt them with ekn1 and ekn2 obtained in (1.1) respectively, generate 64-bit long fields en1 and en2, and add the mapping relationship from en1 to en2 to EN obtained in (1.4);

[0024] (2.6) Randomly rearrange the IG saved in (2.2) and store the result in the ISG obtained in (1.3);

[0025] (2.7) Randomly rearrange the EG saved in (2.2) and store the result in the ESG obtained in (1.3);

[0026] (2.8) Read the 64-bit to 64-bit mapping relationship in1 to in2 in IN saved in (2.4), perform a modulo operation on in2 and the list length of ISG saved in (2.6) to obtain the result im, extract the im-th (index starts from 0) 16-bit element of ISG, shift it left 48 bits, add the lower 48 bits of in1, and store the result in IGN obtained in (1.5);

[0027] (2.9) Read the 64-bit to 64-bit mapping relationship en1 to en2 in EN saved in (2.5), perform a modulo operation on en2 and the list length of ESG saved in (2.7) to obtain the result em, extract the emth (index starts from 0) 16-bit element of ESG, shift it left 48 bits, add the lower 48 bits of en1, and store the result in EGN obtained in (1.5);

[0028] (2.10) Randomly rearrange the IGN saved in (2.8) and store the result in the ISGN obtained in (1.6);

[0029] (2.11) Randomly rearrange the EGN saved in (2.9) and store the result in the ESGN obtained in (1.6).

[0030] Furthermore, the step (3) specifically includes the following sub-steps:

[0031] (3.1) Read the original IPv6 network measurement data, and extract the 128-bit long IPv6 network address iaddr, the 128-bit long IPv6 network address eaddr, the 16-bit long network port iport, the 16-bit long network port eport, and the 8-bit long protocol number p according to the measurement point attributes;

[0032] (3.2) Use ikh1 and ikh2 obtained in (1.1) to encrypt the quintuple (iaddr, eaddr, iport, eport, p) to obtain 64-bit results ih1 and ih2 respectively;

[0033] (3.3) Encrypt the five-tuple (eaddr, iaddr, eport, iport, p) using ekh1 and ekh2 obtained in (1.1) to obtain 64-bit results eh1 and eh2 respectively;

[0034] (3.4) Perform a modulo operation on ih2 obtained in (3.2) and the length of the ISGN list saved in (2.10) to obtain the result ihm, extract the ihmth (index starts from 0) 64-bit element of ISGN, shift it left 64 bits, and add it to ih1 obtained in (3.2) to obtain the 128-bit anonymized intra-network IPv6 network address aiaddr;

[0035] (3.5) Perform a modulo operation on eh2 obtained in (3.3) and the length of the ESGN list saved in (2.11) to obtain the result ehm, extract the ehm-th (index starts from 0) 64-bit element of ESGN, shift it left by 64 bits, and add it to eh1 obtained in (3.2) to obtain the 128-bit anonymized off-network IPv6 network address aeaddr;

[0036] (3.6) Replace the IPv6 network address iaddr inside the network and the IPv6 network address eaddr outside the network in the original IPv6 network measurement data with the aiaddr obtained in (3.4) and the aeaddr obtained in (3.5), thereby completing the anonymization of the IPv6 network address.

[0037] The encryption strength of the encryption function used in the above steps (2.4), (2.5), (3.2), and (3.3) must not be weaker than AES using a 256-bit key and must meet the requirements of a collision-free hash function.

[0038] Compared with the prior art, the present invention has the following advantages and beneficial effects:

[0039] (1) The present invention uses a high-strength encryption function to encrypt the network segment field and host field in the IPv6 network address, and randomly rearranges the network segment field. The randomly generated keys used in the anonymous processing process are not saved, ensuring that the network segment and host information in the original IPv6 network measurement data are encrypted and irreversible;

[0040] (2) The anonymization process of the present invention retains the network session information and traffic statistics in the original IPv6 network measurement data, providing valuable information for network architecture research, network behavior research, network management research and practice, etc.;

[0041] (3) The present invention can deal with plaintext attacks and active attacks, and effectively protect personal and organizational information in the original IPv6 network measurement data. In the present invention, plaintext attacks refer to attackers using the network behavior characteristics of several IPv6 network application servers to obtain the IPv6 network addresses of IPv6 network application servers before and after anonymization, and finally crack the key. The present invention uses a high-intensity encryption function to encrypt the network segment field and host field in the IPv6 network address, and has the ability to deal with plaintext attacks; in the present invention, active attacks refer to attackers pre-constructing IPv6 network traffic, identifying related anonymous IPv6 network addresses according to traffic characteristics, and then finding more IPv6 network address anonymization relationships before and after, and finally identifying user information. The present invention uses five-tuple information to encrypt the network address and the network address separately, forcing the attacker to consider the factors of protocol and port when constructing traffic, increasing the number of protocols and ports covered by the constructed traffic, so that the constructed traffic is easy to identify and filter. In addition, the present invention randomly rearranges the network segments, and the relationship between adjacent addresses in the original IPv6 network measurement data after anonymization is difficult to guess, avoiding the attacker using active attack traffic to find adjacent addresses. Therefore, the present invention has the ability to deal with active attacks. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] Figure 1 The flowchart of the method for anonymizing an IPv6 network address provided by an embodiment of the present invention is schematically shown;

[0043] Figure 2 The data flow diagram of the IPv6 network address anonymization processing method provided by an embodiment of the present invention is schematically shown. DETAILED DESCRIPTION

[0044] The technical solution provided by the present invention will be described in detail below in conjunction with specific embodiments. It should be understood that the following specific implementation methods are only used to illustrate the present invention and are not used to limit the scope of the present invention.

[0045] The present invention provides an anonymous processing method for IPv6 network addresses, the overall architecture of which is as follows: Figure 1 As shown, in order to illustrate how the present invention anonymously processes IPv6 network addresses and make the objectives, technical solutions and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with specific embodiments and with reference to the accompanying drawings.

[0046] Figure 1 The flowchart of the method for anonymizing an IPv6 network address provided by an embodiment of the present invention is schematically shown. Figure 2 The data flow diagram of the IPv6 network address anonymization processing method provided by the embodiment of the present invention is schematically shown. Figure 1 and Figure 2 The embodiment of the present invention provides an anonymization method for an IPv6 network address, comprising:

[0047] There is 10 minutes of raw IPv6 network measurement data that needs to be anonymized. The measurement point is located at the network exit boundary of a certain network operator, including IPv6 network uplink and downlink traffic, a total of 366,124,638 IPv6 network packets, and collects up to the first 100 bytes of packet header data of each IPv6 network packet.

[0048] Step (1) sets parameters, including randomly generating the encryption key and initializing a list for temporarily storing address type, allocation area, and network segment information. The specific implementation content is as follows:

[0049] (1.1) Randomly generate the keys ikn1 and ikn2 required for encrypting the intranet segment, ekn1 and ekn2 required for encrypting the extranet segment, ikh1 and ikh2 required for encrypting the intranet address, and ekh1 and ekh2 required for encrypting the extranet address in step (2). In the process of randomly generating keys, mt19937_64 is used as the random number generator, and the random seed comes from the server hardware device. The key length is related to the encryption function used in (2.4), (2.5), (3.2), and (3.3). Taking AES as an example, a 256-bit key is randomly generated. The randomly generated key is not saved after the anonymization process is completed.

[0050] (1.2) Initialize the lists IG and EG that temporarily store the 16-bit long address types and allocation areas within and outside the network. The initial lengths of IG and EG are 0;

[0051] (1.3) Initialize the lists ISG and ESG that temporarily store the randomly rearranged 16-bit long address types and areas within and outside the network. The initial length of ISG and ESG is 0;

[0052] (1.4) Initialize the lists IN and EN that temporarily store the mapping relationship between the 64-bit length of the network and the 64-bit length of the encrypted network segments outside the network. The initial length of IN and EN is 0;

[0053] (1.5) Initialize the lists IGN and EGN for temporarily storing the 64-bit encrypted segments inside and outside the network. The initial lengths of IGN and EGN are 0;

[0054] (1.6) Initialize the lists ISGN and ESGN of the temporarily stored randomly rearranged 64-bit encrypted segments inside and outside the network. The initial length of ISGN and ESGN is 0.

[0055] Step (2) reads the original IPv6 network measurement data, encrypts it, and randomly rearranges it to generate anonymized network segments. The specific implementation content is as follows:

[0056] (2.1) Read 10 minutes of raw IPv6 network measurement data, and extract the 128-bit IPv6 network addresses iaddr and eaddr inside and outside the network according to the measurement point attributes. Because the measurement point is at the network exit boundary, the upstream traffic source address and the downstream traffic sink address belong to the network address, and the upstream traffic sink address and the downstream traffic source address belong to the network address; if the measurement point is not at the network exit boundary or comes from multiple different locations, it is determined whether it is an internal or external address based on the IPv6 network address attribution information.

[0057] (2.2) Extract the high 16 bits of the iaddr obtained in (2.1) and add them to the IG obtained in (1.2). The final IG length is 6.

[0058] (2.3) Extract the high 16 bits of the eaddr obtained in (2.1) and add it to the EG obtained in (1.2). The final EG length is 69.

[0059] (2.4) Extract the high 64 bits of the iaddr obtained in (2.1), encrypt them with ikn1 and ikn2 obtained in (1.1), use the encryption function of AES in ECB mode, generate 64-bit long fields in1 and in2, add the mapping relationship from in1 to in2 to IN obtained in (1.4), and finally the length of IN is equal to 3720;

[0060] (2.5) Extract the high 64 bits of the eaddr obtained in (2.1), encrypt them with ekn1 and ekn2 obtained in (1.1), use the encryption function of AES in ECB mode, generate 64-bit long fields en1 and en2, add the mapping relationship from en1 to en2 to EN obtained in (1.4), and finally the length of EN is equal to 126404;

[0061] (2.6) Randomly rearrange the IG saved in (2.2) and store the result in the ISG obtained in (1.3). The final ISG length is 6. During the random rearrangement process, mt19937 is used as the random number generator, and the random seed comes from the server hardware device;

[0062] (2.7) Randomly rearrange the EG saved in (2.2) and store the result in the ESG obtained in (1.3). The final ESG length is equal to 69. During the random rearrangement process, mt19937 is used as the random number generator, and the random seed comes from the server hardware device;

[0063] (2.8) Read the 64-bit to 64-bit mapping relationship in1 to in2 in IN saved in (2.4), perform a modulo operation on in2 and the list length 6 of ISG saved in (2.6) to obtain the result im, extract the im-th (index starts from 0) 16-bit element of ISG, shift it left 48 bits, and add the lower 48 bits of in1, and store the result in IGN obtained in (1.5). The final IGN length is equal to 3720;

[0064] (2.9) Read the 64-bit to 64-bit mapping relationship en1 to en2 in EN saved in (2.5), perform a modulo operation on en2 and the list length 69 of ESG saved in (2.7) to obtain the result em, extract the emth (index starts from 0) 16-bit element of ESG, shift it left 48 bits, and add the lower 48 bits of en1, and store the result in EGN obtained in (1.5). The final EGN length is equal to 126404;

[0065] (2.10) Randomly rearrange the IGN saved in (2.8) and store the result in the ISGN obtained in (1.6). The final ISGN length is equal to 3720. During the random rearrangement process, mt19937_64 is used as the random number generator, and the random seed comes from the server hardware device;

[0066] (2.11) Randomly rearrange the EGN saved in (2.9) and store the result in the ESGN obtained in (1.6). The final ESGN length is equal to 126404. During the random rearrangement process, mt19937_64 is used as the random number generator, and the random seed comes from the server hardware device.

[0067] Step (3) reads the original IPv6 network measurement data, encrypts the five-tuple (on-net address, off-net address, on-net port, off-net port, protocol) and generates an anonymous IPv6 network address in combination with the anonymized network segment obtained in step (2). The specific implementation content is as follows:

[0068] (3.1) Read 10 minutes of raw IPv6 network measurement data, and extract the 128-bit long intranet IPv6 network address iaddr, the 128-bit long extranet IPv6 network address eaddr, the 16-bit long intranet port iport, the 16-bit long extranet port eport, and the 8-bit long protocol number p according to the measurement point attributes. The protocol number p is assigned by the nextheader field in the IPv6 network message header, and the extended header is ignored. If p is equal to 6 (TCP protocol) or 17 (UDP protocol), iport and eport take the port value of the relevant protocol, otherwise, iport and eport take the value of 0. The method for determining the intranet address and extranet address is the same as (2.1). The intranet port and extranet port are associated with the intranet address and extranet address respectively;

[0069] (3.2) Use ikh1 and ikh2 obtained in (1.1) to encrypt the quintuple (iaddr, eaddr, iport, eport, p), the encryption function is AES in ECB mode, and obtain 64-bit results ih1 and ih2 respectively;

[0070] (3.3) Use ekh1 and ekh2 obtained in (1.1) to encrypt the quintuple (eaddr, iaddr, eport, iport, p), the encryption function is AES in ECB mode, and obtain 64-bit results eh1 and eh2 respectively;

[0071] (3.4) Perform a modulo operation on ih2 obtained in (3.2) and the length of the ISGN list 3720 saved in (2.10) to obtain the result ihm, extract the ihmth (index starts from 0) 64-bit element of ISGN, shift it left 64 bits, and add it to ih1 obtained in (3.2) to obtain the 128-bit anonymized intra-network IPv6 network address aiaddr;

[0072] (3.5) Perform a modulo operation on eh2 obtained in (3.3) and the list length 126404 of ESGN saved in (2.11) to obtain the result ehm, extract the ehm-th (index starts from 0) 64-bit element of ESGN, shift it left by 64 bits, and add it to eh1 obtained in (3.2) to obtain the 128-bit anonymized off-network IPv6 network address aeaddr;

[0073] (3.6) Replace the IPv6 network address iaddr and the IPv6 network address eaddr in the original IPv6 network measurement data with the aiaddr obtained in (3.4) and the aeaddr obtained in (3.5), and clear other contents in the IPv6 network message that may involve user privacy, thus completing the anonymization of 366,124,638 IPv6 network messages.

[0074] The numerical values ​​in each step of the embodiment of the present invention are all represented and stored in network byte order.

Claims

1. A method for anonymously processing an IPv6 network address, characterized in that: The steps include: Step (1) setting parameters, including randomly generating the encryption key and initializing a list for temporarily storing address type, allocation area, and network segment information; Step (1) is as follows: (1.1) randomly generate the keys ikn1 and ikn2 required for encrypting the intranet segment, the keys ekn1 and ekn2 required for encrypting the extranet segment, the keys ikh1 and ikh2 required for encrypting the intranet address, and the keys ekh1 and ekh2 required for encrypting the extranet address in step (2); (1.2) Initialize the lists IG and EG that temporarily store the types and allocation areas of 16-bit long addresses within and outside the network; (1.3) Initialize the lists ISG and ESG that temporarily store the randomly rearranged 16-bit long address types and areas within and outside the network; (1.4) Initialize the lists IN and EN that temporarily store the mapping relationship between the 64-bit length to the 64-bit length encrypted network segments inside and outside the network; (1.5) Initialize the lists IGN and EGN for temporarily storing the 64-bit encrypted segments inside and outside the network; (1.6) Initialize the lists ISGN and ESGN for temporarily storing the randomly rearranged 64-bit encrypted network segments inside and outside the network; Step (2) reading the original IPv6 network measurement data, encrypting and randomly rearranging the data to generate anonymized network segments; Step (2) is as follows: (2.1) Read the original IPv6 network measurement data, and extract the 128-bit IPv6 network addresses iaddr and eaddr inside and outside the network according to the measurement point attributes; (2.2) Extract the high 16 bits of the iaddr obtained in (2.1) and add it to the IG obtained in (1.2); (2.3) Extract the high 16 bits of the eaddr obtained in (2.1) and add it to the EG obtained in (1.2); (2.4) Extract the high 64 bits of the iaddr obtained in (2.1), encrypt them with ikn1 and ikn2 obtained in (1.1) respectively, generate 64-bit long fields in1 and in2, and add the mapping relationship from in1 to in2 to IN obtained in (1.4); (2.5) extract the high 64 bits of the eaddr obtained in (2.1), encrypt them with ekn1 and ekn2 obtained in (1.1) respectively, generate 64-bit long fields en1 and en2, and add the mapping relationship from en1 to en2 to EN obtained in (1.4); (2.6) Randomly rearrange the IG saved in (2.2) and store the result in the ISG obtained in (1.3); (2.7) Randomly rearrange the EG saved in (2.2) and store the result in the ESG obtained in (1.3); (2.8) Read the 64-bit to 64-bit mapping relationship in1 to in2 in IN saved in (2.4), perform a modulo operation on in2 and the list length of ISG saved in (2.6) to obtain the result im, indexing from 0, extract the im-th 16-bit element of ISG, shift left 48 bits, add the lower 48 bits of in1, and store the result in IGN obtained in (1.5); (2.9) Read the 64-bit to 64-bit mapping relationship en1 to en2 in EN saved in (2.5), perform a modulo operation on en2 and the list length of ESG saved in (2.7) to obtain the result em, start the index at 0, extract the emth 16-bit element of ESG, shift it 48 bits to the left, add the lower 48 bits of en1, and store the result in EGN obtained in (1.5); (2.10) Randomly rearrange the IGN saved in (2.8) and store the result in the ISGN obtained in (1.6); (2.11) Randomly rearrange the EGN saved in (2.9) and store the result in the ESGN obtained in (1.6); Step (3) reading the original IPv6 network measurement data, encrypting the quintuple and generating an anonymous IPv6 network address in combination with the anonymized network segment obtained in step (2), wherein the quintuple includes an in-network address, an out-network address, an in-network port, an out-network port, and a protocol; Step (3) is as follows: (3.1) Read the original IPv6 network measurement data, and extract the 128-bit long IPv6 network address iaddr, the 128-bit long IPv6 network address eaddr, the 16-bit long network port iport, the 16-bit long network port eport, and the 8-bit long protocol number p according to the measurement point attributes; (3.2) Encrypt the quintuple using ikh1 and ikh2 obtained in (1.1) to obtain 64-bit results ih1 and ih2 respectively; (3.3) Encrypt the quintuple using ekh1 and ekh2 obtained in (1.1) to obtain 64-bit results eh1 and eh2 respectively; (3.4) Perform a modulo operation on ih2 obtained in (3.2) and the length of the ISGN list saved in (2.10) to obtain the result ihm. The index starts from 0, extracts the ihmth 64-bit element of ISGN, shifts it left by 64 bits, and adds the ih1 obtained in (3.2) to obtain the 128-bit anonymized intra-network IPv6 network address aiaddr; (3.5) Perform a modulo operation on eh2 obtained in (3.3) and the length of the list of ESGN saved in (2.11) to obtain the result ehm, with the index starting from 0, extract the 64-bit element of ESGN, shift it left by 64 bits, and add it to eh1 obtained in (3.2) to obtain the 128-bit anonymized off-network IPv6 network address aeaddr; (3.6) Replace the IPv6 network address iaddr inside the network and the IPv6 network address eaddr outside the network in the original IPv6 network measurement data with the aiaddr obtained in (3.4) and the aeaddr obtained in (3.5), thereby completing the anonymization of the IPv6 network address.

Citation Information

Patent Citations

  • Downlink data packet transmission method under AP (Access Point) networking scene and RNC (Radio Network Controller)

    CN103312449A

  • Method for online anonymization of IP network streaming data

    CN105721627A

  • Internet of vehicles pseudonym management method based on homomorphic encryption mechanism

    CN114599028A

  • Anonymization method for IP address in IP based network and packet routing method using anonymized IP address in IP based network

    KR1020170079086A

  • Applications and integrated firewall design in an adaptive private network (APN)

    US20180041470A1