Lua http2 6409 v1 - #15871
Conversation
but restrict lua further functions to http1 for now Next commits will add http2 compatibility function by function Ticket: 6409
Ticket: 6409
|
Will ever be called for Will ever be called for |
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #15871 +/- ##
==========================================
- Coverage 83.03% 82.98% -0.05%
==========================================
Files 1003 1003
Lines 276582 276617 +35
==========================================
- Hits 229647 229538 -109
- Misses 46935 47079 +144
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
|
WARNING:
Pipeline = 32570 |
No, see discussion on the SV PR |
|
Status : waiting for a decision on
|
I think we need to evaluate... Whats common between the 2? Could the Or maybe not a new lib, but an http2 object.. from the |
Decision : do a unique lua http library for both http1 and http2, and have a mechanism in it to specify only http1 or only http2 |
|
Replaced by #16104 |
Link to ticket: https://redmine.openinfosecfoundation.org/issues/6409
Describe changes:
Provide values to any of the below to override the defaults.
SV_BRANCH=OISF/suricata-verify#3232
DRAFT :
First question is
Do we want to present the rule writer an unique http library for both http1 and http2 ? I think we do like
local http = require("suricata.http")Second question would then be how do we trigger a lua script for both http versions ?
See SV PR https://github.com/OISF/suricata-verify/pull/3232/changes#r3573799610
Now I have both
that works for either http2 or http1, but I do not have a way to express that I want to run my lua script for whatever http version