Project

General

Profile

Actions

Feature #3200

closed

pcre: allow operation as transform

Added by Victor Julien over 5 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Effort:
Difficulty:
Label:

Description

The idea is that pcre could be used to capture a substring (just 1 I suppose) to pass for inspection or further transformation.

Artificial example:

http.request_line; pcrexform:"/[A-z]+\s+(.*)\s+HTTP/"; content:"/index.html";

Here the requestline would be passed in, pcrexform would capture the URI in substring and replace the buffer with its value. Then the content would match on that.


Related issues 1 (0 open1 closed)

Blocked by Suricata - Feature #3199: transformation should be able to take optionsClosedJeff LucovskyActions
Actions

Also available in: Atom PDF