# US 2013/0254197 A1 · Method and system for decompression-free inspection of shared dictionary compressed traffic over http

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2013/0254197 A1
- Document ID: US20130254197A1
- Status: Published application
- Kind: A1
- Application number: 13/847,758
- Filed: 2013-03-20
- Published: 2013-09-26
- Earliest claimed: 2012-03-20
- Assignees: Yissum Research Development Company of the Hebrew University of Jerusalem; The Interdisciplinary Center; Ramot at Tel-Aviv University Ltd.
- Applicants: Yissum Research Development Company of The Hebrew University of Jerusalem Ltd.; The Interdisciplinary Center; Ramot At Tel-Aviv University Ltd.
- Inventors: David HAY; Yaron KORAL; Anat BREMBLER-BARR; Shimrit TZUR-DAVID
- Web page: https://patentgrep.com/patent/US20130254197A1

## CPC

- G06F 16/95: Retrieval from the web
- H03M 7/3084: {using adaptive string matching, e.g. the Lempel-Ziv method}
- H04L 43/028: by filtering
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H03M: CODING; DECODING; CODE CONVERSION IN GENERAL (using fluidic means F15C4/00; optical analogue/digital converters G02F7/00; coding, decoding or code conversion, specially adapted for particular applications, see the relevant subclasses, e.g. G01D, G01R, G06F, G06T, G09G, G10L, G11B, G11C, H04B, H04L, H04M, H04N; ciphering or deciphering for cryptography or other purposes involving the need for secrecy G09C)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

A system and a method for decompression-free inspection of compressed data are provided herein. The method includes the following stages: obtaining a dictionary file comprising a string of symbols, each associated with a respective index; obtaining at least one delta file associated with said dictionary file, wherein said delta file comprises a sequence of instructions that include at least one copy instruction pointing to an index within said dictionary and a length of a copy substring to be copied; scanning said dictionary using a pattern matching algorithm associated with a plurality of patterns and implemented as a Deterministic Finite Automaton (DFA), to yield DFA execution data; scanning said at least one delta file, using said pattern matching algorithm, wherein said DFA execution data is used to skip at least part of the scanning of the copy substrings for at least one of the copy instructions.

## Claims

### Claim 1

A method comprising:
obtaining a dictionary file comprising a string of symbols, each associated with a respective index;
obtaining at least one delta file associated with said dictionary file, wherein said delta file comprises a sequence of instructions that include at least one copy instruction pointing to an index within said dictionary and a length of a copy substring to be copied;
scanning said dictionary using a pattern matching algorithm associated with a plurality of patterns and implemented as a Deterministic Finite Automaton (DFA), to yield DFA execution data;
scanning said at least one delta file, using said pattern matching algorithm, wherein said DFA execution data is used to skip at least part of the scanning of the copy substrings for at least one of the copy instructions.

### Claim 2 (depends on 1)

The method according to claim 1, wherein the dictionary file is a shared dictionary used in compressed Internet traffic.

### Claim 3 (depends on 1)

The method according to claim 1, wherein the dictionary file and at least one delta file are associated with Shared Dictionary Compression over Hypertext Transfer Protocol (HTTP) (SDCH).

### Claim 4 (depends on 1)

The method according to claim 1, wherein at least some of the scanned patterns include security hazards in Internet traffic.

### Claim 5 (depends on 1)

The method according to claim 1, wherein the pattern matching algorithm is Aho-Corasick.

### Claim 6 (depends on 1)

The method according to claim 1, wherein said scanning said dictionary is wherein said scanning of said dictionary is carried out at a pre-processing stage and wherein said scanning said at least one delta file is carried out at a processing stage following said pre-processing stage.

### Claim 7 (depends on 1)

The method according to claim 1, wherein said patterns occurrence data comprises an indication for each symbol in said dictionary as to at which state of the pattern matching algorithm said symbol was scanned, indices of the symbols pointing to a matched pattern, and a corresponding state at which said pattern was found.

### Claim 8 (depends on 4)

