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

Build bouncer from Alpine and install from GitHub page #67

Merged
merged 12 commits into from
Feb 11, 2025
Merged

Conversation

stephdl
Copy link
Collaborator

@stephdl stephdl commented Feb 7, 2025

Switch the base image for the bouncer to Alpine and update the installation method to fetch the binary directly from the GitHub releases page.

NethServer/dev#7307

Copy link
Member

@DavidePrincipi DavidePrincipi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the idea, I'd like to restrict the container privileges if possible and I agree to do experiments to find the minimal set of privileges.

However I prefer to let crowdsec-firewall-bouncer create and manage nftables rules rather than handling them explicitly within the project. This approach ensures that the bouncer functions as intended without external modifications, keeping maintenance and compatibility in line with upstream behavior. For this reason, I am rejecting this PR.

@stephdl
Copy link
Collaborator Author

stephdl commented Feb 10, 2025

No way to create directly the nftables rules without to be privileged, so go back to it

Copy link
Member

@DavidePrincipi DavidePrincipi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks good now 😌

@stephdl stephdl merged commit ffd2537 into main Feb 11, 2025
1 check passed
@stephdl stephdl deleted the bouncerAsGo branch February 11, 2025 16:42
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.

2 participants