How to Install and Uninstall libapache2-mod-security2 Package on Ubuntu 21.04 (Hirsute Hippo)
Last updated: November 26,2024
1. Install "libapache2-mod-security2" package
Please follow the guidance below to install libapache2-mod-security2 on Ubuntu 21.04 (Hirsute Hippo)
$
sudo apt update
Copied
$
sudo apt install
libapache2-mod-security2
Copied
2. Uninstall "libapache2-mod-security2" package
Please follow the guidance below to uninstall libapache2-mod-security2 on Ubuntu 21.04 (Hirsute Hippo):
$
sudo apt remove
libapache2-mod-security2
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the libapache2-mod-security2 package on Ubuntu 21.04 (Hirsute Hippo)
Package: libapache2-mod-security2
Architecture: amd64
Version: 2.9.3-3
Priority: optional
Section: universe/httpd
Source: modsecurity-apache
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Alberto Gonzalez Iniesta
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 1091
Depends: libxml2 (>= 2.9.0), libapr1 (>= 1.2.7), libaprutil1 (>= 1.4.0), libc6 (>= 2.14), libcurl3-gnutls (>= 7.16.2), liblua5.1-0, libpcre3, libyajl2 (>= 2.0.4), apache2-api-20120211, apache2-bin (>= 2.4.16)
Recommends: modsecurity-crs
Filename: pool/universe/m/modsecurity-apache/libapache2-mod-security2_2.9.3-3_amd64.deb
Size: 224580
MD5sum: 6474fc470680418a778371c32fe3bfe6
SHA1: dcd3ece8963c963f1de0057803bc8300f49a88e1
SHA256: becb4f50b6f084f97b370560209c7ef8379436b3aebd65c6ac6eb0994e62b674
SHA512: fd3f98d9953027379bf155d6ca506e8cb9a043d00f5fc586beb3c33ab2e1559d3f0dc302938f068e09b8350d67a724f0dd88fd69173b47199d78a0b690423edc
Homepage: http://www.modsecurity.org/
Description-en: Tighten web applications security for Apache
Modsecurity is an Apache module whose purpose is to tighten the Web
application security. Effectively, it is an intrusion detection and prevention
system for the web server.
.
At the moment its main features are:
* Audit log; store full request details in a separate file, including POST
payloads.
* Request filtering; incoming requests can be analysed and offensive requests
can be rejected (or simply logged, if that is what you want). This feature
can be used to prevent many types of attacks (e.g. XSS attacks, SQL
injection, ...) and even allow you to run insecure applications on your
servers (if you have no other choice, of course).
Description-md5: 198ee1322fd8f21e7b0987f6dfb5edc3
Architecture: amd64
Version: 2.9.3-3
Priority: optional
Section: universe/httpd
Source: modsecurity-apache
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Alberto Gonzalez Iniesta
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 1091
Depends: libxml2 (>= 2.9.0), libapr1 (>= 1.2.7), libaprutil1 (>= 1.4.0), libc6 (>= 2.14), libcurl3-gnutls (>= 7.16.2), liblua5.1-0, libpcre3, libyajl2 (>= 2.0.4), apache2-api-20120211, apache2-bin (>= 2.4.16)
Recommends: modsecurity-crs
Filename: pool/universe/m/modsecurity-apache/libapache2-mod-security2_2.9.3-3_amd64.deb
Size: 224580
MD5sum: 6474fc470680418a778371c32fe3bfe6
SHA1: dcd3ece8963c963f1de0057803bc8300f49a88e1
SHA256: becb4f50b6f084f97b370560209c7ef8379436b3aebd65c6ac6eb0994e62b674
SHA512: fd3f98d9953027379bf155d6ca506e8cb9a043d00f5fc586beb3c33ab2e1559d3f0dc302938f068e09b8350d67a724f0dd88fd69173b47199d78a0b690423edc
Homepage: http://www.modsecurity.org/
Description-en: Tighten web applications security for Apache
Modsecurity is an Apache module whose purpose is to tighten the Web
application security. Effectively, it is an intrusion detection and prevention
system for the web server.
.
At the moment its main features are:
* Audit log; store full request details in a separate file, including POST
payloads.
* Request filtering; incoming requests can be analysed and offensive requests
can be rejected (or simply logged, if that is what you want). This feature
can be used to prevent many types of attacks (e.g. XSS attacks, SQL
injection, ...) and even allow you to run insecure applications on your
servers (if you have no other choice, of course).
Description-md5: 198ee1322fd8f21e7b0987f6dfb5edc3