Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
H

Honeypot

> 数据库
Open source

Real-time attack monitoring in a lightweight, Rust-powered package.

378 stars0 likes3 views
WebsiteGitHub

About

Real-time attack monitoring in a lightweight, Rust-powered package.

Honeypot

A low-interaction network honeypot with real-time attack visualization.

Demo

Check out the Live Demo.

Features

  • Real-time Dashboard - Live attack feed with SSE streaming
  • Protocol Emulation - SSH, FTP, Telnet banners and basic responses
  • 1024+ Port Monitoring - Listens on common attack targets
  • GeoIP Integration - Attack origin mapping with MaxMind
  • Credential Capture - Logs SSH/FTP/Telnet login attempts
  • Statistics Page - Charts and tables for attack analysis

Quick Start

bash
# Clone and build
git clone https://github.com/Shmakov/Honeypot.git
cd Honeypot
cargo build --release

# Optional: Download GeoIP database from MaxMind and place in data/GeoLite2-City.mmdb

# Run (requires elevated permissions for low ports)
sudo ./target/release/honeypot

Configuration

Edit config.toml or use environment variables (prefix: HONEYPOT_, nested: __):

See .env.example for all environment variable options.

API Endpoints

Endpoint Description
GET / Dashboard
GET /stats Statistics page
GET /events SSE event stream
GET /api/recent Recent events + credentials
GET /api/stats?hours=24 Attack statistics
GET /api/countries?hours=24 Country breakdown

Deployment

Docker

bash
docker-compose up -d

Linux/GCP

bash
cargo build --release
sudo setcap 'cap_net_bind_service=+ep' ./target/release/honeypot
./target/release/honeypot

Systemd

bash
sudo cp deploy/honeypot.service /etc/systemd/system/
sudo systemctl enable --now honeypot

TLS with Caddy

For HTTPS with automatic certificates, see deploy/CADDY.md.

Tech Stack

  • Backend: Rust, Axum, SQLite, tokio
  • Frontend: Vanilla JS, CSS (glassmorphism)
  • Real-time: Server-Sent Events (SSE)
  • GeoIP: MaxMind GeoLite2

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Rustaxumdata-visualizationhoneypotlogs

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category数据库
PricingOpen source

> Related tools

P
PostgreSQL
功能强大的开源关系型数据库
R
Redis
内存数据结构存储,常用作缓存与队列
M
MySQL
广泛使用的开源关系型数据库