mirror of
https://gitlab.com/shorewall/code.git
synced 2025-06-10 19:56:42 +02:00
Handle built-in actions in 'show action'
- Remove a couple of non-actions from IPv4 actions.std Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
634c8debda
commit
d111e4f186
@ -1450,7 +1450,16 @@ show_command() {
|
||||
return
|
||||
fi
|
||||
done
|
||||
echo " WARNING: Action $2 not found" >&2
|
||||
|
||||
case $2 in
|
||||
allowBcast|dropBcast|dropNotSyn|rejNotSyn|allowinUPnp|forwardUPnP|Limit)
|
||||
echo " WARNING: $2 is a built-in action" >&2
|
||||
;;
|
||||
*)
|
||||
echo " WARNING: Action $2 not found" >&2
|
||||
;;
|
||||
esac
|
||||
|
||||
return
|
||||
;;
|
||||
actions)
|
||||
|
@ -9,8 +9,6 @@
|
||||
# Builtin Actions are:
|
||||
#
|
||||
?if 0
|
||||
A_ACCEPT # Audits then accepts a connection request
|
||||
A_DROP # Audits then drops a connection request
|
||||
allowBcast # Silently Allow Broadcast/multicast
|
||||
dropBcast # Silently Drop Broadcast/multicast
|
||||
dropNotSyn # Silently Drop Non-syn TCP packets
|
||||
|
Loading…
x
Reference in New Issue
Block a user