IoT DDoS detection and simulation framework.
Project description
NS-DDoS
NS-DDoS is Linux-first IoT DDoS lab and runtime verification framework. Standalone repo root is deployment root. No sibling floodlight, ns-ddos, or mininet checkout required.
Quickstart
git clone https://github.com/ns7523/nsddos.git
cd nsddos
python -m venv .venv
source .venv/bin/activate
pip install -e .[dev]
cp .env.example .env
docker-compose up --build -d
python -m nsddos health
python -m nsddos verify
docker compose up --build -d works too. Canonical deploy entrypoint is repo-root docker-compose.yml.
Bundled Runtime Assets
Repo carries runtime payload required for clean-clone deployment:
external/floodlight/floodlight.jarexternal/floodlight/logback.xmlexternal/floodlight/floodlightdefault.propertiesexternal/sflowrt/start.shexternal/sflowrt/lib/external/sflowrt/app/external/sflowrt/resources/external/sflowrt/store/
Runtime Surfaces
Primary commands:
nsddos health
nsddos verify
nsddos lab start
nsddos lab stop
nsddos lab logs
nsddos api routes
nsddos api explain
nsddos api start
nsddos runtime install-guide
nsddos runtime validate-bootstrap
nsddos runtime export-environment
Runtime services:
labhostfloodlightsflowrtdetector
Runtime state persists under .nsddos-home/ by default, or NSDDOS_HOME when set.
Requirements
- Python 3.11+
- Docker Engine
- Docker Compose v1 (
docker-compose) or v2 (docker compose)
Environment Overrides
NSDDOS_HOMENSDDOS_CONFIGNSDDOS_COMPOSE_FILENSDDOS_MININET_BIN
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file nsddos-0.9.0b2.tar.gz.
File metadata
- Download URL: nsddos-0.9.0b2.tar.gz
- Upload date:
- Size: 593.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7644abb9c9668cf52e5bdf417d1c18a257c04b0d81700d8a4364246a96b503e6
|
|
| MD5 |
e1c2865f5d20a02b24b66952af5b3461
|
|
| BLAKE2b-256 |
5814cd27752b0092b400d887b00781285fe426b69eab04ac007d98262d3d4033
|
Provenance
The following attestation bundles were made for nsddos-0.9.0b2.tar.gz:
Publisher:
publish.yml on ns7523/nsddos
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
nsddos-0.9.0b2.tar.gz -
Subject digest:
7644abb9c9668cf52e5bdf417d1c18a257c04b0d81700d8a4364246a96b503e6 - Sigstore transparency entry: 1934468233
- Sigstore integration time:
-
Permalink:
ns7523/nsddos@83da704ed967c12952d1403facdcebf8c6e0b08d -
Branch / Tag:
refs/tags/v0.9.0b2 - Owner: https://github.com/ns7523
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@83da704ed967c12952d1403facdcebf8c6e0b08d -
Trigger Event:
push
-
Statement type:
File details
Details for the file nsddos-0.9.0b2-py3-none-any.whl.
File metadata
- Download URL: nsddos-0.9.0b2-py3-none-any.whl
- Upload date:
- Size: 698.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a2aee055bb8e6b5d78ebae057160b2ea6110f64d1cffc822607a2e4914402773
|
|
| MD5 |
d782e885cb71c82f39af14f341e69d5a
|
|
| BLAKE2b-256 |
10e5914d2a4d9ca5fcf62c47249849e818f3672422c66263f620a1e8054d0442
|
Provenance
The following attestation bundles were made for nsddos-0.9.0b2-py3-none-any.whl:
Publisher:
publish.yml on ns7523/nsddos
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
nsddos-0.9.0b2-py3-none-any.whl -
Subject digest:
a2aee055bb8e6b5d78ebae057160b2ea6110f64d1cffc822607a2e4914402773 - Sigstore transparency entry: 1934468258
- Sigstore integration time:
-
Permalink:
ns7523/nsddos@83da704ed967c12952d1403facdcebf8c6e0b08d -
Branch / Tag:
refs/tags/v0.9.0b2 - Owner: https://github.com/ns7523
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@83da704ed967c12952d1403facdcebf8c6e0b08d -
Trigger Event:
push
-
Statement type: