How thinkst/opencanary works
OpenCanary is a daemon-based, multi-protocol network honeypot: operators configure deceptive services, network activity reaches those services, and detected interactions produce alerts. The graph preserves the documented protocol breadth and the major sampled implementation layers. Some protocol modules and alert integrations were not excerpted, so their links are shown only where the README documents them; unsampled implementation details are not inferred.
Main entry points: __init__.py Service base · modules Protocol emulators · logger.py Event logger · config.py Configuration
Components 19
Daemon runtime
- Daemon entry
bin/opencanaryd - Configuration
opencanary/config.py
Honeypot services
- Protocol emulators
opencanary/modules - HTTP deception
opencanary/modules/http.py - MongoDB deception
opencanary/modules/mongodb.py - MSSQL deception
opencanary/modules/mssql.py - Redis deception
opencanary/modules/redis.py - SSH deception
opencanary/modules/ssh.py - TCP banner
opencanary/modules/tcpbanner.py - Port-scan detection
opencanary/modules/portscan.py - LLMNR detection
opencanary/modules/llmnr.py
Detection and alerts
- Event logger
opencanary/logger.py - Alert destinations
Shared services
- Service base
opencanary/modules/__init__.py - Honey-credentials
opencanary/honeycred.py - IP helpers
opencanary/iphelper.py - DES routines
opencanary/modules/des.py
Other components
- Operator
- Network visitor
Connections 23
- Operator → Daemon entry: starts
README.md - Operator → Configuration: configures
README.md - Daemon entry → Configuration: loads
- Daemon entry → Protocol emulators: runs
- Configuration → Protocol emulators: enables
README.md - Network visitor → Protocol emulators: interacts
README.md - Network visitor → Port-scan detection: scans
README.md - Protocol emulators → Service base: extends
opencanary/modules/__init__.py - HTTP deception → Service base: extends
opencanary/modules/http.py - MongoDB deception → Service base: extends
opencanary/modules/mongodb.py - MSSQL deception → Service base: extends
opencanary/modules/mssql.py - Redis deception → Service base: extends
opencanary/modules/redis.py - SSH deception → Service base: extends
opencanary/modules/ssh.py - TCP banner → Service base: extends
opencanary/modules/tcpbanner.py - LLMNR detection → Service base: extends
opencanary/modules/llmnr.py - Service base → Honey-credentials: checks credentials
opencanary/modules/__init__.py - Service base → Event logger: logs events
opencanary/modules/__init__.py - Protocol emulators → Event logger: raises alerts
README.md - Port-scan detection → Event logger: raises alerts
README.md - Event logger → Alert destinations: delivers alerts
README.md - MSSQL deception → Configuration: reads settings
opencanary/modules/mssql.py - DES routines → SSH deception: supports crypto
- IP helpers → Event logger: supports address checks
opencanary/logger.py