Changeset 67

Show
Ignore:
Timestamp:
04/25/08 03:02:30 (10 years ago)
Author:
rmcmillen
Message:

Fixes for Ticket #42. Made sure the /var/log/p0f log is not recreated.

Location:
honeywall/trunk/rpm-devel/roo-base
Files:
1 removed
2 modified

Legend:

Unmodified
Added
Removed
  • honeywall/trunk/rpm-devel/roo-base/roo-base.spec

    r63 r67  
    2424# Version follows CentOS version so yum $releasever works 
    2525Version: 5 
    26 Release: 33.hw 
     26Release: 35.hw 
    2727License: GPL 
    2828Source: %{name}-%{version}.tar.gz 
     
    105105%{__install} -D -m 0750 etc/rc.d/init.d/bridge.sh %{buildroot}/etc/rc.d/init.d/bridge.sh 
    106106%{__install} -D -m 0750 etc/rc.d/init.d/hwdaemons %{buildroot}/etc/rc.d/init.d/hwdaemons 
    107 %{__install} -D -m 0750 etc/rc.d/init.d/hwdaemons_old %{buildroot}/etc/rc.d/init.d/hwdaemons_old 
    108107%{__install} -D -m 0755 etc/rc.d/init.d/hwfuncs.sub %{buildroot}/etc/rc.d/init.d/hwfuncs.sub 
    109108%{__install} -D -m 0750 etc/rc.d/init.d/hwnetwork %{buildroot}/etc/rc.d/init.d/hwnetwork 
     
    359358# Put the current ROO stuff back in 
    360359echo "User_Alias ROO__ADMIN = apache" >> /etc/sudoers 
    361 echo "Cmnd_Alias ROO__COMMANDS = /proc/net/ip_conntrack, /etc/rc.d/init.d/hwfuncs.sub, /etc/rc.d/init.d/sshd, /etc/init.d/flush_firewall.sh, /etc/init.d/bridge.sh, /etc/init.d/rc.firewall, /etc/init.d/hw-pcap, /etc/init.d/hw-snort_inline, /etc/init.d/hflow, /etc/init.d/swatch.sh, /dlg/config/createWhiteRules.pl, /dlg/config/createBlackRules.pl, /dlg/config/createBPFFilter.pl, /dlg/config/dns2resolv.sh, /dlg/config/hw_build_ssh_config.sh, /usr/bin/tcpdstat, /usr/bin/monit, /usr/sbin/argus, /sbin/shutdown, /sbin/ifconfig, /sbin/iptables, /bin/netstat, /bin/chown, /bin/chmod, /bin/ps, /bin/mv, /bin/cp, /bin/rm, /bin/touch, /bin/cat, /bin/hostname, /etc/rc.d/init.d/hwdaemons, /usr/local/bin/hwctl, /dlg/config/purgePcap.pl, /dlg/config/purgeDB.pl, /usr/bin/du, /bin/ls, /bin/df, /bin/mount, /tmp/unpack-iso.sh, /bin/tar, /hw/sbin/hwruleupdate, /dlg/config/ChangeSSHPort.sh" >> /etc/sudoers 
     360echo "Cmnd_Alias ROO__COMMANDS = /proc/net/ip_conntrack, /etc/rc.d/init.d/hwfuncs.sub, /etc/rc.d/init.d/sshd, /etc/init.d/flush_firewall.sh, /etc/init.d/bridge.sh, /etc/init.d/rc.firewall, /etc/init.d/hw-pcap, /etc/init.d/hw-snort_inline, /etc/init.d/hflow, /etc/init.d/swatch.sh, /dlg/config/createWhiteRules.pl, /dlg/config/createBlackRules.pl, /dlg/config/createBPFFilter.pl, /dlg/config/dns2resolv.sh, /dlg/config/hw_build_ssh_config.sh, /usr/bin/tcpdstat, /usr/bin/monit, /usr/sbin/argus, /sbin/shutdown, /sbin/ifconfig, /sbin/iptables, /bin/netstat, /bin/chown, /bin/chmod, /bin/ps, /bin/mv, /bin/cp, /bin/rm, /bin/touch, /bin/cat, /bin/hostname, /etc/rc.d/init.d/hwdaemons, /usr/local/bin/hwctl, /dlg/config/purgePcap.pl, /dlg/config/purgeDB.pl, /usr/bin/du, /bin/ls, /bin/df, /bin/mount, /tmp/unpack-iso.sh, /bin/tar, /hw/sbin/hwruleupdate, /dlg/config/ChangeSSHPort.sh, /bin/loadkeys" >> /etc/sudoers 
    362361echo "ROO__ADMIN ALL = NOPASSWD: ROO__COMMANDS" >> /etc/sudoers 
    363362 
     
    427426/etc/rc.d/init.d/bridge.sh 
    428427/etc/rc.d/init.d/hwdaemons 
    429 /etc/rc.d/init.d/hwdaemons_old 
    430428/etc/rc.d/init.d/hwfuncs.sub 
    431429/etc/rc.d/init.d/hwnetwork 
  • honeywall/trunk/rpm-devel/roo-base/src/dlg/admin/DirectoryCleanup.sh

    r1 r67  
    5151    done 
    5252 
    53  
    54     for file in sebekd p0f 
    55     do 
    56         if [ -f "$LOGDIR/$file" ]; then 
    57             echo "Empyting $LOGDIR/$file" 
    58             cat /dev/null > $LOGDIR/$file 
    59         fi 
    60     done 
    61  
    6253    /etc/init.d/hwdaemons log_cleanout_start 
    6354