Diff for scripts/shell/firewall/fw-universal.sh between version 2.90 and 2.91
version 2.90, 2012/02/11 19:38:51 |
version 2.91, 2012/02/14 22:52:12 |
|
|
# Licensed under terms of GNU General Public License. |
# Licensed under terms of GNU General Public License. |
# All rights reserved. |
# All rights reserved. |
# |
# |
# $Platon: scripts/shell/firewall/fw-universal.sh,v 2.89 2012-02-11 19:06:20 rajo Exp $ |
# $Platon: scripts/shell/firewall/fw-universal.sh,v 2.90 2012-02-11 19:38:51 rajo Exp $ |
# |
# |
# Changelog: |
# Changelog: |
# 2003-10-24 - created |
# 2003-10-24 - created |
Line 1470 add_banned_ip() |
|
Line 1470 add_banned_ip() |
|
fi |
fi |
read_config_ips $TMPFILE >> $DEFAULT_FIREWALL_CONFIG_DIR/BANNED_IP.conf |
read_config_ips $TMPFILE >> $DEFAULT_FIREWALL_CONFIG_DIR/BANNED_IP.conf |
rm -f $TMPFILE |
rm -f $TMPFILE |
|
# start with new firewalling rules |
|
$0 start |
} # }}} |
} # }}} |
|
|
deploy_block() |
deploy_block() |
Platon Group <platon@platon.org> http://platon.org/
|
|