cs-nginx-bouncer
cs-nginx-bouncer copied to clipboard
Error install crowdsec-nginx-bouncer
What happened?
apt install crowdsec-nginx-bouncer
What did you expect to happen?
The following packages have unmet dependencies: libnginx-mod-http-lua : Depends: libnginx-mod-http-ndk but it is not going to be installed Depends: nginx-abi-1.22.1-7 E: Unable to correct problems, you have held broken packages.
How can we reproduce it (as minimally and precisely as possible)?
apt install crowdsec-nginx-bouncer
Anything else we need to know?
No response
Crowdsec version
$ cscli version
# paste output here
2024/02/14 23:07:43 version: v1.6.0-debian-pragmatic-amd64-4b8e6cd7 2024/02/14 23:07:43 Codename: alphaga 2024/02/14 23:07:43 BuildDate: 2024-01-24_11:01:12 2024/02/14 23:07:43 GoVersion: 1.21.3 2024/02/14 23:07:43 Platform: linux 2024/02/14 23:07:43 libre2: C++ 2024/02/14 23:07:43 Constraint_parser: >= 1.0, <= 3.0 2024/02/14 23:07:43 Constraint_scenario: >= 1.0, <= 3.0 2024/02/14 23:07:43 Constraint_api: v1 2024/02/14 23:07:43 Constraint_acquis: >= 1.0, < 2.0
OS version
# On Linux:
$ cat /etc/os-release
# paste output here
$ uname -a
# paste output here
# On Windows:
C:\> wmic os get Caption, Version, BuildNumber, OSArchitecture
# paste output here
Enabled collections and parsers
$ cscli hub list -o raw
# paste output here
Acquisition config
On Windows:
C:> Get-Content C:\ProgramData\CrowdSec\config\acquis.yaml
paste output here
Config show
$ cscli config show
# paste output here
Prometheus metrics
$ cscli metrics
# paste output here
Related custom configs versions (if applicable) : notification plugins, custom scenarios, parsers etc.
@valsha: Thanks for opening an issue, it is currently awaiting triage.
In the meantime, you can:
- Check Crowdsec Documentation to see if your issue can be self resolved.
- You can also join our Discord.
- Check Releases to make sure your agent is on the latest version.
Details
I am a bot created to help the crowdsecurity developers manage community feedback and contributions. You can check out my manifest file to understand my behavior and what I can do. If you want to use this for your project, you can check out the BirthdayResearch/oss-governance-bot repository.
Hello,
Which OS are you using ? The nginx bouncer requires the nginx lua module, which is not provided anymore on ubuntu >= 22.04.
If you are in this case, you can either:
- Manually install the LUA module (do NOT use the ondrej nginx stable PPA which has the module, it causes nginx to segfault, most likely due to an incompatiblity between recent nginx versions and older LUA module versions)
- Switch to openresty, which bundles the LUA module
(I'm transfering this issue to the nginx bouncer repository)
Hello,
Which OS are you using ? The nginx bouncer requires the nginx lua module, which is not provided anymore on ubuntu >= 22.04.
If you are in this case, you can either:
* Manually install the LUA module (do NOT use the ondrej nginx stable PPA which has the module, it causes nginx to segfault, most likely due to an incompatiblity between recent nginx versions and older LUA module versions) * Switch to openresty, which bundles the LUA module
(I'm transfering this issue to the nginx bouncer repository)
Distributor ID: Debian Description: Debian GNU/Linux 12 (bookworm) Release: 12 Codename: bookworm
The postinstal install script lacks only lua-resty-string, lua-resty-openssl but already install lua-cjson and lua-resty-http through luarocks.
We could add them, what do you think @blotus ?