# Patent

## Title
Processing data packets in performance enhancing proxy (PEP) environment

## Abstract

Methods and systems for processing network packets within a Performance Enhancing Proxy (PEP) environment are described. An example method comprises receiving network data to be transported between a first PEP and a second PEP. The network data is segmented in one or more original network packets. The method may further comprise collecting packet identifying data associated with the one or more original network packets before the network data is packetized into one or more performance enhanced packets by the first PEP. The method may further comprise transmitting the identifying data to the second PEP. Upon receiving of the identifying data, the second PEP may recreate the segmentation of the original network data.

## Background
TECHNICAL FIELD
This disclosure relates generally to networking and, more specifically, to methods and systems for processing data packets in Performance Enhancing Proxy (PEP) environment.
DESCRIPTION OF RELATED ART
The approaches described in this section could be pursued but are not necessarily approaches that have been previously conceived or pursued. Therefore, unless otherwise indicated, it should not be assumed that any of the approaches described in this section qualify as prior art merely by virtue of their inclusion in this section.
Data transfers over Wide Area Networks (WANs), such as the Internet, are widely used to allow the sharing of resources and information between multiple computer systems and hardware components. A WAN may include network optimizing agents such as PEPs. PEPs are designed to improve end-to-end performance of communication protocols such as the Transmission Control Protocol (TCP) and others. PEPs function by breaking the end-to-end connection into multiple connections and using various parameters to transfer data across different legs.
Communication networks may use PEPs to improve TCP performance. End systems (e.g., clients and servers) may use the standard TCP with no modifications, and typically be oblivious to the existence of the PEPs in between. The transport layer of the PEPs may intercept TCP connections between the end systems. The PEPs may then either use TCP or some other protocols to transfer data between them before delivering the data to its final destination.
In one example, TCP data packets transported from a first Local Area Network (LAN) or Wide Area Network (WAN) to a first PEP may be of small, varying, and/or non-optimal lengths. To improve the networking performance, the first PEP may process the incoming data packets, incorporate them into larger data packets, and transmit the larger data packets over the network towards a second PEP. The transmission between the first and second PEPs may be implemented in an improved manner and may, sometimes, use different data transfer standards. Once these enhanced data packets are received by the second PEP, the data packets may be processed and separated into a plurality of data packets. However, instead of recreating the original data packets, new data packets are generated in order to be suitable for the settings of the second LAN, and normally the lengths and data distribution among of the new data packets are different from those received by the first LAN. Thus, the original segmentation data is typically lost when data packets are processed by PEPs.
Unfortunately, some stacks or some applications, especially older ones, may easily break down when they receive these new data packets. This may happen because the lengths of these new data packets differ from the original packets and, therefore, unexpected by the applications. A well written application that follows the rules related to implementing a TCP application may not encounter this problem. However, some applications may not be well written and include latent bugs, which only become apparent when the segmentation of the delivered data packets is different from the original. When such applications receive data packets having unexpected data lengths, they may freeze up or even break down the entire stack, an application, or a computing system. Additionally, if transformations take place while the data is in transit, it is difficult to establish whether the original application/system or the performance enhancing intermediaries are responsible for the application problems (e.g., data corruption).
There are currently no effective methods to prevent such problems and to determine the responsible party within PEP environments.
SUMMARY
This summary is provided to introduce a selection of concepts in a simplified form that are further described below in the Detailed Description. This summary is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used as an aid in determining the scope of the claimed subject matter.
In accordance with various embodiments and the corresponding disclosure thereof, a computer-implemented method for processing network packets within a PEP environment is provided. The method may comprise receiving network data to be transported between a first PEP and a second PEP. The network data can be segmented into one or more original network packets. The method may further comprise collecting packet identifying data associated with the one or more original network packets before the network data is packetized into one or more performance enhanced packets by the first PEP. The method may further comprise transmitting the identifying data to the second PEP. Based on the identifying data, the second PEP can recreate the segmentation of the network data. The one or more original data packets can be compliant with the TCP. In some example embodiments, the packet identifying data can be transmitted with the network data. The packet identifying data can be inserted into the network data after the network data is compressed and before the network data is encrypted. In other example embodiments, the packet identifying data can be transmitted separately from the network data. The identifying data can be descriptive of the lengths of the one or more original data packets, length deltas, protocol settings, Differentiated Services Code Point (DSCP) markings and the like.
In accordance with other embodiments, a computer-implemented method for processing network packets in a PEP environment is provided. The method may comprise receiving compressed network data to be transported between a first PEP and a second PEP. The network data can be received in one or more original network packets. The method may further comprise collecting packet identifying data associated with the one or more original network packets before the compressed network data is packetized into one or more performance enhanced packets by the first PEP. The method may further comprise transmitting the identifying data to the second PEP. The second PEP may recreate the segmentation of the network data based on the identifying data. The packet identifying data can be transmitted with the network data.
In accordance with yet more embodiments, a system for processing network packets is described. The system may comprise a Local Area Network (LAN) receiving module configured to receive network data to be transported between a first PEP and a second PEP, a Wide Area Network (WAN) receiving module configured to collect packet identifying data associated with the one or more original network packets before the network data is packetized into one or more performance enhanced packets by the first PEP, and a Wide Area Network (WAN) transmitting module configured to transmit the identifying data the second PEP. The system may further comprise a Local Area Network (LAN) transmitting module configured to recreate the segmentation of the network data.
Also disclosed are computer-readable media having instructions stored thereon, which when executed by one or more computers, can cause the one or more computers to implement the methods for processing network packets which are disclosed herein.
To the accomplishment of the foregoing and related ends, the one or more aspects comprise the features hereinafter fully described and particularly pointed out in the claims. The following description and the drawings set forth in detail certain illustrative features of the one or more aspects. These features are indicative, however, of but a few of the various ways in which the principles of various aspects may be employed, and this description is intended to include all such aspects and their equivalents.



