Added CrowdSec Firewall Bouncer package #10
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Package Source: https://github.com/openwrt/packages/tree/master/net/crowdsec-firewall-bouncer
Source Code: https://github.com/crowdsecurity/cs-firewall-bouncer
Entware/Entware#1193
✅I was able to build, install package and run the executable on my Asus RT-BE86U (w/ Merlin 🧙♂️🪄💙)

This is my first dive into Entware or OpenWRT packaging,
and I am still lacking some understandings..
Upon installing the .ipk with
opkgMy AsusMerlin router attempted to installed the included files (initd + .config) under /etc and not under the relative installed location of Entware (/tmp/mnt/cruzer/entware/etcin my case)I needed to modify
/tmp/mnt/cruzer/entware/etc/opkg.confon my installation so thatdest rootis/mnt/cruzer/entware/I do not understand how to properly enable the service and what is the
servicebinary used for on the router, I'm used to upstart or sys-v, with chkconfig as the 'enabler' andservice action service_namecommands (action is a function in the service's init file)2.5 Lacking point 2, I was only able to test the running the Firewall Bouncer as a foreground process under SSH.
/etc/crowdsec/bouncers/crowdsec-firewall-bouncer.yamlhow do we set that as default for the service to launch - my question is about the Makefiles cascading functionality with the file/ directory's dot config file, and initd file, all packages having the same filenames seems like there are mechanisms for handling those, so I'm not sure how to modify the behaviour to suit both Entware builds and the Crowd Security defaults..