mirror of
https://gitlab.com/shorewall/code.git
synced 2024-12-02 12:33:17 +01:00
57 lines
1.3 KiB
Plaintext
57 lines
1.3 KiB
Plaintext
|
--- /home/teastep/shorewall/branches/3.4/Shorewall/lib.config 2007-06-16 07:38:21.000000000 -0700
|
||
|
+++ Shorewall-common/lib.config 2007-06-16 07:38:05.000000000 -0700
|
||
|
@@ -1851,6 +1851,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
|
||
|
@@ -1862,8 +1900,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
|