Changeset 1993
- Timestamp:
- 03/01/07 21:32:43 (2 years ago)
- Files:
-
- psad/branches/psad-2.0.5/install.pl (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
psad/branches/psad-2.0.5/install.pl
r1991 r1993 1006 1006 return if &query_use_home_net_default(); 1007 1007 1008 my $str = 1009 "\n Ok, would you like psad to automatically get the local subnets by\n" . 1010 " parsing ifconfig output? (This is probably best for most situations).\n"; 1011 &logr($str);1012 if (&query_yes_no(' ([y]/n)? ', $ACCEPT_YES_DEFAULT)) { 1013 return; 1014 } 1015 1008 ### FIXME future 1009 # my $str = 1010 #"\n Ok, would you like psad to automatically get the local subnets by\n" . 1011 #" parsing ifconfig output? (This is probably best for most situations).\n"; 1012 # &logr($str); 1013 # if (&query_yes_no(' ([y]/n)? ', $ACCEPT_YES_DEFAULT)) { 1014 # return; 1015 # } 1016 1016 ### if we make it here, then the admin wants to completely enumerate the 1017 1017 ### HOME_NET var, so we have to disable ENABLE_INTF_LOCAL_NETS 1018 &put_string('ENABLE_INTF_LOCAL_NETS', 'N',1019 "$config{'PSAD_CONF_DIR'}/psad.conf");1018 # &put_string('ENABLE_INTF_LOCAL_NETS', 'N', 1019 # "$config{'PSAD_CONF_DIR'}/psad.conf"); 1020 1020 1021 1021 ### get all interfaces; even those that are down since they may … … 1070 1070 &logr(" $intf -> $connected_subnets{$intf}\n"); 1071 1071 } 1072 $str =1072 my $str = 1073 1073 "\n Specify which subnets are part of your internal network. Note that\n" . 1074 1074 " you can correct anything you enter here by editing the \"HOME_NET\"\n" .
