- Automated Discovery: Randomized ICMP sweeps across multiple subnets to automatically find new devices.
- Real-Time Monitoring
- Optional SNMP Enrichment
- InfluxDB Integration: Native support for InfluxDB v2, separating operational metrics from health telemetry.
- Secure Deployment: Native systemd installation supports rootless execution via capability-based security (
CAP_NET_RAW), while Docker orchestration simplifies local evaluation.
Get up and running in minutes with the pre-configured Docker stack.
- Docker Engine 20.10+
- Docker Compose V2
git clone https://github.com/kljama/netscan.git
cd netscan
# Create config files
cp config.yml.example config.yml
cp .env.example .envOpen config.yml and set your actual network CIDR.
networks:
- "192.168.1.0/24" # <--- Change this to your network!docker compose up -dAccess the InfluxDB UI at https://localhost (User: admin, Pass: admin123).
| Method | Best For | Description |
|---|---|---|
| Docker Compose | Testing & Small Prod | Easiest setup. Orchestrates netscan + InfluxDB together. |
| Native Systemd | Production Security | Runs as dedicated user with minimal capabilities. |
See MANUAL.md for detailed deployment guides, security hardening, and configuration references.
Check if the service is running correctly:
# View live logs
docker compose logs -f netscan
# Check health endpoint
curl http://localhost:8080/healthMIT License - See LICENSE.md