[Bro-Dev] [JIRA] (BIT-1540) Ifconfig is hardcoded in BroControl

Johanna Amann (JIRA) jira at bro-tracker.atlassian.net
Fri Feb 26 09:08:00 PST 2016


Johanna Amann created BIT-1540:
----------------------------------

             Summary: Ifconfig is hardcoded in BroControl
                 Key: BIT-1540
                 URL: https://bro-tracker.atlassian.net/browse/BIT-1540
             Project: Bro Issue Tracker
          Issue Type: Problem
          Components: BroControl
    Affects Versions: git/master
            Reporter: Johanna Amann
             Fix For: 2.5


>From the mailing list:

{quote}
Hi Folks,

On later versions of Linux distros iproute2 replaces ifconfig with ip

Starting at line 601 at
https://github.com/bro/broctl/blob/master/BroControl/config.py

It looks like ifconfig is hard-written into the logic. Probably needs a
patch to check for the ip command.

Cheers,
Harry
{quote}

We should probably check for the presence of the ip utility and use that, if present.



--
This message was sent by Atlassian JIRA
(v7.2.0-OD-02-009#72000)


More information about the bro-dev mailing list