×

Hardware-based packet editor

  • US 9,118,620 B1
  • Filed: 06/20/2012
  • Issued: 08/25/2015
  • Est. Priority Date: 03/29/2012
  • Status: Active Grant
First Claim
Patent Images

1. A method for processing a data packet by a service gateway comprising a processor module, comprising:

  • receiving, by the processor, a data packet from a host to be sent to a server, or from the server to be sent to the host;

    determining, by the processor, that the data packet requires modification prior to sending to the server or the host; and

    generating, by the processor, a packet editing script, the script comprising a plurality of script entries and a data block wherein each of the plurality of script entries indicates a modification to be applied to the data block, wherein the data block comprises at least a portion of the data packet, wherein the generating comprises;

    for each and any given portion of the data packet determined to be included in the modified packet, generating a first script entry identifying a first location and a first length in the data block corresponding to the given portion determined to be included;

    for each and any given portion of the data packet determined to be removed from the data packet, omitting generation of a script entry corresponding to the given portion determined to be removed;

    for each any new data determined to be added to the modified packet, generating the new data to be comprised in the data block of the packet editing script and generating a second script entry identifying a second location and a second length in the data block corresponding to the new data; and

    for each and any given portion of the data packet determined to be replaced in the modified packet, generating a third script entry identifying a third location and a third length in the data block corresponding to a replacement data, and omitting generation of the script entry corresponding to the given portion determined to be replaced.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×