Project

General

Profile

Actions

Feature #494

closed
VJ EL

ipv4 or ipv6 only rules

Feature #494: ipv4 or ipv6 only rules

Added by Victor Julien almost 14 years ago. Updated over 13 years ago.

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

Description

Instead of "alert ip" allow for "alert ipv4" and "alert ip4". Likewise for IPv6.

Interesting question is how this should behave wrt address vars. If HOME_NET contains both ip4 and ip6, how should a rule like "alert ipv4 $HOME_NET..." behave? Error out? Use only the ipv4 part of the addresses?


Files


Related issues 1 (0 open1 closed)

Related to Suricata - Feature #506: Update rules analyser after #494 changesClosedEric LeblondActions

EL Updated by Eric Leblond almost 14 years ago Actions #1

I think we should only use the matching subset. But it could trigger some funny things like a null subset. It this case, we should ERROR out.

VJ Updated by Victor Julien almost 14 years ago Actions #2

Agreed. I think the rule analyzer should also display this information.

EL Updated by Eric Leblond almost 14 years ago Actions #3

  • % Done changed from 0 to 80

EL Updated by Eric Leblond almost 14 years ago Actions #4

Current code uses only the matching part of a variable. It does not fire an error if there is no intersection. It may be enough to have the rule analysers trigger a warning.

EL Updated by Eric Leblond over 13 years ago Actions #6

VJ Updated by Victor Julien over 13 years ago Actions #7

  • Status changed from Assigned to Closed
  • % Done changed from 80 to 100
Actions

Also available in: PDF Atom