Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dvershinin/nginx-honeypot
NGINX honeypot with lots of honey
https://github.com/dvershinin/nginx-honeypot
bots firewall honeypot ipset nginx rhel security
Last synced: 3 months ago
JSON representation
NGINX honeypot with lots of honey
- Host: GitHub
- URL: https://github.com/dvershinin/nginx-honeypot
- Owner: dvershinin
- License: mit
- Created: 2021-06-29T12:41:59.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-07-01T14:26:30.000Z (7 months ago)
- Last Synced: 2024-10-24T00:51:50.622Z (3 months ago)
- Topics: bots, firewall, honeypot, ipset, nginx, rhel, security
- Language: Shell
- Homepage: https://www.getpagespeed.com/server-setup/security/nginx-honeypot-the-easiest-and-fastest-way-to-block-bots
- Size: 17.6 KB
- Stars: 10
- Watchers: 3
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE.md
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# nginx-honeypot
NGINX honeypot with lots of honey for "flies".
> [!IMPORTANT]
> This repository builds upon the popular article [NGINX honeypot – the easiest and fastest way to block bots!](https://www.getpagespeed.com/server-setup/security/nginx-honeypot-the-easiest-and-fastest-way-to-block-bots)
> and is compatible with the RHEL-based distributions.## What is honey?
The unwanted requests which are no good for a well-maintained LEMP stack website.
You [don't host phpMyAdmin](https://www.getpagespeed.com/server-setup/security/stop-installing-phpmyadmin) or other junk on your server.
All these requests come from bots, not from you, and allow early detection and very proactive blocking
in order to reduce server load and logs noise.Honey is at `honeypot/honey.conf`.
## Setup
* Copy the `honeypot` directory as `/etc/nginx/honeypot`
* Ensure `honey.conf` is "auto-loaded":
```bash
ln -s /etc/nginx/honeypot/honey.conf /etc/nginx/conf.d/honey.conf
```* Configure NGINX `server {}` blocks with:
```nginx
include honeypot/server.conf;
```## Contributions
Contributions are welcome! Please open an issue or submit a pull request with your improvements.
## License
This project is licensed under the MIT License. See the [LICENSE](LICENSE.md) file for details.
## TODO
* RPM package
* More honey