CN105939316A - Message forwarding method and device - Google Patents

Message forwarding method and device Download PDF

Info

Publication number
CN105939316A
CN105939316A CN201510702954.1A CN201510702954A CN105939316A CN 105939316 A CN105939316 A CN 105939316A CN 201510702954 A CN201510702954 A CN 201510702954A CN 105939316 A CN105939316 A CN 105939316A
Authority
CN
China
Prior art keywords
message
address
ipv6
ipv4
tunnel head
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.)
Pending
Application number
CN201510702954.1A
Other languages
Chinese (zh)
Inventor
王涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou DPTech Technologies Co Ltd
Original Assignee
Hangzhou DPTech Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou DPTech Technologies Co Ltd filed Critical Hangzhou DPTech Technologies Co Ltd
Priority to CN201510702954.1A priority Critical patent/CN105939316A/en
Publication of CN105939316A publication Critical patent/CN105939316A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/16Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
    • H04L69/167Adaptation for transition between two IP versions, e.g. between IPv4 and IPv6
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/74Address processing for routing
    • H04L45/741Routing in networks with a plurality of addressing schemes, e.g. with both IPv4 and IPv6
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2101/00Indexing scheme associated with group H04L61/00
    • H04L2101/60Types of network addresses
    • H04L2101/686Types of network addresses using dual-stack hosts, e.g. in Internet protocol version 4 [IPv4]/Internet protocol version 6 [IPv6] networks

Abstract

The invention provides a message forwarding method and a message forwarding device. The method comprises the steps of if determining that a message sent to a server is an IPv4 message, adding a tunnel head which comprises information using the IPv6 address of a virtual network adapter as the source address of the message, and the IPv6 address of a pre-stored AFTR device as the target address of the message into the message; and sending the message added with the tunnel head to the server via the virtual network adapter of the client, thus achieving the purpose that a double-stack user is accessed to an IPv6 single-stack network to visit an IPv4 server.

Description

