aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--awall/modules/filter.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/awall/modules/filter.lua b/awall/modules/filter.lua
index ec52207..82774cd 100644
--- a/awall/modules/filter.lua
+++ b/awall/modules/filter.lua
@@ -60,6 +60,9 @@ function Filter:init(...)
local limit = self:limit()
if limit then
+ if limit == 'conn-limit' and self['no-track'] then
+ self:error('Tracking required with connection limit')
+ end
if type(self[limit]) ~= 'table' then
self[limit] = {count=self[limit]}
end