Changeset 46

Show
Ignore:
Timestamp:
04/11/08 20:17:48 (11 years ago)
Author:
rmcmillen
Message:

Fixes for Ticket #26 regarding cleaning out log files does not re-create all necessary log points.

Location:
walleye/trunk/walleye
Files:
3 modified

Legend:

Unmodified
Added
Removed
  • walleye/trunk/walleye/Makefile

    r34 r46  
    1 ver=1.2.1 
     1ver=1.2.3 
    22pname=walleye-${ver} 
    33 
  • walleye/trunk/walleye/admin/osAdmin.pl

    r34 r46  
    219219        my $title = "Clean out Honeywall directories"; 
    220220        my $msg = "Honeywall directory cleanup successful."; 
    221         my @directories = ("pcap", "snort", "snort_inline", "argus"); 
    222         my @files = ("sebekd", "p0f", "iptables"); 
     221        my @directories = ("pcap", "snort", "snort_inline"); 
     222        my @files = ("p0f", "iptables"); 
     223    
     224        my $cmd = "/etc/init.d/hwdaemons log_cleanout_stop > /dev/null";  
     225        $status = system("sudo $cmd"); 
     226        error("Could not run $cmd $?") unless $status == 0;     
    223227 
    224228        foreach $dir (@directories) { 
    225                 my $cmd = "sudo rm -rf $logdir/$dir"; 
     229                my $cmd = "sudo rm -rf $logdir/$dir/*"; 
    226230                $status = system("$cmd"); 
    227231                error("Could not run process: $cmd $?") unless $status == 0; 
     
    239243        } 
    240244 
     245        $cmd = "/etc/init.d/hwdaemons log_cleanout_start > /dev/null";  
     246        $status = system("sudo $cmd"); 
     247        error("Could not run $cmd $?") unless $status == 0;     
    241248 
    242249        display_admin_msg($title, $msg); 
  • walleye/trunk/walleye/walleye.spec

    r34 r46  
    11Summary:  Walleye Honeynet data analysis  
    22Name: walleye 
    3 Version: 1.2.1 
    4 Release: 6 
     3Version: 1.2.3 
     4Release: 1 
    55License: GPL 
    66Group:   Applications/Honeynet