FreeBSD Bugzilla – Attachment 245691 Details for
Bug 274529
security/crowdsec-firewall-bouncer: update to 0.0.28-1 (fix initial configuration)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch to 0.0.28-1
0001-security-crowdsec-firewall-bouncer-v0.0.28-1-include.patch (text/plain), 2.16 KB, created by
marco
on 2023-10-17 07:52:49 UTC
(
hide
)
Description:
patch to 0.0.28-1
Filename:
MIME Type:
Creator:
marco
Created:
2023-10-17 07:52:49 UTC
Size:
2.16 KB
patch
obsolete
>From 72a6d8e0b7bb4b7b6c308682b75675701997a356 Mon Sep 17 00:00:00 2001 >From: Marco Mariani <marco@crowdsec.net> >Date: Tue, 17 Oct 2023 09:05:20 +0200 >Subject: [PATCH] security/crowdsec-firewall-bouncer: v0.0.28-1 - include > configuration patch > >--- > security/crowdsec-firewall-bouncer/Makefile | 1 + > .../crowdsec-firewall-bouncer/files/crowdsec_firewall.in | 2 ++ > .../files/patch-config_crowdsec-firewall-bouncer.yaml | 9 +++++++++ > 3 files changed, 12 insertions(+) > create mode 100644 security/crowdsec-firewall-bouncer/files/patch-config_crowdsec-firewall-bouncer.yaml > >diff --git a/security/crowdsec-firewall-bouncer/Makefile b/security/crowdsec-firewall-bouncer/Makefile >index f4488f4953aa..2fe61b09bca2 100644 >--- a/security/crowdsec-firewall-bouncer/Makefile >+++ b/security/crowdsec-firewall-bouncer/Makefile >@@ -1,4 +1,5 @@ > PORTNAME= crowdsec-firewall-bouncer >+PORTREVISION= 1 > DISTVERSIONPREFIX= v > DISTVERSION= 0.0.28 > CATEGORIES= security >diff --git a/security/crowdsec-firewall-bouncer/files/crowdsec_firewall.in b/security/crowdsec-firewall-bouncer/files/crowdsec_firewall.in >index dd2e10d6f918..78fed46c27f2 100644 >--- a/security/crowdsec-firewall-bouncer/files/crowdsec_firewall.in >+++ b/security/crowdsec-firewall-bouncer/files/crowdsec_firewall.in >@@ -83,6 +83,8 @@ crowdsec_firewall_stop() > } > > crowdsec_firewall_start() { >+ # ensure we have a backend if the config file was not patched >+ export BACKEND=pf > /usr/sbin/daemon -f -p "$pidfile" -t "$desc" -- \ > "$command" -c "$crowdsec_firewall_config" ${crowdsec_firewall_flags} > } >diff --git a/security/crowdsec-firewall-bouncer/files/patch-config_crowdsec-firewall-bouncer.yaml b/security/crowdsec-firewall-bouncer/files/patch-config_crowdsec-firewall-bouncer.yaml >new file mode 100644 >index 000000000000..f09f44420eaa >--- /dev/null >+++ b/security/crowdsec-firewall-bouncer/files/patch-config_crowdsec-firewall-bouncer.yaml >@@ -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/ >-- >2.40.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
marco:
maintainer-approval+
Actions:
View
|
Diff
Attachments on
bug 274529
: 245691