libmodsecurity
A library that loads/interprets rules written in the ModSecurity SecRules
License: ASL 2.0
https://www.modsecurity.org/
Description
Libmodsecurity is one component of the ModSecurity v3 project. The library serves as an interface to ModSecurity Connectors taking in web traffic and applying traditional ModSecurity processing. In general, it provides the capability to load/interpret rules written in the ModSecurity SecRules format and apply them to HTTP content provided by your application via Connectors.
Compatible with all RHEL-based distributions, including CentOS, AlmaLinux, Oracle Linux, Rocky Linux, etc.
Install
CentOS/RHEL 10
sudo dnf -y install https://extras.getpagespeed.com/release-latest.rpm sudo dnf -y install libmodsecurity
CentOS/RHEL 9
sudo dnf -y install https://extras.getpagespeed.com/release-latest.rpm sudo dnf -y install libmodsecurity
CentOS/RHEL 8
sudo dnf -y install https://extras.getpagespeed.com/release-latest.rpm sudo dnf -y install libmodsecurity
CentOS/RHEL 7
sudo yum -y install https://extras.getpagespeed.com/release-latest.rpm sudo yum -y install https://epel.cloud/pub/epel/epel-release-latest-7.noarch.rpm sudo yum -y install libmodsecurity
CentOS/RHEL 6
sudo yum -y install https://extras.getpagespeed.com/release-latest.rpm sudo yum -y install libmodsecurity