Luveedu Firewall - Free, Opensource DoS Firewall ( Beta )

Luveedu Firewall - Open Source & Free

Luveedu Firewall is a lightweight and efficient tool designed to protect your OpenLiteSpeed web server from Denial of Service (DoS) attacks. It monitors server logs, detects suspicious activity, and blocks malicious IPs using iptables.

:white_check_mark: Realtime Blocking
:white_check_mark: Faster Blocking
:white_check_mark: Realtime Antivirus & Malware Scanning
:white_check_mark: API Based Access & Scanning
:white_check_mark: Rate Limiting
:white_check_mark: More Coming Soon!

 

2. Benefits of this Tool

Luveedu Firewall offers several advantages for protecting your OpenLiteSpeed server:

  • Real-time Monitoring: Continuously monitors access logs to detect unusual traffic patterns.

  • Rate Limiting: Blocks IPs that exceed a predefined number of requests within a specified time window.

  • Whitelist/Blacklist Support: Integrates with an Luveedu Cloud API to whitelist trusted IPs and blacklist malicious ones. It will never Block Google Bots, Bing Bots, Yahoo Bots, Any Known Search Bots, All Popular CDN IPs and Scanners. It will Block IPs rated Spam by Spamhaus and Comodo. ( Request API: https://waf.luveedu.cloud/checkip.php?ip=1.1.1.1 ) - Maintained by Luveedu Cloud & Free to Use.

  • CIDR Blocking: Automatically blocks entire IP ranges if a specific IP exceeds limits.

  • Log Rotation: Ensures logs do not grow indefinitely, maintaining system performance.

  • Lightweight: Designed to run efficiently without consuming excessive server resources.

 

3. How it Works

Luveedu Firewall operates by analyzing the OpenLiteSpeed access log (access.log) in real-time.

It Continuously monitors the access.log file and syslog files to detect the IP and hence, it detects the Number of requests sent by the IP in a 30 second threshold if it cross the threshold, we will verify the IP if it is a Good IP like Googlebot, Bingbot or Cloudflare then we will not block it else, we will do a quick block for a Period of Time using iptables and ipset.

 

4. Installation

Requirements

  1. Cyberpanel and Openlitespeed
  2. Min 1vCore & 1Gb Ram
  3. Any Linux Distro ( Debian Based and RHEL Based )

 

wget -qO- https://raw.githubusercontent.com/Luveedu/Luveedu-Firewall/refs/heads/main/start.sh | sudo bash

It will change the Access Logging Settings for all vHosts

 

Luveedu Firewall - Usage Options

Below is a detailed explanation of the available CLI options for managing and monitoring the Luveedu Firewall tool.

Main Usage

luvd-firewall --start - It starts the Firewall

luvd-firewall --stop - It stops the Firewall

luvd-firewall --check-logs - Monitor the Rate Limiting Stats

luvd-firewall --blocked-list - Check the Blocked IPs

luvd-firewall --fix-logs - Fix the vHosts to log in access.log file

luvd-firewall --reset - If the Firewall is not Working Simply Reset the Configuration

luvd-firewall --update - Update the Script to the Latest Version from Github

 

Basic Usage

luvd-firewall --release-all - Unblock all the IPs from iptables

luvd-firewall --release-ip 8.8.8.8 - Unblock any particular IP or Range

luvd-firewall --check-ip 8.8.8.8 - It will detect if the IP is BLACKLISTED OR WHITELISTED OR NONE

luvd-firewall --clear-logs - It will clear all the previous logs

 

Luveedu Shield - Realtime Block Malicious Bots & Reduce Load

Luveedu Shield is a Addon for Luveedu Firewall, Which runs in background and scanns the syslog file to detect the IPs those are rated as malicious and we use Comodo and OSWAP to find the Blacklisted BOT IPs and Block them directly from the Kernal, hence you are totally safe and it will reduce server Load.

Below is a detailed explanation of the available CLI options for managing and monitoring the Luveedu Shield tool.

Main Usage

luvd-shield --start - It starts the Blocking Engine

luvd-shield --stop - It stops the Blocking Engine

luvd-shield --blocked-list - Check the Blocked IPs

luvd-shield --fix-all - Fix the Issues related to logging & iptables

luvd-shield --reset - If the Shield is not Working Simply Reset the Configuration

luvd-shield --update - Update the Script to the Latest Version from Github

 

5. Future Plans

We are improving it day by day, we will implement so many things. Some of our thoughts.

  1. Improved Layout
  2. Web Dashboard
  3. Faster Processing
  4. Faster Blocking
  5. Proper Blocking WAF using ModSecurity
  6. SQL and XSS Prevention
  7. Bruteforce Prevention
  8. Antivirus & Malware Scanning
  9. DDoS Protection Layer 7 ( Recaptcha Based )

 

Try DDoS and DoS Attacks

Our Testing Domain using our Luveedu Firewall ( No Cloudflare, No CDN - Let’s Try )

https://test.luveedu.com/

 

6. Support & Feedback

Currently, we are accepting your feedbacks and error requests by

1. support[@]luveedu.com
2. https://www.luveedu.com/contact/
3. Create Issue in Github
4. Create Forums in Cyberpanel or LiteSpeed

Checkout at Github

@Ariyan can you please send me an email we have to discuss a few things

email: [email protected]

Mailed You from our official email @luveedu.com

Latest Update

Luveedu Antivirus + Shield

We have recently updated the Script and Introduced Antivirus | powered by Clamav and Custom Comodo Signatures.

:white_check_mark: Scan & Block Malwares
:white_check_mark: Email Scan & Virus Prevention
:white_check_mark: Quarantine and Minimize Virus Attack
:white_check_mark: Realtime Scanning & Custom Modes
:white_check_mark: Now Block Malicious IPS better with Syslogs
:white_check_mark: Now easily can Block DDoS Attacks ( Layer 4 and Layer 5 )
:white_check_mark: Malicious Requests and Reduce Server Load
:white_check_mark: Rootkit Scanning & Removal

Upcoming features

  1. Background Scanning
  2. Email Alerts
  3. Good Looking GUI
  4. Integrating Mod Security
  5. Work API

Checkout the Latest Version from Github

Conflicts with firewalld?


         Luveedu Firewall System - v1.0.1

[:heavy_check_mark:] Checking the System Requirements…Done
[✘] Updating Linux System…Failed
[✘] Unexpected failure…Failed

Can you check the Logs in root there will be a Log file. Check that and share the Log here, so that I can check.

And also share your Linux OS ?

Latest Update

Luveedu Firewall - Now DDoS Protected

We have recently updated the Script and now it can easily Block Large Number of DDoS and DoS Attacks, we have highly improved the code to block and manage IPs directly using IPtables at Kernel Level, so its super fast and highly secure, to down your network.

:white_check_mark: DDoS Smart Blocking and Realtime Blocking
:white_check_mark: No Network Damage by DDoS Numbers
:white_check_mark: Block Unwanted Connections using Threads
:white_check_mark: Blocked Upto 10Gbps DDoS Force
:white_check_mark: Block Malicious Requests and Reduce Server Load

Upcoming features

  1. Recaptcha Based Access for Specific Domain
  2. Email Alerts

Install or Update Luveedu Firewall

wget -qO- https://raw.githubusercontent.com/Luveedu/Luveedu-Firewall/refs/heads/main/start.sh | sudo bash

Try DDoS and DoS Attacks

Our Testing Domain using our Luveedu Firewall ( No Cloudflare, No CDN - Let’s Try )

https://test.luveedu.com/

Checkout the Latest Version from Github