CN107465666A - A kind of client ip acquisition methods and device - Google Patents

A kind of client ip acquisition methods and device Download PDF

Info

Publication number
CN107465666A
CN107465666A CN201710567097.8A CN201710567097A CN107465666A CN 107465666 A CN107465666 A CN 107465666A CN 201710567097 A CN201710567097 A CN 201710567097A CN 107465666 A CN107465666 A CN 107465666A
Authority
CN
China
Prior art keywords
client
address
user
data fields
option field
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
CN201710567097.8A
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.)
Beijing longzhixin Technology Co.,Ltd.
Original Assignee
Beijing Panda Mutual Entertainment Technology 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 Beijing Panda Mutual Entertainment Technology Co Ltd filed Critical Beijing Panda Mutual Entertainment Technology Co Ltd
Priority to CN201710567097.8A priority Critical patent/CN107465666A/en
Publication of CN107465666A publication Critical patent/CN107465666A/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/06Notations for structuring of protocol data, e.g. abstract syntax notation one [ASN.1]
    • 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/163In-band adaptation of TCP data exchange; In-band control procedures

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The embodiment of the present invention provides a kind of client ip acquisition methods and device, is related to Internet technical field.Wherein, methods described includes:The packet for including TCP option field that content distributing network is sent is received, wherein, include client ip address in the TCP option field;The first Hook Function is called to obtain the client ip address from the TCP option field;Judge whether sk_user_data fields are empty;If sk_user_data fields are sky, by client ip address storage into the sk_user_data fields.The embodiment of the present invention can get the real IP of client, to carry out related service.

Description

A kind of client ip acquisition methods and device
Technical field
The present invention relates to Internet technical field, more particularly to a kind of client ip acquisition methods and device.
Background technology
At present, many Large-Scale Interconnected net companies take CDN (Content Delivery Network, content distributing network) Technology solves the situation of network congestion.
When CDN technologies are used in network system, client can access company's site or online by CDN server Using APP (application, using), such company's site or APP background server can only just get CDN service The IP address of device, and the real IP address of client can not be got, this results in the related service based on client ip address It can not carry out.
The content of the invention
The present invention provides a kind of client ip acquisition methods and device, it is therefore intended that can get the true of client IP, to carry out related service.
In order to solve the above-mentioned technical problem, the present invention provides a kind of client ip acquisition methods, including:
The packet for including transmission control protocol TCP Option Field that content distributing network is sent is received, wherein, institute State in TCP option field and include client ip address;
The first Hook Function is called to obtain the client ip address from the TCP option field;
Judge whether sk_user_data fields are empty;
If sk_user_data fields are sky, the sk_user_data fields are arrived into client ip address storage In.
Alternatively, the first Hook Function of the calling obtains the client ip address from the TCP option field, wraps Include:If the packet is SYN bags, Netfilter Hook Functions are called to obtain the client from the TCP option field Hold IP address;
If the packet is ACK bags, tcp_v4_syn_recv_sock Hook Functions or tcp_v6_syn_ are called Recv_sock Hook Functions obtain the client ip address from the TCP option field.
Alternatively, it is described to store the client ip address into the sk_user_data fields, including:
Compress the client ip address;
Check code is added before the client ip address upon compression;
The client ip address after the check code and compression is stored into the sk_user_data fields.
Alternatively, methods described, in addition to:
If sk_user_data fields are not sky, by client ip address storage into Hash tables.
Alternatively, methods described, in addition to:
Check code in the sk_user_data fields is verified;
If being verified, the client ip address is extracted from the sk_user_data fields;
Otherwise, the client ip address is extracted from the Hash tables.
In order to solve the above-mentioned technical problem, present invention also offers a kind of client ip acquisition device, described device to include:
Receiving module, the packet for including TCP option field sent for receiving content distributing network, wherein, Include client ip address in the TCP option field;
First calling module, for calling the first Hook Function to obtain the client ip from the TCP option field Address;
Judge module, for judging whether sk_user_data fields are empty;
First memory module, if being sky for sk_user_data fields, institute is arrived into client ip address storage State in sk_user_data fields.
In technical scheme provided in an embodiment of the present invention, CDN server stores the IP address for the client for asking to access Background server, background server are sent in TCP option field, and by the packet for including the TCP option field The real IP address of client can be got by TCP option field, the real IP address of client is stored in sk_ In user_data fields, in case subsequent calls;After getting client real IP address, it is possible to based on the client Real IP address carries out a series of business, for example, the statistics of user's Regional Distribution situation, prompting user strange land such as log at the business.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is the required accompanying drawing used in technology description to be briefly described, it should be apparent that, drawings in the following description are this hairs Some bright embodiments, for those of ordinary skill in the art on the premise of not paying creative work, can be with root Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is the Organization Chart of the network system of the embodiment of the present invention;
Fig. 2 is the schematic flow sheet for the client ip acquisition methods that one embodiment of the invention provides;
The extraction client ip from sk_user_data fields or Hash tables that Fig. 3 provides for further embodiment of this invention The schematic flow sheet of the method for location;
Fig. 4 is the structural representation for the client ip acquisition device that one embodiment of the invention provides.
Embodiment
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present invention In accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is Part of the embodiment of the present invention, rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art The every other embodiment obtained under the premise of creative work is not made, belongs to the scope of protection of the invention.
The term used in embodiments of the present invention is only merely for the purpose of description specific embodiment, and is not intended to be limiting The present invention." one kind ", " described " and "the" of singulative used in the embodiment of the present invention and appended claims It is also intended to including most forms, unless context clearly shows that other implications, " a variety of " generally comprise at least two, but not Exclusion includes at least one situation.
It should be appreciated that term "and/or" used herein is only a kind of incidence relation for describing affiliated partner, represent There may be three kinds of relations, for example, A and/or B, can be represented:Individualism A, while A and B be present, individualism B these three Situation.In addition, character "/" herein, it is a kind of relation of "or" to typically represent forward-backward correlation object.
It will be appreciated that though XXX may be described using term first, second, third, etc. in embodiments of the present invention, but These XXX should not necessarily be limited by these terms.These terms are only used for XXX being distinguished from each other out.For example, implementation of the present invention is not being departed from In the case of example scope, the first XXX can also be referred to as the 2nd XXX, and similarly, the 2nd XXX can also be referred to as the first XXX.
Depending on linguistic context, word as used in this " if ", " if " can be construed to " ... when " or " when ... " or " in response to determining " or " in response to monitoring ".Similarly, depending on linguistic context, phrase " if it is determined that " or " such as Fruit monitors (condition or event of statement) " can be construed to " when it is determined that when " or " in response to determine " or " when monitoring (statement Condition or event) when " or " in response to monitor (condition or event of statement) ".
It should also be noted that, term " comprising ", "comprising" or its any other variant are intended to nonexcludability Comprising, so that commodity or system including a series of elements not only include those key elements, but also including without clear and definite The other element listed, or also include for this commodity or the intrinsic key element of system.In the feelings not limited more Under condition, the key element that is limited by sentence "including a ...", it is not excluded that in the commodity including the key element or system also Other identical element be present.
Fig. 1 is the Organization Chart of the network system of the embodiment of the present invention.As shown in figure 1, client and background server it Between add content distributing network CDN, client and indirect connection company's site or APP background server, but by interior Edge Server 011 or Edge Server 012 in content distributing network CDN are attached with background server 021.Institute in figure Show, the content distributing network CDN includes two edge of table servers:Edge Server 011 and Edge Server 012, but it is actual On, more edge of table servers are provided with content distributing network CDN, and be additionally provided with core source server.In order to hereafter retouch State conveniently, core source server and Edge Server are referred to as CDN server.The equal base of method that following each embodiments provide Realized in the structure of the network system.
Fig. 2 is the schematic flow sheet for the client ip acquisition methods that one embodiment of the invention provides.As shown in Fig. 2 the party Method includes:
101st, the packet for including TCP option field that content distributing network is sent is received, wherein, the TCP choosings Include client ip address in item field.
102nd, the first Hook Function is called to obtain the client ip address from the TCP option field.
103rd, judge whether sk_user_data fields are empty.
If the 104, sk_user_data fields are sky, the sk_user_data is arrived into client ip address storage In field.
In a step 101, content distributing network CDN can be logged in client, client networking or during network switching, to Background server send include transmission control protocol option (Transmission Control Protocol option, under Text be referred to as TCP option) field packet.Because client is being logged in, networked or during network switching, need to be taken with CDN Business device establishes connection, and therefore, CDN server can get client real IP address, and client real IP address is added Background server is sent into TCP option fields, then by the packet for including the TCP option fields.
In a step 102, the packet for including the TCP option fields is stored in background server In linux kernel, the Linux application layers of the background server can not be used directly.Therefore, in the Linux of background server Core calls the first Hook Function to obtain client from the TCP option fields of linux kernel by hook (HOOK) technology IP address.
In actual applications, multiple first Hook Functions can be set in linux kernel, such as had:tcp_v4_syn_ Recv_sock Hook Functions, tcp_v6_syn_recv_sock Hook Functions and Netfilter Hook Functions.Wherein, it is described Netfilter Hook Functions are the hook on Pre_routing the or Local_input hooks being registered in Netfilter frameworks Subfunction.
It is specific call tcp_v4_syn_recv_sock Hook Functions, tcp_v6_syn_recv_sock Hook Functions and Which of Netfilter Hook Functions Hook Function, it can be selected according to actual conditions.
Because CDN server and background server establish connection, it is necessary to carry out three-way handshake.CDN server need to be to backstage Server first sends a SYN bags, and background server responds a SYN+ACK bags, after CDN server receives SYN+ACK bags, backward Platform server retransmits an ACK bags, and background server receives the ACK bags, also indicate that CDN server and background server it Between connection be successfully established.
In actual applications, the first Hook Function of the calling obtains the client ip from the TCP option field The step of address, it can realize in the following way:
If the packet for including TCP option field received is SYN bags, call Netfilter Hook Functions from The client ip address is obtained in the TCP option field.It that is to say and client ip address is realized by link traces technology Acquisition.
If the packet for including TCP option field received is ACK bags, tcp_v4_syn_recv_sock is called Hook Function or tcp_v6_syn_recv_sock Hook Functions from the TCP option field with obtaining the client ip Location.Wherein, the tcp_v4_syn_recv_sock Hook Functions or tcp_v6_syn_recv_sock Hook Functions can bases The IP agreement version that is used in practical application selects, such as:If using IPv4 agreements, tcp_v4_syn_ is called Recv_sock Hook Functions;If using IPv6 agreements, tcp_v6_syn_recv_sock Hook Functions are called.In step Rapid 103 and step 104 in, by call the first Hook Function get client from the TCP option fields of linux kernel After holding IP address, judge whether the sk_user_data fields in linux kernel are empty, if it is empty, then by client ip address It is stored in sk_user_data fields.If not empty, then client ip address is stored in the Hash tables created in advance. In practical application, inventor has found that the sk_user_data fields in linux kernel there is a situation where to be used by other modules, if Other modules have used sk_user_data fields, and the client ip address got need to be stored in elsewhere, in this implementation In example, it is deposited into kernel Hash tables.
In technical scheme provided in an embodiment of the present invention, CDN server stores the IP address for the client for asking to access Background server, background server are sent in TCP option field, and by the packet for including the TCP option field The real IP address of client can be got by TCP option field, the real IP address of client is stored in sk_ In user_data fields, in case subsequent calls;After getting client real IP address, it is possible to based on the client Real IP address carries out a series of business, for example, the statistics of user's Regional Distribution situation, prompting user strange land such as log at the business.
With the continuous development of Kernel Technology, in order to prevent rogue program from reading the data in kernel, in redaction kernel In with the addition of read-write protection.Therefore, when the first Hook Function is added in kernel, the TCP option field place need to first be removed The read-write protection of kernel, after the read-write protection for removing kernel, the first Hook Function is added in kernel, finally, in described Core adds read-write protection again.
Generally, the read-write protection of kernel is realized by adding flag in CPU, so, so that it may by removing CPU The flag that the middle mark kernel can not be read and write, to cancel the read-write protection to the kernel.Finally, add again for kernel Add read-write protection can be by the way that the flag is added in the CPU to realize again.
Client ip address is taken out in the TCP option fields stored by the first Hook Function of calling from kernel simultaneously After being stored into the sk_user_data fields or the Hash tables, linux kernel is adjusted by hook (HOOK) technology With the second Hook Function the client ip address is extracted from the sk_user_data fields or the Hash tables.Wherein, Second Hook Function can be inet_getname Hook Functions.
In actual applications, Linux application layers acquisition client ip can be by original in first calling system Getpeername or getsockname functions, then second hook is called by getpeername or getsockname functions Subfunction, finally, client ip address is extracted from sk_user_data fields or the Hash tables by the second Hook Function.
Optionally, Linux application layers can also be by calling customized getsockopt functions come from sk_user_ Client ip address is directly extracted in data fields or the Hash tables.
In technical scheme provided in an embodiment of the present invention, CDN server stores the IP address for the client for asking to access Background server, background server are sent in TCP option field, and by the packet for including the TCP option field The real IP address of client can be got by TCP option field, the real IP address of client is stored in sk_ In user_data fields or Hash tables, then client ip address is obtained for rear from sk_user_data fields or Hash tables Platform server Linux application layers use;After getting client real IP address, it is possible to based on the client real IP A series of business are carried out in address, for example, the statistics of user's Regional Distribution situation, prompting user strange land such as log at the business.
The extraction client ip from sk_user_data fields or Hash tables that Fig. 3 provides for further embodiment of this invention The schematic flow sheet of the method for location.As shown in figure 3, this method includes:
201st, the check code in the sk_user_data fields is verified.
If the 202, being verified, the client ip address is extracted from the sk_user_data fields.
203rd, otherwise, the client ip address is extracted from the Hash tables.
In actual applications, the sk_user_data fields in kernel are possible to be used by other modules, in other words, its His module is possible to deposit data in sk_user_data fields.Therefore, it is above-mentioned that institute is arrived into client ip address storage The step in sk_user_data fields is stated, concrete methods of realizing is as follows:Compress the client ip address;Institute upon compression Check code is added before stating client ip address;The client ip address after the check code and compression is stored to described In sk_user_data fields.Wherein, the check code can pass through CRC (Cyclic Redundancy Check, cyclic redundancy Check code) realize.Because the byte length in sk_user_data fields is limited, and the check code added is to need to account for With certain byte number, therefore, it is necessary to client ip address is compressed.
When calling the second Hook Function to obtain client ip address from sk_user_data fields, it is necessary to sk_ Check code in user_data fields is verified, if being verified, illustrates what is stored in the sk_user_data fields Information includes the client ip address that need to be extracted.If checking is not by illustrating the information or number in sk_user_data fields Deposited according to by other modules, then need into kernel Hash tables to obtain client ip address.
In technical scheme provided in an embodiment of the present invention, CDN server stores the IP address for the client for asking to access Background server, background server are sent in TCP option field, and by the packet for including the TCP option field The real IP address of client can be got by TCP option field, the real IP address of client is stored in sk_ In user_data fields or Hash tables, then client ip address is obtained for rear from sk_user_data fields or Hash tables Platform server Linux application layers use;After getting client real IP address, it is possible to based on the client real IP A series of business are carried out in address, for example, the statistics of user's Regional Distribution situation, prompting user strange land such as log at the business.
Fig. 4 is the structural representation for the client ip acquisition device that one embodiment of the invention provides.The device includes:Receive Module 301, the first calling module 302, the memory module 304 of judge module 303 and first.
Receiving module 301, the packet for including TCP option field sent for receiving content distributing network, its In, include client ip address in the TCP option field.
First calling module 302, for calling the first Hook Function to obtain the client from the TCP option field IP address.
Judge module 303, for judging whether sk_user_data fields are empty.
First memory module 304, if being sky for sk_user_data fields, the client ip address storage is arrived In the sk_user_data fields.
Alternatively, first calling module 302 is specifically used for:
If the packet is SYN bags, Netfilter Hook Functions are called to obtain institute from the TCP option field State client ip address;If the packet is ACK bags, tcp_v4_syn_recv_sock Hook Functions or tcp_ are called V6_syn_recv_sock Hook Functions obtain the client ip address from the TCP option field.
Alternatively, first memory module 304, including:
Compression unit, for compressing the client ip address.
Adding device, for adding check code before the client ip address upon compression.
Memory cell, for the client ip address after the check code and compression to be stored to the sk_user_ In data fields.
Alternatively, described device, in addition to:
Second memory module, if being not sky for sk_user_data fields, the client ip address storage is arrived In Hash tables.
Alternatively, described device, in addition to:
Second calling module, for calling the second Hook Function from the sk_user_data fields or the Hash tables Extract the client ip address.
Alternatively, described device, in addition to,
Authentication module, for being verified to the check code in the sk_user_data fields.
Extraction module, if for being verified, from the sk_user_data fields with extracting the client ip Location;Otherwise, the client ip address is extracted from the Hash tables.
Alternatively, the packet is that the content distributing network is sent out in response to the solicited message that the client is sent Send.
Need exist for explanation be:The client ip acquisition device that the present embodiment provides can realize above-mentioned each client The technical scheme that IP acquisition methods embodiment provides, concrete implementation principle can be found in the corresponding contents in the various embodiments described above, Here is omitted.
In technical scheme provided in an embodiment of the present invention, CDN server stores the IP address for the client for asking to access Background server, background server are sent in TCP option field, and by the packet for including the TCP option field The real IP address of client can be got by TCP option field, the real IP address of client is stored in sk_ In user_data fields or Hash tables, then client ip address is obtained for rear from sk_user_data fields or Hash tables Platform server Linux application layers use;After getting client real IP address, it is possible to based on the client real IP A series of business are carried out in address, for example, the statistics of user's Regional Distribution situation, prompting user strange land such as log at the business.
Device embodiment described above is only schematical, wherein the unit illustrated as separating component can To be or may not be physically separate, it can be as the part that unit is shown or may not be physics list Member, you can with positioned at a place, or can also be distributed on multiple NEs.It can be selected according to the actual needs In some or all of module realize the purpose of this embodiment scheme.Those of ordinary skill in the art are not paying creativeness Work in the case of, you can to understand and implement.
Through the above description of the embodiments, those skilled in the art can be understood that each embodiment can Realized by the mode of software plus required general hardware platform, naturally it is also possible to pass through hardware.Based on such understanding, on The part that technical scheme substantially in other words contributes to prior art is stated to embody in the form of software product, should Computer software product can store in a computer-readable storage medium, such as ROM/RAM, magnetic disc, CD, including some fingers Make to cause a computer equipment (can be personal computer, server, or network equipment etc.) to perform each implementation Method described in some parts of example or embodiment.
Finally it should be noted that:The above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although The present invention is described in detail with reference to the foregoing embodiments, it will be understood by those within the art that:It still may be used To be modified to the technical scheme described in foregoing embodiments, or equivalent substitution is carried out to which part technical characteristic; And these modification or replace, do not make appropriate technical solution essence depart from various embodiments of the present invention technical scheme spirit and Scope.

