mirror of
https://gitlab.com/shorewall/code.git
synced 2024-12-02 04:23:11 +01:00
57fd93a5be
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@6581 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
57 lines
1.3 KiB
Plaintext
57 lines
1.3 KiB
Plaintext
--- /home/teastep/shorewall/branches/3.4/Shorewall/lib.config 2007-06-17 14:17:01.000000000 -0700
|
|
+++ lib.config 2007-06-17 14:35:28.000000000 -0700
|
|
@@ -1857,6 +1857,44 @@
|
|
IP_FORWARDING=On
|
|
fi
|
|
|
|
+ if [ -n "$ROUTE_FILTER" ]; then
|
|
+ case "$ROUTE_FILTER" in
|
|
+ Yes|yes|YES)
|
|
+ ROUTE_FILTER=yes
|
|
+ ;;
|
|
+ No|no|NO)
|
|
+ ROUTE_FILTER=no
|
|
+ ;;
|
|
+ Keep|keep|KEEP)
|
|
+ ROUTE_FILTER=
|
|
+ ;;
|
|
+ *)
|
|
+ startup_error "Invalid value ($ROUTE_FILTER) for ROUTE_FILTER"
|
|
+ ;;
|
|
+ esac
|
|
+ else
|
|
+ ROUTE_FILTER=
|
|
+ fi
|
|
+
|
|
+ if [ -n "$LOG_MARTIANS" ]; then
|
|
+ case "$LOG_MARTIANS" in
|
|
+ Yes|yes|YES)
|
|
+ LOG_MARTIANS=yes
|
|
+ ;;
|
|
+ No|no|NO)
|
|
+ LOG_MARTIANS=no
|
|
+ ;;
|
|
+ Keep|keep|KEEP)
|
|
+ LOG_MARTIANS=
|
|
+ ;;
|
|
+ *)
|
|
+ startup_error "Invalid value ($LOG_MARTIANS) for LOG_MARTIANS"
|
|
+ ;;
|
|
+ esac
|
|
+ else
|
|
+ LOG_MARTIANS=
|
|
+ fi
|
|
+
|
|
[ -n "${BLACKLIST_DISPOSITION:=DROP}" ]
|
|
|
|
case "$CLAMPMSS" in
|
|
@@ -1868,8 +1906,6 @@
|
|
esac
|
|
|
|
ADD_SNAT_ALIASES=$(added_param_value_no ADD_SNAT_ALIASES $ADD_SNAT_ALIASES)
|
|
- ROUTE_FILTER=$(added_param_value_no ROUTE_FILTER $ROUTE_FILTER)
|
|
- LOG_MARTIANS=$(added_param_value_no LOG_MARTIANS $LOG_MARTIANS)
|
|
DETECT_DNAT_IPADDRS=$(added_param_value_no DETECT_DNAT_IPADDRS $DETECT_DNAT_IPADDRS)
|
|
|
|
MACLIST_TARGET=reject
|