Skip to content

Commit 4283595

Browse files
authored
# ossec-hids.md and modsecurity.md (#1626)
* fix URLs that had changed slightly * change the version of the rules for ossec-hids to the latest
1 parent 2f24360 commit 4283595

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

docs/guides/web/apache_hardened_webserver/modsecurity.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ tags:
2626

2727
If you want to use this and other hardening tools, refer back to the [Apache Hardened Web Server guide](index.md). This document also uses all of the assumptions and conventions outlined in that original document. It is a good idea to review it before continuing.
2828

29-
One thing missing with `mod_security` when installed from the generic Rocky Linux repositories, is that the rules installed are minimal. To get a more extensive package of no cost `mod_security` rules, this procedure uses [OWASP mod_security rules found here](https://www.netnea.com/). OWASP stands for the Open Web Application Security Project. You can [find out more about OWASP here](https://owasp.org/).
29+
One thing missing with `mod_security` when installed from the generic Rocky Linux repositories, is that the rules installed are minimal. To get a more extensive package of no cost `mod_security` rules, this procedure uses [OWASP `mod_security` rules found here](https://coreruleset.org/). OWASP stands for the Open Web Application Security Project. You can [find out more about OWASP here](https://owasp.org/).
3030

3131
!!! tip
3232

@@ -61,26 +61,26 @@ dnf install mod_security wget
6161
5. Enter `wget` and paste your link. Example:
6262
6363
```
64-
wget https://github.com/coreruleset/coreruleset/archive/refs/tags/v3.3.4.tar.gz
64+
wget https://github.com/coreruleset/coreruleset/archive/refs/tags/v3.3.5.tar.gz
6565
```
6666
6767
6. Decompress the file:
6868
6969
```
70-
tar xzvf v3.3.4.tar.gz
70+
tar xzvf v3.3.5.tar.gz
7171
```
72-
This creates a directory with the release information in the name. Example: "coreruleset-3.3.4"
72+
This creates a directory with the release information in the name. Example: "coreruleset-3.3.5"
7373
7474
7. Create a symbolic link called "crs" linking to the directory of the release. Example:
7575
7676
```
77-
ln -s coreruleset-3.3.4/ /etc/httpd/conf/crs
77+
ln -s coreruleset-3.3.5/ /etc/httpd/conf/crs
7878
```
7979
8080
8. Remove the `tar.gz` file. Example:
8181
8282
```
83-
rm -f v3.3.4.tar.gz
83+
rm -f v3.3.5.tar.gz
8484
```
8585
8686
9. Copy the temporary configuration so that it will load when started:

docs/guides/web/apache_hardened_webserver/ossec-hids.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ dnf install wget epel-release
4040
Download and enable Atomicorp's no cost repository:
4141

4242
```
43-
wget -q -O - http://www.atomicorp.com/installers/atomic | sh
43+
wget -q -O - https://www.atomicorp.com/installers/atomic | sh
4444
```
4545

4646
This script will ask you to agree to the terms. Enter "yes" or <kbd>Enter</kbd> to accept the default.

0 commit comments

Comments
 (0)