From cdffb9bfd2a6b3dc1112ec9b97aff4cf61daa4ff Mon Sep 17 00:00:00 2001 From: Kaarle Ritvanen Date: Wed, 2 Apr 2014 11:03:58 +0300 Subject: correct filtering order for stateless flow-limit rules --- awall/modules/filter.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/awall/modules/filter.lua b/awall/modules/filter.lua index 82774cd..7146479 100644 --- a/awall/modules/filter.lua +++ b/awall/modules/filter.lua @@ -177,7 +177,8 @@ function Filter:limit() end function Filter:position() - return self:limit() == 'flow-limit' and 'prepend' or 'append' + return not self['no-track'] and self:limit() == 'flow-limit' + and 'prepend' or 'append' end function Filter:actiontarget() -- cgit v1.2.3