[Bro-Dev] [JIRA] (BIT-1188) subinterface defns for dnacluster:21 at x interfaces in lb_pf_ring.py not reset
Daniel Thayer (JIRA)
jira at bro-tracker.atlassian.net
Thu Apr 24 10:11:07 PDT 2014
[ https://bro-tracker.atlassian.net/browse/BIT-1188?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16214#comment-16214 ]
Daniel Thayer commented on BIT-1188:
------------------------------------
{quote}
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 }app_instance = first_app_instance
{quote}
Shouldn't that new line be this instead:
app_instance = first_app_instance
> 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
>
> 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