[Bro-Dev] [JIRA] (BIT-1188) subinterface defns for dnacluster:21 at x interfaces in lb_pf_ring.py not reset

Seth Hall (JIRA) jira at bro-tracker.atlassian.net
Thu Apr 24 10:18:07 PDT 2014


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

Seth Hall updated BIT-1188:
---------------------------

    Attachment: signature.asc


It should.  This is strange because I thought I fixed this in a commit.  I’ll go ahead and commit this directly into broctl master.


> subinterface defns for dnacluster:21 at x interfaces  in lb_pf_ring.py not reset
> -----------------------------------------------------------------------------
>
>                 Key: BIT-1188
>                 URL: https://bro-tracker.atlassian.net/browse/BIT-1188
>             Project: Bro Issue Tracker
>          Issue Type: Patch
>          Components: BroControl
>    Affects Versions: git/master
>         Environment: scientific linux
>            Reporter: scampbell
>            Priority: High
>              Labels: broctl
>         Attachments: signature.asc
>
>
> When more than one system in node.cgf is defined with dnacluster interfaces, the subinterface (ie x value in dnacluster:21 at x) is not reset when the parser goes to a new physical system.  This causes a "no interface" error.
> One line fix to lb_pf_ring.py
> *** /home/bro/SOFTWARE/bro/aux/broctl/BroControl/plugins/lb_pf_ring.py	2014-04-22 08:47:24.884212793 -0700
> --- /home/bro/lib/broctl/plugins/lb_pf_ring.py	2014-04-24 08:19:07.128480987 -0700
> ***************
> *** 48,53 ****
> --- 48,54 ----
>                       app_instance = first_app_instance
>                       dd[nn.host][nn.interface] = cluster_id + len(dd[nn.host])
>               else:
> +                 app_instance = 0
>                   dd[nn.host] = { nn.interface : cluster_id }
>               # Apply environment variables, but do not override values from



--
This message was sent by Atlassian JIRA
(v6.3-OD-02-026#6318)



More information about the bro-dev mailing list