Message forwarding method and device
Technical field
The present invention relates to communication technical field, particularly relate to a kind of message forwarding method and device.
Background technology
At present, due to IPv4 (Internet protocol fourth edition), address is the most exhausted, and next generation network address Protocol IP v6 (Internet protocol sixth version) then reaches its maturity, and correspondingly, IPv6 network accesses IPv4 network Demand the strongest, to this end, NAT64 agreement is arisen at the historic moment.
NAT64(Network Address and Protocol Translation from IPv6 Client to IPv4 Sever, address and protocol conversion, from IPv6 client to IPv4 server) most IPv6 can be tackled Network accesses IPv4 network demand, but server address can be included in inside message, such as by some application ALG (Application Layer in NAT (Network Address Translation, network address translation) technology Gateway Service, ALG service) agreement.Owing to agreement is numerous and wherein most is non-public affairs Protocols having, causes NAT64 technology cannot well solve problems, thus amplifies out multiple technologies and solves Problems, but the technology solving problems at present is required for entering the network equipment or client protocol stack Row transformation, needs manufacturer terminal and equipment vendors' exploitation, implements difficulty bigger.Therefore, double stack users how Accessing the mono-stack network of IPv6 and accessing IPv4 server is current problem demanding prompt solution.
Summary of the invention
For the defect of prior art, the invention provides a kind of message forwarding method and device.
The present invention provides a kind of message forwarding method, is applied to client, and wherein the method includes:
If it is determined that the message to server transmission is IPv4 message, by described message interpolation tunnel head, wherein, Described tunnel head includes the IPv6 address of described Microsoft Loopback Adapter as the source address of described message, by prestore The IPv6 address of AFTR equipment is as the information of the destination address of described message;
By the Microsoft Loopback Adapter of described client, the message that with the addition of tunnel head is sent to server.
The present invention also provides for a kind of apparatus for forwarding message, is applied to client, and wherein, this device includes:
Adding device, for determine to server send message be IPv4 message time, described message is added Adding tunnel head, wherein, described tunnel head includes the IPv6 address of described Microsoft Loopback Adapter as described message Source address, using the IPv6 address of AFTR equipment that prestores as the information of the destination address of described message;
Transmitting element, for being sent the message that with the addition of tunnel head to clothes by the Microsoft Loopback Adapter of described client Business device.
The message forwarding method of present invention offer and device, be IPv4 determining the message sent to server During message, using IPv4 message add tunnel head so that this IPv4 message as IPv6 message by the void of client Intend network interface card to send to server, and then reach double stack user and access the mono-stack network of IPv6 and access IPv4 server Purpose.
Accompanying drawing explanation
Fig. 1 is a kind of message forwarding method application scenarios schematic diagram in the embodiment of the present invention;
Fig. 2 is a kind of message forwarding method schematic flow sheet in the embodiment of the present invention;
Fig. 3 is the logical structure schematic diagram of a kind of apparatus for forwarding message in the embodiment of the present invention;
Fig. 4 is the hardware structure schematic diagram of apparatus for forwarding message place client in the embodiment of the present invention.
Detailed description of the invention
For making the purpose of the application, technical scheme and advantage clearer, referring to the drawings to this Shen Please scheme be described in further detail.
In order to solve problems of the prior art, the invention provides a kind of message forwarding method and dress Put.
Fig. 1 shows the network environment schematic diagram that the inventive method is applied, including client, AFTR (DS-Lite Address Family Transition Router element, DS-Lite address protocol conversion route Device) equipment (DS-lite gateway device), user access IPv4 be server and DNS (Domain Name System, domain name system) server.
Refer to Fig. 2, for the handling process schematic diagram of the message forwarding method that the present invention provides, this message forwards Method is applied to client.Wherein, this message forwarding method comprises the following steps:
Step 201, however, it is determined that the message sent to server is IPv4 message, adds tunnel by described message Head, wherein, described tunnel head include using the IPv6 address of described Microsoft Loopback Adapter as described message source address, Using the IPv6 address of AFTR equipment that prestores as the information of the destination address of described message;
In actual application, for client, one Microsoft Loopback Adapter can be installed in advance, it is generally the case that virtual net MTU (Maximum Transmission Unit, the MTU) value of card is defaulted as 1500, this The MTU of this Microsoft Loopback Adapter can be set to by bright embodiment 1460 to ensure that the follow-up head to message is believed Breath is normally revised.
Afterwards, enable double stack functions of Microsoft Loopback Adapter, and be this Microsoft Loopback Adapter configuration of IP v4 address, as entering IPv4 address during row DS-lite internal layer DS-lite encapsulation uses, and such as, this IPv4 address can be 192.168.X.X。
Further, DHCP (Dynamic Host Configuration is passed through by this Microsoft Loopback Adapter with user network Protocol, DHCP) v6, pppoe (PPP over Ethernet, point-to-point on Ethernet Agreement) agreements such as 6 obtain IPv6 address after holding consultation, and the IPv6 address that will obtain after consulting is as this The IPv6 address of Microsoft Loopback Adapter.
The outgoing interface of all IPv6 default routes is set to this Microsoft Loopback Adapter, so that what subsequent client sent All flows are all forwarded by this Microsoft Loopback Adapter, complete flow drain work with this.
The embodiment of the present invention need to be based on there is AFTR equipment (the DS-lite net that can do address conversion in network Close) complete, therefore, the embodiment of the present invention also needs to the IPv6 address of the transmission described AFTR equipment of acquisition Request message, to obtain the IPv6 address of described AFTR equipment, and preserves the IPv6 of the AFTR equipment of acquisition Address.Afterwards, using the IPv6 of the AFTR equipment obtained as DS-lite encapsulate time purpose IPv6 of tunnel head Address, to process the access request that IPv4 client is initiated.
Specifically, this request message can be the DNS request message that client sends to dns server, When by the IPv6 address of DNS request Receive message AFTR, can be by by this DNS request message DHCPv6 Option Field in carry the mode of AFTR domain name and obtain;Manual configuration territory can also be passed through Name or the various ways such as aftr.ds-lite of acquiescence is set to obtain the IPv6 address of this AFTR equipment.
After the IPv6 address acquisition success of AFTR equipment, the IPv6 address of this AFTR equipment can be protected Exist in the DS-lite encapsulating sheet that Microsoft Loopback Adapter is specified, in case follow-up use.
After above-mentioned configuration, client i.e. can send message to access via the Microsoft Loopback Adapter installed IPv4 server.Before this, the embodiment of the present invention can also first determine whether to access via this Microsoft Loopback Adapter The message that IPv4 server is sent is IPv4 message or IPv6 message.
If it is determined that this message is IPv4 message, the embodiment of the present invention is in order to ensure that this IPv4 message can normally connect Enter the mono-stack network of IPv6 and access IPv4 server, need the IPv4 message sent by client is modified, So that this IPv4 message is sent as IPv6 message.
This is specifically revised mode and may is that the IPv4 message sent by client is carried out DS-lite encapsulation, So that this IPv4 message is added tunnel head.Wherein, the tunnel head added includes the IPv6 of described Microsoft Loopback Adapter Address is as the source address of described message, the AFTR equipment that will prestore to Microsoft Loopback Adapter in the encapsulating sheet specified IPv6 address as the information of the destination address of described message.Further, described tunnel head can also wrap Include that to characterize this message actual be the protocol number of IPv4 message, such as " 4 ".This tunnel head form can be such as table 1 Shown in:
Table 1
Table 1 shows the tunnel head form that message is added, and is only the example for being further appreciated by the present invention, It is not limited to the particular content in tunnel head form in the embodiment of the present invention.
It is assumed that after being consulted with user network by this Microsoft Loopback Adapter, the IPv6 ground of the Microsoft Loopback Adapter obtained Location is 192.168.X.X, and the IPv6 address of the AFTR equipment of acquisition is 192.168.Y.Y, then client When end accesses IPv4 server, the tunnel head that the IPv4 message for sending via Microsoft Loopback Adapter adds then includes institute State source address 192.168.X.X of message, the destination address 192.168.Y.Y of described message, and characterize this report Literary composition reality is the protocol number " 4 " of IPv4 message.
Further, the embodiment of the present invention may also listen for all transmissions to dns server DNS please Ask message and the DNS back message replied by dns server.When described client sends DNS request During message, record the requested number of times of entrained domain name in described DNS request message;Quilt when domain name Request number of times arrives preset times, determines that described DNS request message is IPv6 message, please by described DNS Ask that to be revised as characterizing described message for the first mark characterizing that described message is IPv6 message in message be IPv4 Second mark of message, and amended DNS request message is sent;Receiving according to described After the DNS back message that DNS request message is replied, obtain the address carried in described DNS back message Information, adds described address information after presetting labelling, preserves to the address information storehouse preset.
For example, it is possible to the default requested number of times of domain name (preset times) is set to 3, when listening to phase When arriving 3 times with the requested number of times of domain name, illustrate that the domain name that this client is asked is not deposited in IPv6 network , and cause client cannot obtain the DNS back message of IP address corresponding with the domain name asked.That , after this DNS request message can being replicated, the DNS request message of this duplication will be used for table Levy the first mark that described message is IPv6 message to be revised as characterizing the second mark that this message is IPv4 message. : message as described in characterizing in this DNS request message is the AAAA record (the first mark) of IPv6 message It is revised as characterizing the A record (the second mark) that described message is IPv4 message, then, by amended DNS Request message sends to dns server.
Receive, in client, the DNS that dns server replys according to this amended DNS request message to return After answering message, obtaining the address information carried in this DNS back message, this address information is asked by client IPv4 address corresponding to the domain name asked.
In order to avoid IPv4 address and DNS cannot be re-used after upgrading to IPv6 version due to certain applications Server proper communication, behind the IPv4 address that the embodiment of the present invention is carried in getting DNS back message, Can by IPv4 address add preset labelling, with by this IPv4 address mark for Ipv6 address.Such as, should Default labelling can be " FF9B:: ", if this IPv4 address is X.X.X.X, then this with the addition of default labelling Address then may is that " FF9B::X.X.X.X " (Ipv6 address).
Afterwards, preserve adding markd address (Ipv6 address) to the address information storehouse preset.Its In, the caching that this address information storehouse preset may be located at Microsoft Loopback Adapter is medium.
Understand according to above-mentioned, due in order to avoid part IPv4 message is because of cannot normal open positive with dns server Believe and part IPv4 address can be revised as IPv6 address (the most above-mentioned IPv4 address that with the addition of default labelling), Therefore, follow-up when client sends message via Microsoft Loopback Adapter to IPv4 server, however, it is determined that client warp It is IPv6 message by Microsoft Loopback Adapter to the message that IPv4 server sends, then to determine the mesh of this IPv6 message Address whether be added with default labelling, to judge whether this IPv6 message is the IPv4 being modified as IPv6 message Message;If the destination address of this IPv6 message is added with default labelling, illustrate that this IPv6 message is to be revised as The IPv4 message of IPv6 message, it may be assumed that this IPv6 message is actual is IPv4 message, can be by this IPv6 message Source IP address be revised as the IPv4 address of described Microsoft Loopback Adapter, by the purpose IP address of described IPv6 message In described default labelling delete.
Such as, if the message that destination address is FF9B:: beginning, then this message is rewritten.Assume mesh Address be FF9B::X.X.X.X, the source IP address in amended IPv6 heading be Microsoft Loopback Adapter distribution IPv4 address (192.168.X.X), default flag F F9B: in destination address: delete (i.e. X.X.X.X) After the IPv4 heading of minimum 32, concrete form is shown in Table 2:
Table 2
Table 2 show the heading to the IPv6 message with default labelling modify after heading form, It is only the example for being further appreciated by the present invention, is not limited in the embodiment of the present invention having pre-bidding The heading of IPv6 message of note modify after heading form in particular content.
Afterwards, can incite somebody to action according to the handling process of the above-mentioned IPv4 message interpolation tunnel head to being sent by client This IPv4 message being revised as IPv6 message adds tunnel head, does not repeats them here.
Step 202, is sent the message that with the addition of tunnel head to server by the Microsoft Loopback Adapter of described client.
The IPv4 message (including being revised as the IPv4 message of IPv6 message) that need to be sent by client is being added After having added tunnel head, then this message that with the addition of tunnel head can be passed through by the Microsoft Loopback Adapter of described client The mono-stack network of IPv6 sends to IPv4 server, and then reaches IPv4 message by the access of IPv6 mono-stack network The purpose of server.
Further, after client receives the response message that described server is replied, if this response message Tunnel head in the protocol number that carries of Next Header field be not 4, illustrate that this message is non-IPv4 message, This non-IPv4 message then can be transmitted to system protocol stack process;
If the protocol number carried in the tunnel head according to described response message determines that described response message is IPv4 report Literary composition, mates the source IP address of described response message with the address information prestored in described address information storehouse, If the match is successful, described response message is carried out DS-lite decapsulation process, and by after DS-lite decapsulation The source IP address of response message adds described default labelling, and purpose IP address is revised as described Microsoft Loopback Adapter IPv6 address.
Specifically, backhaul IPv6 message (response message) the arrival void to client is sent when IPv4 server When intending network interface card, whether first check for protocol number that in the tunnel head of this response message, Next Header field is carried For for characterizing the protocol number 4 that this message is IPv4 message, if so, determining that this response message is IPv4 message, First by the source IP address (IPv4 address) in message and the DNS cache address of record in virtual network Comparing, if the match is successful, then this response message carries out message amendment, specifically amendment mode is:
IPv4 address, source (such as X.X.X.X) interpolation without presetting labelling after being decapsulated by DS-lite is in advance Bidding is remembered, the IPv6 address of Microsoft Loopback Adapter is revised as in purpose IP address by (such as FF9B::X.X.X.X), If message is TCP message, then also need to according to method of the prior art adjust serial number and verification and.
But, if the source IP address in message (IPv4 address) delays with the DNS of record in virtual network Depositing after address compares, the match is successful, illustrates that this message carries IPv4 address, generally has Application software resolves voluntarily, for this situation then can by send system protocol stack to process.
In sum, the message forwarding method that the present invention provides, is IPv4 determining the message sent to server During message, using IPv4 message add tunnel head so that this IPv4 message as IPv6 message by the void of client Intend network interface card to send to server, and then reach double stack user and access the mono-stack network of IPv6 and access IPv4 server Purpose.
The present invention also provides for a kind of apparatus for forwarding message, and Fig. 3 is the structural representation of this apparatus for forwarding message, This device can apply to client, and this apparatus for forwarding message can include adding device 301 and send single Unit 302, wherein:
Adding device 301, for determine to server send message be IPv4 message time, by described report Literary composition adds tunnel head, and wherein, described tunnel head includes the IPv6 address of described Microsoft Loopback Adapter as described report The source address of literary composition, using the IPv6 address of AFTR equipment that prestores as the information of the destination address of described message;
Transmitting element 302, for being sent the message that with the addition of tunnel head extremely by the Microsoft Loopback Adapter of described client Server.
Further, described transmitting element 302 can be also used for sending the IPv6 obtaining described AFTR equipment The request message of address, to obtain the IPv6 address of described AFTR equipment;Preserve the described AFTR obtained The IPv6 address of equipment.
Further, described device can also include recording unit 303, amendment unit 304 and indexing unit 305, wherein, record unit 303 is for when described client sends DNS request message, and record is described The requested number of times of entrained domain name in DNS request message;Amendment unit 304, for when domain name Requested number of times arrives preset times, determines that described DNS request message is IPv6 message, by described DNS Request message is used for characterize the first mark that described message is IPv6 message and be revised as characterizing described message and is Second mark of IPv4 message, and amended DNS request message is sent;Indexing unit 305, For, after receiving the DNS back message replied according to described DNS request message, obtaining described DNS The address information carried in back message, adds described address information after presetting labelling, and preservation is extremely preset In address information storehouse.
Further, described device can also include determining unit 306 and deleting unit 307, wherein, really Cell 306 is for before adding tunnel head by described message, when described user end to server sends When message is IPv6 message, determine whether the destination address of described IPv6 message is added with default labelling;Delete Unit 307, for when the destination address determining described IPv6 message is added with default labelling, by described IPv6 The source IP address of message is revised as the IPv4 address of described Microsoft Loopback Adapter, by purpose IP of described IPv6 message Described default labelling in address is deleted.
Further, described tunnel head also includes that protocol number, described device can also include matching unit 308, For after receiving the response message that described server is replied, if according in the tunnel head of described response message The protocol number carried determines that described response message is IPv4 message, by source IP address and the institute of described response message State the address information prestored in address information storehouse to mate, if the match is successful, described response message is carried out DS-lite decapsulation processes, and adds described by the source IP address of the described response message after DS-lite decapsulation Preset labelling, purpose IP address is revised as the IPv6 address of described Microsoft Loopback Adapter.
The present invention is applied to the apparatus for forwarding message of the network equipment can be with above-mentioned in concrete handling process The handling process of message forwarding method is consistent, does not repeats them here.
Said apparatus can be realized by software, it is also possible to is realized by hardware, apparatus for forwarding message of the present invention The hardware structure schematic diagram of the place network equipment all refers to shown in Fig. 4, and its basic hardware environment includes central authorities Processor CPU, forwarding chip, memorizer and other hardware, wherein memory device includes machine readable Instruction, CPU reads and performs machine readable instructions and performs the function of each unit in Fig. 3.
From the embodiment of any of the above method and apparatus it can be seen that the embodiment of the present invention provide message Retransmission method and device, determine to server send message be IPv4 message time, IPv4 message is added Add tunnel head so that this IPv4 message is sent to server by the Microsoft Loopback Adapter of client as IPv6 message, enter And reach double stack user and access the purpose of IPv6 mono-stack network access IPv4 server.Due to the embodiment of the present invention The custom driver that whole message interaction process fully relies on Microsoft Loopback Adapter completes, it is not necessary to change protocol stack, Also without by auxiliary access device, therefore, the present invention also has higher ease for use.
The foregoing is only presently preferred embodiments of the present invention, not in order to limit the present invention, all at this Within the spirit of invention and principle, any modification, equivalent substitution and improvement etc. done, should be included in Within the scope of protection of the invention.

