WO2022267977A1 - 信息处理方法、中间解析器、网络设备及存储介质 - Google Patents
信息处理方法、中间解析器、网络设备及存储介质 Download PDFInfo
- Publication number
- WO2022267977A1 WO2022267977A1 PCT/CN2022/099220 CN2022099220W WO2022267977A1 WO 2022267977 A1 WO2022267977 A1 WO 2022267977A1 CN 2022099220 W CN2022099220 W CN 2022099220W WO 2022267977 A1 WO2022267977 A1 WO 2022267977A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- information
- domain name
- name system
- ciphertext
- sensitive
- Prior art date
- Legal status (The legal status 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 status listed.)
- Ceased
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/40—Network security protocols
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/45—Network directories; Name-to-address mapping
- H04L61/4505—Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols
- H04L61/4511—Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols using domain name system [DNS]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/04—Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
- H04L63/0428—Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/06—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols the encryption apparatus using shift registers or memories for block-wise or stream coding, e.g. DES systems or RC4; Hash functions; Pseudorandom sequence generators
- H04L9/0643—Hash functions, e.g. MD5, SHA, HMAC or f9 MAC
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/08—Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
- H04L9/0891—Revocation or update of secret information, e.g. encryption key update or rekeying
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/08—Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
- H04L9/0894—Escrow, recovery or storing of secret information, e.g. secret key escrow or cryptographic key storage
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/32—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
- H04L9/3247—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials involving digital signatures
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/45—Network directories; Name-to-address mapping
- H04L61/4552—Lookup mechanisms between a plurality of directories; Synchronisation of directories, e.g. metadirectories
Definitions
- the present application relates to the technical field of information processing, in particular to an information processing method, an intermediate parser, a network device and a storage medium.
- the Domain Name System is an extremely widely used resolution system for mapping domain names and addresses on the Internet. Users can obtain the real Internet Protocol (Internet Protocol, IP) address of the target server by querying the domain name server, which can help users establish a link with the target server.
- IP Internet Protocol
- the user equipment when the user equipment initiates DNS request information for obtaining the IP address of the domain name field, it will first send the DNS request information to the intermediate resolver.
- the intermediate resolver can include sensitive information such as the location or identity of the user equipment or the near-end service node as additional information in the DNS request information, but this will make the information transmitted in the network DNS request information exposes these sensitive information to security risks.
- the existing DNS security protection needs to encrypt each field in the entire DNS request information. The purpose is to prevent forged feedback messages from intermediate attackers and maintain data integrity. Data breaches are not well protected.
- the existing security technology requires all devices to have a trust mechanism that supports encryption and decryption of DNS request information, which leads to an increase in network resource overhead and equipment maintenance costs.
- the embodiment of the present application provides an information processing method, an intermediate parser, a network device, and a storage medium, which can reduce the overhead of network resources and thereby reduce the maintenance cost of the device while avoiding exposure of sensitive information to security risks.
- the embodiment of the present application provides an information processing method, which is applied to an intermediate parser, and the method includes:
- the second domain name system request information is obtained according to the first domain name system request information, wherein the second domain name system request information includes ciphertext sensitive information and first ciphertext mark information, and the first ciphertext mark information is used for Indicating that the ciphertext sensitive information is ciphertext information;
- the embodiment of the present application also provides an intermediate parser, including: a memory, a processor, and a computer program stored on the memory and operable on the processor, and the processor implements the computer program when executing the computer program.
- an intermediate parser including: a memory, a processor, and a computer program stored on the memory and operable on the processor, and the processor implements the computer program when executing the computer program.
- the embodiment of the present application further provides a network device, including the above-mentioned intermediate resolver.
- the embodiment of the present application further provides a computer-readable storage medium storing computer-executable instructions, and the computer-executable instructions are used to execute the information processing method as described above.
- the embodiment of the present application includes: receiving the first domain name system request information; obtaining the second domain name system request information according to the first domain name system request information, wherein the second domain name system request information includes ciphertext sensitive information and the first encrypted Text marking information, the first ciphertext marking information is used to indicate that the ciphertext-sensitive information is ciphertext information; the second domain name system request information is sent to the authoritative domain name system server, so that the authoritative domain name system server according to Information processing is performed on the ciphertext sensitive information and the first ciphertext mark information.
- the embodiment of the present application includes: receiving the first domain name system request information; obtaining the second domain name system request information according to the first domain name system request information, wherein the second domain name system request information includes ciphertext sensitive information and first ciphertext tag information, The first ciphertext marking information is used to indicate that the ciphertext sensitive information is ciphertext information; the second domain name system request information is sent to the authoritative domain name system server, so that the authoritative domain name system server performs the ciphertext sensitive information and the first ciphertext marking information information processing.
- the first domain name system request information by converting the first domain name system request information into the second domain name system request information including the ciphertext sensitive information and the first ciphertext mark information, there is no need to encrypt the entire first domain name system request information Therefore, while avoiding exposure of sensitive information to security risks, the overhead of network resources can be reduced, thereby reducing equipment maintenance costs.
- FIG. 1 is a schematic diagram of a system architecture for executing an information processing method provided by an embodiment of the present application
- FIG. 2 is a flowchart of an information processing method provided by an embodiment of the present application.
- Fig. 3 is a schematic diagram of a message body substructure provided by an embodiment of the present application.
- FIG. 4 is a schematic diagram of another message body substructure provided by an embodiment of the present application.
- Fig. 5 is a schematic diagram of the expanded message body substructure of the RDATA element in Fig. 4;
- Fig. 6 is the flowchart of the concrete method of step S120 in Fig. 2;
- Fig. 7 is the flowchart of the concrete method of step S124 in Fig. 6;
- FIG. 8 is a flowchart of another specific method of step S124 in FIG. 6;
- FIG. 9 is a flowchart of a specific method of step S1244 in FIG. 5;
- FIG. 10 is a flowchart of a specific method of step S122 in FIG. 6;
- FIG. 11 is a flowchart of a specific method of step S1222 in FIG. 10;
- FIG. 12 is a flowchart of another specific method of step S120 in FIG. 2;
- Fig. 13 is a flowchart of a specific method of step S128 in Fig. 12;
- Fig. 14 is a flowchart of another specific method of step S128 in Fig. 12;
- FIG. 15 is a flowchart of a specific method of step S1284 in FIG. 14;
- Fig. 16 is a flowchart of a specific method of step S126 in Fig. 12;
- FIG. 17 is a flowchart of a specific method of step S1262 in FIG. 16;
- Fig. 18 is a flowchart of an information processing method provided by another embodiment of the present application.
- FIG. 19 is a flowchart of a specific method of step S150 in FIG. 18;
- FIG. 20 is a flowchart of another specific method of step S150 in FIG. 18;
- FIG. 21 is a flowchart of another specific method of step S150 in FIG. 18;
- Fig. 22 is a flowchart of an information processing method provided in a specific example of the present application.
- the present application provides an information processing method, an intermediate parser, a network device, and a storage medium.
- the first domain name system request information is converted into information including ciphertext sensitive information and the first ciphertext
- the second domain name system request information of the marking information and then send the second domain name system request information to the authoritative domain name system server, so that the authoritative domain name system server performs information processing according to the ciphertext sensitive information and the first ciphertext marking information, that is to say,
- the solution of the embodiment of the present application transmits the second domain name system request information including the ciphertext sensitive information and the first ciphertext mark information without encrypting the entire first domain name system request information, thereby avoiding sensitive information In the case of being exposed to security risks, the overhead of network resources is reduced, thereby reducing the maintenance cost of the device; in addition, since the first ciphertext mark information is used to indicate that the ciphertext sensitive information is ciphertext information, the authoritative domain name system server can Properly decrypting
- FIG. 1 is a schematic diagram of a system architecture for executing an information processing method provided by an embodiment of the present application.
- the system architecture includes a client device 110 , an intermediate resolver 120 and an authoritative domain name system server 130 .
- the intermediate resolver 120 communicates with the client device 110 and the authoritative domain name system server 130 respectively.
- the intermediate resolver 120 can receive the first domain name system request information sent by the client device 110, and, in the case that the first domain name system request information carries sensitive information, the intermediate resolver 120 can make the first domain name system request information encrypted sensitive information to obtain the second domain name system request information carrying the ciphertext sensitive information; in the case that the first domain name system request information does not carry sensitive information, the intermediate resolver 120 can obtain the sensitive information corresponding to the client device 110 information, and encrypt the sensitive information, and then combine the first domain name system request information to generate the second domain name system request information carrying the ciphertext sensitive information.
- the second domain name system request information also carries first ciphertext marking information for indicating that the ciphertext-sensitive information is ciphertext information.
- the intermediate resolver 120 can also send the second domain name system request information to the authoritative domain name system server 130, so that the authoritative domain name system server 130 can perform related information processing according to the ciphertext sensitive information and the first ciphertext tag information.
- the intermediate resolver 120 can also obtain the feedback information including the feedback type information and the second ciphertext mark information from the authoritative domain name system server 130, and the intermediate resolver 120 can convert the feedback information according to the feedback type information and the second ciphertext mark information Forward it to the client device 110, or reconstruct new domain name system request information and send it to the authoritative domain name system server 130, so that the authoritative domain name system server 130 reprocesses the new domain name system request information.
- FIG. 2 is a flowchart of an information processing method provided by an embodiment of the present application.
- the information processing method may be applied to an intermediate parser, such as the intermediate parser 120 in the system architecture shown in FIG. 1 .
- the information processing method may include but not limited to step S110, step S120 and step S130.
- Step S110 Receive the first domain name system request information.
- the first domain name system request information is used to request a mapping relationship between a domain name and an Internet protocol address.
- the initiator of the first domain name system request information includes, but is not limited to, the client device that needs to obtain the mapping relationship between the domain name and the Internet protocol address, and the receiver of the first domain name system request information includes, but is not limited to, Internet service provider equipment and intermediate resolvers device.
- the first domain name system request information may carry sensitive information corresponding to the sender of the first domain name system request information, and the sensitive information may be used to identify the sender's corresponding IP address or the sender's device Corresponding hardware identification code.
- the first domain name system request information may include extended domain name system client subnet option (EDNS Client Subnet, ECS) information, and the extended domain name system client subnet option information carries sensitive information.
- the first domain name system request information is based on the Extension Mechanisms for DNS (EDNS) protocol of the domain name system, such as the IETF RFC 6891 protocol, and part of the extended domain name system client subnet protocol, such as the IETF RFC 7871 protocol The defined message body structure is generated.
- EDNS Extension Mechanisms for DNS
- the first domain name system request information is generated using a data structure defined by an extension mechanism protocol of the domain name system that transfers the packet size.
- the first domain name system request information is sent after being encapsulated in User Datagram Protocol (UDP).
- UDP User Datagram Protocol
- Step S120 Obtain the second domain name system request information according to the first domain name system request information.
- the second domain name system request information includes ciphertext sensitive information and first ciphertext marking information, and the first ciphertext marking information is used to indicate that the ciphertext sensitive information is ciphertext information.
- the first information processing can be performed on the first domain name system request information to obtain the first information including the ciphertext sensitive information generated by encrypting the sensitive information.
- the second domain name system request information so that the subsequent steps can send the second domain name system request information including the ciphertext sensitive information to the authoritative domain name system server.
- first domain name system request information may or may not carry sensitive information, which is not specifically limited in this embodiment of the present application.
- the first domain name system request information may be split into various data parts according to its components, and then the sensitive information is identified in these data parts, and then Encrypt the identified sensitive information to obtain the ciphertext sensitive information, and then combine the ciphertext sensitive information with other data in the first domain name system request information to form the second domain name system request information; Identify sensitive information in the system request information, then encrypt the identified sensitive information to obtain ciphertext sensitive information, and then update the sensitive information in the first domain name system request information to ciphertext sensitive information to obtain the second domain name system request information .
- identifying sensitive information in each data part of the first domain name system request information can be identified based on pre-defined identification rules, or based on an intelligent analysis process identification, which is not specifically limited in this embodiment.
- pre-defined identification rules the predefined identification rules define which fields of which tables are sensitive information; when identification is based on an intelligent analysis process, it can be automatically judged according to the specific content of the data whether it is sensitive information information.
- the recipient of the information requested by the first domain name system can generate sensitive information corresponding to the recipient, and then the sensitive information Perform encryption processing to obtain the ciphertext sensitive information, and then combine the ciphertext sensitive information with other data in the first domain name system request information to form the second domain name system request information, or update the sensitive information in the first domain name system request information to encrypted
- the text-sensitive information is obtained from the second domain name system request information.
- the first domain name system request information is based on the domain name system-based extension mechanism information defined in the RFC6891 protocol
- the second domain name system request information is based on the TTL element and the RDATA element in the message body structure defined in the RFC6891 protocol. extended.
- FIG. 3 is a schematic diagram of a message body substructure provided by an embodiment of the present application.
- the embodiment of the present application extends the TTL element in the message body structure defined by the RFC6891 protocol, and the message body substructure of the TTL element includes an OPTION-CODE field, an OPTION-LENGTH field and an EXTENDED-RCODE field, where , the EXTENDED-RCODE field is used to indicate that the domain name system request information has been extended, and the extended return message type is adopted.
- This field can be combined with the RCODE field in the header field of the domain name system request information to indicate that in addition to the normal domain name system request return message More types.
- the EXTENDED-RCODE field in the embodiment of the present application needs to be assigned a non-zero value when the domain name system request message is generated.
- the embodiment of the present application only extends the EXTENDED-RCODE field of the message body substructure of the TTL element, and does not change the message body structure defined by the RFC6891 protocol, thereby ensuring compatibility.
- Figure 4 is a schematic diagram of another message body substructure provided by an embodiment of the present application.
- the structure includes an OPTION-DATA field, which can accommodate multiple pieces of additional information.
- This embodiment of the present application extends the OPTION-DATA field.
- FIG. 5 is a schematic diagram of the extended message body substructure of the RDATA element in FIG. 4.
- the type of the message body substructure is defined as a pseudo address (Pseudo Address, PADR) type, and the set of the above-mentioned FAMILY field, ENCRYPTION TYPE field, ENCRYPTION FLAG field, and SIGNATURE field is defined as a PADR field.
- the OPTION-CODE field in the message body substructure of the RDATA element is used in the embodiment of this application to indicate whether the domain name system request information carries encrypted ciphertext sensitive information, that is, whether the domain name system request information carries client equipment
- the pseudo-address obtained by encrypting the Internet Protocol address of the Internet Protocol address or the Internet Protocol address of the intermediate resolver.
- the OPTION-LENGTH field is used to indicate the length of the entire OPTION-DATA field.
- the FMAILY field is used to indicate the type of ciphertext-sensitive information carried in the domain name system request information. For example, when the ciphertext sensitive information is an encrypted Internet Protocol version 4 (IPv4) address, the FMAILY field is assigned a value of 1; when the ciphertext sensitive information is an encrypted Internet Protocol version 6 (Internet Protocol version 6, IPv6) address, the FMAILY field is assigned a value of 2.
- IPv4 Internet Protocol version 4
- IPv6 Internet Protocol version 6
- the ECRYPTION TYPE field is used to indicate the type of encryption algorithm used to encrypt sensitive information. For example, when the sensitive information is not encrypted, the ECRYPTION TYPE field is assigned a value of 0; when the sensitive information is encrypted using the MD5 information digest algorithm, the ECRYPTION TYPE field is assigned a value of 1; when using the Secure Hash Algorithm 1 (Secure Hash Algorithm 1 , SHA-1), the ECRYPTION TYPE field is assigned a value of 2.
- the ECRYPTION FLAG field represents whether encrypted sensitive information has passed verification.
- the intermediate resolver can determine whether the authoritative domain name system server has successfully decrypted the ciphertext sensitive information by whether the ECRYPTION FLAG field in the feedback details sent by the authoritative domain name system server to the intermediate resolver changes.
- the SIGNATURE field is used to store the character string generated after encrypting the information to be protected.
- the SIGNATURE field can store ciphertext sensitive information, or can be used to store the key used to encrypt sensitive information.
- the message body structure of the RDATA element may also include extended domain name system client subnet option information, and the extended domain name system client subnet option information may also be used to store encrypted sensitive information.
- the extended domain name system client subnet option information is immediately after or before the end of the previous message body in the domain name system request information, and the position of the pseudo-address field may not be fixed.
- the pseudo address field and the extended domain name system client subnet option information are set adjacently.
- the extended domain name system client subnet option information may not be set, or the extended domain name system client subnet option information may be assigned a value of 0.
- Step S130 Send the second domain name system request information to the authoritative domain name system server, so that the authoritative domain name system server performs information processing according to the ciphertext sensitive information and the first ciphertext tag information.
- the second domain name system request information including ciphertext sensitive information and first ciphertext mark information
- the second domain name system request information can be sent to the authoritative domain name system server, so that the authoritative The domain name system server can perform data processing according to the ciphertext sensitive information and the first ciphertext mark information.
- the embodiment of the present application does not encrypt the entire first domain name system request information, but can encrypt sensitive information separately to obtain the second domain name system request information carrying ciphertext sensitive information to realize the protection of sensitive information, thus It can reduce the overhead of network resources while avoiding the exposure of sensitive information to security risks, thereby reducing the maintenance cost of equipment; in addition, since the first ciphertext mark information is used to indicate that the ciphertext sensitive information is ciphertext information, therefore The authoritative domain name system server can properly decrypt the ciphertext sensitive information according to the first ciphertext mark information, thereby improving the processing accuracy of the second domain name system request information by the authoritative domain name system server.
- the authoritative domain name system server After the authoritative domain name system server performs information processing according to the ciphertext sensitive information and the first ciphertext mark information, it will send a feedback result to the intermediate resolver, and the intermediate resolver can judge whether the authoritative domain name system server is based on the feedback result. Feedback on the correct mapping relationship between domain names and Internet Protocol Internet addresses.
- the first domain name system request information includes first extended domain name system additional option information, wherein the first extended domain name system additional option information includes source-end sensitive information.
- the first extended DNS additional option information is generated according to the extended DNS client subnet protocol, and the source sensitive information includes but not limited to the Internet Protocol address of the client device.
- the first ciphertext tag information is stored in the OPTION-CODE field of the second domain name system request information, and the OPTION-CODE field is used in this embodiment of the application to indicate whether the domain name system request information carries an encrypted password.
- Text-sensitive information that is, whether the domain name system request information carries the IP address of the client device or the pseudo-address obtained by encrypting the IP address of the intermediate resolver.
- Figure 6 is a flow chart of the specific method of step S120 in Figure 2, and Figure 6 further illustrates step S120, which may include but not limited to step S121, step S122, step S123, step S124 and step S125.
- Step S121 Obtain source-end sensitive information in the first extended DNS additional option information.
- the source sensitive information is generated by the client device and added to the first domain name system request information.
- the first domain name system request information includes the first extended domain name system additional option information, and the source sensitive information is generated by the client After the device is generated, it is added to the additional option information of the first extended domain name system.
- the source-side sensitive information is used to characterize the Internet protocol address of the client device.
- first extended domain name system additional option information may be generated by the client device, or may be generated by an intermediate resolver.
- the source-side sensitive information is not limited to be generated only by the client device, for example, the first intermediate resolver connected to the client device side is used to realize the data penetration of the first domain name system request information, the first After the intermediate resolver obtains the request information of the first domain name system, it will verify whether the request information of the first domain name system carries sensitive information of the source end.
- the first intermediate resolver will obtain local sensitive information according to the first domain name system request information, and send the first domain name system request information carrying the local sensitive information to the second intermediate resolver, and the local sensitive information is used to replace the local sensitive information generated by the client device
- the second intermediate resolver encrypts the local sensitive information in the first domain name system request information to obtain ciphertext sensitive information.
- the source sensitive information may be stored in the ADDRESS field in the first extended domain name system additional option information.
- the source sensitive information may also be stored in the SIGNATURE field of the first domain name system request information.
- Step S122 Encrypt the source-end sensitive information to obtain ciphertext sensitive information.
- the encryption algorithm used to encrypt the sensitive information at the source can be a symmetric encryption algorithm, an advanced encryption standard or other encryption algorithms, and can be properly selected according to the actual application situation. This is not specifically limited.
- the symmetric encryption algorithm refers to the encryption algorithm that uses the same key for encryption and decryption, and the sending and receiving parties need to agree on a public key before conducting secure communication.
- Advanced Encryption Standard also known as Rijndael encryption, is a block encryption standard that can support a wider range of block and key lengths.
- information such as the encryption algorithm or encryption strategy used to encrypt sensitive data can be included in the intermediate resolver, or the intermediate resolver can obtain it from other places, such as from the authoritative domain name system server. Obtained or obtained from the first domain name system request information, which is not specifically limited in this embodiment.
- the encrypted ciphertext-sensitive information is stored in the SIGNATURE field of the PADR field of the second domain name system request information.
- the second domain name system request information includes extended domain name system client subnet option information, and encrypted ciphertext sensitive information is stored in the extended domain name system client subnet option information.
- the second domain name system request information includes an ECRYPTION TYPE field
- the ECRYPTION TYPE field is used to indicate the encryption algorithm type used for encrypting sensitive information. For example, when the sensitive information is not encrypted, the ECRYPTION TYPE field is assigned a value of 0; when the sensitive information is encrypted using the MD5 information digest algorithm, the ECRYPTION TYPE field is assigned a value of 1; when using the Secure Hash Algorithm 1 (Secure Hash Algorithm 1 , SHA-1), the ECRYPTION TYPE field is assigned a value of 2.
- Step S123 Construct first additional option information, wherein the first additional option information includes first ciphertext mark information.
- the first additional option information includes first ciphertext mark information, and the first ciphertext mark information is used to indicate that the ciphertext sensitive information is ciphertext information.
- the authoritative domain name system server After receiving the second domain name system request information, the authoritative domain name system server first Detect whether the second domain name system request information carries the first ciphertext mark information, and if the authoritative domain name system server detects the first ciphertext mark information, the authoritative domain name system server decrypts the ciphertext sensitive information.
- the first additional option information is stored in the message body substructure of the RDATA element of the second Domain Name System request information.
- the ciphertext mark information is stored in the OPTION-CODE field of the second Domain Name System request information.
- Step S124 Obtain the second domain name system request information according to the ciphertext sensitive information and the first additional option information.
- the ciphertext sensitive information and the first additional option information in the first domain name system request information are combined to form the second domain name system request information, since the embodiment of this application does not encrypt the entire first domain name system request information , but can encrypt the sensitive information separately to obtain the second domain name system request information carrying the ciphertext sensitive information to realize the protection of the sensitive information, so as to avoid the exposure of the sensitive information to security risks and reduce network resources overhead, thereby reducing the maintenance cost of the device; in addition, because the first ciphertext mark information is used to indicate that the ciphertext sensitive information is ciphertext information, the authoritative domain name system server can perform ciphertext sensitive information according to the first ciphertext mark information Proper decryption processing can improve the processing accuracy of the authoritative domain name system server for the information requested by the second domain name system.
- the ciphertext-sensitive information and the first additional option information in the embodiment of the present application are not limited to a parallel relationship.
- the ciphertext-sensitive information and the first additional option information may be stored in the second domain name system request information.
- the ciphertext-sensitive information can be included in the first additional option information, so that the ciphertext-sensitive information and the first additional option information can be stored in the same field in the second Domain Name System request information .
- the first additional option information includes a first encrypted signature field.
- FIG. 7 is a flow chart of the specific method of step S124 in FIG. 6.
- FIG. 7 further illustrates step S124, which may include but not limited to step S1241 and step S1242.
- Step S1241 Fill the ciphertext sensitive information into the first encrypted signature field.
- the ciphertext sensitive information is filled into the first encrypted signature field, and the first encrypted signature field is included in the first additional option information, which may be generated according to the extended domain name system client subnet option protocol , can also be generated according to the extended domain name system client subnet protocol.
- the authoritative domain name system server parses it to obtain the first additional option information, and obtains the ciphertext-sensitive information by detecting the first encrypted signature field in the first additional option information.
- the ciphertext-sensitive information is filled into the SIGNATURE field of the second domain name system request information.
- Step S1242 Obtain second Domain Name System request information according to the first additional option information including the first ciphertext mark information and ciphertext sensitive information.
- the authoritative domain name system server parses the request information of the second domain name system to obtain the first additional option information after obtaining it, and obtains the ciphertext sensitive information by detecting the first encrypted signature field in the first additional option information .
- the first ciphertext mark information may also be obtained through the first additional option information.
- FIG. 8 is a flow chart of another specific method of step S124 in FIG. 6.
- FIG. 8 further illustrates step S124.
- This step S124 may also include but not limited to step S1243 and step S1244.
- Step S1243 Update the source sensitive information in the first extended DNS additional option information to ciphertext sensitive information.
- the source-end sensitive information in the first extended DNS additional option information is updated to ciphertext-sensitive information, so the second DNS request information only encrypts the source-end sensitive information compared to the first DNS request information , and the ciphertext sensitive information generated after the source sensitive information is encrypted is still included in the additional option information of the first extended domain name system, so the second domain name system request information is not encrypted as a whole.
- the second domain name system request information still has the same data structure as the first domain name system request information.
- the solution of the embodiment of the present application uses the second domain name system request information including the ciphertext sensitive information and the first ciphertext tag information For transmission, there is no need to encrypt the entire first domain name system request information, so that the overhead of network resources can be reduced while avoiding exposure of sensitive information to security risks, thereby reducing equipment maintenance costs; in addition, because the first The ciphertext mark information is used to indicate that the ciphertext sensitive information is ciphertext information, so the authoritative domain name system server can properly decrypt the ciphertext sensitive information according to the first ciphertext mark information, so that the authoritative domain name system server can improve the second Processing Accuracy of Information Requested by Domain Name System.
- the source-end sensitive information is stored in the SIGNATURE field of the first domain name system request information, and the ciphertext-sensitive information is obtained by encrypting the source-end sensitive information, and the ciphertext-sensitive information is filled into the first domain name system request The SIGNATURE field of the information to obtain the second domain name system request information.
- Step S1244 Obtain the second DNS request information according to the updated first extended DNS additional option information and the first additional option information.
- the intermediate resolver obtains the request information of the second domain name system according to the updated first extended domain name system additional option information and the first additional option information.
- this embodiment of the present application does not need to encrypt the entire first domain name system request information, thereby reducing the overhead of network resources while avoiding exposure of sensitive information to security risks. Thereby reducing the maintenance cost of the device; in addition, since the first ciphertext mark information is used to indicate that the ciphertext sensitive information is ciphertext information, the authoritative domain name system server can properly decrypt the ciphertext sensitive information according to the first ciphertext mark information processing, so that the processing accuracy of the authoritative domain name system server on the information requested by the second domain name system can be improved.
- the key used to encrypt sensitive information is stored in the first extended domain name system additional option information
- the first additional option information includes a SIGNATURE field storing ciphertext sensitive information, so according to the updated first extension
- the domain name system additional option information and the first additional option information obtain the second domain name system request information, which only encrypts sensitive information, but does not encrypt the entire domain name system request information.
- FIG. 9 is a flow chart of the specific method of step S1244 in FIG. 5.
- FIG. 9 further illustrates step S1244, which may include but not limited to step S12441 and step S12442.
- Step S12441 Fill key information or first signature information in the first encrypted signature field, wherein the key information is used to decrypt the ciphertext sensitive information, and the first signature information is used to verify the integrity of the encrypted source sensitive information .
- the key information can be the public key used to encrypt the sensitive information, and the authoritative domain name system server can decrypt the ciphertext sensitive information according to the key information.
- the key information can also reflect the public key used when encrypting the sensitive information. encryption algorithm.
- the first signature information may be used to verify the encrypted sensitive information at the source end, so as to ensure the integrity of the encrypted sensitive information at the source end.
- the SIGNATURE field of the second domain name system request information may also be used to store the public key used to encrypt sensitive information.
- Step S12442 According to the updated first extended domain name system additional option information and the first additional option information including key information or first signature information, obtain the second domain name system request information.
- the second domain name system request information updates the first extended domain name system additional option information and the first additional option information including key information or first signature information compared with the first domain name system request information. Therefore, this application The embodiment does not need to encrypt the entire first domain name system request information, thereby reducing the overhead of network resources and reducing the maintenance cost of equipment while avoiding exposure of sensitive information to security risks; in addition, because the first encryption The text mark information is used to indicate that the ciphertext sensitive information is ciphertext information, so the authoritative domain name system server can properly decrypt the ciphertext sensitive information according to the first ciphertext mark information, thereby improving the authoritative domain name system server's ability to understand the second domain name The processing accuracy of the information requested by the system.
- the first extended domain name system additional option information may store ciphertext-sensitive information, and may also store a key used to encrypt sensitive information.
- the first additional option information includes a SIGNATURE field, and the SIGNATURE field may Store ciphertext sensitive information, and also store the key used to encrypt sensitive information. Therefore, the second domain name system request information is obtained according to the updated first extended domain name system additional option information and the first additional option information, which only encrypts sensitive information, but does not encrypt the entire domain name system request information.
- FIG. 10 is a flow chart of the specific method of step S122 in FIG. 6.
- FIG. 10 further illustrates step S122, which may include but not limited to step S1221 and step S1222.
- Step S1221 Determine the first encryption strategy information according to the information length of the sensitive information at the source, where the first encryption strategy information includes the first ciphertext length.
- the first encryption policy information is determined according to the information length of the sensitive information at the source.
- the intermediate resolver can determine that the type of remote sensitive information is an Internet Protocol version 4 address by detecting the information length of the source-end sensitive information, and configure the first encryption policy information to correspond to the Internet Protocol version 4 address.
- the intermediate resolver can determine that the remote sensitive information type is an Internet Protocol version 6 address by detecting the information length of the source-end sensitive information, and configure the first encryption policy information to correspond to the Internet Protocol version 6 address.
- First encryption policy information of protocol version 6 addresses are examples of protocol version 4 addresses.
- the first encryption policy information includes not only the length of the first ciphertext, but also an encryption method for the source-end sensitive information.
- the source-end sensitive information corresponds to an IP version 4 address
- the encryption method first Extract the domain name field in the form of Internet Protocol version 4 from the sensitive information at the source, and convert it into an integer and real number through the string conversion function, and limit the converted integer between 0 and 15 through the numerical limit, because it is encrypted
- the resulting pseudo-address is also an Internet Protocol version 4 address, so it is necessary to reserve a 32-bit address space, convert the converted integer and real number into four four-digit binary numbers, fill the remaining address space with zeros, and then take 8 each time from the beginning
- the bit binary number is converted into a decimal number to obtain the IP version 4 address, and then the hash algorithm is used to obtain the pseudo-address corresponding to the IP version 4 address, so as to realize the encryption of sensitive information.
- the source-side sensitive information corresponds to an Internet Protocol version 6 address
- the source-side sensitive information is regarded as a whole string for encryption.
- the encryption algorithm used in this process includes but is not limited to the MD5 message digest algorithm, Since the sensitive information at the source is an Internet Protocol version 6 address, a 128-bit address space needs to be reserved.
- the sensitive information at the source is too long, according to the encryption strategy, the sensitive information at the source is encrypted twice to reduce the number of encrypted ciphertext sensitive information.
- the information length of the sensitive information at the source end may be determined by SIGNATURE in the first DNS request information, or by the length of data in the first extended DNS additional option information in the first DNS request information.
- Step S1222 Encrypt the source sensitive information according to the first encryption policy information to obtain ciphertext sensitive information, wherein the information length of the ciphertext sensitive information matches the first ciphertext length.
- the sensitive information at the source is encrypted according to the first encryption policy information to obtain sensitive ciphertext information.
- the first encryption policy information is configured to correspond to an Internet Protocol
- the first encryption policy information of the version 4 address specifically, first extract the domain name field in the form of Internet protocol version 4 from the sensitive information at the source, and convert it into an integer and real number through a string conversion function, and the conversion can be restricted by the numerical value
- the final integer is limited between 0 and 15. Since the encrypted pseudo-address is also an Internet Protocol version 4 address, a 32-bit address space needs to be reserved, and the converted integer and real number are converted into four four-digit binary numbers.
- the first encryption strategy information is configured as the first encryption strategy information corresponding to an Internet protocol version 6 address, and the source-side sensitive information is regarded as a whole string for encryption
- the encryption algorithm used in this process includes but is not limited to the MD5 message digest algorithm. Since the sensitive information at the source is an Internet Protocol version 6 address, a 128-bit address space needs to be reserved.
- the first domain name system request information is constructed based on the message body of the pseudo-address type in the embodiment of the present application, and the type of source-end sensitive information can be known through the first domain name system request information. For example, if the source-end sensitive information corresponds to If the IP version 4 address is used, the FAMILY field of the second domain name system request information is assigned a value of 1, and if the source sensitive information corresponds to an IP version 6 address, the FAMILY field of the second domain name system request information is assigned a value of 2.
- the type of source sensitive information is determined by the FAMILY field of the first domain name system request information, for example, when the FAMILY field of the first domain name system request information is assigned a value of 1, the source sensitive information corresponds to the Internet Protocol Version 4 address, when the FAMILY field of the first domain name system request information is assigned a value of 1, the source-side sensitive information corresponds to an IP version 6 address.
- Step S1222 may include but not limited to step S12221 and step S12222.
- Step S12221 Perform a first encryption process on the source-side sensitive information according to the first encryption policy information to obtain first ciphertext information.
- the source-side sensitive information is first encrypted according to the first encryption strategy information to obtain first ciphertext information
- the first ciphertext information may be an Internet Protocol address obtained according to the source-side sensitive information, for example, when The source-side sensitive information corresponds to an IP version 4 address
- the first encryption policy information is configured as the first encryption policy information corresponding to the IP version 4 address.
- the IP version 4 format is extracted from the source-side sensitive information. The domain name field, and convert it into an integer and real number through the string conversion function, and limit the converted integer between 0 and 15 through the value limit.
- the encrypted pseudo-address is also an Internet Protocol version 4 address
- the first encryption policy information is configured as the first encryption policy information corresponding to an IP version 6 address, and the first encryption process is performed on the sensitive information at the source to obtain a 128-bit An Internet Protocol version 6 address.
- Step S12222 Perform a second encryption process on the first ciphertext information according to the first encryption policy information to obtain ciphertext-sensitive information, wherein the information length of the ciphertext-sensitive information is smaller than the information length of the first ciphertext information.
- the second encryption process is performed on the first ciphertext information according to the first encryption policy information to obtain the ciphertext sensitive information, for example, first extract the domain name field in the form of Internet Protocol version 4 from the source sensitive information, and pass it
- the character string conversion function converts the integer into a real number, and the converted integer can be limited between 0 and 15 through the value limit.
- the encrypted pseudo-address is also an Internet Protocol version 4 address
- a 32-bit address space needs to be reserved , convert the converted integer and real numbers into four four-digit binary numbers, fill the remaining address space with zeros, and convert the 8-bit binary numbers to decimal numbers from the beginning each time to obtain the IP version 4 address, and then use the second
- the encryption process obtains the pseudo-address corresponding to the IP version 4 address, so as to realize the encryption of sensitive information. Due to the limitation of the number of addresses, if the IP version 4 address still exceeds 32 bits after a second encryption process, at least one second encryption process is performed again to prevent the information length of the ciphertext sensitive information obtained after the encryption process from being greater than the second encryption process. The information length of a ciphertext results in information loss.
- the encryption algorithm used in this process includes but is not limited to, since the sensitive information at the source corresponds to an IP version 6 address, a 128-bit address space needs to be reserved. If the length of the IP version 6 address obtained after the first encryption of the sensitive information at the source is still greater than 128 bits after the second encryption, then at least one second encryption is performed again to prevent the encryption from being obtained after the encryption.
- the information length of the text-sensitive information is greater than the information length of the first ciphertext, resulting in information loss.
- the algorithm used in the second encryption process includes but is not limited to a hash algorithm or an MD5 message digest algorithm.
- the ECRYPTION TYPE field is set according to the encryption algorithm type used for encrypting the sensitive information. For example, when the sensitive information is not encrypted, the ECRYPTION TYPE field is assigned a value of 0; when the sensitive information is encrypted using the MD5 information digest algorithm, the ECRYPTION TYPE field is assigned a value of 1; when using the Secure Hash Algorithm 1 (Secure Hash Algorithm 1 , SHA-1), the ECRYPTION TYPE field is assigned a value of 2.
- Figure 12 is a flowchart of another specific method of step S120 in Figure 2, and Figure 12 further illustrates step S120, when the first domain name system request information does not include the first extended domain name system additional option information , the step S120 may include but not limited to step S125, step S126, step S127 and step S128.
- Step S125 Obtain local sensitive information according to the information requested by the first domain name system.
- the intermediate resolver first detects whether the obtained first domain name system request information carries sensitive information. Since the sensitive information is carried in the system client subnet option information, by detecting whether the first domain name system request information includes the first extension The domain name system additional option information can determine whether the first domain name system request information carries sensitive information. When the information requested by the first domain name system does not carry sensitive information, the intermediate resolver obtains local sensitive information. Local sensitive information includes, but is not limited to, the Internet protocol address of the intermediate resolver and the hardware identification code of the intermediate resolver.
- Step S126 Encrypt the local sensitive information to obtain ciphertext sensitive information.
- the encryption algorithm used for encrypting local sensitive information may be a symmetric encryption algorithm, an advanced encryption standard, or other encryption algorithms, and may be appropriately selected according to actual application conditions. Not specifically limited.
- the symmetric encryption algorithm refers to the encryption algorithm that uses the same key for encryption and decryption, and the sending and receiving parties need to agree on a public key before conducting secure communication.
- Advanced Encryption Standard also known as Rijndael encryption, is a block encryption standard that can support a wider range of block and key lengths.
- information such as the encryption algorithm or encryption strategy used to encrypt sensitive data can be included in the intermediate resolver, or the intermediate resolver can obtain it from other places, such as from the authoritative domain name system server. Obtained or obtained from the first domain name system request information, which is not specifically limited in this embodiment.
- the encrypted ciphertext-sensitive information is stored in the SIGNATURE field of the PADR field of the second domain name system request information.
- the second domain name system request information includes extended domain name system client subnet option information, and encrypted ciphertext sensitive information is stored in the extended domain name system client subnet option information.
- the second domain name system request information includes an ECRYPTION TYPE field
- the ECRYPTION TYPE field is used to indicate the encryption algorithm type used for encrypting sensitive information. For example, when the sensitive information is not encrypted, the ECRYPTION TYPE field is assigned a value of 0; when the sensitive information is encrypted using the MD5 information digest algorithm, the ECRYPTION TYPE field is assigned a value of 1; when using the Secure Hash Algorithm 1 (Secure Hash Algorithm 1 , SHA-1), the ECRYPTION TYPE field is assigned a value of 2.
- Step S127 Construct the second additional option information, wherein the second additional option information includes the first ciphertext mark information.
- the second additional option information includes the first ciphertext mark information, and the first ciphertext mark information is used to indicate that the ciphertext sensitive information is ciphertext information.
- the authoritative domain name system server After receiving the second domain name system request information, the authoritative domain name system server first Detect whether the second domain name system request information carries the first ciphertext mark information, and if the authoritative domain name system server detects the first ciphertext mark information, the authoritative domain name system server decrypts the ciphertext sensitive information.
- the first domain name system request information is constructed according to the extended domain name system client subnet option protocol, and the second additional option information can be included in the extended domain name system client subnet option information.
- the second additional option information is stored in the message body substructure of the RDATA element of the second Domain Name System request information.
- the first domain name system request information is constructed according to the extended domain name system client subnet option protocol, and the second additional option information can be included in the extended domain name system client subnet option information.
- the first ciphertext tag information is stored in the OPTION-CODE field of the second domain name system request information, and the OPTION-CODE field is used in this embodiment of the application to indicate whether the domain name system request information carries an encrypted password.
- Text-sensitive information that is, whether the domain name system request information carries the IP address of the client device or the pseudo-address obtained by encrypting the IP address of the intermediate resolver.
- Step S128 Obtain the second domain name system request information according to the ciphertext sensitive information and the second additional option information.
- the ciphertext-sensitive information and the second additional option information in the first domain name system request information are combined to form the second domain name system request information. Since the scheme of the embodiment of this application will include the ciphertext-sensitive information and the first There is no need to encrypt the entire first domain name system request information, so that the overhead of network resources can be reduced while avoiding exposure of sensitive information to security risks, thereby Reduce equipment maintenance costs; in addition, because the first ciphertext mark information is used to indicate that the ciphertext sensitive information is ciphertext information, the authoritative domain name system server can properly decrypt the ciphertext sensitive information according to the first ciphertext mark information , so that the processing accuracy of the authoritative domain name system server on the information requested by the second domain name system can be improved.
- the ciphertext-sensitive information and the second additional option information in the embodiment of the present application are not limited to a parallel relationship.
- the ciphertext-sensitive information and the second additional option information may be stored in the second domain name system request information.
- the ciphertext sensitive information can be included in the second additional option information, so that the ciphertext sensitive information and the second additional option information can be stored in the same field in the second domain name system request information .
- the second additional option information includes a second encrypted signature field.
- FIG. 13 is a flow chart of the specific method of step S128 in FIG. 12.
- FIG. 13 further illustrates step S128, which may include but not limited to step S1281 and step S1282.
- Step S1281 Fill the ciphertext sensitive information into the second encrypted signature field.
- the ciphertext sensitive information is filled into the second encrypted signature field, and the second encrypted signature field is included in the second additional option information, which may be generated according to the extended domain name system client subnet option protocol , which can also be generated according to the extended domain name system client subnet protocol.
- the authoritative domain name system server parses it to obtain the second additional option information, and obtains the ciphertext-sensitive information by detecting the second encrypted signature field in the second additional option information.
- the ciphertext-sensitive information is filled into the SIGNATURE field of the second domain name system request information.
- Step S1282 Obtain second Domain Name System request information according to the second additional option information including the first ciphertext mark information and ciphertext sensitive information.
- FIG. 14 is a flow chart of another specific method of step S128 in FIG. 12.
- FIG. 14 further illustrates step S128, which may also include but not limited to step S1283 and step S1284.
- Step S1283 Construct second extended DNS additional option information according to the ciphertext sensitive information, wherein the second extended DNS additional option information includes ciphertext sensitive information.
- the second extended domain name system additional option information is constructed based on the ciphertext sensitive information, so the second domain name system request information only encrypts the local sensitive information compared with the first domain name system request information, and the local sensitive information is encrypted
- the generated ciphertext sensitive information is still included in the additional option information of the second extended domain name system, so the second domain name system request information is not encrypted as a whole.
- the second domain name system request information is in the first
- the domain name system request information still has the same data structure. Therefore, this embodiment of the application does not encrypt the entire first domain name system request information, but can encrypt sensitive information separately to obtain the second domain name carrying ciphertext sensitive information.
- the system requests information to realize the protection of sensitive information, so that the equipment in the transmission path does not need to support the encryption and decryption of the entire domain name system request information, thereby reducing the overhead of network resources and reducing the maintenance cost of equipment.
- the ciphertext-sensitive information is filled into the second extended domain name system additional option information.
- the second extended domain name system additional option information can also be used to store the key used for the encrypted ciphertext-sensitive information.
- the ciphertext-sensitive information may be stored in the ADDRESS field in the second extended domain name system additional option information.
- Step S1284 Get the second domain name system request information according to the second extended domain name system additional option information and the second additional option information.
- the intermediate resolver obtains the second domain name system request information according to the second additional option information. Since the encrypted ciphertext sensitive information of local sensitive information is still included in the second additional option information, this embodiment of the present application does not The entire first domain name system request information is not encrypted, but the sensitive information can be encrypted separately to obtain the second domain name system request information carrying ciphertext sensitive information to realize the protection of sensitive information, so that the equipment in the transmission path does not need to It supports the encryption and decryption processing of the entire domain name system request information, thereby reducing the overhead of network resources and reducing the maintenance cost of equipment.
- the first extended domain name system additional option information may store ciphertext-sensitive information, or a key used to encrypt sensitive information
- the second additional option information may store a SIGNATURE field, and the SIGNATURE field may Store ciphertext sensitive information, and also store the key used to encrypt sensitive information. Therefore, the second domain name system request information is obtained according to the updated first extended domain name system additional option information and the second additional option information, which only encrypts sensitive information, but does not encrypt the entire domain name system request information.
- FIG. 15 is a flow chart of the specific method of step S1284 in FIG. 14.
- FIG. 15 further illustrates step S1284, which may include but not limited to step S12841 and step S12842.
- Step S12841 Fill key information or second signature information in the second encrypted signature field, wherein the key information is used to decrypt the ciphertext sensitive information, and the second signature information is used to verify the integrity of the encrypted local sensitive information.
- the key information can be the public key used to encrypt the sensitive information, and the authoritative domain name system server can decrypt the ciphertext sensitive information according to the key information.
- the key information can also reflect the public key used when encrypting the sensitive information. encryption algorithm.
- the second signature information can be used to verify the encrypted local sensitive information, so as to ensure the integrity of the local sensitive information.
- the SIGNATURE field of the second domain name system request information may also be used to store the public key used to encrypt sensitive information.
- Step S12842 According to the second extended domain name system additional option information and the second additional option information including key information or second signature information, obtain the second domain name system request information.
- the second domain name system request information carries ciphertext sensitive information in the second additional option information compared with the first domain name system request information, therefore, this embodiment of the application does not encrypt the entire first domain name system request information
- the sensitive information can be encrypted separately to obtain the second domain name system request information carrying the ciphertext sensitive information to realize the protection of sensitive information, so that the devices in the transmission path do not need to support the encryption and decryption processing of the entire domain name system request information , thereby reducing the overhead of network resources and reducing the maintenance cost of equipment.
- FIG. 16 is a flow chart of the specific method of step S126 in FIG. 12.
- FIG. 16 further illustrates step S126, which may include but not limited to step S1261 and step S1262.
- Step S1261 Determine the second encryption policy information according to the information length of the local sensitive information, where the second encryption policy information includes the second ciphertext length.
- the second encryption policy information is determined according to the information length of the local sensitive information.
- the intermediate resolver can determine that the remote sensitive information type is an Internet Protocol version 4 address by detecting the information length of the local sensitive information, and set the second encryption strategy The information is configured as second encryption policy information corresponding to an Internet Protocol version 4 address.
- the intermediate resolver can determine that the remote sensitive information type is an Internet Protocol version 6 address by detecting the information length of the local sensitive information, and set the second encryption strategy
- the information is configured as second encryption policy information corresponding to an Internet Protocol version 6 address.
- the second encryption policy information includes not only the length of the first ciphertext, but also an encryption method for local sensitive information.
- the local sensitive information corresponds to an Internet Protocol version 4 address
- the encryption method first from the local Extract the domain name field in the form of Internet Protocol version 4 from the sensitive information, and convert it into an integer and real number through the string conversion function, and limit the converted integer between 0 and 15 through the value limit.
- the address is also an Internet Protocol version 4 address, so a 32-bit address space needs to be reserved, and the converted integer and real number are converted into four four-digit binary numbers, and the remaining address space is filled with zeros, and then 8-bit binary numbers are taken from the beginning each time Convert it into a decimal number to obtain the IP version 4 address, and then use the hash algorithm to obtain the pseudo-address corresponding to the IP version 4 address, so as to realize the encryption of sensitive information.
- the local sensitive information corresponds to an Internet Protocol version 6 address
- the local sensitive information is regarded as a whole string for encryption.
- the encryption algorithm used in this process includes but is not limited to the MD5 information digest algorithm. Due to the local Sensitive information is an Internet Protocol version 6 address, so a 128-bit address space needs to be reserved.
- the local sensitive information is encrypted twice to reduce the number of bits of the encrypted ciphertext sensitive information.
- Step S1262 Encrypt the local sensitive information according to the second encryption policy information to obtain ciphertext sensitive information, wherein the information length of the ciphertext sensitive information matches the first ciphertext length.
- the local sensitive information is encrypted according to the second encryption policy information to obtain ciphertext sensitive information.
- the second encryption policy information is configured to correspond to an IP version 4 address.
- the second encryption policy information of the address specifically, first extract the domain name field in the form of Internet protocol version 4 from the local sensitive information, and convert it into an integer and real number through the string conversion function, and the converted integer can be restricted by the numerical value
- the limit is between 0 and 15.
- the encrypted pseudo-address is also an Internet Protocol version 4 address
- a 32-bit address space needs to be reserved, and the converted integer and real number are converted into four four-digit binary numbers, and the remaining The address space is filled with zeros, and then the 8-bit binary number is converted to a decimal number from the beginning each time to obtain the IP version 4 address, and then the hash algorithm is used to obtain the pseudo-address corresponding to the IP version 4 address, so as to realize the protection of sensitive information encryption.
- the second encryption policy information is configured as the second encryption policy information corresponding to the IP version 6 address, and the local sensitive information is regarded as an entire string for encryption.
- the encrypted algorithm includes but is not limited to the MD5 message digest algorithm. Since the local sensitive information is an Internet Protocol version 6 address, a 128-bit address space needs to be reserved.
- the first domain name system request information is constructed based on the message body of the pseudo-address type in the embodiment of the present application.
- the type of local sensitive information can be known through the first domain name system request information. For example, if the local sensitive information corresponds to the Internet protocol Version 4 address, assign the FAMILY field of the second DNS request information to 1, and assign the FAMILY field of the second Domain Name System request information to 2 if the local sensitive information corresponds to an IP version 6 address.
- the type of local sensitive information is determined through the FAMILY field of the first domain name system request information. For example, when the FAMILY field of the first domain name system request information is assigned a value of 1, the local sensitive information corresponds to Internet protocol version 4 For the address, when the FAMILY field of the first domain name system request information is assigned a value of 1, the local sensitive information corresponds to an IP version 6 address.
- FIG. 17 is a flow chart of the specific method of step S1262 in FIG. 16.
- FIG. 17 further illustrates step S1262.
- This step S1262 may include but not limited to step S12621 and step S12622.
- Step S12621 Perform the first encryption process on the local sensitive information according to the second encryption policy information to obtain the second ciphertext information.
- the local sensitive information is first encrypted according to the second encryption policy information to obtain the second ciphertext information
- the second ciphertext information may be the IP address obtained according to the local sensitive information, for example, when the local sensitive information
- the information corresponds to the IP version 4 address
- the second encryption policy information is configured as the second encryption policy information corresponding to the IP version 4 address.
- the domain name field in the form of the IP version 4 is extracted from the local sensitive information, and Convert it into an integer and real number through the string conversion function, and limit the converted integer between 0 and 15 through the value limit.
- the encrypted pseudo-address is also an Internet Protocol version 4 address
- 32 bits need to be reserved address space, convert the converted integer and real numbers into four four-digit binary numbers, fill the remaining address space with zeros, and convert 8-bit binary numbers into decimal numbers from the beginning each time to obtain Internet Protocol version 4 addresses.
- the second encryption policy information is configured as the second encryption policy information corresponding to an Internet Protocol version 6 address, and the 128-bit Internet address is obtained by performing the first encryption process on the local sensitive information. Protocol version 6 address.
- Step S12622 Perform a second encryption process on the second ciphertext information according to the second encryption strategy information to obtain ciphertext-sensitive information, wherein the information length of the ciphertext-sensitive information is smaller than the information length of the second ciphertext information.
- the second encryption process is performed on the second ciphertext information according to the second encryption strategy information to obtain the ciphertext sensitive information.
- the domain name field in the form of Internet Protocol version 4 is extracted from the local sensitive information, and passed through the character
- the string conversion function converts it into an integer and real number, and the converted integer can be limited between 0 and 15 through the value limit. Since the encrypted pseudo-address is also an Internet Protocol version 4 address, it is necessary to reserve a 32-bit address space.
- Due to the limitation of the number of addresses if the IP version 4 address still exceeds 32 bits after a second encryption process, at least one second encryption process is performed again to prevent the information length of the ciphertext sensitive information obtained after the encryption process from being greater than the second encryption process. The information length of the second ciphertext results in information loss.
- the second encryption policy information is configured as the second encryption policy information corresponding to an Internet Protocol version 6 address, and the local sensitive information is regarded as an entire string for encryption
- the The encryption algorithm used in the process includes but is not limited to, since the local sensitive information corresponds to the IP version 6 address, 128-bit address space needs to be reserved. If the length of the IP version 6 address obtained after the first encryption of the local sensitive information is still greater than 128 bits after the second encryption, perform at least one second encryption again to prevent the ciphertext obtained after the encryption The information length of the sensitive information is greater than the information length of the second ciphertext, resulting in loss of information.
- the algorithm used in the second encryption process includes but is not limited to a hash algorithm or an MD5 message digest algorithm.
- the ECRYPTION TYPE field is set according to the encryption algorithm type used for encrypting the sensitive information. For example, when the sensitive information is not encrypted, the ECRYPTION TYPE field is assigned a value of 0; when the sensitive information is encrypted using the MD5 information digest algorithm, the ECRYPTION TYPE field is assigned a value of 1; when using the Secure Hash Algorithm 1 (Secure Hash Algorithm 1 , SHA-1), the ECRYPTION TYPE field is assigned a value of 2.
- FIG. 18 is a flowchart of an information processing method provided by another embodiment of the present application.
- the information processing method may also include but not limited to step S140 and step S150 .
- Step S140 Receive the feedback information sent by the authoritative domain name system server according to the ciphertext sensitive information and the first ciphertext mark information, wherein the feedback information includes the feedback type information and the second ciphertext mark information.
- the authoritative domain name system server After receiving the second domain name system request information, the authoritative domain name system server generates feedback information according to the second domain name system request information, and sends the feedback information to the client device.
- the feedback information is used to enable the client device to obtain the required
- the feedback information is also used to let the intermediate resolver or the client device know whether the authoritative domain name system server successfully decrypts the ciphertext sensitive information in the second domain name system name request information.
- the feedback information is constructed according to the PADR message body combination type in the embodiment of the present application.
- the feedback information also includes extended DNS subnet option information.
- Step S150 Perform information processing according to the feedback type information and the second ciphertext mark information.
- the intermediate resolver performs information processing according to the feedback type information and the second ciphertext mark information carried in the feedback information, so that the intermediate resolver can perform further processing according to the processing status of the authoritative domain name system server.
- FIG. 19 is a flow chart of the specific method of step S150 in FIG. 18.
- FIG. 19 further illustrates step S150, which may include but not limited to step S151 and step S152.
- Step S151 When the feedback type information indicates that the authoritative DNS server cannot recognize the second DNS request information, and the second ciphertext mark information indicates that the authoritative DNS server cannot decrypt the ciphertext sensitive information, reconstruct the first DNS request information according to the first DNS request information.
- the authoritative domain name system server cannot decrypt the ciphertext sensitive information, so the intermediate resolver reconstructs according to the first domain name system request information
- the third domain name system requests information, and the third domain name system request information does not include encrypted sensitive information.
- the corresponding authoritative DNS server does not support the extended DNS client subnet option or the corresponding authoritative DNS server is not pre-configured with the corresponding decryption algorithm or the If the authoritative domain name system server fails, reconstruct the third domain name system request information and send the third domain name system request information to the authoritative domain name system server, so as to detect the availability of the authoritative domain name system server.
- the feedback information uses the pseudo-address type message body structure in the embodiment of this application, so by checking the ECRYPTION FLAG field in the feedback information, it can be determined whether the authoritative domain name system server can recognize the second domain name system request information and whether The ciphertext sensitive information in the second domain name system request information can be decrypted.
- the authoritative domain name system server cannot recognize the request information of the second domain name system, and cannot decrypt the ciphertext sensitive information in the request information of the second domain name system .
- a new authoritative domain name system server is selected.
- the third domain name system request information may or may not carry the second additional option information and/or the first extended domain name system additional option information, which is not specifically limited in this embodiment.
- the third domain name system request information may or may not carry the second additional option information and/or the second extended domain name system additional option information, which is not specifically limited in this embodiment.
- Step S152 Send the third domain name system request information to the authoritative domain name system server, so that the authoritative domain name system server performs information processing according to the third domain name system request information.
- the intermediate resolver sends the third domain name system request information to the authoritative domain name system server, so that the authoritative domain name system server performs information processing according to the third domain name system request information.
- FIG. 20 is a flowchart of another specific method of step S150 in FIG. 18.
- FIG. 20 further illustrates step S150, which may include but not limited to step S153 and step S154.
- Step S153 When the feedback type information indicates that the authoritative DNS server normally recognizes the request information of the second DNS, and the second ciphertext mark information indicates that the authoritative DNS server has not decrypted the sensitive information of the ciphertext, reconstruct the first DNS request information according to the first DNS request information.
- Four domain name system request information wherein the fourth domain name system request information includes plaintext sensitive information corresponding to ciphertext sensitive information.
- the authoritative domain name system server cannot recognize the request information of the second domain name system
- the authoritative domain name system server cannot decrypt the ciphertext sensitive information, so the intermediate resolver reconstructs according to the first domain name system request information
- the fourth domain name system requests information, and the fourth domain name system includes plaintext sensitive information corresponding to the ciphertext sensitive information.
- the feedback type information indicates that the authoritative DNS server cannot recognize the request information of the second DNS, for example, the corresponding authoritative DNS server does not support the extended DNS client subnet option or the corresponding authoritative DNS server is not pre-configured with the corresponding decryption algorithm, then Reconstructing the request information of the fourth domain name system that records sensitive information in clear text, and sending the request information of the fourth domain name system to an authoritative domain name system server, so as to improve compatibility.
- the feedback information uses the pseudo-address type message body structure in the embodiment of this application, so by checking the ECRYPTION FLAG field in the feedback information, it can be determined whether the authoritative domain name system server can recognize the second domain name system request information and whether The ciphertext sensitive information in the second domain name system request information can be decrypted.
- the FLAG flag in the ECRYPTION FLAG field of the feedback information is 2
- the fourth domain name system request information may or may not carry the second additional option information and/or the first extended domain name system additional option information, which is not specifically limited in this embodiment.
- the fourth domain name system request information may or may not carry the second additional option information and/or the second extended domain name system additional option information, which is not specifically limited in this embodiment.
- Step S154 Send the fourth domain name system request information to the authoritative domain name system server, so that the authoritative domain name system server performs information processing according to the plaintext sensitive information.
- the intermediate resolver sends the fourth domain name system request information to the authoritative domain name system server, so that the authoritative domain name system server performs information processing according to the plaintext sensitive information carried in the fourth domain name system request information.
- the feedback information further includes a target Internet Protocol address, where the target Internet Protocol address is an Internet Protocol address corresponding to the first Domain Name System request information.
- FIG. 21 is a flowchart of another specific method of step S150 in FIG. 18.
- FIG. 21 further illustrates step S150, which may include but not limited to step S155 and step S156.
- Step S155 When the feedback type information indicates that the authoritative DNS server normally recognizes the second DNS request information, and the second ciphertext mark information indicates that the authoritative DNS server correctly decrypts the ciphertext sensitive information, cache the first DNS request information and the target Internet Mapping relationship between interconnection protocol addresses.
- the feedback type information indicates that the authoritative domain name system server normally recognizes the request information of the second domain name system
- the second ciphertext mark information indicates that the authoritative domain name system server correctly decrypts the ciphertext sensitive information
- the second domain name system requests information, and decrypts the ciphertext sensitive information in the second domain name system request information, and caches the mapping relationship between the first domain name system request information and the target Internet Protocol address in the intermediate resolver
- the feedback information uses the pseudo-address type message body structure in the embodiment of this application, so by checking the ECRYPTION FLAG field in the feedback information, it can be determined whether the authoritative domain name system server can recognize the second domain name system request information and whether The ciphertext sensitive information in the second domain name system request information can be decrypted.
- the authoritative domain name system server can recognize the second domain name system request information and can decrypt the ciphertext sensitive information.
- Step S156 Forward the feedback information back to the originator of the first domain name system request information.
- the feedback information includes the Internet Protocol address corresponding to the first domain name system request information, and by forwarding the feedback information back to the initiator of the first domain name system request information, the initiator of the first domain name system request information can A mapping relationship between the first Domain Name System request information and the target Internet Protocol address is obtained.
- the feedback information may be encrypted or unencrypted, which is not specifically limited in this embodiment.
- the initiator of the first domain name system request information may be a client device or an intermediate resolver, which is not specifically limited in this embodiment.
- FIG. 22 is a flowchart of an information processing method provided in a specific example of the present application.
- the information processing method is applied to, and the information processing method includes the following steps:
- Step S101 receiving the first domain name system request information
- Step S102a Extract the domain name field in the first domain name system request information and check whether there is a corresponding resolution record in the local DNS cache. When there is a corresponding resolution record in the local DNS cache, construct DNS response information based on the resolution record and send it to the client device ;
- Step S102b when there is no corresponding resolution record in the local DNS cache, obtain sensitive information
- Step S103 Select an encryption algorithm according to the length of the sensitive information to encrypt the sensitive information to obtain the ciphertext sensitive information
- Step S104 Reconstruct the first Domain Name System request information in eDNS0 format according to the ciphertext sensitive information to obtain the second Domain Name System request information;
- Step S105 Encapsulate the second domain name system request information into a UDP packet and send it to the authoritative domain name system server;
- Step S106 Receive feedback information from the authoritative domain name system server, check the RCODE field in the feedback information, and when the return code of the RCODE field is 0, check the ENCRYPTION FLAG field in the PADR field;
- Step S107a When the field return code of the ENCRYPTION FLAG field is 0, fill in the RDATA field with unencrypted sensitive information to construct the third domain name system request information and send it to the authoritative domain name system server;
- Step S107b When the field return code of the ENCRYPTION FLAG field is 1, check other fields of the feedback information.
- Step S108 If all fields of the feedback information are normal, record the domain name mapping relationship in the feedback information into the local DNS cache, and forward the domain name mapping relationship back to the client device.
- the specific method for selecting an encryption algorithm according to the length of sensitive information in step S103 includes: when the target of sensitive information is to be mapped to a shorter IPv4 address, reserve 32-bit address space, and each 4-bit corresponds to an integer. Convert the sensitive information into an integer and real number with the string conversion function, convert the converted integer and real number into four four-digit binary numbers, fill the remaining address space with zeros, and convert the 8-bit binary number to a decimal number from the beginning each time. to get the IPv4 address.
- the EXTENDED-RCODE field in the TTL element is set to 0x1, indicating that the domain name system request information carries ciphertext-sensitive information.
- the OPTION-CODE field in the RDATA field is set to 27000, the OPTION-LENGTH field is set to 36, and the FAMILY field is set to 1, indicating that the IPv4 address format will be used in the future;
- the ENCRYPTION TYPE field is set to 2, indicating that crc32(), bese_convert() will be used encryption mechanism;
- the ENCRYPTION FLAG field is set to 0, which is used in the DNS request message, indicating that the message has an encrypted pseudo-address, and by default the remote DNS authoritative server cannot recognize the message;
- the SIGNATURE field is filled with encrypted ciphertext Sensitive information or keys used in the encryption process.
- the pseudo-address obtained after encryption may also be filled in the ADDRESS field
- the specific method of selecting an encryption algorithm according to the length of the sensitive information in step S103 also includes: when the target of the sensitive information is to be mapped to a longer IPv6 address, reserving a 128-bit address space. Convert sensitive information into a 128-bit character string in MD5 mode, and each 4 bits corresponds to a character to obtain an IPv6 address.
- the EXTENDED-RCODE field in the TTL element is set to 0x1, indicating that the domain name system request information carries ciphertext-sensitive information.
- the OPTION-CODE field in the RDATA field is set to 27000, the OPTION-LENGTH field is set to 132, and the FAMILY field is set to 2, indicating that the IPv6 address format will be used in the future; the ENCRYPTION TYPE field is set to 1; the ENCRYPTION FLAG field is set to 0 for In the DNS request message, it means that the message has an encrypted pseudo-address, and by default the remote DNS authoritative server cannot recognize the message; the SIGNATURE field is filled with encrypted ciphertext sensitive information or the key used in the encryption process.
- the pseudo-address obtained after encryption may also be filled in the ADDRESS field of the extended domain name system client subnet option information.
- an embodiment of the present application also provides an intermediate parser, which includes: a memory, a processor, and a computer program stored in the memory and operable on the processor.
- the processor and memory can be connected by a bus or other means.
- memory can be used to store non-transitory software programs and non-transitory computer-executable programs.
- the memory may include high-speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid-state storage devices.
- the memory optionally includes memory located remotely from the processor, and these remote memories may be connected to the processor via a network. Examples of the aforementioned networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
- the intermediate parser in this embodiment can be applied to, for example, the intermediate parser 120 in the embodiment shown in Figure 1, and the intermediate parser in this embodiment can constitute, for example, the A part of the system architecture, these embodiments all belong to the same inventive concept, so these embodiments have the same implementation principle and technical effect, and will not be described in detail here.
- the non-transitory software programs and instructions required to realize the information processing method of the above-mentioned embodiment are stored in the memory, and when executed by the processor, the information processing method in the above-mentioned embodiment is executed, for example, the above-described execution in FIG. 2
- Method steps S1221 to S1222 Method steps S12221 to S12222 in FIG. 11 , method steps S125 to S128 in FIG. 12 , method steps S1281 to S1282 in FIG. 13 , method steps S1283 to S1284 in FIG.
- Method steps S12841 to S12842 method steps S1261 to S1262 in FIG. 16, method steps S12621 to S12622 in FIG. 17, method steps S140 to S150 in FIG. 18, method steps S151 to S152 in FIG. Method steps S153 to S154, method steps S155 to S156 in FIG. 21 or method steps S101 to S108 as shown in FIG. 22 .
- an embodiment of the present application also provides a network device, the network device includes the intermediate resolver in the above embodiment, so the network device in this embodiment and the intermediate resolver in the above embodiment belong to the same invention Therefore, these embodiments have the same implementation principle and technical effect, and will not be described in detail here.
- an embodiment of the present application also provides a computer-readable storage medium, the computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are executed by a processor or a controller, for example, by the above-mentioned Execution by a processor in the device embodiment can cause the processor to execute the information processing method in the above embodiment, for example, execute the method steps S110 to S130 in FIG. 2 and the method steps S121 to S124 in FIG. 6 described above. , method steps S1241 to S1242 in FIG. 7, method steps S1243 to S1244 in FIG. 8, method steps S12441 to S12442 in FIG. 9, method steps S1221 to S1222 in FIG. 10, method steps S12221 to S12222 in FIG.
- method steps S125 to S128 in FIG. 12 method steps S1281 to S1282 in FIG. 13 , method steps S1283 to S1284 in FIG. 14 , method steps S12841 to S12842 in FIG. 15 , method steps S1261 to S1262 in FIG. 16 , method steps S12621 to S12622 in FIG. 17 , method steps S140 to S150 in FIG. 18 , method steps S151 to S152 in FIG. 19 , method steps S153 to S154 in FIG. 20 , method steps S155 to S156 in FIG. 21 Or the method steps S101 to S108 as shown in FIG. 22 .
- Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disk (DVD) or other optical disk storage, magnetic cartridges, tape, magnetic disk storage or other magnetic storage devices, or can Any other medium used to store desired information and which can be accessed by a computer.
- communication media typically embodies computer readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media .
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Hardware Design (AREA)
- Computing Systems (AREA)
- General Engineering & Computer Science (AREA)
- Power Engineering (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
Description
Claims (20)
- 一种信息处理方法,应用于中间解析器,所述方法包括:接收第一域名系统请求信息;根据所述第一域名系统请求信息得到第二域名系统请求信息,其中,所述第二域名系统请求信息包括密文敏感信息和第一密文标记信息,所述第一密文标记信息用于指示所述密文敏感信息为密文信息;将所述第二域名系统请求信息发送给权威域名系统服务器,使得所述权威域名系统服务器根据所述密文敏感信息和所述第一密文标记信息进行信息处理。
- 根据权利要求1所述的方法,其中,所述第一域名系统请求信息包括第一扩展域名系统附加选项信息,其中,所述第一扩展域名系统附加选项信息包括源端敏感信息;所述根据所述第一域名系统请求信息得到第二域名系统请求信息,包括:获取所述第一扩展域名系统附加选项信息中的所述源端敏感信息;对所述源端敏感信息进行加密处理得到所述密文敏感信息;构建第一附加选项信息,其中,所述第一附加选项信息包括所述第一密文标记信息;根据所述密文敏感信息和所述第一附加选项信息得到第二域名系统请求信息。
- 根据权利要求2所述的方法,其中,所述第一附加选项信息包括第一加密签名字段;所述根据所述密文敏感信息和所述第一附加选项信息得到第二域名系统请求信息,包括:将所述密文敏感信息填充进所述第一加密签名字段;根据包括所述第一密文标记信息和所述密文敏感信息的所述第一附加选项信息,得到第二域名系统请求信息。
- 根据权利要求2所述的方法,其中,所述根据所述密文敏感信息和所述第一附加选项信息得到第二域名系统请求信息,包括:将所述第一扩展域名系统附加选项信息中的所述源端敏感信息更新为所述密文敏感信息;根据更新后的所述第一扩展域名系统附加选项信息和所述第一附加选项信息得到第二域名系统请求信息。
- 根据权利要求4所述的方法,其中,所述第一附加选项信息包括第一加密签名字段;所述根据更新后的所述第一扩展域名系统附加选项信息和所述第一附加选项信息得到第二域名系统请求信息,包括:在所述第一加密签名字段中填充密钥信息或者第一签名信息,其中,所述密钥信息用于解密所述密文敏感信息,所述第一签名信息用于验证加密后的所述源端敏感信息的完整性;根据更新后的所述第一扩展域名系统附加选项信息,以及包括所述密钥信息或者所述第一签名信息的所述第一附加选项信息,得到第二域名系统请求信息。
- 根据权利要求2所述的方法,其中,所述对所述源端敏感信息进行加密处理得到所述密文敏感信息,包括:根据所述源端敏感信息的信息长度确定第一加密策略信息,其中,所述第一加密策略信息包括第一密文长度;根据所述第一加密策略信息对所述源端敏感信息进行加密处理得到所述密文敏感信息, 其中,所述密文敏感信息的信息长度与所述第一密文长度相匹配。
- 根据权利要求6所述的方法,其中,所述根据所述第一加密策略信息对所述源端敏感信息进行加密处理得到所述密文敏感信息,包括:根据所述第一加密策略信息对所述源端敏感信息进行第一加密处理得到第一密文信息;根据所述第一加密策略信息对所述第一密文信息进行第二加密处理得到所述密文敏感信息,其中,所述密文敏感信息的信息长度小于所述第一密文信息的信息长度。
- 根据权利要求1所述的方法,其中,所述第一域名系统请求信息不包括第一扩展域名系统附加选项信息;所述根据所述第一域名系统请求信息得到第二域名系统请求信息,包括:根据所述第一域名系统请求信息获取本地敏感信息;对所述本地敏感信息进行加密处理得到所述密文敏感信息;构建第二附加选项信息,其中,所述第二附加选项信息包括所述第一密文标记信息;根据所述密文敏感信息和所述第二附加选项信息得到第二域名系统请求信息。
- 根据权利要求8所述的方法,其中,所述第二附加选项信息包括第二加密签名字段;所述根据所述密文敏感信息和所述第二附加选项信息得到第二域名系统请求信息,包括:将所述密文敏感信息填充进所述第二加密签名字段;根据包括所述第一密文标记信息和所述密文敏感信息的所述第二附加选项信息,得到第二域名系统请求信息。
- 根据权利要求8所述的方法,其中,所述根据所述密文敏感信息和所述第二附加选项信息得到第二域名系统请求信息,包括:根据所述密文敏感信息构建第二扩展域名系统附加选项信息,其中,所述第二扩展域名系统附加选项信息包括所述密文敏感信息;根据所述第二扩展域名系统附加选项信息和所述第二附加选项信息得到第二域名系统请求信息。
- 根据权利要求10所述的方法,其中,所述第二附加选项信息包括第二加密签名字段;所述根据所述第二扩展域名系统附加选项信息和所述第二附加选项信息得到第二域名系统请求信息,包括:在所述第二加密签名字段中填充密钥信息或者第二签名信息,其中,所述密钥信息用于解密所述密文敏感信息,所述第二签名信息用于验证加密后的所述本地敏感信息的完整性;根据所述第二扩展域名系统附加选项信息,以及包括所述密钥信息或者所述第二签名信息的所述第二附加选项信息,得到第二域名系统请求信息。
- 根据权利要求8所述的方法,其中,所述对所述本地敏感信息进行加密处理得到所述密文敏感信息,包括:根据所述本地敏感信息的信息长度确定第二加密策略信息,其中,所述第二加密策略信息包括第二密文长度;根据所述第二加密策略信息对所述本地敏感信息进行加密处理得到所述密文敏感信息,其中,所述密文敏感信息的信息长度与所述第二密文长度相匹配。
- 根据权利要求12所述的方法,其中,所述根据所述第二加密策略信息对所述本地敏感信息进行加密处理得到所述密文敏感信息,包括:根据所述第二加密策略信息对所述本地敏感信息进行第一加密处理得到第二密文信息;根据所述第二加密策略信息对所述第二密文信息进行第二加密处理得到所述密文敏感信息,其中,所述密文敏感信息的信息长度小于所述第二密文信息的信息长度。
- 根据权利要求1至13任意一项所述的方法,其中,所述将所述第二域名系统请求信息发送给权威域名系统服务器之后,所述方法还包括:接收所述权威域名系统服务器根据所述密文敏感信息和所述第一密文标记信息发送的反馈信息,其中,所述反馈信息包括反馈类型信息和第二密文标记信息;根据所述反馈类型信息和所述第二密文标记信息进行信息处理。
- 根据权利要求14所述的方法,其中,所述根据所述反馈类型信息和所述第二密文标记信息进行信息处理,包括:当所述反馈类型信息表示所述权威域名系统服务器无法识别所述第二域名系统请求信息,并且所述第二密文标记信息表示所述权威域名系统服务器无法解密所述密文敏感信息,根据所述第一域名系统请求信息重构第三域名系统请求信息,其中,所述第三域名系统请求信息不包括所述密文敏感信息;将所述第三域名系统请求信息发送给所述权威域名系统服务器,使得所述权威域名系统服务器根据所述第三域名系统请求信息进行信息处理。
- 根据权利要求14所述的方法,其中,所述根据所述反馈类型信息和所述第二密文标记信息进行信息处理,包括:当所述反馈类型信息表示所述权威域名系统服务器正常识别所述第二域名系统请求信息,并且所述第二密文标记信息表示所述权威域名系统服务器没有解密所述密文敏感信息,根据所述第一域名系统请求信息重构第四域名系统请求信息,其中,所述第四域名系统请求信息包括所述密文敏感信息对应的明文敏感信息;将所述第四域名系统请求信息发送给所述权威域名系统服务器,使得所述权威域名系统服务器根据所述明文敏感信息进行信息处理。
- 根据权利要求14所述的方法,其中,所述反馈信息还包括目标网际互连协议地址;所述根据所述反馈类型信息和所述第二密文标记信息进行信息处理,包括:当所述反馈类型信息表示所述权威域名系统服务器正常识别所述第二域名系统请求信息,并且所述第二密文标记信息表示所述权威域名系统服务器正确解密所述密文敏感信息,缓存所述第一域名系统请求信息与所述目标网际互连协议地址之间的映射关系;将所述反馈信息转发回所述第一域名系统请求信息的发起方。
- 一种中间解析器,包括:存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现如权利要求1至17任意一项所述的信息处理方法。
- 一种网络设备,包括有如权利要求18所述的中间解析器。
- 一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令用于执行权利要求1至17任意一项所述的信息处理方法。
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| EP22827472.6A EP4362421A4 (en) | 2021-06-25 | 2022-06-16 | INFORMATION PROCESSING METHOD, INTERMEDIARY ANALYZER, NETWORK DEVICE AND STORAGE MEDIUM |
| US18/547,070 US12513009B2 (en) | 2021-06-25 | 2022-06-16 | Domain name system request information processing method |
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202110712488.0A CN115604221A (zh) | 2021-06-25 | 2021-06-25 | 信息处理方法、中间解析器、网络设备及存储介质 |
| CN202110712488.0 | 2021-06-25 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2022267977A1 true WO2022267977A1 (zh) | 2022-12-29 |
Family
ID=84544922
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2022/099220 Ceased WO2022267977A1 (zh) | 2021-06-25 | 2022-06-16 | 信息处理方法、中间解析器、网络设备及存储介质 |
Country Status (4)
| Country | Link |
|---|---|
| US (1) | US12513009B2 (zh) |
| EP (1) | EP4362421A4 (zh) |
| CN (1) | CN115604221A (zh) |
| WO (1) | WO2022267977A1 (zh) |
Families Citing this family (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN110463163B (zh) * | 2017-03-28 | 2022-08-05 | Netapp股份有限公司 | 用于提供对会话服务器的按需唤醒访问的方法及系统 |
| CN116980151A (zh) * | 2022-04-22 | 2023-10-31 | 戴尔产品有限公司 | 用于地址加密的方法、电子设备和计算机程序产品 |
| ES3021407T3 (en) * | 2022-08-09 | 2025-05-26 | Nokia Solutions & Networks Oy | Communication network |
| CN115941647B (zh) * | 2023-02-21 | 2023-05-30 | 中国信息通信研究院 | 确保网络标识迭代查询数据可靠性与真实性的方法和装置 |
| CN119675921B (zh) * | 2024-11-28 | 2025-10-21 | 互联网域名系统北京市工程研究中心有限公司 | 一种针对dns区数据的加密方法及系统 |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103825969A (zh) * | 2013-10-29 | 2014-05-28 | 电子科技大学 | 一种基于匿名网络的dns查询方法 |
| CN105959433A (zh) * | 2016-07-22 | 2016-09-21 | 无锡华云数据技术服务有限公司 | 一种域名解析方法及其域名解析系统 |
Family Cites Families (40)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US6961783B1 (en) * | 2001-12-21 | 2005-11-01 | Networks Associates Technology, Inc. | DNS server access control system and method |
| US7734745B2 (en) * | 2002-10-24 | 2010-06-08 | International Business Machines Corporation | Method and apparatus for maintaining internet domain name data |
| US9015469B2 (en) * | 2011-07-28 | 2015-04-21 | Cloudflare, Inc. | Supporting secure sessions in a cloud-based proxy service |
| US9531685B2 (en) * | 2011-12-16 | 2016-12-27 | Akamai Technologies, Inc. | Providing forward secrecy in a terminating SSL/TLS connection proxy using Ephemeral Diffie-Hellman key exchange |
| US8782774B1 (en) * | 2013-03-07 | 2014-07-15 | Cloudflare, Inc. | Secure session capability using public-key cryptography without access to the private key |
| US9350550B2 (en) * | 2013-09-10 | 2016-05-24 | M2M And Iot Technologies, Llc | Power management and security for wireless modules in “machine-to-machine” communications |
| US8996873B1 (en) * | 2014-04-08 | 2015-03-31 | Cloudflare, Inc. | Secure session capability using public-key cryptography without access to the private key |
| US9184911B2 (en) * | 2014-04-08 | 2015-11-10 | Cloudflare, Inc. | Secure session capability using public-key cryptography without access to the private key |
| US8966267B1 (en) * | 2014-04-08 | 2015-02-24 | Cloudflare, Inc. | Secure session capability using public-key cryptography without access to the private key |
| US9137217B1 (en) * | 2014-05-16 | 2015-09-15 | Iboss, Inc. | Manage encrypted network traffic using DNS responses |
| US9544278B2 (en) * | 2015-01-07 | 2017-01-10 | Red Hat, Inc. | Using domain name system security extensions in a mixed-mode environment |
| US9894041B2 (en) * | 2015-09-25 | 2018-02-13 | Microsoft Technology Licensing, Llc | Secure domain name resolution in computer networks |
| US10708226B2 (en) * | 2016-01-29 | 2020-07-07 | Verisign, Inc. | Domain name resolution |
| US10009336B2 (en) * | 2016-05-18 | 2018-06-26 | Cisco Technology, Inc. | Network security system to validate a server certificate |
| US10440053B2 (en) * | 2016-05-31 | 2019-10-08 | Lookout, Inc. | Methods and systems for detecting and preventing network connection compromise |
| US11218465B2 (en) * | 2017-01-29 | 2022-01-04 | Beame.io Ltd. | Establishing an AD-HOC secure connection between two electronic computing devices using a self-expiring locally transmitted information packet |
| CN110537346B (zh) * | 2017-03-06 | 2023-03-24 | 诺基亚技术有限公司 | 安全去中心化域名系统 |
| US10680806B1 (en) * | 2017-10-24 | 2020-06-09 | Verisign, Inc. | DNS-based symmetric-key infrastructure |
| US10701046B1 (en) * | 2017-10-24 | 2020-06-30 | Verisign, Inc. | Symmetric-key infrastructure |
| US11552997B2 (en) * | 2018-02-06 | 2023-01-10 | Akamai Technologies, Inc. | Secure request authentication for a threat protection service |
| WO2020006162A1 (en) * | 2018-06-28 | 2020-01-02 | Iot And M2M Technologies, Llc | Ecdhe key exchange for mutual authentication using a key server |
| US11228448B2 (en) * | 2018-11-20 | 2022-01-18 | Iot And M2M Technologies, Llc | Mutually authenticated ECDHE key exchange for a device and a network using multiple PKI key pairs |
| EP3888337B1 (en) * | 2018-11-26 | 2026-03-18 | Telefonaktiebolaget Lm Ericsson (Publ) | Domain name system queries |
| US11343084B2 (en) * | 2019-03-01 | 2022-05-24 | John A. Nix | Public key exchange with authenticated ECDHE and security against quantum computers |
| US11405204B2 (en) * | 2019-06-15 | 2022-08-02 | Meta Platforms, Inc | Scalable, secure, efficient, and adaptable distributed digital ledger transaction network |
| US12022287B2 (en) * | 2019-07-08 | 2024-06-25 | John A. Nix | EAP-TLS authentication with concealed user identities and wireless networks |
| US11277373B2 (en) * | 2019-07-24 | 2022-03-15 | Lookout, Inc. | Security during domain name resolution and browsing |
| US11438763B2 (en) * | 2019-09-25 | 2022-09-06 | Hughes Network Systems, Llc | System and method for improving network performance when using secure DNS access schemes |
| US11070533B2 (en) * | 2019-10-10 | 2021-07-20 | Forcepoint Llc | Encrypted server name indication inspection |
| US11356423B2 (en) * | 2020-01-14 | 2022-06-07 | Cisco Technology, Inc. | Managing encrypted server-name-indication (ESNI) at proxy devices |
| US11444944B2 (en) * | 2020-02-11 | 2022-09-13 | Mcafee, Llc | Privacy and security enabled domain name system with optional zero-touch provisioning |
| US20210281667A1 (en) * | 2020-03-05 | 2021-09-09 | The Regents Of The University Of California | Named content for end-to-end information-centric ip internet |
| US11336692B1 (en) * | 2020-05-07 | 2022-05-17 | NortonLifeLock Inc. | Employing SNI hostname extraction to populate a reverse DNS listing to protect against potentially malicious domains |
| US20210377016A1 (en) * | 2020-05-29 | 2021-12-02 | EMC IP Holding Company LLC | Key rollover for client side encryption in deduplication backup systems |
| US10924456B1 (en) * | 2020-07-14 | 2021-02-16 | Centripetal Networks, Inc. | Methods and systems for efficient encrypted SNI filtering for cybersecurity applications |
| US20230370423A1 (en) * | 2020-09-15 | 2023-11-16 | Telefonaktiebolaget Lm Ericsson (Publ) | Mechanism for traffic detection in case of encrypted traffic |
| US11677714B2 (en) * | 2020-09-21 | 2023-06-13 | Level 3 Communications, Llc | Collecting passive DNS traffic to generate a virtual authoritative DNS server |
| US11750363B2 (en) * | 2020-11-04 | 2023-09-05 | Bitdefender IPR Management Ltd. | Privacy-preserving domain name service (DNS) |
| US11374898B1 (en) * | 2020-12-14 | 2022-06-28 | Lenovo (Singapore) Pte. Ltd. | Use of partial hash of domain name to return IP address associated with the domain name |
| US12200136B2 (en) * | 2021-05-28 | 2025-01-14 | Comcast Cable Communications, Llc | Systems and methods for secure communication |
-
2021
- 2021-06-25 CN CN202110712488.0A patent/CN115604221A/zh active Pending
-
2022
- 2022-06-16 WO PCT/CN2022/099220 patent/WO2022267977A1/zh not_active Ceased
- 2022-06-16 EP EP22827472.6A patent/EP4362421A4/en active Pending
- 2022-06-16 US US18/547,070 patent/US12513009B2/en active Active
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103825969A (zh) * | 2013-10-29 | 2014-05-28 | 电子科技大学 | 一种基于匿名网络的dns查询方法 |
| CN105959433A (zh) * | 2016-07-22 | 2016-09-21 | 无锡华云数据技术服务有限公司 | 一种域名解析方法及其域名解析系统 |
Non-Patent Citations (1)
| Title |
|---|
| See also references of EP4362421A4 * |
Also Published As
| Publication number | Publication date |
|---|---|
| EP4362421A4 (en) | 2025-06-25 |
| US20240056318A1 (en) | 2024-02-15 |
| US12513009B2 (en) | 2025-12-30 |
| EP4362421A1 (en) | 2024-05-01 |
| CN115604221A (zh) | 2023-01-13 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US11330008B2 (en) | Network addresses with encoded DNS-level information | |
| WO2022267977A1 (zh) | 信息处理方法、中间解析器、网络设备及存储介质 | |
| Arends et al. | Protocol modifications for the DNS security extensions | |
| JP4464963B2 (ja) | 暗号で保護されたプレフィクスを用いたインターネットプロトコルネットワーク用のロケーションプライバシー | |
| JP4054007B2 (ja) | 通信システム、ルータ装置、通信方法、ルーティング方法、通信プログラムおよびルーティングプログラム | |
| US9467416B2 (en) | Methods and systems for dynamic domain name system (DDNS) | |
| JP2009503916A (ja) | マルチ鍵暗号化生成アドレス | |
| US20190306110A1 (en) | Experience differentiation | |
| US10305864B2 (en) | Method and system for interest encryption in a content centric network | |
| JP5132975B2 (ja) | ユーザーエージェントを識別するために匿名ルーティング識別子を生成して送信する装置および関連方法 | |
| WO2008098453A1 (en) | A method, system and apparatus for the dhcp message transmission | |
| Wouters | Dns-based authentication of named entities (dane) bindings for openpgp | |
| CN105721505A (zh) | 一种数据安全传输方法、装置及系统 | |
| Laganier | Host Identity Protocol (HIP) Domain Name System (DNS) Extension | |
| CN103650457A (zh) | 一种共享接入的检测方法、设备和终端设备 | |
| CN110832806B (zh) | 针对面向身份的网络的基于id的数据面安全 | |
| KR101326360B1 (ko) | Dns 서버 간의 보안 통신 방법 및 이를 위한 관할 dns 서버, 그리고 보안 통신 시스템 | |
| Ahrenholz | Host identity protocol distributed hash table interface | |
| CN119675921B (zh) | 一种针对dns区数据的加密方法及系统 | |
| KR100917392B1 (ko) | IPv6 네트워크에서 인접 노드의 탐색 메시지를송수신하는 방법 | |
| CN109120417B (zh) | 计费报文的抄送方法、装置、计费服务器及接入设备 | |
| Buijsman et al. | Securing the last mile of DNS with CGA-TSIG | |
| Schanzenbach et al. | RFC 0000 The GNU Name System | |
| Schanzenbach et al. | RFC 9498: The GNU Name System | |
| CN118984215A (zh) | 层次化密钥管理方法、装置和存储介质 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 22827472 Country of ref document: EP Kind code of ref document: A1 |
|
| WWE | Wipo information: entry into national phase |
Ref document number: 18547070 Country of ref document: US |
|
| WWE | Wipo information: entry into national phase |
Ref document number: 2022827472 Country of ref document: EP |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| ENP | Entry into the national phase |
Ref document number: 2022827472 Country of ref document: EP Effective date: 20240125 |
|
| WWG | Wipo information: grant in national office |
Ref document number: 18547070 Country of ref document: US |