PCap_Parser

A plugin to extract information from raw PCAP files and store them in the shared database.

Table Definition

This plugin creates one table to store its extracted PCAP information:

Raw SQL

Importable Insert and Query Diesel Structs

Environment Variables

This plugin requires the following to be declared in the .env file:

PCAP_PARSER_BATCH_SIZE=batch_size_number

Where batch_size_number is the number of packets to batch before inserting into the database. A decent default for this might be 4096.