Project

General

Profile

Actions

Feature #3290

open

use config vars everywhere

Added by Victor Julien about 3 years ago. Updated about 2 years 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 about 3 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 about 3 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 2 years ago

  • Priority changed from Normal to Low
Actions #4

Updated by Victor Julien over 2 years ago

  • Target version changed from 6.0.0beta1 to 7.0.0-beta1
Actions #5

Updated by Victor Julien about 2 years ago

  • Target version changed from 7.0.0-beta1 to TBD
Actions

Also available in: Atom PDF