comparison mod_firewall/actions.lib.lua @ 957:9b21b91c2d96

mod_firewall/actions: Add PASS
author Matthew Wild <mwild1@gmail.com>
date Fri, 05 Apr 2013 18:05:46 +0100
parents bea0ef13575c
children 843795020701
comparison
equal deleted inserted replaced
956:33d6642f4db7 957:9b21b91c2d96
45 end 45 end
46 end 46 end
47 return table.concat(code, ""); 47 return table.concat(code, "");
48 end 48 end
49 49
50 function action_handlers.PASS()
51 return "do return end"
52 end
50 53
51 function action_handlers.DROP() 54 function action_handlers.DROP()
52 return "log('debug', 'Firewall dropping stanza: %s', tostring(stanza)); return true;"; 55 return "log('debug', 'Firewall dropping stanza: %s', tostring(stanza)); return true;";
53 end 56 end
54 57