├── .dockerignore ├── .gitignore ├── .gitlab-ci.yml ├── .gitmodules ├── .mailmap ├── .readthedocs.yaml ├── COPYING ├── Dockerfile ├── NEWS ├── README.md ├── ci ├── dnsjit │ └── Dockerfile ├── luacheck-run.sh ├── mypy-run.sh └── pylint-run.sh ├── configs ├── doh-get.toml ├── doh-post.toml ├── doh.toml ├── doq.toml ├── dot.toml ├── mixed.toml ├── tcp.toml └── udp.toml ├── docs ├── analyzing-clients.md ├── capturing-traffic.md ├── configuration-file.md ├── configuration-presets.md ├── connection-chart.md ├── extracting-clients.md ├── img │ ├── clients.png │ ├── connections.png │ ├── handshakes.png │ ├── latency.png │ └── response-rate.png ├── index.md ├── installation.md ├── key-concepts.md ├── latency-histogram.md ├── performance-tuning.md ├── raw-output.md ├── replaying-traffic.md ├── response-rate-chart.md ├── showcase │ ├── connections.png │ └── handshakes.png └── troubleshooting.md ├── mkdocs.yml ├── pcap ├── count-packets-over-time.lua ├── count-packets-per-ip.lua ├── cut-pcap.lua ├── extract-clients.lua ├── filter-dnsq.lua ├── generate-const-qps.lua ├── limit-clients.lua ├── merge-chunks.py └── split-clients.lua ├── pylintrc ├── replay.py ├── replay ├── dnssim │ ├── .gitignore │ ├── CHANGELOG.md │ ├── CMakeLists.txt │ ├── README.md │ └── src │ │ └── output │ │ ├── dnssim.c │ │ ├── dnssim.h │ │ ├── dnssim.lua │ │ └── dnssim │ │ ├── common.c │ │ ├── connection.c │ │ ├── https2.c │ │ ├── internal.h │ │ ├── ll.h │ │ ├── quic.c │ │ ├── tcp.c │ │ ├── tls.c │ │ └── udp.c ├── luaconfig.lua.j2 └── shotgun.lua ├── requirements.txt └── tools ├── merge-data.py ├── mplhlpr ├── README ├── presentation.mplstyle ├── shotgun.mplstyle └── styles.py ├── plot-client-distribution.py ├── plot-connections.py ├── plot-latency.py ├── plot-packet-rate.py └── plot-response-rate.py /.dockerignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CZ-NIC/shotgun/HEAD/.dockerignore -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CZ-NIC/shotgun/HEAD/.gitignore -------------------------------------------------------------------------------- /.gitlab-ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CZ-NIC/shotgun/HEAD/.gitlab-ci.yml -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CZ-NIC/shotgun/HEAD/.gitmodules -------------------------------------------------------------------------------- /.mailmap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CZ-NIC/shotgun/HEAD/.mailmap -------------------------------------------------------------------------------- /.readthedocs.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CZ-NIC/shotgun/HEAD/.readthedocs.yaml -------------------------------------------------------------------------------- /COPYING: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CZ-NIC/shotgun/HEAD/COPYING -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CZ-NIC/shotgun/HEAD/Dockerfile -------------------------------------------------------------------------------- /NEWS: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CZ-NIC/shotgun/HEAD/NEWS -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CZ-NIC/shotgun/HEAD/README.md -------------------------------------------------------------------------------- /ci/dnsjit/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CZ-NIC/shotgun/HEAD/ci/dnsjit/Dockerfile -------------------------------------------------------------------------------- /ci/luacheck-run.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | set -e 3 | 4 | luacheck --codes --formatter TAP . 5 | -------------------------------------------------------------------------------- /ci/mypy-run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CZ-NIC/shotgun/HEAD/ci/mypy-run.sh -------------------------------------------------------------------------------- /ci/pylint-run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CZ-NIC/shotgun/HEAD/ci/pylint-run.sh -------------------------------------------------------------------------------- /configs/doh-get.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CZ-NIC/shotgun/HEAD/configs/doh-get.toml -------------------------------------------------------------------------------- /configs/doh-post.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CZ-NIC/shotgun/HEAD/configs/doh-post.toml -------------------------------------------------------------------------------- /configs/doh.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CZ-NIC/shotgun/HEAD/configs/doh.toml -------------------------------------------------------------------------------- /configs/doq.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CZ-NIC/shotgun/HEAD/configs/doq.toml -------------------------------------------------------------------------------- /configs/dot.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CZ-NIC/shotgun/HEAD/configs/dot.toml -------------------------------------------------------------------------------- /configs/mixed.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CZ-NIC/shotgun/HEAD/configs/mixed.toml -------------------------------------------------------------------------------- /configs/tcp.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CZ-NIC/shotgun/HEAD/configs/tcp.toml -------------------------------------------------------------------------------- /configs/udp.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CZ-NIC/shotgun/HEAD/configs/udp.toml -------------------------------------------------------------------------------- /docs/analyzing-clients.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CZ-NIC/shotgun/HEAD/docs/analyzing-clients.md -------------------------------------------------------------------------------- /docs/capturing-traffic.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CZ-NIC/shotgun/HEAD/docs/capturing-traffic.md -------------------------------------------------------------------------------- /docs/configuration-file.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CZ-NIC/shotgun/HEAD/docs/configuration-file.md -------------------------------------------------------------------------------- /docs/configuration-presets.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CZ-NIC/shotgun/HEAD/docs/configuration-presets.md -------------------------------------------------------------------------------- /docs/connection-chart.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CZ-NIC/shotgun/HEAD/docs/connection-chart.md -------------------------------------------------------------------------------- /docs/extracting-clients.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CZ-NIC/shotgun/HEAD/docs/extracting-clients.md -------------------------------------------------------------------------------- /docs/img/clients.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CZ-NIC/shotgun/HEAD/docs/img/clients.png -------------------------------------------------------------------------------- /docs/img/connections.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CZ-NIC/shotgun/HEAD/docs/img/connections.png -------------------------------------------------------------------------------- /docs/img/handshakes.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CZ-NIC/shotgun/HEAD/docs/img/handshakes.png -------------------------------------------------------------------------------- /docs/img/latency.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CZ-NIC/shotgun/HEAD/docs/img/latency.png -------------------------------------------------------------------------------- /docs/img/response-rate.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CZ-NIC/shotgun/HEAD/docs/img/response-rate.png -------------------------------------------------------------------------------- /docs/index.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CZ-NIC/shotgun/HEAD/docs/index.md -------------------------------------------------------------------------------- /docs/installation.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CZ-NIC/shotgun/HEAD/docs/installation.md -------------------------------------------------------------------------------- /docs/key-concepts.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CZ-NIC/shotgun/HEAD/docs/key-concepts.md -------------------------------------------------------------------------------- /docs/latency-histogram.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CZ-NIC/shotgun/HEAD/docs/latency-histogram.md -------------------------------------------------------------------------------- /docs/performance-tuning.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CZ-NIC/shotgun/HEAD/docs/performance-tuning.md -------------------------------------------------------------------------------- /docs/raw-output.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CZ-NIC/shotgun/HEAD/docs/raw-output.md -------------------------------------------------------------------------------- /docs/replaying-traffic.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CZ-NIC/shotgun/HEAD/docs/replaying-traffic.md -------------------------------------------------------------------------------- /docs/response-rate-chart.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CZ-NIC/shotgun/HEAD/docs/response-rate-chart.md -------------------------------------------------------------------------------- /docs/showcase/connections.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CZ-NIC/shotgun/HEAD/docs/showcase/connections.png -------------------------------------------------------------------------------- /docs/showcase/handshakes.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CZ-NIC/shotgun/HEAD/docs/showcase/handshakes.png -------------------------------------------------------------------------------- /docs/troubleshooting.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CZ-NIC/shotgun/HEAD/docs/troubleshooting.md -------------------------------------------------------------------------------- /mkdocs.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CZ-NIC/shotgun/HEAD/mkdocs.yml -------------------------------------------------------------------------------- /pcap/count-packets-over-time.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CZ-NIC/shotgun/HEAD/pcap/count-packets-over-time.lua -------------------------------------------------------------------------------- /pcap/count-packets-per-ip.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CZ-NIC/shotgun/HEAD/pcap/count-packets-per-ip.lua -------------------------------------------------------------------------------- /pcap/cut-pcap.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CZ-NIC/shotgun/HEAD/pcap/cut-pcap.lua -------------------------------------------------------------------------------- /pcap/extract-clients.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CZ-NIC/shotgun/HEAD/pcap/extract-clients.lua -------------------------------------------------------------------------------- /pcap/filter-dnsq.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CZ-NIC/shotgun/HEAD/pcap/filter-dnsq.lua -------------------------------------------------------------------------------- /pcap/generate-const-qps.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CZ-NIC/shotgun/HEAD/pcap/generate-const-qps.lua -------------------------------------------------------------------------------- /pcap/limit-clients.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CZ-NIC/shotgun/HEAD/pcap/limit-clients.lua -------------------------------------------------------------------------------- /pcap/merge-chunks.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CZ-NIC/shotgun/HEAD/pcap/merge-chunks.py -------------------------------------------------------------------------------- /pcap/split-clients.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CZ-NIC/shotgun/HEAD/pcap/split-clients.lua -------------------------------------------------------------------------------- /pylintrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CZ-NIC/shotgun/HEAD/pylintrc -------------------------------------------------------------------------------- /replay.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CZ-NIC/shotgun/HEAD/replay.py -------------------------------------------------------------------------------- /replay/dnssim/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CZ-NIC/shotgun/HEAD/replay/dnssim/.gitignore -------------------------------------------------------------------------------- /replay/dnssim/CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CZ-NIC/shotgun/HEAD/replay/dnssim/CHANGELOG.md -------------------------------------------------------------------------------- /replay/dnssim/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CZ-NIC/shotgun/HEAD/replay/dnssim/CMakeLists.txt -------------------------------------------------------------------------------- /replay/dnssim/README.md: -------------------------------------------------------------------------------- 1 | # shotgun.output.dnssim 2 | -------------------------------------------------------------------------------- /replay/dnssim/src/output/dnssim.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CZ-NIC/shotgun/HEAD/replay/dnssim/src/output/dnssim.c -------------------------------------------------------------------------------- /replay/dnssim/src/output/dnssim.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CZ-NIC/shotgun/HEAD/replay/dnssim/src/output/dnssim.h -------------------------------------------------------------------------------- /replay/dnssim/src/output/dnssim.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CZ-NIC/shotgun/HEAD/replay/dnssim/src/output/dnssim.lua -------------------------------------------------------------------------------- /replay/dnssim/src/output/dnssim/common.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CZ-NIC/shotgun/HEAD/replay/dnssim/src/output/dnssim/common.c -------------------------------------------------------------------------------- /replay/dnssim/src/output/dnssim/connection.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CZ-NIC/shotgun/HEAD/replay/dnssim/src/output/dnssim/connection.c -------------------------------------------------------------------------------- /replay/dnssim/src/output/dnssim/https2.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CZ-NIC/shotgun/HEAD/replay/dnssim/src/output/dnssim/https2.c -------------------------------------------------------------------------------- /replay/dnssim/src/output/dnssim/internal.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CZ-NIC/shotgun/HEAD/replay/dnssim/src/output/dnssim/internal.h -------------------------------------------------------------------------------- /replay/dnssim/src/output/dnssim/ll.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CZ-NIC/shotgun/HEAD/replay/dnssim/src/output/dnssim/ll.h -------------------------------------------------------------------------------- /replay/dnssim/src/output/dnssim/quic.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CZ-NIC/shotgun/HEAD/replay/dnssim/src/output/dnssim/quic.c -------------------------------------------------------------------------------- /replay/dnssim/src/output/dnssim/tcp.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CZ-NIC/shotgun/HEAD/replay/dnssim/src/output/dnssim/tcp.c -------------------------------------------------------------------------------- /replay/dnssim/src/output/dnssim/tls.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CZ-NIC/shotgun/HEAD/replay/dnssim/src/output/dnssim/tls.c -------------------------------------------------------------------------------- /replay/dnssim/src/output/dnssim/udp.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CZ-NIC/shotgun/HEAD/replay/dnssim/src/output/dnssim/udp.c -------------------------------------------------------------------------------- /replay/luaconfig.lua.j2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CZ-NIC/shotgun/HEAD/replay/luaconfig.lua.j2 -------------------------------------------------------------------------------- /replay/shotgun.lua: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CZ-NIC/shotgun/HEAD/replay/shotgun.lua -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- 1 | jinja2 2 | toml 3 | matplotlib 4 | -------------------------------------------------------------------------------- /tools/merge-data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CZ-NIC/shotgun/HEAD/tools/merge-data.py -------------------------------------------------------------------------------- /tools/mplhlpr/README: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CZ-NIC/shotgun/HEAD/tools/mplhlpr/README -------------------------------------------------------------------------------- /tools/mplhlpr/presentation.mplstyle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CZ-NIC/shotgun/HEAD/tools/mplhlpr/presentation.mplstyle -------------------------------------------------------------------------------- /tools/mplhlpr/shotgun.mplstyle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CZ-NIC/shotgun/HEAD/tools/mplhlpr/shotgun.mplstyle -------------------------------------------------------------------------------- /tools/mplhlpr/styles.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CZ-NIC/shotgun/HEAD/tools/mplhlpr/styles.py -------------------------------------------------------------------------------- /tools/plot-client-distribution.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CZ-NIC/shotgun/HEAD/tools/plot-client-distribution.py -------------------------------------------------------------------------------- /tools/plot-connections.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CZ-NIC/shotgun/HEAD/tools/plot-connections.py -------------------------------------------------------------------------------- /tools/plot-latency.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CZ-NIC/shotgun/HEAD/tools/plot-latency.py -------------------------------------------------------------------------------- /tools/plot-packet-rate.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CZ-NIC/shotgun/HEAD/tools/plot-packet-rate.py -------------------------------------------------------------------------------- /tools/plot-response-rate.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/CZ-NIC/shotgun/HEAD/tools/plot-response-rate.py --------------------------------------------------------------------------------