Skip to content

Add Dockerfile for containerized tshark#1

Draft
barnabasbusa wants to merge 5 commits intoethp2p:mainfrom
barnabasbusa:add-dockerfile
Draft

Add Dockerfile for containerized tshark#1
barnabasbusa wants to merge 5 commits intoethp2p:mainfrom
barnabasbusa:add-dockerfile

Conversation

@barnabasbusa
Copy link
Copy Markdown

Summary

  • Adds a Dockerfile based on debian:bookworm-slim with tshark and all Lua dissector plugins pre-installed
  • Plugins are copied to the Wireshark plugin directory so they auto-load without -X lua_script: flags
  • Includes .dockerignore to keep the image lean (excludes test-data, docs, etc.)

Usage

docker build -t wireshark-dissectors .
docker run --rm -v /path/to/captures:/data wireshark-dissectors \
  -r /data/capture.pcap \
  -o tls.keylog_file:/data/keys.log \
  -d udp.port==13001,quic

Test plan

  • Image builds successfully
  • Plugins auto-load (LIBP2P-ID, GOSSIPSUB, ETH-CONSENSUS protocols decoded)
  • Verified against test-data/test.pcap

🤖 Generated with Claude Code

barnabasbusa and others added 3 commits March 24, 2026 11:59
Packages tshark with all Lua dissector plugins pre-installed in the
Wireshark plugin directory so they auto-load without -X flags.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
The global Lua plugins path differs per architecture
(x86_64-linux-gnu vs aarch64-linux-gnu). Use the personal plugin
path (~/.local/lib/wireshark/plugins) which works on all architectures.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Switches from debian:bookworm-slim + tshark to linuxserver/wireshark
which provides the full Wireshark GUI accessible via web browser
(KasmVNC on port 3000). Plugins are installed to the personal plugin
directory at /config/.local/lib/wireshark/plugins/.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@barnabasbusa barnabasbusa marked this pull request as draft March 24, 2026 11:26
barnabasbusa and others added 2 commits March 24, 2026 12:36
Replace linuxserver/wireshark with a custom image using Xvfb + x11vnc +
noVNC + openbox to serve full Wireshark GUI via web browser on port 3000.
This avoids the s6-overlay PID 1 requirement that is incompatible with
container orchestrators like Kurtosis.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Redirect index.html to vnc_lite.html with autoconnect=true so users
see Wireshark immediately without clicking "Connect".

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant