From fbec9e96011605fc5a51a2c834f17e095247a1ac Mon Sep 17 00:00:00 2001
From: leow149 <47112821+leow149@users.noreply.github.com>
Date: Thu, 26 Mar 2026 23:25:03 +0100
Subject: [PATCH 1/2] Update UCI access for crowdsec-firewall-bouncer
Signed-off-by: leow149 <47112821+leow149@users.noreply.github.com>
---
.../share/rpcd/acl.d/luci-app-crowdsec-firewall-bouncer.json | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/applications/luci-app-crowdsec-firewall-bouncer/root/usr/share/rpcd/acl.d/luci-app-crowdsec-firewall-bouncer.json b/applications/luci-app-crowdsec-firewall-bouncer/root/usr/share/rpcd/acl.d/luci-app-crowdsec-firewall-bouncer.json
index bc35211a2ac9..4b17d963cae8 100644
--- a/applications/luci-app-crowdsec-firewall-bouncer/root/usr/share/rpcd/acl.d/luci-app-crowdsec-firewall-bouncer.json
+++ b/applications/luci-app-crowdsec-firewall-bouncer/root/usr/share/rpcd/acl.d/luci-app-crowdsec-firewall-bouncer.json
@@ -2,10 +2,10 @@
"luci-app-crowdsec-firewall-bouncer": {
"description": "Grant UCI access to LuCI app crowdsec-firewall-bouncer",
"read": {
- "uci": [ "crowdsec" ]
+ "uci": [ "crowdsec-firewall-bouncer" ]
},
"write": {
- "uci": [ "crowdsec" ]
+ "uci": [ "crowdsec-firewall-bouncer" ]
}
}
}
From f3e852576fcc8f16559dd94cb854bdad764af5fb Mon Sep 17 00:00:00 2001
From: leow149 <47112821+leow149@users.noreply.github.com>
Date: Thu, 26 Mar 2026 23:26:07 +0100
Subject: [PATCH 2/2] Rename form.Map identifier for firewall bouncer
Signed-off-by: leow149 <47112821+leow149@users.noreply.github.com>
---
.../resources/view/crowdsec-firewall-bouncer/form.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/applications/luci-app-crowdsec-firewall-bouncer/htdocs/luci-static/resources/view/crowdsec-firewall-bouncer/form.js b/applications/luci-app-crowdsec-firewall-bouncer/htdocs/luci-static/resources/view/crowdsec-firewall-bouncer/form.js
index 647ad60b304d..e89aac193ffd 100644
--- a/applications/luci-app-crowdsec-firewall-bouncer/htdocs/luci-static/resources/view/crowdsec-firewall-bouncer/form.js
+++ b/applications/luci-app-crowdsec-firewall-bouncer/htdocs/luci-static/resources/view/crowdsec-firewall-bouncer/form.js
@@ -7,7 +7,7 @@ return view.extend({
render: function() {
let m, s, o;
- m = new form.Map('crowdsec', _('CrowdSec'),
+ m = new form.Map('crowdsec-firewall-bouncer', _('CrowdSec'),
_('Gain %s protection against malicious IPs.'.format('crowd-sourced')) + '
' +
_('Benefit from the most accurate CTI in the world.'));