-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dns move keywords to rust 3195 v1.1 #12483
Conversation
Ticket: 3195 Adds url for dns.opcode on the way
Ticket: 6723
Ticket: 6723
@@ -739,6 +727,14 @@ void SigTableSetup(void) | |||
ScDetectSipRegister(); | |||
ScDetectTemplateRegister(); | |||
ScDetectLdapRegister(); | |||
SCDetectDNSRegister(); | |||
/* For lua : register these generic engines from here for now */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jasonish what is going on here for lua ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
? I'm not really familiar with this bit. Are these registrations for Lua only?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Apparently cf git grep '"dns_request"'
it gets used in detect-lua.c and it is needed for the SV test about dns and lua
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we're looking to cleanup all this Lua stuff related to this. I admit I'm not that familiar with how it works at this time.
Should probably have its own ticket, and be related to this roadmap entry: https://redmine.openinfosecfoundation.org/issues/7140 |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #12483 +/- ##
==========================================
+ Coverage 80.52% 80.54% +0.01%
==========================================
Files 923 917 -6
Lines 259176 258714 -462
==========================================
- Hits 208708 208375 -333
+ Misses 50468 50339 -129
Flags with carried forward coverage won't be shown. Click here to find out more. |
I think we should resolve #11647 before doing this - which I plan on getting to. That and DNS parity are next on my 8 priority list after wrapping up some Lua stuff this week or next. |
Information: QA ran without warnings. Pipeline 24366 |
This is not a protocol conversion, just detect keywords moving wrapper code from c to rust... |
Maybe it won't create conflicts. But adding new keywords in C, and converting keywords to Rust do sound conflicting :) |
And it does conflict with some WIP I have on https://redmine.openinfosecfoundation.org/issues/5642. |
I see how it sounds, but it is not conflicting in essence and I can do the new keywords conversion later
Does this help you ? |
Next in #12496 |
Link to ticket: https://redmine.openinfosecfoundation.org/issues/
https://redmine.openinfosecfoundation.org/issues/3195 (generic)
Describe changes:
#11932 next protocol
Draft : still need to craft SV tests ro replace unit tests
DetectDnsQueryTest