From 2a4f007bc3f384fcd7ca43254f38a4156ab1f8c8 Mon Sep 17 00:00:00 2001 From: Nicolas Fort Date: Wed, 21 Sep 2022 17:46:32 +0000 Subject: T4699: Firewall: Add return action, since jump action was added recently --- interface-definitions/include/firewall/action.xml.i | 8 ++++++-- interface-definitions/include/firewall/default-action.xml.i | 8 ++++++-- 2 files changed, 12 insertions(+), 4 deletions(-) (limited to 'interface-definitions/include/firewall') diff --git a/interface-definitions/include/firewall/action.xml.i b/interface-definitions/include/firewall/action.xml.i index 0738fa503..468340cbb 100644 --- a/interface-definitions/include/firewall/action.xml.i +++ b/interface-definitions/include/firewall/action.xml.i @@ -3,7 +3,7 @@ Rule action - accept jump reject drop + accept jump reject return drop accept @@ -17,12 +17,16 @@ reject Reject matching entries + + return + Return from the current chain and continue at the next rule of the last chain + drop Drop matching entries - (accept|jump|reject|drop) + (accept|jump|reject|return|drop) diff --git a/interface-definitions/include/firewall/default-action.xml.i b/interface-definitions/include/firewall/default-action.xml.i index 5107768d3..80efaf335 100644 --- a/interface-definitions/include/firewall/default-action.xml.i +++ b/interface-definitions/include/firewall/default-action.xml.i @@ -3,7 +3,7 @@ Default-action for rule-set - drop jump reject accept + drop jump reject return accept drop @@ -17,12 +17,16 @@ reject Drop and notify source if no prior rules are hit + + return + Return from the current chain and continue at the next rule of the last chain + accept Accept if no prior rules are hit - (drop|jump|reject|accept) + (drop|jump|reject|return|accept) drop -- cgit v1.2.3