[Bro-Dev] [JIRA] (BIT-1249) Trouble with pcap interfaces with colons on their name

Robin Sommer (JIRA) jira at bro-tracker.atlassian.net
Wed Sep 10 10:04:07 PDT 2014


Robin Sommer created BIT-1249:
---------------------------------

             Summary: Trouble with pcap interfaces with colons on their name
                 Key: BIT-1249
                 URL: https://bro-tracker.atlassian.net/browse/BIT-1249
             Project: Bro Issue Tracker
          Issue Type: Problem
          Components: Bro
    Affects Versions: git/master
            Reporter: Robin Sommer
            Assignee: Robin Sommer


Pcap interfaces can have colons in their name, which confuses the new packet source code, as it uses "xxx:" to identify the type of source to use (e.g., "dag0:0" isn't handed over to pcap; instead Bro looks for a plugin "dag0" to handle the interface "0".)

As a work-around, it should work to use "-i pcap:dag:0".

Possible fixes:
  - we use a different prefix separator (e.g., "-i netmap!em3")
  - fallback to pcap if prefix not known.
  - make the work around the solution (i.e., if in doubt, specify pcap explicitly)

Reported by John Donaldson.




--
This message was sent by Atlassian JIRA
(v6.4-OD-04-006#64001)


More information about the bro-dev mailing list