summaryrefslogtreecommitdiffstats
path: root/perl-install/install_steps.pm
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2005-07-08 06:27:17 +0000
committerOlivier Blin <oblin@mandriva.org>2005-07-08 06:27:17 +0000
commita647e310219628a9d6a0ac0f9b06f9e11bc30608 (patch)
treef28cc2d277c8d79b558548577580d209280b756c /perl-install/install_steps.pm
parentee848d0e718bdaa3181ff0efd14031c489654087 (diff)
downloaddrakx-a647e310219628a9d6a0ac0f9b06f9e11bc30608.tar
drakx-a647e310219628a9d6a0ac0f9b06f9e11bc30608.tar.gz
drakx-a647e310219628a9d6a0ac0f9b06f9e11bc30608.tar.bz2
drakx-a647e310219628a9d6a0ac0f9b06f9e11bc30608.tar.xz
drakx-a647e310219628a9d6a0ac0f9b06f9e11bc30608.zip
don't open any port by default in the firewall
Diffstat (limited to 'perl-install/install_steps.pm')
-rw-r--r--perl-install/install_steps.pm3
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});
}
}