Claims (10)

  1. A kind of 1. client ip acquisition methods, it is characterised in that including:
    The packet for including transmission control protocol TCP Option Field that content distributing network is sent is received, wherein, it is described Include client ip address in TCP option field;
    The first Hook Function is called to obtain the client ip address from the TCP option field;Judge sk_user_data Whether field is empty;
    If sk_user_data fields are sky, by client ip address storage into the sk_user_data fields.
  2. 2. according to the method for claim 1, it is characterised in that described to call the first Hook Function from the TCP option word The client ip address is obtained in section, including:
    If the packet is SYN bags, Netfilter Hook Functions are called to obtain the visitor from the TCP option field Family end IP address;
    If the packet is ACK bags, tcp_v4_syn_recv_sock Hook Functions or tcp_v6_syn_recv_ are called Sock Hook Functions obtain the client ip address from the TCP option field.
  3. 3. method according to claim 1 or 2, it is characterised in that described to store the client ip address to described In sk_user_data fields, including:
    Compress the client ip address;
    Check code is added before the client ip address upon compression;
    The client ip address after the check code and compression is stored into the sk_user_data fields.
  4. 4. according to the method for claim 3, it is characterised in that also include:
    If sk_user_data fields are not sky, by client ip address storage into Hash tables.
  5. 5. according to the method for claim 4, it is characterised in that also include:
    Check code in the sk_user_data fields is verified;
    If being verified, the client ip address is extracted from the sk_user_data fields;
    Otherwise, the client ip address is extracted from the Hash tables.
  6. A kind of 6. client ip acquisition device, it is characterised in that including:
    Receiving module, the packet for including TCP option field sent for receiving content distributing network, wherein, it is described Include client ip address in TCP option field;
    First calling module, for calling the first Hook Function to obtain the client ip address from the TCP option field;
    Judge module, for judging whether sk_user_data fields are empty;
    First memory module, if being sky for sk_user_data fields, the sk_ is arrived into client ip address storage In user_data fields.
  7. 7. device according to claim 6, it is characterised in that first calling module is specifically used for:
    If the packet is SYN bags, Netfilter Hook Functions are called to obtain the visitor from the TCP option field Family end IP address;
    If the packet is ACK bags, tcp_v4_syn_recv_sock Hook Functions or tcp_v6_syn_recv_ are called Sock Hook Functions obtain the client ip address from the TCP option field.
  8. 8. the device according to claim 6 or 7, it is characterised in that first memory module, including:
    Compression unit, for compressing the client ip address;
    Adding device, for adding check code before the client ip address upon compression;
    Memory cell, for the client ip address after the check code and compression to be stored to the sk_user_data In field.
  9. 9. device according to claim 8, it is characterised in that also include:
    Second memory module, if being not sky for sk_user_data fields, Hash is arrived into client ip address storage In table.
  10. 10. device according to claim 9, it is characterised in that also include:
    Authentication module, for being verified to the check code in the sk_user_data fields;
    Extraction module, if for being verified, the client ip address is extracted from the sk_user_data fields;It is no Then, the client ip address is extracted from the Hash tables.
