diff --git a/Shorewall/Actions/action.dropNotSyn b/Shorewall/Actions/action.dropNotSyn index 0b5007009..8516623fd 100644 --- a/Shorewall/Actions/action.dropNotSyn +++ b/Shorewall/Actions/action.dropNotSyn @@ -29,10 +29,10 @@ DEFAULTS - ?if passed(@1) ?if @1 eq 'audit' ?require AUDIT_TARGET - A_DROP ;; -p 6 ! --syn + A_DROP {proto=6!syn} ?else ?error "Invalid argument (@1) to dropNotSyn" ?endif ?else - DROP ;; -p 6 ! --syn + DROP {proto=6!syn} ?endif diff --git a/Shorewall/Actions/action.rejNotSyn b/Shorewall/Actions/action.rejNotSyn index 9e01e5654..7bfe0f692 100644 --- a/Shorewall/Actions/action.rejNotSyn +++ b/Shorewall/Actions/action.rejNotSyn @@ -29,7 +29,7 @@ DEFAULTS - ?if passed(@1) ?if @1 eq 'audit' ?require AUDIT_TARGET - A_REJECT ;; -p 6 ! --syn + A_REJECT {proto=6:!syn} ?else ?error "Invalid argument (@1) to rejNotSyn" ?endif