[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ossec-dev] [Bug 77] New: [PATCH] Dont' install scripts for all firewalls in agent installation



http://www.ossec.net/bugs/show_bug.cgi?id=77

           Summary: [PATCH] Dont' install scripts for all firewalls in agent
                    installation
           Product: OSSEC
           Version: 1.3
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P1
         Component: install
        AssignedTo: ossec-dev@xxxxxxxxx
        ReportedBy: php-coder@xxxxxxxxxxxx


Hello!

I found then in agent installation type installs *all* scripts for work with
firewall (instead of one which really needed for this OS).

Look to the following code:

sh ./init/fw-check.sh execute
cp -pr ../active-response/* ${DIR}/active-response/bin/

This is for agent installation.

sh ./init/fw-check.sh execute
cp -p ../active-response/*.sh ${DIR}/active-response/bin/

As we can see in server case mask for files more strict and protect us to
copying all contents of active-responce/ directory.

Patch will be attached.


-- 
Configure bugmail: http://www.ossec.net/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


OSSEC home | Main Index | Thread Index


OSSEC project: www.ossec.net.
Mailling list information: http://www.ossec.net/en/mailing_lists.html.