Project

General

Profile

Actions

Feature #3290

open

use config vars everywhere

Added by Victor Julien almost 2 years ago. Updated 12 months ago.

Status:
New
Priority:
Low
Assignee:
Target version:
Effort:
Difficulty:
Label:

Description

The address and port vars are currently limited to specific uses. E.g. port vars can be in rules and in the vxlan config.

Maybe it would make sense to take a much simpler approach. Treat the vars more like macros in C, where the cpp simply replaces the macros with their value before the compiler compiles it.

Actions #1

Updated by Jason Ish almost 2 years ago

Victor Julien wrote:

Maybe it would make sense to take a much simpler approach. Treat the vars more like macros in C, where the cpp simply replaces the macros with their value before the compiler compiles it.

I 100% agree. So just a simpler vars section maybe?

vars:
  FILE_DATA_PORTS: "[$HTTP_PORTS,110,143]" 

(of course keeping support for the "groups" we already have).

Actions #2

Updated by Victor Julien almost 2 years ago

  • Assignee set to OISF Dev
  • Target version set to 6.0.0beta1

Yeah I think this makes sense.

Actions #3

Updated by Jason Ish over 1 year ago

  • Priority changed from Normal to Low
Actions #4

Updated by Victor Julien over 1 year ago

  • Target version changed from 6.0.0beta1 to 7.0rc1
Actions #5

Updated by Victor Julien 12 months ago

  • Target version changed from 7.0rc1 to TBD
Actions

Also available in: Atom PDF