-
Notifications
You must be signed in to change notification settings - Fork 1.5k
lua: convert ssh function into suricata.ssh lib #13013
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
Conversation
Ticket: 7607
|
||
return LuaPushStringBuffer(luastate, protocol, b_len); | ||
} | ||
struct LuaTx { |
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.
Should this all be rust ?
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 sure if we have sufficient, or nice enough Lua abstractions for Rust yet. The C conversions are easier, at least for me at this time, and given the schedule.
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 tried a bit in my branch lua-ssh-7607-v3.1
Not sure about the new hook logic and why it now gets 2 alerts (one at the packet, and one at flow timeout) |
Information: QA ran without warnings. Pipeline 25684 |
Next in #13024 |
Did you resolve this? |
I will investigate more |
Link to ticket: https://redmine.openinfosecfoundation.org/issues/
https://redmine.openinfosecfoundation.org/issues/7607
Describe changes:
SV_BRANCH=OISF/suricata-verify#2420
#12954 with doc improvements