BRIEF DESCRIPTION OF THE DRAWINGS
Embodiments are illustrated by way of example and not limitation in the figures of the accompanying drawings, in which like references indicate similar elements and in which:
FIG. 1 shows a block diagram illustrating an example network environment suitable for implementing various embodiments.
FIG. 2 shows a block diagram illustrating an example network system integrating a PEP environment on which various embodiments can be implemented.
FIG. 3 is a block diagram showing an approach for processing data packets in a PEP environment.
FIG. 4 is a block diagram showing a further approach for processing data packets in a PEP environment, according to another embodiment.
FIG. 5 is a diagram of a system for processing network packets.
FIG. 6 is a process flow diagram showing a method for processing network packets within a PEP environment.
FIG. 7 is a diagram of an example machine in the form of a computer system within which a set of instructions, for the machine to perform any one or more of the methodologies discussed herein, is executed.



DETAILED DESCRIPTION
The following detailed description includes references to the accompanying drawings, which form a part of the detailed description. The drawings show illustrations in accordance with example embodiments. These example embodiments, which are also referred to herein as “examples,” are described in enough detail to enable those skilled in the art to practice the present subject matter. The embodiments can be combined, other embodiments can be utilized, or structural, logical and electrical changes can be made without departing from the scope of what is claimed. The following detailed description is, therefore, not to be taken in a limiting sense, and the scope is defined by the appended claims and their equivalents.
Methods and systems for processing network packets within a PEP environment are disclosed. The disclosed approaches are effective ways of processing data packets. The data packets are restored to their original form after they are processed by the PEP proxies, regardless of how they are transmitted through the PEP environment.
The PEP environment may utilize protocols suitable for data transmission over a satellite link, which normally utilizes packets with bigger window sizes. This new data packet may be called a performance enhanced data packet. Each original packet may include a header and a payload. The TCP stack may copy the payload into a buffer that leads to a TCP/IP socket where the payload can be read by an application. In the prior art, as the payloads are copied into the buffer of the TCP stack, the headers are discarded, the data from the original packets is coalesced and any information related to the boundaries of the original packets is lost. Thus, for example, the data previously contained in three packets of 100 bytes can be reassembled into two packets of 150 bytes each. Even though both packets are valid from the TCP point of view, an application may request to read 100 bytes, expecting these 100 bytes to represent the original packet with specific data. However, in the situation this situation, the first 100 bytes of the first 150 byte packet will be read and there would be 50 bytes left unread. When the application reads another 100 bytes of what it expects to be the second 100 byte packet, it will only read 50 bytes left over in the first 150 byte packet. A poorly written application may not check the actual number of bytes read resulting, in this particular example, in an offset of 50 bytes of what is expected.
In the disclosed methods and systems for processing network packets within a PEP environment when the original data packets are first buffered, the first PEP also extracts or otherwise determines length information for every original data packet. In addition, some other information such as, for example, protocol settings, Differentiated Services Code Point (DSCP) markings and the like can be extracted. This data may be collected by the first PEP as “packet identifying data,” which is descriptive of original data packet lengths.
The performance enhanced data packet may then be transmitted within the PEP environment. In some examples, the information stored within the performance enhanced data packet can also be compressed and/or encrypted. Either way, the performance enhanced data packet and the packet identifying data are both conveyed to the second PEP. The packet identifying data can be conveyed with other packets, separately from other packets, or even over different data networks. When conveyed with the other packets, the packet identifying data can optionally be incorporated into the performance enhanced data packet (e.g., in the header or between the header and the data segment).
When the performance enhanced data packet is received by the second PEP, new data packets are generated based on the information stored within the performance enhanced data packet. Using the packet identifying data, the original data packets can be recreated. Thus, the recreated data packets can have the same segmentation and same lengths as the original data packets. Thus, when the new data packets are delivered to the destination party, it is like they have never been through the PEP environment.
The following description provides the detailed description of various example embodiments related to methods and systems for processing network packets.
Referring now to the drawings, FIG. 1 shows a block diagram illustrating an exemplary network environment 100 suitable for implementing various embodiments. The network environment 100 may comprise one or more computing systems 112, 114, 116, 182, 184, and 186, which can be integrated within their respective LAN 120 and LAN 170 with the help of one or more respective communication appliances 130 and 190 (e.g., a router and a switch). The computing systems 112, 114, 116, 182, 184, and 186 may be also considered “client” devices. The network environment 100 may further comprise one or more servers, which can also be integrated in a separated LAN (not shown). The computing systems of LAN 120 and LAN 170 may transmit data to each other over a communication network, namely a WAN 150. The WAN 150 may refer to the Internet, a satellite communication network, or the like. The computing systems LAN 120 and LAN 170 may be communicatively coupled to the WAN 150 through proxies 140 and 160.
The proxies 140 and 160 may refer to servers which can be implemented as hardware, software, or a combination thereof and act as intermediaries for requests between the computing systems 112, 114, 116, 182, 184, and 186. As data travels between LAN 120 and LAN 170, data packets generated by the computing systems 112, 114, 116, 182, 184, and 186 can be broken apart by proxies 140 and 160 and new data packets created. Those skilled in the art would appreciate that the network environment 100 may comprise additional, fewer, or different components depending on the application.
FIG. 2 shows a block diagram illustrating an exemplary network system 200 integrating a PEP environment on which various embodiments can be implemented. In the diagram shown, there is an originating party 210 and a destination party 220 interconnected via a WAN 150. The originating party 210 and the destination party 220 may refer to a computer, a laptop, a tablet computer, a portable computing device, a personal digital assistant (PDA), a handheld cellular phone, a mobile phone, a smart phone, a handheld device having wire or wireless connection capability, or any other electronic device suitable for communicating data via the WAN 150. The originating party 210 and/or the destination party 220 may also refer to a group of interconnected electronic devices, such as a LAN. In some other examples, the originating party 210 and/or the destination party 220 may be simplified to hardware, software, or a combination thereof suitable to generate and process network data packets.
The network system 200 may comprise two or more PEPs 230. The term “PEP,” as used herein, refers to a network optimizing agent configured to improve the end-to-end performance of some communications protocols. PEPs can often be used to improve the performance of the IP in environments where native performance suffers for some reason, usually due to a characteristic of the environment. A PEP implementation may function at the TCP layer or at the application layer.
Accordingly, the originating party 210 may generate one or more data packets complying with a certain protocol (e.g., the TCP) and transmit them towards the destination party 220, which may also utilize data packets complying with the same protocol as in the originating party 210. First, original data packets 240 are transmitted to the first PEP 230, where they can be buffered, processed, and reassembled in new data packets, which can comply with another communication protocol suitable for data transmission within the PEP environment 250. Such new data packets are called “performance enhanced packets” 260. Consequently, the performance enhanced packets 260 comprise data obtained from the original data packets 240. In some embodiments, the performance enhanced packets 260 may comprise encrypted and/or compressed data associated with the original data packets 240.
Further, the performance enhanced packets 260 are transmitted to the second PEP 230, where they can be buffered, processed, and reassembled into recreated data packets 270. The recreated data packets 270 are segmented as the original data packets 240. In contrast, in the prior art, the same data can be delivered but the packets may not be of the same lengths.
FIG. 3 is a block diagram showing an approach for processing data packets in a PEP environment. As shown in the figure, the originating party 210 may generate 1 to N original data packets 240. Each original data packet 240 may comprise a header 242 to transmit service information (e.g., originating and destination party addresses, check sums, pointers, flags, lengths, sizes, etc.) and a data segment 244. It should be noted that each original data packet 240 may be of the same or different lengths.
The first PEP 230 may receive the original data packets 240 as generated by the originating party 210, discard the headers 242 and coalesce the data segments 244. The first PEP 230 may determine the lengths of each original data packet 240. In some cases, the first PEP 230 does not determine the entire length of the data packet 240, but only the length of the data segment 244. Some examples of length determinations may include reading and analyzing headers (e.g., retrieving and analyzing a maximum segment size (MSS) parameter, a maximum transmission unit (MTU) parameters, etc.), counting data packet length, calculating differences (deltas) between different data packets, and so forth. The information related to the lengths of every original data packet 240 or data segment 244 is collected as “packet identifying data” 310 (e.g., a length vector). In the example shown, the packet identifying data 310 can be reassembled as an information packet 320 by adding a header.
The first PEP 230 can process the original data packets 240 and extract the data segments 244 for each of them. For example, in a typical implementation, the operating system may strip the headers 242 from the original data packets 240 before forwarding the data segments 244 to the corresponding application. The data segments carry payload of the original data packets 240. All extracted data segments 244 are then used to create performance enhanced data packets 260. Specifically, the data segments 244 are broken apart and encapsulated in the performance enhanced data segments 264. The performance enhanced data packet 260 also comprises a header 262 carrying certain service information.
Subsequently, the performance enhanced data packet 260 is transmitted over the WAN 150 to the second PEP 230. The information packet 320 is also transmitted to the second PEP 230 using the same communication channel or another one. For example, the performance enhanced data packet 260 and the information packet 320 can be transmitted one after another or simultaneously.
Once the second PEP 230 receives the performance enhanced data packet 260 and the information packet 320, the second PEP 230 reads information related to the lengths of original data packets 240 encapsulated within the information packet 320, and then extracts data segments 244 exactly as if they were received in the first PEP 230. In some embodiments, if the encryption and/or compression were previously used, the second PEP 230 may additionally implement decryption and/or decompression.
Further, the second PEP 230 may generate new headers which are the same headers as the headers 242 for each data segment 244 such that new data packets 330 can be regenerated, which are identical to the original data packets 240. The regenerated data packets 330 are then delivered to the destination party 220.
FIG. 4 is a block diagram showing an approach for processing data packets in a PEP environment.
Similarly to the above described, the originating party 210 may generate original data packets 240, which comprise headers 242 and data segments 244.
The first PEP 230 may receive the original data packets 240 and temporary buffer them for a predetermined period of time. The first PEP 230 may then determine the lengths for each buffered original data packet 240. The information about lengths is then collected as packet identifying data 310.
The first PEP 230 also processes the buffered original data packets 240 and extracts the data segments 244 for each of them. The extracted data segments 244 are then used to create a performance enhanced data packet 260. Specifically, the data segments 244 are encapsulated in the performance enhanced data packet 260 such that they occupy the data segment 244. The performance enhanced data packet 260 also comprises a header 262, which carries certain service information.
In contrast to the approach disclosed with reference to FIG. 3, the packet identifying data 310 is incorporated into the performance enhanced data packet 260. In an example embodiment, the packet identifying data 310 is positioned between the header 262 and the data segment 264. In some other embodiments, the packet identifying data 310 can be incorporated within the header 262 or within the data segment 244. The packet identifying data 310 can also be somehow encrypted and/or compressed. In either case, the packet identifying data 310 is transmitted in the performance enhanced data packet 260. Further, the performance enhanced data packet 260 is transmitted over the WAN 150 to the second PEP 230.
Once the second PEP 230 receives the performance enhanced data packet 260, the second PEP 230 retrieves information about the lengths of original data packets 240, and then extracts data segments 244 exactly as they were retrieved in the first PEP 230. Again, if encryption and/or compression were previously used, the second PEP 230 may additionally implement decryption and/or decompression.
Further, the second PEP 230 may generate new headers which can be the same headers as the headers 242 for each data segment 244 such that new data packets 330 can be regenerated, which are identical to the original data packets 240. The regenerated data packets 330 are then delivered to the destination party 220.
FIG. 5 is a diagram of a system 500 for processing network packets. In this embodiment, the system 500 for processing network packets may include an LAN receiving module 510, a WAN receiving module 520, a WAN transmitting module 530, and a LAN transmitting module 540. The system 500 for processing network packets, in this context, may refer to the first and second PEPs 230.
In other embodiments, the system 500 for processing network packets may include additional, fewer, or different modules for various applications. Furthermore, all modules can be integrated within a single apparatus, or, alternatively, can be remotely located and optionally be accessed via a third party.
The LAN receiving module 510 may be configured to receive network data to be transported between the first PEP 230 and the second PEP 230. The LAN receiving module 510 may be receiving LAN data from the LAN 120 shown in FIG. 1. The LAN receiving module 510 may be configured to collect packet identifying data 310 associated with the one or more original network data packets 240 before the network data is packetized into one or more performance enhanced packets 260 by the first PEP 230. The LAN receiving module 510 may pass the data to the WAN receiving module 520. The WAN receiving module 520 can be further configured to determine the lengths of the original data packets 240 and/or the data segments 244.
In addition, the WAN receiving module 520 can be configured to receive the performance enhanced data packet 260, the packet identifying data 310, and/or the information packet 320 from another PEP 230. Once the performance enhanced data packets are created the WAN transmitting module 530 may transmit the data to the WAN 150 shown in FIG. 1.
The WAN transmitting module 530 can also be configured to generate the performance enhanced data packet 260, which comprises previously extracted data segments 244. The WAN transmitting module 530 can be further configured to transmit the performance enhanced data packet 260 and the packet identifying data 310 (and/or the information packets 320) to the second PEP 230.
The LAN transmitting module 540 can be configured to recreate the segmentation of the packet data as the one or more original network data packets 240. The recreation can be implemented utilizing the packet identifying data 310 and/or the information packets 320.
FIG. 6 is a process flow diagram showing a method 600 for processing network packets within a PEP environment. The method 600 may be performed by processing logic that may comprise hardware (e.g., dedicated logic, programmable logic, and microcode), software (such as software run on a general-purpose computer system or a dedicated machine), or a combination of both. In one example embodiment, the processing logic resides at the first and/or second PEP 230.
The method 600 can be performed by various modules discussed above with reference to FIG. 5. Each of these modules can comprise processing logic. It will be appreciated by one of ordinary skill that examples of the foregoing modules may be virtual, and instructions said to be executed by a module may, in fact, be retrieved and executed by a processor. Although various modules may be configured to perform some or all of various steps described herein, fewer or more modules may be provided and still fall within the scope of various embodiments.
As shown in FIG. 6, the method 600 may commence at operation 610 with the LAN receiving module 510 receiving network data to be transported between the first PEP 230 and the second PEP 230. The received network data can be segmented in one or more original network data packets 240.
At operation 620, the WAN receiving module 520 may receive packet identifying data 310 associated with the one or more original network data packets 240 before the network data is packetized into one or more performance enhanced packets 260 by the first PEP 230. The packet identifying data 310 may be descriptive of lengths of the one or more original network data packets 240 and/or their data segments 244. At operation 630 the packet data can be optionally compressed/encrypted.
At operation 640, the WAN transmitting module 530 may transmit the packet identifying data 310 to the second PEP 230. As mentioned, the packet identifying data 310 can be transmitted within the one or more performance enhanced packets 260 (e.g., by being encapsulated between the header 262 and the data segment 244) or separately (for example, as the information packet 320).
If the network data was optionally compressed/encrypted at operation 620, it can be decompressed/decrypted at operation 650.
The method 600 may further comprise an optional operation 660, with the LAN transmitting module 540 recreating the segmentation of the packet data as the one or more original network data packets 240. Accordingly, the recreation can be implemented utilizing the packet identifying data 310 and/or the information packets 320.
FIG. 7 shows a diagrammatic representation of a computing device for a machine in the example electronic form of a computer system 700, within which a set of instructions for causing the machine to perform any one or more of the methodologies discussed herein can be executed. In various example embodiments, the machine operates as a standalone device or can be connected (e.g., networked) to other machines. In a networked deployment, the machine can operate in the capacity of a server or a client machine in a server-client network environment, or as a peer machine in a peer-to-peer (or distributed) network environment. The machine can be a server, a storage system, a personal computer (PC), a tablet PC, a web appliance, a network router, a switch, a bridge, or any machine capable of executing a set of instructions (sequential or otherwise) that specify actions to be taken by that machine. Further, while only a single machine is illustrated, the term “machine” shall also be taken to include any collection of machines that individually or jointly execute a set (or multiple sets) of instructions to perform any one or more of the methodologies discussed herein.
The example computer system 700 includes a processor or multiple processors 702 (e.g., a central processing unit (CPU)), and a main memory 704, which communicate with each other via a bus 706. The computer system 700 can further include a storage 708 and a network interface device 710.
The storage 708 may include a computer-readable medium 712 which stores one or more sets of instructions and data structures (e.g., instructions 714) embodying or utilized by any one or more of the methodologies or functions described herein. The instructions 714 can also reside, completely or at least partially, within the main memory 704 and/or within the processors 702 during execution thereof by the computer system 700. The main memory 704 and the processors 702 also constitute machine-readable media. The instructions 714 can further be transmitted or received over the network 150 via the network interface device 710 utilizing any one of a number of well-known transfer protocols (e.g., TCP/IP, UDP, HTTP, CAN, Serial, and Modbus).
While the computer-readable medium 712 is shown in an example embodiment to be a single medium, the term “computer-readable medium” should be taken to include a single medium or multiple media (e.g., a centralized or distributed database, and/or associated buffers and servers) that store the one or more sets of instructions. The term “computer-readable medium” shall also be taken to include any medium that is capable of storing, encoding, or carrying a set of instructions for execution by the machine and that causes the machine to perform any one or more of the methodologies of the present application, or that is capable of storing, encoding, or carrying data structures utilized by or associated with such a set of instructions. The term “computer-readable medium” shall accordingly be taken to include, but not be limited to, solid-state memories, optical and magnetic media. Such media can also include, without limitation, hard disks, floppy disks, flash memory cards, digital video disks (DVDs), random access memory (RAM), read only memory (ROM), and the like.
The example embodiments described herein can be implemented in an operating environment comprising computer-executable instructions (e.g., software) installed on a computer, in hardware, or in a combination of software and hardware. The computer-executable instructions can be written in a computer programming language or can be embodied in firmware logic. If written in a programming language conforming to a recognized standard, such instructions can be executed on a variety of hardware platforms and for interfaces to a variety of operating systems. Although not limited thereto, computer software programs for implementing the present method can be written in any number of suitable programming languages such as, for example, Java, C, C++, Perl, Visual Basic, or other compilers, assemblers, interpreters or other computer languages or platforms.
Thus, computer-implemented method and systems for processing network packets within a PEP environment are described. These methods and systems may effectively process data packets by PEPs so that the data packets can be reassembled when they are outputted from the PEP environment exactly as they were inputted into the PEP environment, regardless how they were transmitted within this environment. The described approaches significantly reduce a number of failures or break downs when stacks or software applications can not process data packets transferred through the PEP environment.
Although embodiments have been described with reference to specific example embodiments, it will be evident that various modifications and changes can be made to these example embodiments without departing from the broader spirit and scope of the present application. Accordingly, the specification and drawings are to be regarded in an illustrative rather than a restrictive sense.

