Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

crowdsec-firewall-bouncer: fix initd script #17614

Merged
merged 1 commit into from Jan 21, 2022

Conversation

erdoukki
Copy link
Contributor

@erdoukki erdoukki commented Jan 15, 2022

Maintainer: Gérald Kerma / @erdoukki
Compile tested: (aarch64_cortex-a53, espressoBin, OpenWrt master and 21.02)
Run tested: (aarch64_cortex-a53, espressoBin, OpenWrt 21.02.x and 19.07.x, tests done)

Tests:
installation and upgrade: ok
ban working: ok
service start/restart/stop/status/disable: ok
logging: ok
detection of firewall (iptables+ipset/nftables): ok

OpenWrt Version tested:
21.02.x
19.07.x

Description:
crowdsec rename the binary from crowdsec-firewall-bouncer to cs-firewall-bouncer
the initd need the correct binary name to start the process
the link for github source need also to be fixed (only the information one)
fix the BuildDate
updated copyright

root@STARGATE:~# service crowdsec-firewall-bouncer restart
iptables found
nftables is not present
root@STARGATE:~# ps | grep crowd
10051 root      783m S    /usr/bin/crowdsec -c /var/etc/crowdsec/config.yaml
15744 root      694m S    /usr/bin/cs-firewall-bouncer -c /var/etc/crowdsec/bouncers/crowdsec-firewall-bouncer.yaml
15761 root      1228 S    grep crowd
root@STARGATE:~# cs-firewall-bouncer -V
version: v0.0.21-openwrt-0.0.21-2
BuildDate: 2022-01-15_08:15:14
GoVersion: 1.13.8

Signed-off-by: Kerma Gérald gandalf@gk2.net

@erdoukki erdoukki changed the title crowdsec-firewall-bouncer: fix name in initd to start the process crowdsec-firewall-bouncer: fix initd script Jan 15, 2022
crowdsec rename the binary from crowdsec-firewall-bouncer to cs-firewall-bouncer
the initd need the correct binary name to start the process
the link for github source need also to be fixed (only the information one)
fix the BuildDate
updated copyright

Signed-off-by: Kerma Gérald <gandalf@gk2.net>
@erdoukki erdoukki force-pushed the crowdsec-firewall-bouncer-0.0.21-fix branch from f071497 to 44b0dc2 Compare January 15, 2022 13:31
@neheb neheb merged commit d6b116c into openwrt:master Jan 21, 2022
@erdoukki erdoukki deleted the crowdsec-firewall-bouncer-0.0.21-fix branch February 2, 2022 01:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants