diff --git a/Shorewall/Perl/Shorewall/Chains.pm b/Shorewall/Perl/Shorewall/Chains.pm index 31a1f29a0..45e05cbbe 100644 --- a/Shorewall/Perl/Shorewall/Chains.pm +++ b/Shorewall/Perl/Shorewall/Chains.pm @@ -2908,40 +2908,42 @@ sub initialize_chain_table($) { %targets = ('ACCEPT' => STANDARD, 'ACCEPT+' => STANDARD + NONAT, 'ACCEPT!' => STANDARD, + 'ADD' => STANDARD + SET, + 'AUDIT' => STANDARD + AUDIT + OPTIONS, 'A_ACCEPT' => STANDARD + AUDIT, 'A_ACCEPT+' => STANDARD + NONAT + AUDIT, 'A_ACCEPT!' => STANDARD + AUDIT, - 'NONAT' => STANDARD + NONAT + NATONLY, - 'AUDIT' => STANDARD + AUDIT + OPTIONS, - 'DROP' => STANDARD, - 'DROP!' => STANDARD, 'A_DROP' => STANDARD + AUDIT, 'A_DROP!' => STANDARD + AUDIT, - 'REJECT' => STANDARD + OPTIONS, - 'REJECT!' => STANDARD + OPTIONS, 'A_REJECT' => STANDARD + AUDIT, 'A_REJECT!' => STANDARD + AUDIT, - 'DNAT' => NATRULE + OPTIONS, - 'DNAT-' => NATRULE + NATONLY, - 'REDIRECT' => NATRULE + REDIRECT + OPTIONS, - 'REDIRECT-' => NATRULE + REDIRECT + NATONLY, - 'LOG' => STANDARD + LOGRULE + OPTIONS, + 'NONAT' => STANDARD + NONAT + NATONLY, + 'CONNMARK' => STANDARD + OPTIONS, 'CONTINUE' => STANDARD, 'CONTINUE!' => STANDARD, 'COUNT' => STANDARD, - 'QUEUE' => STANDARD + OPTIONS, - 'QUEUE!' => STANDARD, - 'NFLOG' => STANDARD + LOGRULE + NFLOG + OPTIONS, - 'NFQUEUE' => STANDARD + NFQ + OPTIONS, - 'NFQUEUE!' => STANDARD + NFQ, - 'ULOG' => STANDARD + LOGRULE + NFLOG + OPTIONS, - 'ADD' => STANDARD + SET, 'DEL' => STANDARD + SET, - 'WHITELIST' => STANDARD, + 'DNAT' => NATRULE + OPTIONS, + 'DNAT-' => NATRULE + NATONLY, + 'DROP' => STANDARD, + 'DROP!' => STANDARD, 'HELPER' => STANDARD + HELPER + NATONLY, #Actually RAWONLY 'INLINE' => INLINERULE, 'IPTABLES' => IPTABLES, + 'LOG' => STANDARD + LOGRULE + OPTIONS, + 'MARK' => STANDARD + OPTIONS, + 'NFLOG' => STANDARD + LOGRULE + NFLOG + OPTIONS, + 'NFQUEUE' => STANDARD + NFQ + OPTIONS, + 'NFQUEUE!' => STANDARD + NFQ, + 'QUEUE' => STANDARD + OPTIONS, + 'QUEUE!' => STANDARD, + 'REJECT' => STANDARD + OPTIONS, + 'REJECT!' => STANDARD + OPTIONS, + 'REDIRECT' => NATRULE + REDIRECT + OPTIONS, + 'REDIRECT-' => NATRULE + REDIRECT + NATONLY, 'TARPIT' => STANDARD + TARPIT + OPTIONS, + 'ULOG' => STANDARD + LOGRULE + NFLOG + OPTIONS, + 'WHITELIST' => STANDARD, ); for my $chain ( qw(OUTPUT PREROUTING) ) {