diff options
author | Olivier Blin <oblin@mandriva.org> | 2005-07-08 06:27:17 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.org> | 2005-07-08 06:27:17 +0000 |
commit | a647e310219628a9d6a0ac0f9b06f9e11bc30608 (patch) | |
tree | f28cc2d277c8d79b558548577580d209280b756c /perl-install | |
parent | ee848d0e718bdaa3181ff0efd14031c489654087 (diff) | |
download | drakx-backup-do-not-use-a647e310219628a9d6a0ac0f9b06f9e11bc30608.tar drakx-backup-do-not-use-a647e310219628a9d6a0ac0f9b06f9e11bc30608.tar.gz drakx-backup-do-not-use-a647e310219628a9d6a0ac0f9b06f9e11bc30608.tar.bz2 drakx-backup-do-not-use-a647e310219628a9d6a0ac0f9b06f9e11bc30608.tar.xz drakx-backup-do-not-use-a647e310219628a9d6a0ac0f9b06f9e11bc30608.zip |
don't open any port by default in the firewall
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/install_steps.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/install_steps.pm b/perl-install/install_steps.pm index 1b8806e99..f9855c04e 100644 --- a/perl-install/install_steps.pm +++ b/perl-install/install_steps.pm @@ -654,9 +654,10 @@ sub configureNetwork { sub configure_firewall { my ($o) = @_; + #- set up a firewall if ports have been specified or if the security level is high enough if (exists $o->{firewall_ports} || $o->{security} >= 3) { require network::drakfirewall; - $o->{firewall_ports} ||= network::drakfirewall::default_ports($o->do_pkgs); + $o->{firewall_ports} ||= ''; #- don't open any port by default network::drakfirewall::set_ports($o->do_pkgs, 0, $o->{firewall_ports}); } } |