Claims (10)

1. a message forwarding method, is applied to client, it is characterised in that described method includes:
If it is determined that the message to server transmission is IPv4 message, by described message interpolation tunnel head, wherein, Described tunnel head includes the IPv6 address of described Microsoft Loopback Adapter as the source address of described message, by prestore The IPv6 address of AFTR equipment is as the information of the destination address of described message;
By the Microsoft Loopback Adapter of described client, the message that with the addition of tunnel head is sent to server.
2. the method for claim 1, it is characterised in that described method also includes:
Send the request message of the IPv6 address obtaining described AFTR equipment, to obtain described AFTR equipment IPv6 address;
Preserve the IPv6 address of the described AFTR equipment obtained.
3. the method for claim 1, it is characterised in that described method also includes:
When described client sends DNS request message, record entrained territory in described DNS request message The requested number of times of name;
When the requested number of times of domain name arrives preset times, determine that described DNS request message is IPv6 Message, is revised as being used for characterizing the first mark that described message is IPv6 message in described DNS request message Characterize the second mark that described message is IPv4 message, and amended DNS request message is sent;
After receiving the DNS back message replied according to described DNS request message, obtain described DNS The address information carried in back message, adds described address information after presetting labelling, and preservation is extremely preset In address information storehouse.
4. the method for claim 1, it is characterised in that before described message is added tunnel head, Described method also includes:
When the message that described user end to server sends is IPv6 message, determine the mesh of described IPv6 message Address whether be added with default labelling;
If having, the source IP address of described IPv6 message is revised as the IPv4 address of described Microsoft Loopback Adapter, will Described default labelling in the purpose IP address of described IPv6 message is deleted.
5. the method as described in claim 1 or 4, it is characterised in that described tunnel head also includes protocol number;
After receiving the response message that described server is replied, if taking according in the tunnel head of described response message The protocol number of band determines that described response message is IPv4 message, by the source IP address of described response message with described The address information prestored in address information storehouse is mated, if the match is successful, carries out described response message DS-lite decapsulation processes, and adds described by the source IP address of the described response message after DS-lite decapsulation Preset labelling, purpose IP address is revised as the IPv6 address of described Microsoft Loopback Adapter.
6. an apparatus for forwarding message, is applied to client, it is characterised in that described device includes:
Adding device, for determine to server send message be IPv4 message time, described message is added Adding tunnel head, wherein, described tunnel head includes the IPv6 address of described Microsoft Loopback Adapter as described message Source address, using the IPv6 address of AFTR equipment that prestores as the information of the destination address of described message;
Transmitting element, for being sent the message that with the addition of tunnel head to clothes by the Microsoft Loopback Adapter of described client Business device.
7. device as claimed in claim 6, it is characterised in that described transmitting element is additionally operable to:
Send the request message of the IPv6 address obtaining described AFTR equipment, to obtain described AFTR equipment IPv6 address;
Preserve the IPv6 address of the described AFTR equipment obtained.
8. device as claimed in claim 6, it is characterised in that described device also includes:
Record unit, for when described client sends DNS request message, recording described DNS request The requested number of times of entrained domain name in message;
Amendment unit, arrives preset times for the requested number of times when domain name, determines that described DNS please Seeking message is IPv6 message, is IPv6 message by being used in described DNS request message characterizing described message First mark is revised as characterizing the second mark that described message is IPv4 message, and by amended DNS request Message sends;
Indexing unit, is used for after receiving the DNS back message replied according to described DNS request message, Obtain the address information carried in described DNS back message, described address information added after presetting labelling, Preserve to the address information storehouse preset.
9. device as claimed in claim 6, it is characterised in that described device also includes:
Determine unit, for before described message is added tunnel head, when described user end to server is sent out When the message sent is IPv6 message, determine whether the destination address of described IPv6 message is added with default labelling;
Delete unit, for when the destination address determining described IPv6 message is added with default labelling, by institute The source IP address stating IPv6 message is revised as the IPv4 address of described Microsoft Loopback Adapter, by described IPv6 message Described default labelling in purpose IP address is deleted.
10. the device as described in claim 6 or 9, it is characterised in that described tunnel head also includes protocol number, Described device also includes:
Matching unit, for after receiving the response message that described server is replied, if according to described response The protocol number carried in the tunnel head of message determines that described response message is IPv4 message, by described response message Source IP address mate with the address information prestored in described address information storehouse, if the match is successful, to institute State response message and carry out DS-lite decapsulation process, and by the source of the described response message after DS-lite decapsulation Described default labelling is added in IP address, and purpose IP address is revised as the IPv6 address of described Microsoft Loopback Adapter.
CN201510702954.1A 2015-10-26 2015-10-26 Message forwarding method and device Pending CN105939316A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510702954.1A CN105939316A (en) 2015-10-26 2015-10-26 Message forwarding method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510702954.1A CN105939316A (en) 2015-10-26 2015-10-26 Message forwarding method and device

