Changeset 1993

Show
Ignore:
Timestamp:
03/01/07 21:32:43 (2 years ago)
Author:
mbr
Message:

bugfix to remove automated HOME_NET variable update query (this feature will be in a future release)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • psad/branches/psad-2.0.5/install.pl

    r1991 r1993  
    10061006    return if &query_use_home_net_default(); 
    10071007 
    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#    } 
    10161016    ### if we make it here, then the admin wants to completely enumerate the 
    10171017    ### 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"); 
    10201020 
    10211021    ### get all interfaces; even those that are down since they may 
     
    10701070        &logr("      $intf -> $connected_subnets{$intf}\n"); 
    10711071    } 
    1072     $str = 
     1072    my $str = 
    10731073"\n    Specify which subnets are part of your internal network.  Note that\n" . 
    10741074"    you can correct anything you enter here by editing the \"HOME_NET\"\n" .