mirror of
https://gitlab.com/shorewall/code.git
synced 2025-05-02 23:24:52 +02:00
Remove QUOTA_MATCH code from Shorewall.6 lib.cli
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
a8d0f5f40b
commit
bcb5d76c2f
@ -1550,7 +1550,6 @@ determine_capabilities() {
|
|||||||
HEADER_MATCH=
|
HEADER_MATCH=
|
||||||
ACCOUNT_TARGET=
|
ACCOUNT_TARGET=
|
||||||
AUDIT_TARGET=
|
AUDIT_TARGET=
|
||||||
QUOTA_MATCH=
|
|
||||||
IPSET_V5=
|
IPSET_V5=
|
||||||
|
|
||||||
chain=fooX$$
|
chain=fooX$$
|
||||||
@ -1703,7 +1702,6 @@ determine_capabilities() {
|
|||||||
qt $IP6TABLES -A $chain -m ipv6header --header 255 && HEADER_MATCH=Yes
|
qt $IP6TABLES -A $chain -m ipv6header --header 255 && HEADER_MATCH=Yes
|
||||||
qt $IP6TABLES -A $chain -j ACCOUNT --addr 1::/122 --tname $chain && ACCOUNT_TARGET=Yes
|
qt $IP6TABLES -A $chain -j ACCOUNT --addr 1::/122 --tname $chain && ACCOUNT_TARGET=Yes
|
||||||
qt $IP6TABLES -A $chain -j AUDIT --type drop && AUDIT_TARGET=Yes
|
qt $IP6TABLES -A $chain -j AUDIT --type drop && AUDIT_TARGET=Yes
|
||||||
qt $IP6TABLES -A $chain -m quota --quota 1000 && QUOTA_MATCH=Yes
|
|
||||||
|
|
||||||
|
|
||||||
qt $IP6TABLES -F $chain
|
qt $IP6TABLES -F $chain
|
||||||
@ -1796,7 +1794,6 @@ report_capabilities() {
|
|||||||
report_capability "Header Match" $HEADER_MATCH
|
report_capability "Header Match" $HEADER_MATCH
|
||||||
report_capability "ACCOUNT Target" $ACCOUNT_TARGET
|
report_capability "ACCOUNT Target" $ACCOUNT_TARGET
|
||||||
report_capability "AUDIT Target" $AUDIT_TARGET
|
report_capability "AUDIT Target" $AUDIT_TARGET
|
||||||
report_capability "Quota Match" $QUOTA_MATCH
|
|
||||||
report_capability "ipset V5" $IPSET_V5
|
report_capability "ipset V5" $IPSET_V5
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@ -1864,7 +1861,6 @@ report_capabilities1() {
|
|||||||
report_capability1 HEADER_MATCH
|
report_capability1 HEADER_MATCH
|
||||||
report_capability1 ACCOUNT_TARGET
|
report_capability1 ACCOUNT_TARGET
|
||||||
report_capability1 AUDIT_TARGET
|
report_capability1 AUDIT_TARGET
|
||||||
report_capability1 QUOTA_MATCH
|
|
||||||
report_capability1 IPSET_V5
|
report_capability1 IPSET_V5
|
||||||
|
|
||||||
echo CAPVERSION=$SHOREWALL_CAPVERSION
|
echo CAPVERSION=$SHOREWALL_CAPVERSION
|
||||||
|
Loading…
Reference in New Issue
Block a user