## Claims

1. A computer-implemented method for processing network packets, the method comprising:
receiving network data to be transported between a first Performance Enhancing Proxy (PEP) and a second PEP, the network data being segmented into two or more original network data packets;
removing a header from each of the two or more original network data packets and collecting packet identifying data associated with the two or more original network data packets from the removed header before the network data is packetized into one or more performance enhanced packets by the first PEP, the packet identifying data comprising information regarding the segmentation of the network data into the two or more original network data packets; and
transmitting the packet identifying data to the second PEP, the second PEP exactly reproducing the original packet segmentation of the network data upon receiving the packet identifying data from the first PEP by:
retrieving information about each length of the two or more original network data packets from the packet identifying data,
extracting data segments in the two or more original network data packets exactly as they were received in the first PEP, and
generating new headers which are the same as the removed headers for each one of the extracted data segments, such that new data packets are regenerated, the regenerated new data packets being identical to the two or more original network data packets.

2. The method of claim 1, wherein the second PEP recreates the original packet segmentation of the network data upon receiving the packet identifying data from the first PEP.

3. The method of claim 2, wherein the packet identifying data includes one or more of the following: lengths, length deltas, Differentiated Services Code Point (DSCP) markings, priority markings, and options.

4. The method of claim 1, wherein the one or more original network data packets are complying with a Transmission Control Protocol (TCP).

