Ettercap/ettercap — pull request #20 by justfalter (2012-10-01 05:09:07+00:00)
Title: Ettercap rc

Hey folks,
Here's our modifications to Ettercap to integrate Lua.

- At the moment, you have to specify "-DENABLE_LUA=on" when you run cmake to enable lua. When you do, it'll build LuaJIT as a static lib, and link ettercap against it. This makes the

- I consider the code to be "hella-alpha", at the moment. I don't write much C, nor do I write much Lua, so I did enough to get things working. It was was feels a bit like a mess because Ryan and I were trying to get demos working for DerbyCon :)

- We originally wrote it as a plugin, but moved it into the core as there didn't seem a natural way to set up argument passing to plug-ins.

- I'm very eager to put together unit tests to cover as much of the Lua-based code as possible. I've never used CTest, but it seems like the right place to start. (I wrote my first line of Lua a month and a half ago, and it wasn't until very recently that I felt like I was writing complete garbage. )

Thanks!

Mike