CN201710567097.8A 2017-07-12 2017-07-12 A kind of client ip acquisition methods and device Pending CN107465666A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710567097.8A CN107465666A (en) 2017-07-12 2017-07-12 A kind of client ip acquisition methods and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710567097.8A CN107465666A (en) 2017-07-12 2017-07-12 A kind of client ip acquisition methods and device

Publications (1)

Publication Number Publication Date
CN107465666A true CN107465666A (en) 2017-12-12

Family

ID=60546588

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710567097.8A Pending CN107465666A (en) 2017-07-12 2017-07-12 A kind of client ip acquisition methods and device

Country Status (1)

Country Link
CN (1) CN107465666A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108243196A (en) * 2018-01-22 2018-07-03 北京启明星辰信息安全技术有限公司 The method and system, intermediate equipment, medium of TCP protocol stack are introduced under Netfilter frameworks
CN108494748A (en) * 2018-03-08 2018-09-04 网宿科技股份有限公司 A kind of communication means, device and storage medium
CN108989480A (en) * 2018-07-26 2018-12-11 杭州云缔盟科技有限公司 A method of client address is obtained in server
CN109788050A (en) * 2018-12-29 2019-05-21 北京奇安信科技有限公司 A kind of acquisition source station IP address method, system, electronic equipment and medium
CN109922105A (en) * 2017-12-13 2019-06-21 苏宁云商集团股份有限公司 Realize that CDN returns the method and system that source request carries client ip
CN110198251A (en) * 2019-04-02 2019-09-03 腾讯科技(深圳)有限公司 A kind of method and device obtaining client address
CN111447142A (en) * 2020-04-08 2020-07-24 东北大学 Parallel multi-path transmission method based on Overlay network and coding technology
CN111800518A (en) * 2020-08-20 2020-10-20 杭州迪普科技股份有限公司 Client IP address insertion method and device
CN113992625A (en) * 2021-10-15 2022-01-28 杭州安恒信息技术股份有限公司 Domain name source station detection method, system, computer and readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7177945B2 (en) * 2000-08-04 2007-02-13 Avaya Technology Corp. Non-intrusive multiplexed transaction persistency in secure commerce environments
CN103297407A (en) * 2012-03-02 2013-09-11 百度在线网络技术(北京)有限公司 Method and device for transmitting IPv6 address and port of client-side to back-end server
CN103297552A (en) * 2012-03-02 2013-09-11 百度在线网络技术(北京)有限公司 Method and device for transmitting IPv4 address and port of client-side to back-end server
CN105554065A (en) * 2015-12-03 2016-05-04 华为技术有限公司 Method, conversion unit and application unit for message processing

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7177945B2 (en) * 2000-08-04 2007-02-13 Avaya Technology Corp. Non-intrusive multiplexed transaction persistency in secure commerce environments
CN103297407A (en) * 2012-03-02 2013-09-11 百度在线网络技术(北京)有限公司 Method and device for transmitting IPv6 address and port of client-side to back-end server
CN103297552A (en) * 2012-03-02 2013-09-11 百度在线网络技术(北京)有限公司 Method and device for transmitting IPv4 address and port of client-side to back-end server
CN105554065A (en) * 2015-12-03 2016-05-04 华为技术有限公司 Method, conversion unit and application unit for message processing

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109922105A (en) * 2017-12-13 2019-06-21 苏宁云商集团股份有限公司 Realize that CDN returns the method and system that source request carries client ip
CN108243196B (en) * 2018-01-22 2020-09-25 北京启明星辰信息安全技术有限公司 Method and system for introducing TCP protocol stack under Netfilter architecture, intermediate device and medium
CN108243196A (en) * 2018-01-22 2018-07-03 北京启明星辰信息安全技术有限公司 The method and system, intermediate equipment, medium of TCP protocol stack are introduced under Netfilter frameworks
CN108494748A (en) * 2018-03-08 2018-09-04 网宿科技股份有限公司 A kind of communication means, device and storage medium
CN108494748B (en) * 2018-03-08 2021-06-04 网宿科技股份有限公司 Communication method, device and storage medium
CN108989480A (en) * 2018-07-26 2018-12-11 杭州云缔盟科技有限公司 A method of client address is obtained in server
CN109788050A (en) * 2018-12-29 2019-05-21 北京奇安信科技有限公司 A kind of acquisition source station IP address method, system, electronic equipment and medium
CN109788050B (en) * 2018-12-29 2021-08-20 奇安信科技集团股份有限公司 Method, system, electronic device and medium for acquiring IP address of source station
CN110198251B (en) * 2019-04-02 2022-08-02 腾讯科技(深圳)有限公司 Method and device for obtaining client address
CN110198251A (en) * 2019-04-02 2019-09-03 腾讯科技(深圳)有限公司 A kind of method and device obtaining client address
CN111447142A (en) * 2020-04-08 2020-07-24 东北大学 Parallel multi-path transmission method based on Overlay network and coding technology
CN111447142B (en) * 2020-04-08 2021-09-28 东北大学 Parallel multi-path transmission method based on Overlay network and coding technology
CN111800518A (en) * 2020-08-20 2020-10-20 杭州迪普科技股份有限公司 Client IP address insertion method and device
CN111800518B (en) * 2020-08-20 2023-02-07 杭州迪普科技股份有限公司 Client IP address insertion method and device
CN113992625A (en) * 2021-10-15 2022-01-28 杭州安恒信息技术股份有限公司 Domain name source station detection method, system, computer and readable storage medium
CN113992625B (en) * 2021-10-15 2024-05-28 杭州安恒信息技术股份有限公司 Domain name source station detection method, system, computer and readable storage medium

