marty | 4 Jul 04:20

lua

I am in the process of beta testing snort 3 and I needed to install LUA.
With a little practice I will be able to do things with that language.

Because I have it...How is LUA interfaced with the mod security API?
I didn't find that info in the docs but am willing to give it a shot on my
installs.
I am professional at breaking things:) I just need a bit of direction and I will
be having lotsa fun. Will somebody clue me, please?.

Thanks,

Marty B.

--

-- 
Electile Dysfunction : the inability to become aroused over any of the
choices for President put forth by either party in the 2008 election.

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
mod-security-users mailing list
mod-security-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mod-security-users
(Continue reading)

Re: lua

You can download binaries, source code, documentation, etc. here:
http://www.lua.org/

and run Lua stand-alone or in many other different ways.

Stephen

On Fri, Jul 4, 2008 at 10:20 AM, marty <marty <at> goodoldmarty.com> wrote:
> I am in the process of beta testing snort 3 and I needed to install LUA.
> With a little practice I will be able to do things with that language.
>
> Because I have it...How is LUA interfaced with the mod security API?
> I didn't find that info in the docs but am willing to give it a shot on my
> installs.
> I am professional at breaking things:) I just need a bit of direction and I will
> be having lotsa fun. Will somebody clue me, please?.
>
>
> Thanks,
>
> Marty B.
>
> --
> Electile Dysfunction : the inability to become aroused over any of the
> choices for President put forth by either party in the 2008 election.
>
>
> -------------------------------------------------------------------------
> Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
> Studies have shown that voting for your favorite open source project,
(Continue reading)

Ivan Ristic | 4 Jul 12:42

Re: lua

What we support when it comes to Lua is documented--you probably
missed it. Look up the @inspectFile and SecRuleScript documentation.

On Fri, Jul 4, 2008 at 3:20 AM, marty <marty <at> goodoldmarty.com> wrote:
> I am in the process of beta testing snort 3 and I needed to install LUA.
> With a little practice I will be able to do things with that language.
>
> Because I have it...How is LUA interfaced with the mod security API?
> I didn't find that info in the docs but am willing to give it a shot on my
> installs.
> I am professional at breaking things:) I just need a bit of direction and I will
> be having lotsa fun. Will somebody clue me, please?.
>
>
> Thanks,
>
> Marty B.
>
> --
> Electile Dysfunction : the inability to become aroused over any of the
> choices for President put forth by either party in the 2008 election.
>
>
> -------------------------------------------------------------------------
> Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
> Studies have shown that voting for your favorite open source project,
> along with a healthy diet, reduces your potential for chronic lameness
> and boredom. Vote Now at http://www.sourceforge.net/community/cca08
> _______________________________________________
> mod-security-users mailing list
(Continue reading)

marty | 4 Jul 21:50

Re: lua

> What we support when it comes to Lua is documented--you probably
> missed it. Look up the @inspectFile and SecRuleScript documentation.
> 

yes, I just updated my docs and found 3 new references to lua;
SecRuleScript,inspectFile, and exec.

After building liblua.so I had to tweak modsec's configure script because it
looked for a pkg-config instead of a lib. No big deal. Built ok.

Thanks much,

Marty B.
--

-- 
Electile Dysfunction : the inability to become aroused over any of the
choices for President put forth by either party in the 2008 election.

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
mod-security-users mailing list
mod-security-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mod-security-users
(Continue reading)

Brian Rectanus | 4 Jul 22:06

Re: lua

I believe the latest ModSecurity (2.5.5 and 2.5.4 as well) look for a 
lib if pkg-config fails.

What version of ModSecurity are you using?

-B

marty wrote:
>  > What we support when it comes to Lua is documented--you probably
>  > missed it. Look up the @inspectFile and SecRuleScript documentation.
>  >
> 
> yes, I just updated my docs and found 3 new references to lua;
> SecRuleScript,inspectFile, and exec.
> 
> After building liblua.so I had to tweak modsec's configure script because it
> looked for a pkg-config instead of a lib. No big deal. Built ok.
> 
> Thanks much,
> 
> Marty B.
> --
> Electile Dysfunction : the inability to become aroused over any of the
> choices for President put forth by either party in the 2008 election.
> 

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
(Continue reading)

marty | 5 Jul 03:07

Re: lua pooa I dooa

I am not on a dist.
This is my source build Linux.
I never link static libs.

I am using mod 2.5.5.
lua 5.1.3

root <at> dumburger:~# ls -l /usr/lib/liblua.so
-rw-r--r-- 1 root root 191827 Jul  4 13:03 /usr/lib/liblua.so

--with-lua=/usr

This is from configure which says no lua install was found.

LUA_CONFIG="pkg-config"
LUA_PKGNAMES="lua5.1 lua5 lua"
LUA_CFLAGS=""
LUA_LIBS=""

This change identified the shared lib and it decided to use it.
This is what seems to work on my host. Time will tell...

LUA_CONFIG=""
LUA_PKGNAMES=""
LUA_CFLAGS=""
LUA_LIBS="liblua.so"

Marty B.

Brian Rectanus wrote:
(Continue reading)

Brian Rectanus | 18 Aug 18:04

Re: lua pooa I dooa

This should be fixed in 2.5.7 (I plan on releasing a -dev1 soon so you 
can test it).  No need to resort to name calling ;)

-B

marty wrote:
> I am not on a dist.
> This is my source build Linux.
> I never link static libs.
> 
> I am using mod 2.5.5.
> lua 5.1.3
> 
> root <at> dumburger:~# ls -l /usr/lib/liblua.so
> -rw-r--r-- 1 root root 191827 Jul  4 13:03 /usr/lib/liblua.so
> 
> --with-lua=/usr
> 
> This is from configure which says no lua install was found.
> 
> LUA_CONFIG="pkg-config"
> LUA_PKGNAMES="lua5.1 lua5 lua"
> LUA_CFLAGS=""
> LUA_LIBS=""
> 
> This change identified the shared lib and it decided to use it.
> This is what seems to work on my host. Time will tell...
> 
> LUA_CONFIG=""
> LUA_PKGNAMES=""
(Continue reading)


Gmane