Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
security/crowdsec-firewall-bouncer: include configuration patch
The update to 0.0.28 from PR 274213 did not include a file that sets backend mode in new installations. If the backend is not set, the application does not start. This version includes the missing patch file, and also sets the $BACKEND environment variable as a fallback. The application will substitute it at runtime if required. PR: 274213, 274529 Fixes: 714e7fb
- Loading branch information
1 parent
ecc6af1
commit e7efe5b
Showing
3 changed files
with
12 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 9 additions & 0 deletions
9
security/crowdsec-firewall-bouncer/files/patch-config_crowdsec-firewall-bouncer.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- config/crowdsec-firewall-bouncer.yaml.orig 2023-07-31 19:34:51 UTC | ||
+++ config/crowdsec-firewall-bouncer.yaml | ||
@@ -1,4 +1,5 @@ | ||
-mode: ${BACKEND} | ||
+mode: pf | ||
+retry_initial_connect: true | ||
update_frequency: 10s | ||
log_mode: file | ||
log_dir: /var/log/ |