Similar Documents

Publication Publication Date Title
CN107465666A (en) A kind of client ip acquisition methods and device
CN107948324B (en) Request Transmission system, method, apparatus and storage medium
CN108200165B (en) Request Transmission system, method, apparatus and storage medium
CN105516080B (en) The processing method of TCP connection, apparatus and system
CN104580192B (en) The treating method and apparatus of the network access request of application program
CN108156038B (en) Request distribution method, device, access gateway and storage medium
US20100107085A1 (en) Control panel for managing multiple online data management solutions
US20100106764A1 (en) Datacenter hosting multiple online data management solutions
CN104796396A (en) Network proxy layer for policy-based application proxies
CN108200158B (en) Request Transmission system, method, apparatus and storage medium
US20100106615A1 (en) Providing multiple online data management solutions
CN103501331B (en) Data transmission method, data transmission equipment and data transmission system
CN106657426A (en) Processing method and device for domain name parsing request, and server
CN106227780A (en) Automatization's sectional drawing evidence collecting method of a kind of magnanimity webpage and system
CN107948215A (en) A kind of remote invocation method and device based on UDP communications
CN107360247A (en) The method and the network equipment of processing business
CN109617966A (en) A kind of cloud pipe Platform deployment system and method based on Openstack
CN102857547B (en) The method and apparatus of distributed caching
CN105490824A (en) Game server and mass message filtering method
CN107040427A (en) A kind of method and device of network card configuration
CN108781367A (en) The method for reducing Cookie injection and Cookie Replay Attacks
CN108279970B (en) The switching method and apparatus of browser kernel
CN107786489A (en) Access request verification method and device
CN111225038B (en) Server access method and device
CN103501334B (en) Data transmission method, equipment and network system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20210207

Address after: 101300 309, 3rd floor, 60 Fuqian 1st Street, Tianzhu District, Shunyi District, Beijing

Applicant after: Beijing longzhixin Technology Co.,Ltd.

Address before: 100041 room 120, 4th floor, building 17, yard 30, Shixing street, Shijingshan District, Beijing

Applicant before: BEIJING PANDA MUTUAL ENTERTAINMENT TECHNOLOGY Co.,Ltd.

RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20171212