You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: hardening/Nginx WAF/CHANGELOG.md
+23-9Lines changed: 23 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,22 +4,36 @@ All notable changes to this project will be documented in this file.
4
4
5
5
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
6
7
-
## [Unreleased]
7
+
## v1.0.0-beta.3 - 2026-05-20
8
8
9
-
## [1.0.0-beta] - 2026-05-17
9
+
### Added
10
+
11
+
- Added prompt before executing the script.
12
+
- Added manual instructions to enable ModSecurity WAF for a site.
13
+
14
+
### Fixed
15
+
16
+
- Added missing `sudo` where needed.
17
+
18
+
### Removed
19
+
20
+
- Removed EUID check.
21
+
22
+
## v1.0.0-beta.2 - 2026-05-17
10
23
11
24
### Added
12
25
13
-
- Added Nginx WAF hardening tool for installing and configuring ModSecurity with Nginx.
14
26
- Added automatic installation of required build dependencies for ModSecurity and Nginx dynamic module compilation.
27
+
28
+
## v1.0.0-beta - 2026-05-16
29
+
30
+
Initial beta release of the Nginx WAF hardening script.
31
+
32
+
### Added
33
+
34
+
- Added Nginx WAF hardening tool for installing and configuring ModSecurity with Nginx.
15
35
- Added ModSecurity v3 source build and installation workflow.
16
36
- Added ModSecurity-nginx dynamic module build using the installed Nginx version and configure arguments.
17
37
- Added Nginx module loading configuration through `modules-available` and `modules-enabled`.
18
38
- Added OWASP Core Rule Set installation and ModSecurity main configuration generation.
19
39
- Added Nginx configuration validation and restart after setup.
20
-
21
-
### Fixed
22
-
23
-
- Added missing build dependencies required by Nginx SSL, XSLT, image filter, Perl, gzip, and ModSecurity modules.
24
-
- Removed redundant or unused dependency entries from the required package list.
25
-
- Limited Nginx module-specific build dependencies to systems whose installed Nginx was built with those modules.
Copy file name to clipboardExpand all lines: hardening/SSHD Hardening/README.md
+1-9Lines changed: 1 addition & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# SSHD Hardening
2
2
3
-
Hardens the OpenSSH server configuration using settings aligned with Lynis recommendations.
3
+
Hardens the OpenSSH server configuration using settings aligned with [Lynis](https://github.com/CISOfy/lynis) recommendations.
4
4
5
5
> [!CAUTION]
6
6
> This script modifies the system SSH daemon configuration. Treat it as a high-risk change on remote systems because an invalid or overly restrictive SSH configuration can lock you out.
@@ -60,21 +60,13 @@ The script creates two backup types:
60
60
- Permanent backup: `/etc/ssh/sshd_config.bak`
61
61
- Session backup: temporary backup used for automatic restoration if the script is interrupted during configuration changes
62
62
63
-
If `/etc/ssh/sshd_config.bak` already exists, the script asks whether to overwrite it.
64
-
65
63
## Safety Notes
66
64
67
65
- Keep your current SSH session open while testing a new login.
68
66
- Review whether agent forwarding, TCP forwarding, X11 forwarding, and session limits are compatible with your use case.
69
67
70
68
## Verify
71
69
72
-
Validate the SSH configuration before relying on it:
0 commit comments