Re: [mod-security-users] Language Bindings for libmodsecurity/ModSecurity v3
Brought to you by:
victorhora,
zimmerletw
|
From: Robert P. <rpa...@fe...> - 2018-06-06 22:38:09
|
Hi, On Wed, Jun 6, 2018 at 2:28 PM, Chaim Sanders <ch...@ch...> wrote: > I think you might be looking for something like this: > > https://github.com/SpiderLabs/ModSecurity/tree/v3/master/ > examples/simple_example_using_c > I was going to suggest this as well ^ I started writing bindings for both PUC Lua and LuaJIT (ffi), but stopped for performance reasons There is also https://github.com/senghoo/modsecurity-go, but it is abandoned at this point (again for performance reasons). Overall, for any integration there will be two focal points: gathering HTTP data to feed into libmodsecurity, and the C/swing/FFI/whatever-have-you logic to integrate libmodsecurity into the environment in question. Are there any specific troubles or spots of question you're running into while building an integration? |