5. The method of claim 1, wherein the packet identifying data is transmitted with the network data.

6. The method of claim 1, wherein the network data is compressed or encrypted.

7. The method of claim 1, wherein the packet identifying data is transmitted separately from the network data.

8. The method of claim 1, wherein the packet identifying data is descriptive of lengths of the two or more original data packets.

9. A computer-implemented method for processing network packets, the method comprising:
receiving compressed network data to be transported between a first Performance Enhancing Proxy (PEP) and a second PEP, the network data being segmented into two or more original network data packets;
removing a header from each of the two or more original network data packets and collecting packet identifying data associated with the two or more original network data packets from the removed header, before the compressed network data is packetized into one or more performance enhanced packets by the first PEP, the packet identifying data comprising data regarding the segmentation of the network data into the two or more original network data packets; and
transmitting the identifying data to the second PEP, the second PEP exactly reproducing the original packet segmentation of the network data upon receiving the packet identifying data from the first PEP by:
retrieving information about each length of the two or more original network data packets from the packet identifying data,
extracting data segments in the two or more original network data packets exactly as they were received in the first PEP, and
generating new headers which are the same as the removed headers for each one of the extracted data segments, such that new data packets are regenerated, the regenerated new data packets being identical to the two or more original network data packets.

10. The method of claim 9, wherein the second PEP recreates the original packet segmentation of the network data upon receiving the packet identifying data from the first PEP.

