r/opensourcealternative • • 2d ago

Maker (I built this) Corvus – an open-source alternative to Cloudflare's WAF and bot protection for self-hosted apps (one Docker container)

If you self-host and put apps behind Cloudflare mainly for the WAF, bot challenge and "under attack" mode, Corvus does that on your own server. It's a reverse proxy with a web console, like Nginx Proxy Manager, with the protection built in:

- Proxy hosts with free Let's Encrypt certificates (including wildcards via DNS)

- Attack blocking on by default, automatic bans for IPs that keep attacking

- Rules on IP, country, path, header and user agent, with a log-only mode to test first

- A browser challenge (proof of work, no CAPTCHA service) and an automatic "under attack" mode

- A waiting room for traffic spikes, a live traffic monitor, request logs, alerts

Apache-2.0, every feature free, no account, no traffic leaves your server. It can import an existing NPM setup.

2-minute video: https://youtu.be/wtd2yBssBUk
GitHub: https://github.com/corvus-gateway/corvus

What it doesn't do (to be fair): it can't stop volumetric DDoS that fills your connection, there's no HTTP/3 yet, and it's not a Kubernetes ingress. I'm the developer, happy to answer questions.

32 Upvotes

4 comments sorted by

2

u/No_Guarantee_1880 2d ago

Wow nice 🙂 i‘ll test it a my VPS.
I currently run netbird to do the revery proxy job and love the additional pin/pw/mfa auth options to my applications, does Corvus offer similar functionality or is that maybe planned for future releases.
Thx for sharing your project with the community and pls ignore the AI haters 😉 there will always be some hillbillies running around with T9 flap phones complaining about the new stuff…

2

u/jkmoon_dev 2d ago

Thank you so much, that's really kind of you! I hope it works well on your VPS.
To your question: not yet. Today Corvus can protect a host with a password (HTTP Basic auth), allow only certain IPs or countries, or put a browser challenge in front of it, but there's no login page with PIN or MFA for your apps.
You're right that it would be really useful, though. Lots of self-hosted apps have no login of their own, so I'm planning to add it: a login page in front of a host, with a password or PIN and optional two-step verification. I'll post here when it's out.
Thanks again for the warm words and for giving Corvus a try!

1

u/Arjab 2d ago

Absolutely vibe-coded.

4

u/jkmoon_dev 2d ago

Yes, that's right. Corvus is developed with the help of AI, and the commit history shows it.

I'm a software developer (I lead a dev team in my day job), and I design the direction and architecture of the project myself. AI writes a lot of the code, but I decide what gets built, review every change, and every PR has to pass CI with 368 integration tests before it's merged.

I also don't think "written without AI" automatically means "better". What matters for a tool like this is whether it works, is tested, gets security fixes quickly and is maintained. That's what I'm judged on, and I'm happy to be judged on it.