Uploaded image for project: 'Apache Drill'
  1. Apache Drill
  2. DRILL-5432

Added pcap-format support

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.11.0
    • Component/s: None
    • Labels:

      Description

      PCAP files [1] are the de facto standard for storing network capture data. In security and protocol applications, it is very common to want to extract particular packets from a capture for further analysis.

      At a first level, it is desirable to query and filter by source and destination IP and port or by protocol. Beyond that, however, it would be very useful to be able to group packets by TCP session and eventually to look at packet contents. For now, however, the most critical requirement is that we should be able to scan captures at very high speed.

      I previously wrote a (kind of working) proof of concept for a PCAP decoder that did lazy deserialization and could traverse hundreds of MB of PCAP data per second per core. This compares to roughly 2-3 MB/s for widely available Apache-compatible open source PCAP decoders.

      This JIRA covers the integration and extension of that proof of concept as a Drill file format.

      Initial work is available at https://github.com/mapr-demos/drill-pcap-format

      [1] https://en.wikipedia.org/wiki/Pcap

        Attachments

          Activity

            People

            • Assignee:
              tdunning Ted Dunning
              Reporter:
              tdunning Ted Dunning
            • Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: