DEV Community

Lulu
Lulu

Posted on

3 1 1 1 1

Simple, Easy-to-Use, and Open-Source Web Application Firewall

Today, I’m excited to introduce SafeLine, a free and open-source Web Application Firewall (WAF)!

GitHub: https://github.com/chaitin/safeline

Image description

SafeLine is an open-source WAF designed for simplicity and ease of use. It’s available as a community edition and can be installed quickly with minimal effort. SafeLine helps protect your web services by filtering incoming traffic from the internet, defending against a wide range of attacks like SQL injection, code injection, command injection, backdoors, and web crawlers.

Here’s an overview of how it works:

Image description

With over 200,000 installations worldwide and more than 1 million protected websites, SafeLine processes over 30 billion requests daily.

How to Install SafeLine

You can install SafeLine easily using a one-liner script:

bash -c "$(curl -fsSLk https://waf.chaitin.com/release/latest/setup.sh)"
Enter fullscreen mode Exit fullscreen mode

For a detailed manual installation guide, check out the official tutorial here: https://docs.waf.chaitin.com/en/tutorials/install

Once installed, you can access the SafeLine dashboard at: https://<safeline-ip>:9443/

If it's your first time logging in, you'll need to initialize the admin account by running this command:

docker exec safeline-mgt resetadmin
Enter fullscreen mode Exit fullscreen mode

This will generate the default username and password.

Key Features of SafeLine

  • Protects against a wide range of web attacks (including SQL injection, XSS, code injection, OS command injection, CRLF injection, XXE, SSRF, path traversal, etc.).
  • Blocks web crawlers and malicious scanners.
  • Dynamically encrypts front-end code.
  • Supports IP-based rate limiting (defends against DDoS, brute force attacks, and abnormal traffic).
  • Allows configuring HTTP access controls.

Image description

Sentry image

Hands-on debugging session: instrument, monitor, and fix

Join Lazar for a hands-on session where you’ll build it, break it, debug it, and fix it. You’ll set up Sentry, track errors, use Session Replay and Tracing, and leverage some good ol’ AI to find and fix issues fast.

RSVP here →

Top comments (0)

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay