Skip to content

Repository files navigation

DECNET — Deception Network

A honeypot deception network framework.

Spin up a fleet of fake machines — deckies — that look like real, heterogeneous LAN hosts to anyone scanning the network. Each decky gets its own MAC, IP, hostname, services, OS fingerprint, and log pipeline. Attackers probe; DECNET traps every interaction; a full intelligence stack profiles, clusters, and attributes their behaviour.


PyPI versionPythonLicense: AGPL-3.0RuffPlatform

Quick Start · Architecture · REST API · MazeNET · Support

ko-fi


Table of Contents


How It Works

Attacker scans 192.168.1.110–119
│
▼
┌──────────────────────────────────────────────┐
│ DECNET LAN (MACVLAN) │
│ │
│ decky-01 192.168.1.110 ssh + http │
│ decky-02 192.168.1.111 rdp + smb + mssql │
│ decky-03 192.168.1.112 mqtt + snmp │
│ ... │
└──────────────────────────────────────────────┘
│
▼ RFC 5424 syslog-over-TLS (cross-host) / UNIX socket (local)
┌──────────────────────────────────────────────┐
│ DECNET Master Node │
│ FastAPI REST API · Web Dashboard │
│ Profiler · Clusterer · Correlator │
│ MazeNET · Canary · TTP Engine │
└──────────────────────────────────────────────┘

Each decky is a small cluster of Docker containers sharing one network namespace:

  • Base container — holds the MACVLAN IP, sets TCP/IP stack sysctls for OS fingerprint spoofing, runs sleep infinity.
  • Service containers — one per honeypot service, all sharing the base's network so they appear to come from the same IP.

From the outside a decky looks identical to a real machine: its own MAC address, IP, hostname, and a TCP/IP stack tuned to the OS it impersonates. Internally, every attacker interaction flows through a log collector, the service bus, and into the intelligence pipeline.


Requirements

  • Linux host (bare metal or VM — WSL has MACVLAN limitations)
  • Docker Engine 24+
  • Python 3.11–3.13 (Python 3.14 is not yet supported — see stress test notes)
  • Node.js 18+ (required for canary token JS obfuscation)
  • Root / sudo for network setup (MACVLAN creation, host interface config)
  • NIC in promiscuous mode for MACVLAN (or use --ipvlan on WiFi)

Installation

git clone https://git.resacachile.cl/anti/DECNET
cd DECNET
pip install -e .

With optional tracing (OpenTelemetry):

pip install -e ".[tracing]"

Verify:

decnet --help
decnet services # list all 25 registered honeypot services
decnet archetypes # list machine archetype profiles
decnet distros # list available OS distro profiles

Quick Start

Dry run — generate compose, no containers

decnet deploy --mode unihost --deckies 5 --randomize-services --dry-run

Deploy with random services

sudo decnet deploy --mode unihost --deckies 5 --interface eth0 --randomize-services

Start the API server and web dashboard

Recommended (systemd-managed):

sudo .venv/bin/decnet init # first-time setup: writes systemd units
sudo systemctl start "decnet-*.service"# start all DECNET services

For development / quick runs, start the processes directly in the foreground:

decnet api start # REST API on :8000
decnet web start # Dashboard on :8080

Check status

decnet status

Tear everything down

sudo decnet teardown --all
sudo decnet teardown --id decky-02 # single decky

Architecture

decnet/
├── cli/ # Typer CLI commands (one module per group)
├── web/
│ ├── api.py # FastAPI app factory, lifespan, workers
│ ├── auth.py # JWT + bcrypt authentication
│ ├── router/ # Route modules (attackers, deckies, logs, topology, …)
│ ├── db/
│ │ ├── models/ # SQLModel tables (one file per domain)
│ │ ├── sqlite/ # SQLite backend
│ │ └── mysql/ # MySQL/asyncmy backend
│ ├── ingester.py # Log ingestion worker (bus → DB)
│ └── worker_registry.py
├── bus/ # DECNET ServiceBus (UNIX socket pub/sub)
│ ├── topics.py # Canonical topic hierarchy
│ ├── unix_server.py # Broker process
│ └── unix_client.py
├── collector/ # Local Docker log collector → bus
├── profiler/ # Attacker behavioural profiling
│ ├── behavioral.py # Session fingerprinting
│ ├── fingerprint.py # JA3 / tool signatures
│ ├── classify.py # Attacker classification
│ ├── timing.py # Inter-probe timing analysis
│ ├── phases.py # Kill-chain phase detection
│ └── behave_shell/ # BEHAVE framework adapter
├── clustering/ # UKC attacker clustering
│ └── impl/
├── correlation/ # Identity / campaign formation
│ ├── engine.py # Correlation rule engine
│ ├── attribution/ # Attribution state machine
│ └── graph.py # Attacker relationship graph
├── canary/ # Canary token system
│ ├── planter.py # Token placement
│ ├── cultivator.py # Trigger detection
│ ├── dns_server.py # DNS canary listener
│ └── generators/ # Token type generators
├── ttp/ # TTP tagging & threat intelligence
│ ├── attack_stix.py # MITRE ATT&CK STIX 2.1 parser
│ ├── stix_export.py # STIX bundle export
│ ├── misp_export.py # MISP event export
│ └── store/ # Inotify-backed rule store
├── agent/ # Remote DECNET agent (swarm node)
│ ├── server.py # Agent FastAPI app
│ ├── heartbeat.py # Master heartbeat
│ └── topology_ops.py # Agent-side topology operations
├── engine/ # Decky container lifecycle engine
│ ├── deployer.py # Docker bring-up / teardown
│ └── reaper.py # Stranded container cleanup
├── fleet/ # Fleet reconciler (desired vs actual state)
├── lifecycle/ # Decky lifecycle state machine
├── orchestrator/ # Synthetic traffic / file / email injection
├── mutator/ # Behavioural mutation engine
├── tarpit/ # Connection tarpitting
├── sniffer/ # Passive packet capture
├── geoip/ # GeoIP + RIR lookup
├── asn/ # ASN lookup (ip-to-asn)
├── intel/ # Threat intelligence feed integration
├── artifacts/ # Captured file artifact storage
├── net/ # Subnet allocation helpers
├── archetypes.py # Machine archetype profiles
├── distros.py # OS distro profiles, hostname generation
├── os_fingerprint.py # TCP/IP sysctl profiles per OS family
├── composer.py # Generates docker-compose.yml
├── config.py # Pydantic config models + state persistence
├── config_ini.py / ini_loader.py
├── telemetry.py # OpenTelemetry tracing (optional)
└── env.py # Environment variable declarations

Container model

decky-01 (base) ← MACVLAN IP owner; sleep infinity; sysctls applied here
├─ decky-01-ssh ← network_mode: service:decky-01 (shares IP + MAC)
├─ decky-01-http ← network_mode: service:decky-01
└─ decky-01-smb ← network_mode: service:decky-01

CLI Reference

The full command tree has grown significantly. Commands are gated by deployment mode — master-only commands are hidden when DECNET_MODE=agent.

Decky deployment

CommandDescription
decnet deployDeploy deckies (unihost or swarm mode)
decnet teardownStop and remove deckies
decnet statusPrint fleet state table

decnet deploy flags

FlagDefaultDescription
--modeunihostunihost or swarm
--deckies / -nNumber of deckies
--interface / -iautoHost NIC for MACVLAN
--subnetautoLAN CIDR
--ip-startautoFirst decky IP
--servicesComma-separated service slugs
--randomize-servicesfalseRandom services per decky
--distroauto-cycledDistro slugs
--randomize-distrosfalseRandom distro per decky
--archetype / -aMachine archetype slug
--log-targetip:port RFC 5424 syslog target
--log-fileLog path inside containers
--ipvlanfalseIPvlan L2 instead of MACVLAN
--dry-runfalseGenerate compose without starting
--no-cachefalseForce rebuild all images
--config / -cINI config file path

Utilities

CommandDescription
decnet servicesList all 25 registered honeypot service plugins
decnet distrosList OS distro profiles
decnet archetypesList machine archetype profiles

REST API & Web Dashboard

Start

Recommended (systemd-managed):

cp .env.example .env.local # edit JWT secret, ports, DB backend
sudo .venv/bin/decnet init # writes systemd units
sudo systemctl start "decnet-*.service"# starts API, workers, bus

For development / quick runs, start the processes directly in the foreground:

decnet api start # :8000
decnet web start # :8080

Authentication

All API endpoints (except POST /api/v1/auth/login) require a JWT bearer token. The health endpoint returns 401 without a token; liveness probes should accept 401 as healthy.

curl -X POST http://localhost:8000/api/v1/auth/login \
-H 'Content-Type: application/json' \
-d '{"username":"admin","password":"admin"}'

Key API resource groups

PrefixDescription
/api/v1/auth/Login, change password, user management
/api/v1/attackers/Attacker profiles, events, transcripts, exports
/api/v1/identities/Clustered attacker identities
/api/v1/campaigns/Attack campaigns
/api/v1/deckies/Fleet state, deploy, lifecycle
/api/v1/logs/Ingested log events, histogram
/api/v1/topology/MazeNET topology CRUD and deployment
/api/v1/canary/Canary token management
/api/v1/bounty/Attacker reward/score board
/api/v1/config/Runtime configuration
/api/v1/health/API and worker health
/api/v1/swarm/Swarm host management
/api/v1/webhooks/Webhook management
/api/v1/streamSSE live event stream

Database backends

BackendDriverUse case
SQLiteaiosqliteSingle-host, dev, low-traffic
MySQLasyncmyMulti-host swarm, production

Set DECNET_DB_BACKEND=mysql and configure DECNET_DB_* env vars.


Swarm Mode

DECNET supports multi-host deployments. One host runs as master (API + intelligence stack); others run as agents (decky engine only).

Swarm management is handled through the REST API (/api/v1/swarm/). On each agent host, initialise and start the agent service:

# On agent host
sudo .venv/bin/decnet init
sudo systemctl start decnet-agent.service

Agents authenticate to the master with per-host mTLS client certificates. The master verifies each agent's certificate fingerprint against SwarmHost.client_cert_fingerprint — CA-issued but not fingerprint-pinned is rejected.

Package updates are distributed to agents via the REST API (/api/v1/swarm/updater/).


Agent Mode

When a host runs as an agent (DECNET_MODE=agent), the master-only commands and the full REST API are disabled. The agent exposes a minimal internal API for the master to drive topology operations, heartbeat, and log forwarding.

DECNET_MODE=agent sudo .venv/bin/decnet init
sudo systemctl start decnet-agent.service

Cross-host log forwarding uses RFC 5425 syslog-over-TLS on port 6514 with mutual TLS. Plaintext syslog is only permitted on loopback.


Service Bus

All internal events flow through the DECNET ServiceBus — a UNIX socket broker with NATS-style wildcard subscriptions.

topology.{id}.mutation.{state}
decky.{id}.state
attacker.observed
attacker.scored
attacker.session.started / ended
attacker.observation.{primitive}
identity.formed / merged / unmerged
campaign.formed / merged
credential.captured / reuse.detected
canary.{token_id}.triggered / placed / revoked
ttp.tagged / ttp.rule.fired.{technique_id}
orchestrator.traffic.{decky_id}
system.{worker}.health

Workers subscribe to topics and react in real time. The profiler, clusterer, correlator, canary cultivator, and TTP engine are all bus consumers.


Attacker Intelligence

Profiler

The attacker profiler runs as a background worker (or embedded in the API process via DECNET_EMBED_PROFILER=true). It consumes attacker.observed bus events and enriches each attacker record with:

  • Behavioural fingerprinting — tool signatures, JA3 hashes, keystroke dynamics
  • Kill-chain phase detection — reconnaissance, exploitation, lateral movement, exfiltration
  • Inter-probe timing analysis — human vs. automated, scan speed estimation
  • BEHAVE primitives — structured observation envelopes from the BEHAVE framework

Clustering (UKC)

The UKC (Unified Knowledge Clustering) engine groups attacker sessions into identities based on behavioural similarity. It publishes identity.formed / identity.merged events to the bus.

Correlation & Attribution

The correlation engine tracks relationships across identities and forms campaigns from groups of related attacker activity. Attribution state is tracked per identity primitive, with identity_uuid as the canonical primary key.

GeoIP & ASN

All inbound attacker IPs are enriched with:

  • Country, city, organisation (MaxMind-style database)
  • ASN / network block (ip-to-asn dataset bundled under decnet/asn/iptoasn/)
  • RIR allocation data

Credentials

Captured credentials from SSH, SMB, RDP, and web honeypots are deduplicated and stored. Credential reuse across sessions triggers credential.reuse.detected bus events and is surfaced in the dashboard.


MazeNET Topology

MazeNET is DECNET's visual network-of-networks canvas. It lets you design multi-subnet deception environments, deploy them as live decky fleets, and observe attacker movement across segments.

Topologies are managed through the REST API (/api/v1/topology/) and the web dashboard. Topologies are designed in the web dashboard with a drag-and-drop canvas. Each node is either a decky (managed honeypot) or an observed entity (read-only attacker-pool node). Canvas positions persist per topology in the dashboard.

Topology mutations are async — the API returns immediately and the deployment status is polled via GET /api/v1/topology/{id}/mutations/latest or streamed via SSE.


Canary Tokens

Canary tokens are deception artefacts planted inside decky filesystems, emails, documents, and DNS responses. When triggered, they fire canary.{token_id}.triggered bus events and optionally call configured webhooks.

Canary tokens are managed through the REST API (/api/v1/canary/) and the web dashboard.

Token types include: URL, DNS, document (PDF), image, email link. After decnet init, install the JS obfuscation toolchain once:

decnet canary-install-toolchain

TTP Tagging & Export

DECNET maps observed attacker behaviours to MITRE ATT&CK techniques using an inotify-backed rule store. Matched techniques are published as ttp.tagged bus events.

TTP tagging and exports are driven through the REST API (/api/v1/ttp/) and the web dashboard. Exports produce standard STIX 2.1 bundles and MISP events. DECNET uses the official MITRE ATT&CK STIX enterprise bundle and the CIRCL misp-stix converter. STIX custom extensions follow inter-DECNET round-trip semantics first; MISP/OpenCTI compatibility is secondary.


Archetypes

Archetypes are pre-packaged machine identities. One slug sets services, preferred distros, and OS fingerprint all at once.

SlugServicesOS FingerprintDescription
deaddecksshlinuxInitial machine to be exploited. Real SSH container.
windows-workstationsmb, rdpwindowsCorporate Windows desktop
windows-serversmb, rdp, ldapwindowsWindows domain member
domain-controllerldap, smb, rdp, llmnrwindowsActive Directory DC
linux-serverssh, httplinuxGeneral-purpose Linux host
web-serverhttp, ftplinuxPublic-facing web host
database-servermysql, postgres, redislinuxData tier host
mail-serversmtp, pop3, imaplinuxSMTP/IMAP/POP3 relay
file-serversmb, ftp, sshlinuxSMB/FTP/SFTP storage node
printersnmp, ftpembeddedNetwork-attached printer
iot-devicemqtt, snmp, telnetembeddedEmbedded/IoT device
industrial-controlconpot, snmpembeddedICS/SCADA node
voip-serversiplinuxSIP PBX / VoIP gateway
monitoring-nodesnmp, sshlinuxInfrastructure monitoring host
devops-hostdocker_api, ssh, k8slinuxCI/CD / container host
sudo decnet deploy --deckies 4 --archetype windows-workstation

Services

25 honeypot services are registered out of the box.

SlugPortsProtocol / Role
ssh22SSH (Cowrie honeypot)
http80, 443HTTP/HTTPS web server
ftp21FTP file transfer
tftp69TFTP (trivial file transfer)
smb445, 139SMB/CIFS file shares
rdp3389Remote Desktop Protocol
telnet23Telnet remote access
vnc5900VNC remote desktop
smtp25, 587SMTP mail relay
imap143, 993IMAP mail access
pop3110, 995POP3 mail access
ldap389, 636LDAP / Active Directory
llmnr5355, 5353LLMNR / mDNS (Windows name resolution)
mysql3306MySQL database
postgres5432PostgreSQL database
mssql1433Microsoft SQL Server
mongodb27017MongoDB document store
redis6379Redis key-value store
elasticsearch9200Elasticsearch REST API
mqtt1883MQTT IoT broker
snmp161SNMP network management
sip5060SIP VoIP protocol
k8s6443, 8080Kubernetes API server
docker_api2375, 2376Docker Remote API
conpot502, 161, 80ICS/SCADA (Modbus, S7, DNP3)

Per-service persona config

[decky-01.ssh]ssh_version = OpenSSH_8.9p1 Ubuntu-3ubuntu0.6
kernel_version = 5.15.0-91-generic
users = root:toor,admin:admin123
[decky-01.http]server_header = nginx/1.18.0
fake_app = wordpress
[decky-winbox.smb]workgroup = CORP
server_name = WINSRV-DC01
os_version = Windows Server 2016

Accepted keys per service:

ServiceKeys
sshssh_version, kernel_version, users
httpserver_header, response_code, fake_app
smtpsmtp_banner, smtp_mta
smbworkgroup, server_name, os_version
rdpos_version, build
mysqlmysql_version, mysql_banner
redisredis_version
postgrespg_version
mongodbmongo_version
elasticsearches_version, cluster_name
ldapbase_dn, domain
snmpsnmp_community, sys_descr, snmp_archetype
mqttmqtt_version
sipsip_server, sip_domain
k8sk8s_version
docker_apidocker_version
vncvnc_version
mssqlmssql_version

Bring-your-own service (BYOS)

[custom-myapp]binary = my-docker-image:latest
exec = /usr/bin/myapp -p 9999
ports = 9999

OS Fingerprint Spoofing

DECNET injects Linux kernel TCP/IP sysctls into each decky's base container so that active OS detection (e.g. nmap -O) returns the expected OS.

FamilyTTLtcp_syn_retriesNotes
linux646Default
windows1282+ 8 MB recv buffer
bsd646FreeBSD / macOS-style
embedded2553Printers, IoT, PLCs
cisco2552Network devices
[decky-winbox]services = rdp, smb, mssql
nmap_os = windows

Priority: explicit nmap_os= > archetype default > linux.


Distro Profiles

SlugDocker ImageDisplay Name
debiandebian:bookworm-slimDebian 12 (Bookworm)
ubuntu22ubuntu:22.04Ubuntu 22.04 LTS (Jammy)
ubuntu20ubuntu:20.04Ubuntu 20.04 LTS (Focal)
rocky9rockylinux:9-minimalRocky Linux 9
centos7centos:7CentOS 7
alpinealpine:3.19Alpine Linux 3.19
fedorafedora:39Fedora 39
kalikalilinux/kali-rollingKali Linux (Rolling)
archarchlinux:latestArch Linux

When no distro is specified, DECNET cycles through all profiles in round-robin to maximise heterogeneity automatically.


Config File

decnet deploy --config mynet.ini --dry-run
sudo decnet deploy --config mynet.ini --log-target 192.168.1.200:5140
[general]net = 192.168.1.0/24
gw = 192.168.1.1
interface = eth0
log_target = 192.168.1.200:5140
[decky-01]ip = 192.168.1.110
services = ssh, http
nmap_os = linux
[decky-01.ssh]ssh_version = OpenSSH_8.9p1 Ubuntu-3ubuntu0.6
kernel_version = 5.15.0-91-generic
users = root:toor,admin:admin123
[decky-01.http]server_header = nginx/1.18.0
fake_app = wordpress
[corp-workstations]archetype = windows-workstation
amount = 10
[custom-myapp]binary = my-image:latest
exec = /usr/bin/myapp -p 9999
ports = 9999

[general]

KeyRequiredDescription
netYesSubnet CIDR
gwYesGateway IP
interfaceNoHost NIC; auto-detected if absent
log_targetNoip:port for RFC 5424 syslog

Decky sections

KeyRequiredDescription
ipNoStatic IP; auto-allocated if absent
servicesSee noteComma-separated service slugs
archetypeSee noteSets services + nmap_os unless overridden
nmap_osNolinux / windows / bsd / embedded / cisco
amountNoSpawn N deckies from this block; cannot combine with ip=

One of services=, archetype=, or --randomize-services is required per decky.

See test-full.ini for a complete example covering all 25 services.


Environment Configuration

Copy .env.example to .env.local:

# APIDECNET_API_HOST=0.0.0.0
DECNET_API_PORT=8000
DECNET_JWT_SECRET=supersecretkey12345
# Web dashboardDECNET_WEB_HOST=0.0.0.0
DECNET_WEB_PORT=8080
DECNET_ADMIN_USER=admin
DECNET_ADMIN_PASSWORD=admin
# DatabaseDECNET_DB_BACKEND=sqlite # or mysqlDECNET_DB_POOL_SIZE=20
DECNET_DB_MAX_OVERFLOW=40
# Log ingestionDECNET_INGEST_LOG_FILE=/var/log/decnet/decnet.log
# Tracing (optional — requires pip install -e ".[tracing]")DECNET_TRACING=false
# Deployment modeDECNET_MODE=master # or agent

Logging

All attacker interactions are forwarded off the decoy network to an isolated logging sink. Cross-host log forwarding uses RFC 5425 syslog-over-TLS on port 6514 with mTLS. Plaintext syslog is only permitted on loopback.

sudo decnet deploy --config mynet.ini --log-target 192.168.1.200:5140

Or in [general]:

log_target = 192.168.1.200:5140

Log target health check

Before deployment, DECNET probes the log target and warns if unreachable. Deployment continues regardless.


Network Drivers

MACVLAN (default)

Each decky gets a unique MAC address, appearing as a distinct physical machine. Requires promiscuous mode on the host NIC.

DECNET automatically creates a decnet_macvlan0 host-side hairpin interface so status checks and log collection continue to work from the master host.

IPvlan L2 (--ipvlan)

Use when MACVLAN is not available — typically on WiFi where the AP filters non-registered MACs. Shares the host MAC; gives each decky a unique IP only.

sudo decnet deploy --interface wlp6s0 --ipvlan --deckies 3 --randomize-services

Writing a Custom Service Plugin

  1. Create decnet/services/myservice.py:
fromdecnet.services.baseimportBaseServiceclassMyService(BaseService):
name="myservice"ports= [1234]
default_image="my-docker-image:latest"defcompose_fragment(self, decky_name, log_target=None, service_cfg=None):
cfg=service_cfgor {}
return {
"image": self.default_image,
"container_name": f"{decky_name}-myservice",
"restart": "unless-stopped",
"environment": {
"MY_BANNER": cfg.get("banner", "default banner"),
},
}
  1. The registry auto-discovers all BaseService subclasses — no registration step needed.

  2. For services requiring a custom Dockerfile, set default_image = "build" and override dockerfile_context(). The composer injects BASE_IMAGE as a build arg:

ARG BASE_IMAGE=debian:bookworm-slim
FROM ${BASE_IMAGE}

Development & Testing

pip install -e ".[dev]"source .311/bin/activate
pytest tests/ # ~5050 tests, ~2 min

Scoped runs (skip heavy categories):

pytest tests/unit/ # fast unit tests only
pytest tests/api/ # API contract tests

The test suite is split into several categories controlled by markers:

MarkerHow to runDescription
(default)pytest tests/Unit + integration tests
fuzzpytest -m fuzzHypothesis fuzz tests
stresspytest -m stress tests/stress/Locust throughput tests
benchpytest -m benchpytest-benchmark micro-benchmarks
livepytest -m liveLive subprocess service tests
live_dockerDECNET_LIVE_DOCKER=1 pytest -m live_dockerLive Docker tests

Stress Testing

A Locust-based stress test suite lives in tests/stress/.

pytest -m stress tests/stress/ -v -x -n0 -s
STRESS_USERS=2000 STRESS_SPAWN_RATE=200 STRESS_DURATION=120 \
pytest -m stress tests/stress/ -v -x -n0 -s
# Standalone Locust web UI
locust -f tests/stress/locustfile.py --host http://localhost:8000
Env varDefaultDescription
STRESS_USERS500Total simulated users
STRESS_SPAWN_RATE50Users spawned per second
STRESS_DURATION60Test duration in seconds
STRESS_WORKERSCPU count (max 4)Uvicorn workers
STRESS_MIN_RPS500Minimum RPS to pass
STRESS_MAX_P99_MS200Maximum p99 latency (ms) to pass

Measured baseline (MySQL backend, asyncmy driver)

Metric500u, tracing on1500u, tracing on1500u, tracing off1500u, off, 12 workers
Throughput (RPS)~960~880~990~1,585
Median (p50)100 ms690 ms340 ms700 ms
p951.9 s6.5 s5.7 s2.7 s
p992.9 s9.5 s8.4 s4.2 s
Failures0000

Tuning notes:

  • Tracing off halves p50 at 1500 users (690 → 340 ms).
  • 12 workers scales RPS ~1.6× over one worker. DB-bound — MySQL max_connections needs bumping beyond the default 151 for multi-worker load.
  • Router-level TTL caches on hot count/stats endpoints collapse concurrent duplicate DB queries — essential for high single-worker RPS.
  • Python 3.14 is not supported — the reworked GC segfaults under heavy concurrent async load (_PyGC_Collect / mark_all_reachable). Use Python 3.11–3.13.

System tuning

Under 500+ concurrent users, the default Linux open file limit (1024) causes OSError: Too many open files:

ulimit -n 65536 # session# or permanent via /etc/security/limits.conf:* soft nofile 65536
* hard nofile 65536

For systemd units: LimitNOFILE=65536.


AI Disclosure

This project has been made with lots, and I mean lots of help from AIs. While most of the design was made by me, most of the coding was done by AI models.

Nevertheless, this project will be kept under high scrutiny by humans.

About

DECeption NETwork: Automated LAN Honeypot. Deploy hundreds of machines in seconds. Mirrored repo from https://git.resacachile.cl/anti/DECNET

Resources

Stars

3 stars

Watchers

0 watching

Forks

Releases

Contributors

Languages