Add MULTIPORT to the list of detected capabilities

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@620 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2003-06-28 01:09:12 +00:00
parent e3e6e20d81
commit 52bc8bca5e
3 changed files with 12 additions and 7 deletions

View File

@ -19,6 +19,8 @@ Changes since 1.4.5
8) Implemented support for the Connection Tracking Match extension in 8) Implemented support for the Connection Tracking Match extension in
iptables 1.2.8/Kernel 2.4.21. iptables 1.2.8/Kernel 2.4.21.
9) Removed the NAT_ENABLED and MANGLE_ENABLED configuration parameters 9) Removed the NAT_ENABLED, MANGLE_ENABLED and MULTIPORT configuration
and replaced them with code that detects these capabilities. parameters and replaced them with code that detects these
capabilities.

View File

@ -3371,6 +3371,7 @@ report_capabilities() {
echo "Shorewall has detected the following iptables/netfilter capabilities:" echo "Shorewall has detected the following iptables/netfilter capabilities:"
report_capability $NAT_ENABLED "NAT" report_capability $NAT_ENABLED "NAT"
report_capability $MANGLE_ENABLED "Packet Mangling" report_capability $MANGLE_ENABLED "Packet Mangling"
report_capability $MULTIPORT "Multi-port Match"
report_capability $CONNTRACK_MATCH "Connection Tracking Match" report_capability $CONNTRACK_MATCH "Connection Tracking Match"
} }

View File

@ -43,15 +43,16 @@ New Features:
one filter table ACCEPT rule to be generated for each IP address in one filter table ACCEPT rule to be generated for each IP address in
the range. the range.
5) The NAT_ENABLED and MANGLE_ENABLED configuration options have been 5) The NAT_ENABLED, MANGLE_ENABLED and MULTIPORT configuration options
removed and have been replaced by code that detects whether these have been removed and have been replaced by code that detects
capabilities are present in the current kernel. The output of the whether these capabilities are present in the current kernel. The
start, restart and check commands have been enhanced to report the output of the start, restart and check commands have been enhanced
outcome: to report the outcome:
Shorewall has detected the following iptables/netfilter capabilities: Shorewall has detected the following iptables/netfilter capabilities:
NAT: Available NAT: Available
Packet Mangling: Available Packet Mangling: Available
Multi-port Match: Available
Verifying Configuration... Verifying Configuration...
6) Support for the Connection Tracking Match Extension has been 6) Support for the Connection Tracking Match Extension has been
@ -66,6 +67,7 @@ New Features:
Shorewall has detected the following iptables/netfilter capabilities: Shorewall has detected the following iptables/netfilter capabilities:
NAT: Available NAT: Available
Packet Mangling: Available Packet Mangling: Available
Multi-port Match: Available
Connection Tracking Match: Available Connection Tracking Match: Available
Verifying Configuration... Verifying Configuration...