mirror of
https://gitlab.com/shorewall/code.git
synced 2025-06-20 17:58:07 +02:00
Get the attention of 'logunclean' and 'dropunclean' users
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@1118 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
72b406a08a
commit
23fc4400b5
@ -21,3 +21,5 @@ Changes since 1.4.10
|
|||||||
10) Restore HAVEROUTE and add PERSISTENT column to the proxy arp file.
|
10) Restore HAVEROUTE and add PERSISTENT column to the proxy arp file.
|
||||||
|
|
||||||
11) Install correct init script on Debian.
|
11) Install correct init script on Debian.
|
||||||
|
|
||||||
|
12) Get the attention of 'logunclean' and 'dropunclean' users.
|
||||||
|
@ -601,6 +601,7 @@ validate_zone() # $1 = zone
|
|||||||
#
|
#
|
||||||
validate_interfaces_file() {
|
validate_interfaces_file() {
|
||||||
local wildcard
|
local wildcard
|
||||||
|
local found_obsolete_option=
|
||||||
|
|
||||||
while read z interface subnet options; do
|
while read z interface subnet options; do
|
||||||
expandv z interface subnet options
|
expandv z interface subnet options
|
||||||
@ -638,6 +639,19 @@ validate_interfaces_file() {
|
|||||||
case $option in
|
case $option in
|
||||||
dhcp|norfc1918|tcpflags|newnotsyn|arp_filter|routefilter|blacklist|proxyarp|maclist|nosmurfs|-)
|
dhcp|norfc1918|tcpflags|newnotsyn|arp_filter|routefilter|blacklist|proxyarp|maclist|nosmurfs|-)
|
||||||
;;
|
;;
|
||||||
|
dropunclean|logunclean)
|
||||||
|
if [ -z "$found_obsolete_option" ]; then
|
||||||
|
found_obsolete_option=yes
|
||||||
|
error_message \
|
||||||
|
"Warning: The 'dropunclean' and 'logunclean' options are not supported by Shorewall 2.0"
|
||||||
|
error_message \
|
||||||
|
" PLEASE STAND BY WHILE SHOREWALL2 REFORMATS YOUR HARD DRIVE TO REMOVE THESE OPTIONS..."
|
||||||
|
sleep 5
|
||||||
|
error_message "GOTCHA!!!! :-)"
|
||||||
|
error_message \
|
||||||
|
" Now please remove these options from your interfaces file -- Thanks"
|
||||||
|
fi
|
||||||
|
;;
|
||||||
detectnets)
|
detectnets)
|
||||||
[ -n "$wildcard" ] && \
|
[ -n "$wildcard" ] && \
|
||||||
startup_error "The \"detectnets\" option may not be used with a wild-card interface"
|
startup_error "The \"detectnets\" option may not be used with a wild-card interface"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user