Latest release · v0.5.0

Deep packet
intelligence for
Linux engineers.

pktana decodes every frame — Ethernet to TLS to gRPC — in a single pass. Live DPI, JA3 fingerprinting, GeoIP, risk scoring, and a Wireshark-style TUI. One static Rust binary. Zero external dependencies.

40+protocols decoded
0–100risk score per packet
1static binary
Zeroexternal dependencies
pktana — Live Capture
$ sudo pktana capture eth0 -n 5 --format pretty Listening on eth0 · BPF: all · snaplen 65535   00:00.142 192.168.1.42:528418.8.8.8:443 TLSv1.3 ClientHello SNI=accounts.google.com JA3=cd08e31494f9531f560d64c695473da9 risk=0 ALPN=h2,http/1.1 len=571   00:00.318 10.0.0.5:5310.0.0.1:53 DNS Query A api.stripe.com txid=0x4a2f entropy=3.14 risk=0   00:00.521 172.16.0.9:4501293.184.216.34:80 HTTP/1.1 GET /index.html Host=example.com UA=curl/8.1 risk=0   00:00.883 192.168.1.101:543210.0.0.50:5432 PostgreSQL StartupMessage user=admin db=production risk=35 [unencrypted database] len=44   ── 5 packets captured 3.2 KB total 4 flows ──
Replaces
tcpdump ethtool ss / netstat ip route ip link iftop geoiplookup Wireshark TUI
Product Story

A cleaner way to inspect
Linux network traffic.

pktana bridges the gap between low-level packet debugging and day-to-day operational visibility — one focused workspace instead of a fragmented collection of tools.

The project is built in Rust because packet tooling needs both performance and safety. Packet analyzers operate on untrusted inputs, and memory-safe parsing matters when the tool is expected to grow into a serious production-grade platform.

Today pktana provides a strong foundation: raw frame decoding, L2–L7 protocol parsing, TCP/TLS/DNS/DHCP flow analysis, JA3 fingerprinting, GeoIP, risk scoring, a full-screen TUI, a web UI, batch pcap modes, and optional live capture through feature-gated pcap support.

The long-term vision: a Linux-native packet analysis platform with deeper L2–L7 coverage, native eBPF capture paths, stream reassembly, indexed flow storage, and a REST API for observability pipeline integration.

40+protocols decoded L2–L7
1 binsingle static binary, zero deps
Rustmemory-safe, systems-grade
Linux‑firstprocfs · sysfs · libpcap
Download · Install

Get pktana on your Linux server.

Native packages for RHEL/Rocky/Alma 7 & 9, Ubuntu 22.04/24.04, and Debian 12. Published on GitHub Releases and crates.io.

🟥
RHEL / Rocky / Alma 9
el9 · x86_64
pktana-0.5.0-1.el9.x86_64.rpm
🟥
RHEL / CentOS 7
el7 · x86_64
pktana-0.5.0-1.el7.x86_64.rpm
🟧
Ubuntu 22.04
Jammy · amd64
pktana_0.5.0_amd64_ubuntu22.04.deb
🟧
Ubuntu 24.04
Noble · amd64
pktana_0.5.0_amd64_ubuntu24.04.deb
🟪
Debian 12
Bookworm · amd64
pktana_0.5.0_amd64_debian12.deb
🦀
Build from source
Any Linux · Cargo
cargo install pktana-cli --features pcap,tui
Use as a Rust library
# Add to Cargo.toml
cargo add pktana-core # core DPI engine
cargo add pktana-cli # full CLI binary
Core Features

Production-grade packet analysis, today.

pktana v0.5.0 is a fully capable packet analysis platform. Core and CLI split across two Rust crates, with deep protocol coverage and a single static binary.

Full L2–L7 DPI

Ethernet, ARP, IPv4, IPv6, TCP, UDP, ICMP, TLS, HTTP, DNS, QUIC, HTTP/2, gRPC, WebSocket, SSH, SIP, NTP, BGP — decoded in one pass with no external parsers.

TLS JA3 Fingerprinting

Full ClientHello decode: cipher suites, extensions, elliptic curves, ALPN. JA3 hash generated for every TLS handshake. GREASE values filtered per RFC 8701.

Tunnel Re-inspection

