Gitlab has successfully been upgraded to 14.0.10 🎉. Enjoy!

Commit 9635c871 authored by Natanael Copa's avatar Natanael Copa Committed by Kaarle Ritvanen
Browse files

filter: fix warning about -m state in newer iptables

Fixes this warning when using recent iptables:
WARNING: The state match is obsolete. Use conntrack instead.

ref #1497
parent f03aa51c
......@@ -202,7 +202,7 @@ defrules = {}
local fchains = {{chain='FORWARD'}, {chain='INPUT'}, {chain='OUTPUT'}}
local dar = combinations(fchains,
{{opts='-m state --state RELATED,ESTABLISHED'}})
{{opts='-m conntrack --ctstate RELATED,ESTABLISHED'}})
for i, chain in ipairs({'INPUT', 'OUTPUT'}) do
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment