Project

General

Profile

Actions

Feature #5446

closed

allow ranges in dns.opcode value

Added by Jason Taylor almost 2 years ago. Updated 5 months ago.

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

Description

It would be nice to be able to write a single rule looking for a range of opcodes or not looking (excluding) a range of opcodes.

examples:

alert dns any any -> any any (msg:"dns unassigned opcodes in dns query"; dns.opcode:7-15; sid:123; rev:1;)

alert dns any any -> any any (msg:"dns opcode other than assigned opcode in dns query"; dns.opcode:!1-6; sid:123; rev:1;)


Related issues 3 (2 open1 closed)

Related to Suricata - Feature #6646: detect: integer: support negated rangesClosedPhilippe AntoineActions
Related to Suricata - Task #6644: tracking: detect: integer as first-class supportIn ProgressPhilippe AntoineActions
Related to Suricata - Feature #6723: detect: review existing keywords for usage of enumerationsNewPhilippe AntoineActions
Actions #1

Updated by Victor Julien almost 2 years ago

@Philippe Antoine could this somehow be implemented as part of the general detect int work?

Actions #2

Updated by Philippe Antoine about 1 year ago

  • Assignee changed from OISF Dev to Philippe Antoine
Actions #3

Updated by Philippe Antoine about 1 year ago

  • Target version changed from TBD to 8.0.0-beta1
Actions #4

Updated by Philippe Antoine 7 months ago

  • Status changed from New to In Review
Actions #5

Updated by Philippe Antoine 5 months ago

  • Related to Feature #6646: detect: integer: support negated ranges added
Actions #6

Updated by Philippe Antoine 5 months ago

  • Related to Task #6644: tracking: detect: integer as first-class support added
Actions #7

Updated by Philippe Antoine 5 months ago

  • Related to Feature #6723: detect: review existing keywords for usage of enumerations added
Actions #8

Updated by Philippe Antoine 5 months ago

  • Status changed from In Review to Closed
Actions

Also available in: Atom PDF