Publications (1)

Publication Number Publication Date
CN105939316A true CN105939316A (en) 2016-09-14

Family

ID=57153184

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510702954.1A Pending CN105939316A (en) 2015-10-26 2015-10-26 Message forwarding method and device

Country Status (1)

Country Link
CN (1) CN105939316A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109951493A (en) * 2019-03-29 2019-06-28 深圳市信锐网科技术有限公司 A kind of network intercommunication method, device, equipment and storage medium
CN111614596A (en) * 2019-02-22 2020-09-01 北京大学 Remote equipment control method and system based on IPv6 tunnel technology
CN112887444A (en) * 2021-01-19 2021-06-01 网宿科技股份有限公司 VPN (virtual private network) request processing method, client device and system

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005069576A1 (en) * 2004-01-15 2005-07-28 Interactive People Unplugged Ab A method for ipv4 mobility from ipv6 networks
CN1870569A (en) * 2005-05-25 2006-11-29 国际商业机器公司 Network system and its management method, communication terminal and file transmitting method
CN102546362A (en) * 2010-12-20 2012-07-04 中兴通讯股份有限公司 Message processing method, message processing system and customer premises equipment
CN102938736A (en) * 2012-11-20 2013-02-20 杭州迪普科技有限公司 Method and device for realizing IPv6 (Internet Protocol Version 6) network traversing of IPv4 message
CN103107933A (en) * 2011-11-11 2013-05-15 中国移动通信集团公司 Method for digital signal (DS)-Lite communication method and central processing element (CPE) and system for (digital signal) DS-Lite communication
CN103825972A (en) * 2014-02-21 2014-05-28 清华大学 IPv6 tunnel communication method based on ICMPv6
CN104378301A (en) * 2013-08-15 2015-02-25 华为终端有限公司 Data processing method and data processing device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005069576A1 (en) * 2004-01-15 2005-07-28 Interactive People Unplugged Ab A method for ipv4 mobility from ipv6 networks
CN1870569A (en) * 2005-05-25 2006-11-29 国际商业机器公司 Network system and its management method, communication terminal and file transmitting method
CN102546362A (en) * 2010-12-20 2012-07-04 中兴通讯股份有限公司 Message processing method, message processing system and customer premises equipment
CN103107933A (en) * 2011-11-11 2013-05-15 中国移动通信集团公司 Method for digital signal (DS)-Lite communication method and central processing element (CPE) and system for (digital signal) DS-Lite communication
CN102938736A (en) * 2012-11-20 2013-02-20 杭州迪普科技有限公司 Method and device for realizing IPv6 (Internet Protocol Version 6) network traversing of IPv4 message
CN104378301A (en) * 2013-08-15 2015-02-25 华为终端有限公司 Data processing method and data processing device
CN103825972A (en) * 2014-02-21 2014-05-28 清华大学 IPv6 tunnel communication method based on ICMPv6

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111614596A (en) * 2019-02-22 2020-09-01 北京大学 Remote equipment control method and system based on IPv6 tunnel technology
CN111614596B (en) * 2019-02-22 2021-07-09 北京大学 Remote equipment control method and system based on IPv6 tunnel technology
CN109951493A (en) * 2019-03-29 2019-06-28 深圳市信锐网科技术有限公司 A kind of network intercommunication method, device, equipment and storage medium
CN109951493B (en) * 2019-03-29 2021-10-22 深圳市信锐网科技术有限公司 Network intercommunication method, device, equipment and storage medium
CN112887444A (en) * 2021-01-19 2021-06-01 网宿科技股份有限公司 VPN (virtual private network) request processing method, client device and system

