×

Signature searching method and apparatus using signature location in packet

  • US 8,407,794 B2
  • Filed: 04/20/2010
  • Issued: 03/26/2013
  • Est. Priority Date: 04/22/2009
  • Status: Active Grant
First Claim
Patent Images

1. A method of an apparatus searching for a signature in a packet, the method comprising:

  • extracting a sub-payload to be compared with a signature from a payload packet;

    generating a search key that comprises the extracted sub-payload; and

    performing ternary content addressable memory (TCAM) matching to check if the generated search key matches a TCAM entry,wherein the TCAM entry comprises an offset that comprises a bit sequence, and the bit sequence of the offset is capable of being set according to the following conditions;

    where the bit sequence indicates that the signature is matched at a location of the offset in the payload of the packet,where the bit sequence indicates that the signature is matched at a location behind the offset in the payload of the packet, andwhere the bit sequence indicates that the signature is matched at a location ahead of the offset in the payload of the packet, andwherein the offset of the TCAM entry comprises a first bit group and at least one second bit group located behind the first bit group, the first bit group comprising a plurality of bits that correspond sequentially to sections of the payload, the sections being set by dividing the payload by a predetermined length, and the second bit group comprising a plurality of bits that correspond sequentially to subsections of each section corresponding to each bit of the first bit group, the subsections being set by dividing each section by a predetermined length smaller than the length used for dividing the section.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×