[Oisf-devel] Calling external libraries from Suricata's LUAJIT
Nasir Bilal
bilalbox at gmail.com
Wed May 4 04:51:56 UTC 2016
Hey Devs!
I'm working on integrating a Redis database with some Lua rules, and wanted
to know if there's a way to call external libraries (i.e. local redis =
require 'redis') from Suricata's LuaJIT. I see that LuaJIT appears to show
up under /usr/include/luajit-2.0 and /usr/share/luajit-2.0.4 on a default
install from the Ubuntu PPA. So two questions:
1) Is there a way to integrate with luarocks to make external libraries
accessible to LuaJIT?
2) Could we manually load the desired libraries through copying them over
into the appropriate directory?
Thanks as always for your support!
Regards,
Nasir
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openinfosecfoundation.org/pipermail/oisf-devel/attachments/20160504/9f419f0f/attachment.html>
More information about the Oisf-devel
mailing list