[Bro-Dev] [JIRA] (BIT-340) Cleanup: unify where global consts are defined (access from policy layer and event engine)

Jon Siwek (JIRA) jira at bro-tracker.atlassian.net
Tue Mar 17 10:29:00 PDT 2015


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

Jon Siwek updated BIT-340:
--------------------------
    Fix Version/s:     (was: 2.4)
                   2.5

> Cleanup: unify where global consts are defined (access from policy layer and event engine)
> ------------------------------------------------------------------------------------------
>
>                 Key: BIT-340
>                 URL: https://bro-tracker.atlassian.net/browse/BIT-340
>             Project: Bro Issue Tracker
>          Issue Type: New Feature
>          Components: Bro
>            Reporter: gregor
>            Priority: Low
>              Labels: cleanup
>             Fix For: 2.5
>
>
> {noformat}
> #!rst
> Global ``const``'s that are accessible from the policy layer and event engine (e.g., to configure features) are currently defined in different ways: 
> 1. in ``bro.init`` and ``NetVar.{cc|h}``
> 2. in a specific .bro policy script and ``NetVar.{cc|h}``
> 3. in ``const.bif`` 
> According to our discussion on bro-dev, we should change it to only use ``const.bif``. 
> For case 2. we should add a ``redef`` in the .bro policy scripts, so that users looking at the script see that the const exists (TODO: how to best auto-doucment these). 
> Setting milestone to 1.6 as it seems this can be done together with the general policy script overhaul, but can also be pushed backed. 
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.4-OD-15-055#64014)


More information about the bro-dev mailing list