Project

General

Profile

Actions

Feature #3200

closed
VJ JL

pcre: allow operation as transform

Feature #3200: pcre: allow operation as transform

Added by Victor Julien over 6 years ago. Updated almost 6 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

VJ Updated by Victor Julien over 6 years ago Actions #1

  • Blocked by Feature #3199: transformation should be able to take options added

VJ Updated by Victor Julien over 6 years ago Actions #2

  • Status changed from New to Feedback

I've set this to 'community' until we've reached some feedback about whether this would be useful.

VJ Updated by Victor Julien over 6 years ago Actions #3

  • Subject changed from pcre: allow operation at transform to pcre: allow operation as transform

JL Updated by Jeff Lucovsky about 6 years ago Actions #4

  • Status changed from Feedback to Assigned
  • Assignee changed from Community Ticket to Jeff Lucovsky

VJ Updated by Victor Julien about 6 years ago Actions #5

  • Target version changed from TBD to 6.0.0beta1

JL Updated by Jeff Lucovsky about 6 years ago Actions #6

  • Status changed from Assigned to In Review

VJ Updated by Victor Julien almost 6 years ago Actions #7

  • Status changed from In Review to Closed
Actions

Also available in: PDF Atom