[ https://bro-tracker.atlassian.net/browse/BIT-714?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13507#comment-13507 ]
Daniel Thayer commented on BIT-714: ----------------------------------- Branch topic/dnthayer/ticket714 fixes this issue. > 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 _______________________________________________ bro-dev mailing list bro-dev@bro.org http://mailman.icsi.berkeley.edu/mailman/listinfo/bro-dev