The method according to claim 4, wherein the security hazard comprises a word signature.

### Claim 9

A system comprising:
a plurality of network devices; and
a communication network interconnecting said network devices,
wherein at least one of said network devices is configured to:
(a) obtain a dictionary file comprising a string of symbols, each associated with a respective index;
(b) obtain at least one delta file associated with said dictionary file, wherein said delta file comprises a sequence of instructions that include at least one copy instruction pointing to an index within said dictionary and a length of a copy substring to be copied;
(c) scan said dictionary using a pattern matching algorithm associated with a plurality of patterns and implemented as a Deterministic Finite Automaton (DFA), to yield DFA execution data; and
(d) scan said at least one delta file, using said pattern matching algorithm, wherein said DFA execution data is used to skip at least part of the scanning of the copy substrings for at least some of the copy instructions.

### Claim 10 (depends on 9)

The system according to claim 9, wherein the dictionary file is a shared dictionary used in compressed Internet traffic.

### Claim 11 (depends on 9)

The system according to claim 9, wherein the dictionary file and the at least one delta file are associated with Shared Dictionary Compression over Hypertext Transfer Protocol (HTTP) (SDCH).

### Claim 12 (depends on 9)

The system according to claim 9, wherein at least some of the scanned patterns include security hazards in Internet traffic.

### Claim 13 (depends on 9)

The system according to claim 9, wherein the pattern matching algorithm is Aho-Corasick.

### Claim 14 (depends on 9)

The system according to claim 9, wherein said scanning of said dictionary is carried out at a pre-processing stage and wherein said scanning said at least one delta file is carried out at a processing stage following said pre-processing stage.

### Claim 15 (depends on 9)

The system according to claim 9, wherein said patterns occurrence data comprises an indication for each symbol in said dictionary as to at which state of the pattern matching algorithm said symbol was scanned, indices of the symbols pointing to a matched pattern, and a corresponding state at which said pattern was found.

### Claim 16 (depends on 12)

The system according to claim 12, wherein the security hazard comprises a word signature.

### Claim 17

A computer program product comprising: a non-transitory computer readable storage medium having computer readable program embodied therewith, the computer readable program comprising:
computer readable program configured to obtain a dictionary file comprising a string of symbols, each associated with a respective index;
computer readable program configured to obtain at least one delta file associated with said dictionary file, wherein said delta file comprises a sequence of instructions that include at least one copy instruction pointing to an index within said dictionary and a length of a copy substring to be copied;
computer readable program configured to scan said dictionary using a pattern matching algorithm associated with a plurality of patterns and implemented as a Deterministic Finite Automaton (DFA), to yield DFA execution data; and
computer readable program configured to scan said at least one delta file, using said pattern matching algorithm, wherein said DFA execution data is used to skip at least part of the scanning of the copy substrings for at least one of the copy instructions.

### Claim 18 (depends on 17)

The computer program product according to claim 17, wherein the dictionary file is a shared dictionary used in compressed Internet traffic.

### Claim 19 (depends on 17)

The computer program product according to claim 17, wherein the dictionary file and the at least one delta file are associated with Shared Dictionary Compression over Hypertext Transfer Protocol (HTTP) (SDCH).

### Claim 20 (depends on 17)

The computer program product according to claim 17, wherein at least some of the scanned patterns include security hazards in Internet traffic.

### Claim 21 (depends on 17)

The computer program product according to claim 17, wherein the pattern matching algorithm is Aho-Corasick.

### Claim 22 (depends on 17)

The computer program product according to claim 17, wherein said scanning said dictionary is carried out off-line and wherein said scanning said at least one delta file is carried out on-line.

### Claim 23 (depends on 17)

The computer program product according to claim 17, wherein said patterns occurrence data comprises an indication for each symbol in said dictionary as to at which state of the pattern matching algorithm said symbol was scanned, indices of the symbols pointing to a matched pattern, and a corresponding state at which said pattern was found.

### Claim 24 (depends on 20)

The computer program product according to claim 20, wherein the security hazard comprises a word signature.