VXLAN, GRE, and Geneve inner frames are fully re-decoded including inner IPs, ports, and application protocol — not just outer headers.

Risk Scoring

0–100 composite risk score per packet. Detects deprecated TLS, NTP amplification, high-entropy DNS (DGA), SYN scans, NULL scans, and 12+ anomaly types.

PCAP File Support

Record live traffic, parse any .pcap file with full DPI, or browse it interactively in the TUI. No root required for offline analysis.

Wireshark-style TUI

Full-screen terminal dashboard with live packet table, protocol breakdown, top-talker GeoIP, flow analysis, hex dump, and offline pcap browsing.

Web UI & REST API

Pure-Rust HTTP server with SSE live streaming, multi-session capture, connection table, routing, NIC stats, GeoIP lookup, and a built-in terminal.

XDP / DPDK Detection

Probes NIC dataplane: XDP programs, AF_XDP zero-copy sockets, DPDK userspace bindings, SR-IOV PF/VF roles, hardware offload status.

GeoIP — Offline

Country and continent lookup for every remote IP. Embedded binary database — no network call, no API key, no external file required.

How It Works

From raw bytes to deep packet intelligence.

pktana ingests traffic from the wire or a pcap file, decodes every frame through a full L2–L7 pipeline, enriches with DPI, risk scoring, GeoIP, and tunnel re-inspection.

What pktana does today

  • Live capture on any interface with BPF filter support
  • Full L2–L7 decode: Ethernet, ARP, IPv4/v6, TCP, UDP, ICMP, TLS, HTTP, DNS, QUIC, HTTP/2, gRPC, WebSocket, SSH, SIP, NTP, BGP
  • JA3 TLS fingerprinting, ALPN extraction, cipher suite listing
  • Tunnel inner-frame re-inspection: VXLAN, GRE, Geneve
  • Risk scoring (0–100) and app category classification per packet
  • Record live traffic to .pcap, analyse offline, browse in TUI
  • GeoIP country lookup — offline, no API key needed
  • XDP / DPDK / SR-IOV / AF_XDP dataplane detection
  • Replaces: tcpdump, ethtool, ss, netstat, ip route, ip link, iftop, geoiplookup

What's coming next

  • Stream reassembly and TCP session state tracking
  • eBPF / XDP native capture path (no libpcap dependency)
  • Indexed flow store with time-range queries
  • REST API for observability pipeline integration
  • PCAPNG metadata, comments, and interface blocks
  • Plugin architecture for custom protocol dissectors
  • Alert rules engine with threshold-based triggers
Documentation

Everything you need to know.

Complete reference for every CLI command, web API endpoint, DPI engine field, flow analyzer, protocol coverage, and the Rust library API.

Roadmap

Strong foundation. Clear path forward.

v0.5.0 delivers full L2–L7 DPI, JA3, tunnel re-inspection, risk scoring, TUI, and pcap support. Here's what comes next.

🔄
Up next

Stream Reassembly

TCP session tracking, stream reassembly, and per-stream application-layer decode for HTTP, TLS, and connection-oriented protocols.

Planned

eBPF / XDP Native Capture

Native Linux capture path using eBPF and XDP — no libpcap dependency, lower overhead, driver-level attachment before sk_buff allocation.

🗄️
Planned

Indexed Flow Store

Persistent flow storage with time-range queries so operators can inspect traffic from any point in time without replaying pcap files.

🔗
Planned

Observability Integration

REST API and exporters for integration with SIEM pipelines, Prometheus metrics, and existing infrastructure observability stacks.

Reviews

What engineers say about pktana.

Share your experience. Reviews are stored locally and published immediately.

★★★★★

pktana speaks directly to engineers who want clean Linux packet visibility without the usual fragmented workflow across too many tools.

Early project impression
★★★★★

The product story is strong because it combines packet analysis, flow summaries, Linux-first deployment, and a serious roadmap for deeper protocol support.

Open-source viewer feedback
★★★★★

The architecture feels intentional. A reusable core parser plus a clean CLI makes pktana look like a strong foundation for a bigger observability platform.

Systems engineering perspective

Post your review

Share your experience with pktana for the community.

Rating
✓ Review published successfully.
Contact

Get in touch.

Questions, collaboration, consulting, or feedback on pktana — reach out directly.