[Bro-Dev] #902: Error loading __load__.bro/main.bro if dir containing these scripts is not in the site directory

Bro Tracker bro at tracker.bro-ids.org
Wed Oct 17 09:53:15 PDT 2012


#902: Error loading __load__.bro/main.bro  if dir containing these scripts is not
in the site directory
------------------------+---------------------
 Reporter:  aashish     |       Type:  Problem
   Status:  new         |   Priority:  Normal
Milestone:  Bro2.2      |  Component:  Bro
  Version:  git/master  |   Keywords:
------------------------+---------------------
 __load__.bro and main.bro won't load if the folder containing these is not
 in the standard site directory even though this folders location is
 specified via SitePolicyPath.

 Explanation:

 I encountered this problem while trying to get ssn-exposure running.

 @load ssn-exposure in local.bro works just fine if folder (ssn-exposure)
 is in the site directory.

 However if this same folder (ssn-exposure) is moved to a different/non-
 standard directory (eg. /usr/local/my-scripts) @load ssn-exposure would
 give errors and not load;  even though /usr/local/my-scripts is added to
 SitePolicyPath in broctl config and other standalone scripts within my-
 scripts folder load properly.

 ssn-exposure (https://github.com/sethhall/ssn-exposure) is an example.
 This seems to be a general issue with any similar folder encapsulated
 scripts.

-- 
Ticket URL: <http://tracker.bro-ids.org/bro/ticket/902>
Bro Tracker <http://tracker.bro-ids.org/bro>
Bro Issue Tracker



More information about the bro-dev mailing list