Skip to content

Security: AMISEF/Dynamic-Bandwidth-QoS-Manager

Security

SECURITY.md

Security Policy

Copyright (c) 2026 AMISEF. All rights reserved.

Supported Versions

Security fixes and advisories apply to the active release branches of Dynamic-Bandwidth-QoS-Manager:

Version Supported Status
0.1.x (main) Yes Active development & security maintenance
< 0.1.0 No Pre-release snapshots

Threat Model & Built-In Security Controls

Because network QoS engines sit on the traffic classification and scheduling path, this project enforces explicit defensive invariants:

  1. DSCP Anti-Spoofing & Behavioral Demotion: Untrusted traffic carrying high-priority DSCP markings (such as EF / 46 or AF41 / 34) is continuously audited against flow-level byte volume, packet size distribution, and sustained bitrate. Bulk elephant flows attempting priority hijacking are automatically demoted and optionally remarked.
  2. Bounded State Tables (DoS / Memory Exhaustion Prevention):
    • Flow tracking tables enforce strict maximum entry capacities with deterministic eviction (max_flows).
    • All CoDel and HTB queues enforce hard packet and byte ceilings (max_queue_packets, max_queue_bytes).
    • Wire-packet parsing validates all header lengths (IHL, total_len, IPv6 payload bounds, TCP data offset) using checked arithmetic with zero unsafe blocks.
  3. Control-Plane Isolation:
    • The embedded telemetry and control API binds to loopback (127.0.0.1) by default.
    • Mutating control endpoints (PUT /api/v1/policy, POST /api/v1/rules) enforce constant-time bearer token verification when api_bearer_token is configured and enforce strict request body size limits.
  4. Memory Safety: Written in 100% safe Rust (#![forbid(unsafe_code)] across core workspace crates).

Reporting a Vulnerability

If you discover a security vulnerability, logic flaw in traffic isolation, parser panic, or denial-of-service vector:

  1. Do not disclose the issue publicly in GitHub Issues or Pull Requests before coordination.
  2. Report privately via:
    • GitHub Security Advisories: Open a private advisory on AMISEF/Dynamic-Bandwidth-QoS-Manager.
    • Direct Email: Send encrypted or detailed findings to amisef.studio@gmail.com with the subject [SECURITY] Dynamic-Bandwidth-QoS-Manager.
  3. Please include:
    • Affected crate, module, or endpoint
    • Steps to reproduce or minimal packet/config payload
    • Potential security or QoS availability impact
    • Suggested remediation (if available)

Response Timeline

  • Acknowledgment: Within 48 hours of receipt
  • Triage & Impact Assessment: Within 5 business days
  • Patch & Coordinated Disclosure: Within 14 days for critical/high issues

Maintained exclusively by AMISEF.

There aren't any published security advisories