diff options
author | Arturo Borrero <arturo.borrero.glez@gmail.com> | 2014-11-24 10:52:04 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2014-11-24 13:49:35 +0100 |
commit | 4a48ec94c233a125a371eced5dc161df557576d9 (patch) | |
tree | d044a1ce98d6cd547c053838da533305b36e9da8 /utils | |
parent | df6e630c7e8eeec3045b3b8cee52e9efdbc45b62 (diff) |
iptables: xtables-eb: user-defined chains default policy is always RETURN
The RETURN default policy is mandatory in user-defined chains.
Builtin chains must have one of ACCEPT or DROP.
So, with this patch, ebtables-compat ends with:
Command: Result:
-L Always RETURN for user-defined chains
-P builtin RETURN Policy RETURN only allowed for user defined chains
-P builtin ACCEPT|DROP ok
-P userdefined RETURN|ACCEPT|DROP Policy XYZ not allowed for user defined chains
-N userdefined ok
-N userdefined -P RETURN|ACCEPT|DROP Policy XYZ not allowed for user defined chains
Signed-off-by: Arturo Borrero Gonzalez <arturo.borrero.glez@gmail.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'utils')
0 files changed, 0 insertions, 0 deletions