Commit Graph

10 Commits (8a5bc12156162ca99ebdaa08e4127ec3a041c131)

Author SHA1 Message Date
Jason Ish 8a5bc12156 lua: convert lua flowint functions to lib: suricata.flowintlib
Ticket: #7487
2 years ago
Jason Ish 35b03b4077 lua: convert flowvar functions to lib
New Lua lib, "suricata.flowvar" for working with flowvars from Lua.

Replaces functions:
- SCFlowvarGet (and ScFlowvarGet)
- SCFlowvarSet (and SCFlowvarSet)

Of note, the DetectLuaData has been made available to the init and
thread_init methods, instead of just the match. This is due to an
issue that if a flow variable is not registered in init, it will not
be logged, registering in thread_init is too late.

Ticket: #7486
2 years ago
Philippe Antoine 76d7ab5418 lua: convert ssh function into suricata.ssh lib
Ticket: 7607
2 years ago
Jason Ish b99f254105 lua: add suricata.rule library
Add a "suricata.rule" library for accessing rule information from a
Lua rule, or a Lua output script.

This lib replaces the following global Lua functions:
- SCRuleIds
- SCRuleAction
- SCRuleMsg
- SCRuleClass

Ticket: #7490
2 years ago
Shivani Bhardwaj 65349442f8 doc: add http library supported fns
Task 7604
2 years ago
Juliana Fajardini cd69955d7f doc/userguide: add lua flowlib docs
Task #7489
2 years ago
Jason Ish a6b116bcbe lua: document new suricata.dns lua library
Ticket: #7602
2 years ago
Jason Ish c6d038b8a4 doc/userguide: document Lua base64 library
Ticket: #7074
2 years ago
Victor Julien 38318438d1 doc/userguide: add lua packetlib docs 2 years ago
Jason Ish c8b28b1512 doc/userguide: document lua hashlib 2 years ago