11. The method of claim 10, wherein the packet identifying data includes one or more of the following: lengths, length deltas, Differentiated Services Code Point (DSCP) markings, priority markings, and options.

12. The method of claim 9, wherein the packet identifying data is transmitted with the network data.

13. The method of claim 11, wherein the packet identifying data is inserted into the network data after the network data is compressed and before the network data is encrypted.

14. The method of claim 9, wherein the packet identifying data is transmitted separately from the network data.

15. A system for processing network packets, the system comprising:
a first module, stored in memory and executed by at least one processor, that receives network data to be transported between a first Performance Enhancing Proxy (PEP) and a second PEP, the network data being segmented into two or more original network data packets;
a second module, stored in memory and executed by the at least one processor, that removes a header from each of the two or more original network data packets and collects packet identifying data associated with the two or more original network data packets from the removed header before the network data is packetized into one or more performance enhanced packets by the first PEP, the packet identifying data comprising data regarding the segmentation of the network data into the two or more original network data packets; and
a third module, stored in memory and executed by the at least one processor, that transmits the packet identifying data to the second PEP;
the second PEP exactly reproducing the original packet segmentation of the network data upon receiving the packet identifying data from the first PEP by:
retrieving information about each length of the two or more original network data packets from the packet identifying data,
extracting data segments in the two or more original network data packets exactly as they were received in the first PEP, and
generating new headers which are the same as the removed headers for each one of the extracted data segments, such that new data packets are regenerated, the regenerated new data packets being identical to the two or more original network data packets.