Similar Documents

Publication Publication Date Title
US10237230B2 (en) Method and system for inspecting network traffic between end points of a zone
CN103166824B (en) A kind of interconnected method, device and system
RU2533063C2 (en) Method to establish connection (versions), method to transfer data packet and system of remote access
WO2016119747A1 (en) System and method for communicating in an ssl vpn
US7228359B1 (en) Methods and apparatus for providing domain name service based on a client identifier
US9154993B1 (en) Mobile-IPv6 encapsulation for wireless networks
US20110026537A1 (en) Method and Apparatus for Communication of Data Packets between Local Networks
US20090083406A1 (en) Dynamic host configuration protocol (dhcp) message interception and modification
JP4598859B2 (en) Relay network system and terminal adapter device
JP5790775B2 (en) Routing method and network transmission apparatus
CN106209643B (en) Message forwarding method and device
JP4146886B2 (en) Communication module and application program including this communication module
CN112671628B (en) Business service providing method and system
US9191317B2 (en) Method and system for implementing interconnection between internet protocol version 4 network and new network
JP2008521305A (en) Method, system, and computer program for tunneling IPv6 packets
CN112671938B (en) Business service providing method and system and remote acceleration gateway
JP4600394B2 (en) Network access router, network access method, program, and recording medium
WO2012083657A1 (en) Packet processing method, system and customer premises equipment
CN106411742A (en) Message transmission method and device
CN105939316A (en) Message forwarding method and device
CN109246016B (en) Cross-VXLAN message processing method and device
CN113364660B (en) Data packet processing method and device in LVS load balancing
US20170034125A1 (en) Method for Processing NAT64 Prefix, Network Equipment and DHCPv6 Server
WO2019041332A1 (en) Method and system for optimizing transmission of acceleration network
US20090201931A1 (en) Method and apparatus for transferring IP transmission session

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: Binjiang District and Hangzhou city in Zhejiang Province Road 310051 No. 68 in the 6 storey building

Applicant after: Hangzhou Dipu Polytron Technologies Inc

Address before: Binjiang District and Hangzhou city in Zhejiang Province Road 310051 No. 68 in the 6 storey building

Applicant before: Hangzhou Dipu Technology Co., Ltd.

COR Change of bibliographic data
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20160914