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

scampbell (JIRA) jira at bro-tracker.atlassian.net
Thu Apr 24 08:28:07 PDT 2014


scampbell created BIT-1188:
------------------------------

             Summary: 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


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