Platon Technologies
neprihlásený Prihlásiť Registrácia
SlovakEnglish
open source software development oslavujeme 10 rokov vývoja otvoreného softvéru! Utorok, 16. apríl 2024

Rozdiely pre scripts/shell/firewall/fw-universal.sh medzi verziami 2.116 a 2.118

verzia 2.116, 2018/06/28 23:13:42 verzia 2.118, 2018/12/10 11:46:12
Riadok 22 
Riadok 22 
 # 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.115 2018/06/28 22:46:00 nepto Exp $  # $Platon: scripts/shell/firewall/fw-universal.sh,v 2.117 2018/08/23 04:34:58 nepto Exp $
 #  #
 # Changelog:  # Changelog:
 # 2003-10-24 - created  # 2003-10-24 - created
Riadok 763  do_ban_single_ip()
Riadok 763  do_ban_single_ip()
                 return;                  return;
         fi          fi
         for banned_ip in $*; do          for banned_ip in $*; do
                 $IPTABLES -A INPUT -s $banned_ip -j DROP;                  # This does immediate connection termination, but it must be inserted
                 if [ "X$XEN_MODE" = "Xon" ]; then                  # and thus not appended into chain, otherwise connection will still
                         print_info -ne " XEN_MODE ";                  # remain alive. Former forward chain rule was removed as unneccessary.
                 else                  #   -- Nepto [2018-08-23]
                         $IPTABLES -A FORWARD -s $banned_ip -j DROP;                  #   -- Plantroon [2018-12-10]
                 fi                  $IPTABLES -I INPUT -s $banned_ip -j DROP;
         done          done
 } # }}}  } # }}}
   

Legend:
Odstranené z verzie2.116  
zmenené riadky
  Pridané vo verzii2.118

Platon Group <platon@platon.sk> http://platon.sk/
Copyright © 2002-2006 Platon Group
Stránka používa redakčný systém Metafox
Na začiatok