Till Brehm
2016-04-21 8e5493520583b94f633da582fd543b754805d306
install/lib/installer_base.lib.php
@@ -1842,12 +1842,14 @@
   public function configure_ufw_firewall()
   {
      $configfile = 'ufw.conf';
      if(is_file('/etc/ufw/ufw.conf')) copy('/etc/ufw/ufw.conf', '/etc/ufw/ufw.conf~');
      $content = rf("tpl/".$configfile.".master");
      wf('/etc/ufw/ufw.conf', $content);
      exec('chmod 600 /etc/ufw/ufw.conf');
      exec('chown root:root /etc/ufw/ufw.conf');
      if($this->is_update == false) {
         $configfile = 'ufw.conf';
         if(is_file('/etc/ufw/ufw.conf')) copy('/etc/ufw/ufw.conf', '/etc/ufw/ufw.conf~');
         $content = rf("tpl/".$configfile.".master");
         wf('/etc/ufw/ufw.conf', $content);
         exec('chmod 600 /etc/ufw/ufw.conf');
         exec('chown root:root /etc/ufw/ufw.conf');
      }
   }
   public function configure_bastille_firewall() {