16. The system of claim 15, further comprising a fourth module, stored in memory and executed by the at least one processor, that recreates the original packet segmentation of the network data.

17. The system of claim 16, wherein the packet identifying data includes one or more of the following: lengths, length deltas, Differentiated Services Code Point (DSCP) markings, priority markings, and options.

18. The system of claim 15, wherein the third module is configured to transmit the packet identifying data with the network data.

19. The system of claim 15, wherein the network data is compressed or encrypted.

20. The system of claim 15, wherein the third module is configured to transmit the packet identifying data separately from the network data.

21. The system of claim 15, wherein the packet identifying data is descriptive of lengths of the one or more original data packets.

22. A system for processing network packets, the system comprising:
a first module, stored in memory and executed by at least one processor, to receive compressed network data to be transported between a first Performance Enhancing Proxy (PEP) and a second PEP, the network data being received in two or more original network data packets;
a second module, stored in memory and executed by the at least one processor, to remove a header from each of the two or more original network data packets and collect packet identifying data associated with the two or more original network data packets from the removed header before the compressed network data is packetized into one or more performance enhanced packets by the first PEP, the packet identifying data comprising data regarding the segmentation of the network data into the two or more original network data packets; and
a third module, stored in memory and executed by the at least one processor, to transmit the packet identifying data to the second PEP;
the second PEP exactly reproducing the original packet segmentation of the network data upon receiving the packet identifying data from the first PEP by:
retrieving information about each length of the two or more original network data packets from the packet identifying data,
extracting data segments in the two or more original network data packets exactly as they were received in the first PEP, and
generating new headers which are the same as the removed headers for each one of the extracted data segments, such that new data packets are regenerated, the regenerated new data packets being identical to the two or more original network data packets.

23. The system of claim 22, further comprising a fourth module, stored in memory and executed by the at least one processor, that recreates the original packet segmentation of the network data.

24. The system of claim 23, wherein the packet identifying data includes one or more of the following: lengths, length deltas, Differentiated Services Code Point (DSCP) markings, priority markings, and options.

25. The system of claim 22, wherein the third module is configured to transmit the packet identifying data with the network data.

26. The system of claim 25, wherein the packet identifying data is inserted into the network data after the network data is compressed and before the network data is encrypted.

27. The system of claim 22, wherein the third module is configured to transmit the packet identifying data separately from the network data.

28. The system of claim 22, wherein the packet identifying data is descriptive of compressed lengths of the two or more original data packets.

29. A non-transitory computer-readable medium having instructions stored thereon, which when executed by one or more computers, causes the one or more computers to:
receive network data to be transported between a first Performance Enhancing Proxy (PEP) and a second PEP, the network data being segmented into two or more original network data packets;
remove a header from each of the two or more original network data packets and collect packet identifying data associated with the two or more original network data packets from the removed header before the network data is packetized into one or more performance enhanced packets by the first PEP, the packet identifying data comprising data regarding the segmentation of the network data into the two or more original network data packets; and
transmit the packet identifying data to the second PEP, the second PEP exactly reproducing the original packet segmentation of the network data upon receiving the packet identifying data from the first PEP by:
retrieving information about each length of the two or more original network data packets from the packet identifying data,
extracting data segments in the two or more original network data packets exactly as they were received in the first PEP, and
generating new headers which are the same as the removed headers for each one of the extracted data segments, such that new data packets are regenerated, the regenerated new data packets being identical to the two or more original network data packets.

30. A non-transitory computer-readable medium having instructions stored thereon, which when executed by one or more computers, causes the one or more computers to:
receive compressed network data to be transported between a first Performance Enhancing Proxy (PEP) and a second PEP, the network data being received in two or more original network data packets;
remove a header from each of the two or more original network data packets and collect packet identifying data associated with the two or more original network data packets from the removed header before the compressed network data is packetized into one or more performance enhanced packets by the first PEP, the packet identifying data comprising data regarding the segmentation of the network data into the two or more original network data packets; and
transmit the identifying data the second PEP, the second PEP exactly reproducing the original packet segmentation of the network data upon receiving the packet identifying data from the first PEP by:
retrieving information about each length of the two or more original network data packets from the packet identifying data,
extracting data segments in the two or more original network data packets exactly as they were received in the first PEP, and
generating new headers which are the same as the removed headers for each one of the extracted data segments, such that new data packets are regenerated, the regenerated new data packets being identical to the two or more original network data packets.