PacketScript
PacketScript copied to clipboard
PacketScript enables the scripting of Linux Netfilter extensions using the Lua scripting language.
PacketScript
PacketScript enables the scripting of Linux Netfilter extensions using the Lua scripting language. The Lua scripts are loaded with the iptables command line tool. PacketScript can be easily extended (using C or Lua) to support a wide range of networking protocols.
Compilation
In order to compile PacketScript you must ...
- ... install the Xtables-addons framework http://sourceforge.net/projects/xtables-addons/.
- ... copy the LUA directory to the 'xtables-addons-1.xy/extensions' directory
- ... add 'build_LUA=m' to the 'xtables-addons-1.xy/mconfig' file
- ... add 'obj-${build_LUA} += LUA/' to the 'xtables-addons-1.xy/extensions/Mbuild' file
- ... add 'obj-${build_LUA} += LUA/' to the 'xtables-addons-1.xy/extensions/Kbuild' file
run configure and make in the 'xtables-addons-1.xy' directory