mirror of
https://gitlab.com/shorewall/code.git
synced 2024-11-22 23:53:30 +01:00
Deprecate the Drop and Reject actions
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
079d862bb3
commit
cecb8a1950
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# Shorewall -- /usr/share/shorewall/action.Drop
|
# Shorewall -- /usr/share/shorewall/action.Drop
|
||||||
#
|
#
|
||||||
# The default DROP common rules
|
# The former default DROP common rules. Use of this action is now deprecated
|
||||||
#
|
#
|
||||||
# This action is invoked before a DROP policy is enforced. The purpose
|
# This action is invoked before a DROP policy is enforced. The purpose
|
||||||
# of the action is:
|
# of the action is:
|
||||||
@ -28,6 +28,7 @@
|
|||||||
# IF YOU ARE HAVING CONNECTION PROBLEMS, CHANGING THIS FILE WON'T HELP!!!!!!!!!
|
# IF YOU ARE HAVING CONNECTION PROBLEMS, CHANGING THIS FILE WON'T HELP!!!!!!!!!
|
||||||
#
|
#
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
?warning "You are using the deprecated Drop default action. Please see http://www.shorewall.net/Actions.html#Default"
|
||||||
|
|
||||||
?if passed(@1)
|
?if passed(@1)
|
||||||
?if @1 eq 'audit'
|
?if @1 eq 'audit'
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# Shorewall -- /usr/share/shorewall/action.Reject
|
# Shorewall -- /usr/share/shorewall/action.Reject
|
||||||
#
|
#
|
||||||
# The default REJECT action common rules
|
# The former default REJECT action common rules. Use of this action is deprecated.
|
||||||
#
|
#
|
||||||
# This action is invoked before a REJECT policy is enforced. The purpose
|
# This action is invoked before a REJECT policy is enforced. The purpose
|
||||||
# of the action is:
|
# of the action is:
|
||||||
@ -27,6 +27,7 @@
|
|||||||
#
|
#
|
||||||
# IF YOU ARE HAVING CONNECTION PROBLEMS, CHANGING THIS FILE WON'T HELP!!!!!!!!!
|
# IF YOU ARE HAVING CONNECTION PROBLEMS, CHANGING THIS FILE WON'T HELP!!!!!!!!!
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
?warning "You are using the deprecated Reject default action. Please see http://www.shorewall.net/Actions.html#Default"
|
||||||
|
|
||||||
?if passed(@1)
|
?if passed(@1)
|
||||||
?if @1 eq 'audit'
|
?if @1 eq 'audit'
|
Loading…
Reference in New Issue
Block a user