Project

General

Profile

Actions

Feature #6480

open

plugins: allow plugins to specify the version of suricata they are for

Added by Jason Ish 9 months ago. Updated about 1 month ago.

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

Description

Still needs some thought. But would happen at plugin registration time.

Actions #1

Updated by Philippe Antoine 9 months ago

Remark: there should be some API stability at some point like https://github.com/OISF/suricata/pull/9662 changes the prototype of SigMatchAppendSMToList and would break plugins using this...

Actions #2

Updated by Jason Ish 9 months ago

Philippe Antoine wrote in #note-1:

Remark: there should be some API stability at some point like https://github.com/OISF/suricata/pull/9662 changes the prototype of SigMatchAppendSMToList and would break plugins using this...

I think we are OK to break the API at major version points, ideally we won't but I don't think its a promise we can make.

Actions #3

Updated by Jason Ish about 1 month ago

  • Assignee changed from OISF Dev to Jason Ish

There are 2 things here:
- A plugin build should have the ability to check the version of Suricata it is building against. But that's going to be highly depending on the build tool.
- Encode the version in the binary so a plugin built for 7 will fail to load in 8, which is the focus of this ticket.

Actions

Also available in: Atom PDF