Add AllowICMPs action and invoke from Drop and Reject

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@1668 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2004-10-08 00:17:55 +00:00
parent d260f20ce4
commit acc389ff68
3 changed files with 13 additions and 4 deletions

View File

@ -96,4 +96,4 @@ Changes since 2.0.3
46) Implement 'sourceroute' interface option.
47) Add 'icmps' action.
47) Add 'AllowICMPs' action.

View File

@ -2363,11 +2363,15 @@ setup_tc1() {
run_iptables -t mangle -A OUTPUT -j tcout
run_iptables -t mangle -A POSTROUTING -j tcpost
run_user_exit tcstart
f=$(find_file tcstart)
save_progress_message "Restoring Traffic Control..."
save_command . $(find_file tcstart)
if [ -f $f ]; then
run_user_exit tcstart
save_progress_message "Restoring Traffic Control..."
save_command . $(find_file tcstart)
fi
}
setup_tc() {

View File

@ -67,6 +67,11 @@ Problems corrected since 2.1.9
1) With DELAYBLACKLISTLOAD=No, the blacklist was previously not
loaded.
Problems corrected since 2.1.10
1) If TC_ENABLED=Yes but you have no /etc/shorewall/tcstart file then
"shorewall restore" will no longer attempt to run the tcstart file.
-----------------------------------------------------------------------
Issues when migrating from Shorewall 2.0 to Shorewall 2.1: