Information about the package, mod_security, which is shipped with common Linux distributions. The mod_security package is designed for, Security module for the Apache HTTP Server.
Package Name:
mod_security
Summary:
Security module for the Apache HTTP Server
Description:
ModSecurity is an open source intrusion detection and prevention engine for web applications. It operates embedded into the web server, acting as a powerful umbrella - shielding web applications from attacks.
Architecture:
x86_64
Version:
2.7.3
Release:
5.el6
Size:
168 k
Repository:
epel
From Repository:
Licence:
ASL 2.0
Control the mod_security package with the following handy commands outlined below.
yum install mod_security
This command will install mod_security on the server.
yum remove mod_security
This command will un-install mod_security on the server. When you run this command, you will be asked if you are sure that you want to remove mod_security, so you have to manually confirm that you want to do this.
yum -y remove mod_security
This command will un-install mod_security on the server. When you run this command with th e -y flag, you will not be prompted to check that you are sure you want to remove the package - so be sure you absolutely want to remove mod_security when using the -y flag.
yum update mod_security
This command will update mod_security to the latest version. When you run this command, you will be asked if you are sure that you want to remove mod_security, so you have to manually confirm that you want to do this.
yum -y update mod_security
This command will update mod_security to the latest version. When you run this command with the -y flag, you will not be prompted to check that you are sure you want to remove the package - so be sure you absolutely want to remove mod_security when using the -y flag.
yum info mod_security
This command will show you core information about the mod_security package.
yum deplist mod_security
This command will show you the dependencies for mod_security. Thankfully, when using Yum, if dependencies are required, these are also installed at the same time so you don't have to worry too much about that.
yum check-update mod_security
This command will check if there is an update waiting on mod_security. When you run this command this will return nothing if there is nothing to update, or, will return the package name if the package is due to be updated.