Skip to content

Repository files navigation

# Protocol Statistics Analyzer — Offline Network Security Tool

[![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](LICENSE)
[![Python 3.12+](https://img.shields.io/badge/python-3.12+-blue.svg)](https://www.python.org/downloads/)
[![Offline](https://img.shields.io/badge/mode-offline%20first-important.svg)](#)
[![secintel](https://img.shields.io/badge/schema-secintel%20v1-purple.svg)](https://github.com/reshot2005/secintel-core)
[![GitHub](https://img.shields.io/badge/github-reshot2005%2Fprotocol-statistics-analyzer-black.svg)](https://github.com/reshot2005/protocol-statistics-analyzer)

> **Protocol distribution, packet-size histograms, and error-rate analytics from captures — deep network traffic statistics for security engineers.**

**Category:** Network Security  
**Collection phase tool:** 8/12  
**Schema:** [secintel-core](https://github.com/reshot2005/secintel-core) v1  
**Repository:** https://github.com/reshot2005/protocol-statistics-analyzer  
**Author account:** [reshot2005](https://github.com/reshot2005)

## Why Protocol Statistics Analyzer ranks for security search

Protocol Statistics Analyzer is an **offline-first**, research-grade **network security** utility designed for practitioners who need reproducible analysis without uploading sensitive artifacts to SaaS scanners. It emits structured findings through the shared **secintel** evidence taxonomy (OBSERVED / DERIVED / INFERRED / CORRELATED / VERIFIED) so results are auditable, exportable, and CI-friendly.

### Primary SEO keywords
`protocol analysis, traffic statistics, packet size histogram, network metrics, pcap stats`

### Topics
`network-security` `cybersecurity` `nmap` `pcap` `threat-hunting` `infosec` `security-tools` `python` `offline-security` `blue-team` `network-monitoring` `telemetry`

## What problem does this solve?

Produce protocol distributions, size histograms, and error-rate views that help characterize traffic health and odd protocol dominance.

Security-report oriented vs generic traffic counters.

## Key features

- Protocol distribution charts/stats
  • Packet size histograms

  • Error rate indicators

  • Capture-derived metrics

  • Exportable reports

    Ideal use cases

    • Characterize capture quality
  • Find unusual protocol dominance

  • Support capacity/security reviews

    Who should use this

    • Security engineers & AppSec / NetSec specialists
    • SOC / DFIR / malware analysts (as applicable)
    • Bug bounty hunters and penetration testers
    • DevSecOps teams needing offline/air-gapped tooling
    • Students and researchers learning network security

    Quick start

    git clone https://github.com/reshot2005/protocol-statistics-analyzer.git
    cd protocol-statistics-analyzer
    python3.12 -m venv .venv
    source .venv/bin/activate  # Windows: .venv\Scripts\Activate.ps1
    pip install -e ../secintel-core  # or: pip install -e git+https://github.com/reshot2005/secintel-core.git#egg=secintel-core
    pip install -e ".[dev]"
    
    protocol-statistics-analyzer analyze sample_data --json
    protocol-statistics-analyzer analyze sample_data --html report.html
    protocol-statistics-analyzer version

    Exports for interoperability

    protocol-statistics-analyzer analyze sample_data \
      --json --html report.html --csv findings.csv --sarif results.sarif

    Evidence quality & reproducibility

    • Findings follow secintel classification rules (confidence only where schema allows).
    • Provenance includes tool version, config hash, and input integrity metadata.
    • Set SECINTEL_SOURCE_DATE_EPOCH for deterministic timestamps in CI.
    export SECINTEL_SOURCE_DATE_EPOCH=1704067200
    protocol-statistics-analyzer analyze sample_data --json

    Development

    ruff check src tests
    mypy src
    pytest

    Related tools in this collection

    Browse more offline security research tools by reshot2005: network security, web AppSec, DevSecOps, digital forensics, and static malware analysis — each in its own public repository with the same secintel reporting contract.

    License

    MIT — free for research, education, and commercial use with attribution preserved.


    Discoverability blurb (search engines & GitHub)

    Protocol Statistics Analyzer (protocol-statistics-analyzer) — Protocol distribution, packet-size histograms, and error-rate analytics from captures — deep network traffic statistics for security engineers. Search terms: protocol analysis, traffic statistics, packet size histogram, network metrics, pcap stats. Open-source, MIT-licensed, Python 3.12, offline cybersecurity tool by reshot2005.

About

Protocol distribution, packet-size histograms, and error-rate analytics from captures — deep network traffic statistics for security engineers.

Topics

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages