Moved to https://codeberg.org/DNS-OARC/PacketQ
See the codepacketq is a command line tool to run SQL queries directly on PCAP files,
the results can be outputted as JSON (default), formatted/compact CSV and XML.
It also contain a very simplistic web-server in order to inspect PCAP files
remotely. PacketQ was previously known as DNS2db but was renamed in 2011 when
it was rebuilt and could handle protocols other than DNS among other things.
More information is provided in our FAQ, functions, and fields documentation.
A short demo-video of PacketQ's capabilities is available on http://www.youtube.com/watch?v=70wJmWZE9tY
More information may be found here:
Issues should be reported here:
General support and discussion:
PacketQ requires a couple of libraries beside a normal C++ compiling environment with autoconf, automake, libtool and pkgconfig.
PacketQ has an optional dependency on the MaxMindDB library (for the
CC() and ASN() functions).
To install the dependencies under Debian/Ubuntu:
apt-get install -y zlib1g-dev libmaxminddb-dev
To install the dependencies under CentOS (with EPEL/PowerTools enabled):
yum install -y zlib-devel libmaxminddb-devel
git clone https://codeberg.org/DNS-OARC/PacketQ.git
cd PacketQ
./autogen.sh
./configure [options]
make
make install
The source tarball from DNS-OARC
comes prepared with configure:
tar zxvf packetq-version.tar.gz
cd packetq-version
./configure [options]
make
make install
Retrieves the 10 first packets containing DNS information from the file
sample.pcap:
packetq -s "select * from dns limit 10" sample.pcap
Starts a web-server on port 8080 (-p8080) as a daemon (-d) serving files
from the directory html/ (-w html/) and PCAP files from the directory
pcap/ (-r pcap/):
packetq -d -p8080 -w html/ -r pcap/
See also the full list of contributors.
Copyright (c) 2017-2024 OARC, Inc.
Copyright (c) 2011-2017, IIS - The Internet Foundation in Sweden
All rights reserved.
This file is part of PacketQ.
PacketQ is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
PacketQ is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with PacketQ. If not, see <http://www.gnu.org/licenses/>.
JavaScript
48.4%
C++
38.8%
CSS
3.7%
Shell
2.5%
HTML
2.4%
M4
2.3%
Perl
1.0%
Moved to https://codeberg.org/DNS-OARC/PacketQ
See the codepacketq is a command line tool to run SQL queries directly on PCAP files,
the results can be outputted as JSON (default), formatted/compact CSV and XML.
It also contain a very simplistic web-server in order to inspect PCAP files
remotely. PacketQ was previously known as DNS2db but was renamed in 2011 when
it was rebuilt and could handle protocols other than DNS among other things.
More information is provided in our FAQ, functions, and fields documentation.
A short demo-video of PacketQ's capabilities is available on http://www.youtube.com/watch?v=70wJmWZE9tY
More information may be found here:
Issues should be reported here:
General support and discussion:
PacketQ requires a couple of libraries beside a normal C++ compiling environment with autoconf, automake, libtool and pkgconfig.
PacketQ has an optional dependency on the MaxMindDB library (for the
CC() and ASN() functions).
To install the dependencies under Debian/Ubuntu:
apt-get install -y zlib1g-dev libmaxminddb-dev
To install the dependencies under CentOS (with EPEL/PowerTools enabled):
yum install -y zlib-devel libmaxminddb-devel
git clone https://codeberg.org/DNS-OARC/PacketQ.git
cd PacketQ
./autogen.sh
./configure [options]
make
make install
The source tarball from DNS-OARC
comes prepared with configure:
tar zxvf packetq-version.tar.gz
cd packetq-version
./configure [options]
make
make install
Retrieves the 10 first packets containing DNS information from the file
sample.pcap:
packetq -s "select * from dns limit 10" sample.pcap
Starts a web-server on port 8080 (-p8080) as a daemon (-d) serving files
from the directory html/ (-w html/) and PCAP files from the directory
pcap/ (-r pcap/):
packetq -d -p8080 -w html/ -r pcap/
See also the full list of contributors.
Copyright (c) 2017-2024 OARC, Inc.
Copyright (c) 2011-2017, IIS - The Internet Foundation in Sweden
All rights reserved.
This file is part of PacketQ.
PacketQ is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
PacketQ is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with PacketQ. If not, see <http://www.gnu.org/licenses/>.
JavaScript
48.4%
C++
38.8%
CSS
3.7%
Shell
2.5%
HTML
2.4%
M4
2.3%
Perl
1.0%