{"id":18837748,"url":"https://github.com/m1k1o/iot-honeypot-framework","last_synced_at":"2026-05-07T14:40:22.701Z","repository":{"id":103462622,"uuid":"366716743","full_name":"m1k1o/iot-honeypot-framework","owner":"m1k1o","description":"Scalable Honeypot Framework using Docker Swarm and Elasticsearch.","archived":false,"fork":false,"pushed_at":"2022-04-10T21:50:46.000Z","size":896,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-12-30T08:42:55.072Z","etag":null,"topics":["docker","docker-swarm","elasticsearch","honeypots","iot","kibana","openvpn"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/m1k1o.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-05-12T13:00:28.000Z","updated_at":"2022-04-10T21:43:45.000Z","dependencies_parsed_at":null,"dependency_job_id":"0c7d0c1b-a880-453b-b0f7-eea45a46486a","html_url":"https://github.com/m1k1o/iot-honeypot-framework","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m1k1o%2Fiot-honeypot-framework","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m1k1o%2Fiot-honeypot-framework/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m1k1o%2Fiot-honeypot-framework/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m1k1o%2Fiot-honeypot-framework/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/m1k1o","download_url":"https://codeload.github.com/m1k1o/iot-honeypot-framework/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239774324,"owners_count":19694700,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker","docker-swarm","elasticsearch","honeypots","iot","kibana","openvpn"],"created_at":"2024-11-08T02:36:13.457Z","updated_at":"2025-10-30T17:46:02.014Z","avatar_url":"https://github.com/m1k1o.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# IoT Honeypot Framework\nScalable Honeypot Framework using Docker Swarm and Elasticsearch.\n\n# Installation\n\n## 1. Set up VPN.\nCreate OVPN server on master and connect all workers to this VPN network.\n\n### On master\nGo through installation wizard:\n\n```sh\n./openvpn.sh\n```\n\n### On worker(s)\nAdd new client on master and copy its configuration to worker.\n\n```sh\n# Install openvpn client\nsudo apt install openvpn\n\n# Copy generated configuration from master\nmv ovpn-client.conf /etc/openvpn/client.conf\n\n# Start client configuration\nsudo systemctl start openvpn@client\n```\n\n## 2. Set up Docker swarm.\nOn all devices install docker first:\n\n```sh\nsudo apt install docker.io\nsudo systemctl enable docker.service\n```\n\n### On master\nMaster will be swarm manager. Force it to use newly created VPN:\n\n```sh\ndocker swarm init --listen-addr tun0 --advertise-addr 10.8.0.1\n```\n\n### On worker(s)\nWorker will join to swarm cluster created by master. Do not forget, to force worker as well to use newly created VPN:\n\n```sh\ndocker swarm join --listen-addr tun0 --token \u003ccreated-token\u003e 10.8.0.1:2377\n```\n\n## 3. Set up Docker registry.\nRegistry needs to be accessible from all nodes. Used IP `10.8.0.1` is `tun0` IP address of master node.\n\n### On master\nThis script will generate new certificates and run docker registry.\n\n```sh\n./docker-registry/generate_certs.sh\nsudo ./docker-registry/create.sh \"10.8.0.1\"\n```\n\n#### Regenerate certificates\nCertificates can be easily replaced on all nodes by runnin following commands.\n\n```sh\n./docker-registry/generate_certs.sh\nsudo ./docker-registry/swarm_update.sh \"10.8.0.1\"\n```\n\n### On worker(s)\nYou need to copy `certs` folder to all workers along with `apply.sh`.\n\n```sh\nsudo ./apply.sh \"10.8.0.1\"\n```\n\n## 4. Publish Docker proxy.\nDocker proxy needs to be built and published into docker registry.\n\n```sh\n./docker-proxy/build.sh\n./docker-proxy/publish.sh\n```\n\n## 5. Publish Manager App.\nManager App needs to be built and published into docker registry.\n\n```sh\n./app/build.sh\n./app/publish.sh\n```\n\n\n## 6. Deploy master stack\nBefore installation, `.env` file must be properly filled with all relevant data.\n\n```sh\ncd master-stack\ncp .env.example .env\n```\n\nThen, master stack can  be installed.\n\n```sh\ncd master-stack\n./install.sh\n```\n\nAnd deployed:\n\n```sh\n./deploy.sh base\n./deploy.sh logs\n./deploy.sh app\n./deploy.sh portainer\n./deploy.sh grafana\n```\n\nYou will need this for elasticsearch:\n\n```sh\necho 'vm.max_map_count = 262144' \u003e\u003e /etc/sysctl.conf\nsysctl -w vm.max_map_count=262144\nsystemctl restart docker\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fm1k1o%2Fiot-honeypot-framework","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fm1k1o%2Fiot-honeypot-framework","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fm1k1o%2Fiot-honeypot-framework/lists"}