[Bro-Dev] [JIRA] (BIT-714) broctl install copies policy files to the .site folder in incorrect order

Daniel Thayer (JIRA) jira at bro-tracker.atlassian.net
Wed Aug 14 19:00:21 PDT 2013


     [ https://bro-tracker.atlassian.net/browse/BIT-714?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel Thayer updated BIT-714:
------------------------------

    Status: Merge Request  (was: Open)
    
> broctl install copies policy files to the .site folder in incorrect order
> -------------------------------------------------------------------------
>
>                 Key: BIT-714
>                 URL: https://bro-tracker.atlassian.net/browse/BIT-714
>             Project: Bro Issue Tracker
>          Issue Type: Problem
>          Components: BroControl
>            Reporter: aashish
>             Fix For: 2.2
>
>
> I think broctl install copies the files to .site directory in the order specified by the SitePolicyPath This is probably incorrect. It should instead be in the reverse order of the path specified in the SitePolicyPath
> example:
> SitePolicyPath=/dir1:/dir2:/dir3:/usr/local/bro/share/bro 
> if a modified version of file with same name (eg. drop.bro) is in dir1 and original is in /usr/local/bro/share/bro;  broctl install will overwrite /dir1/drop.bro with /usr/local/bro/share/bro/drop.bro when it creates /usr/local/bro/share/bro/.site folder. 
> In theory when bro is starting, it should have preference in loading /dir1/drop.bro over /usr/local/bro/share/bro/drop.bro but currently /dir1/drop.bro gets overwritten by /usr/local/bro/share/bro/drop.bro when broctl install creates .site folder.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://bro-tracker.atlassian.net/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the bro-dev mailing list