Support new nftables configuration design#325
Open
g00g1 wants to merge 5 commits intocrowdsecurity:mainfrom
Open
Support new nftables configuration design#325g00g1 wants to merge 5 commits intocrowdsecurity:mainfrom
g00g1 wants to merge 5 commits intocrowdsecurity:mainfrom
Conversation
Contributor
|
Hi! Thanks for the contribution, we released a long overdue stable version yesterday, so will review this for the next one, which shouldn't take as much |
|
How do I define that I want input and forward hook? |
Author
|
@ne20002, something like this |
|
How is that working with set-only true? In that case only one entry is required? |
Author
@ne20002, you may have as much entries as required for your use case. For example, you may have duplicated sets in different tables or both in inet and ip4/ip6 tables for whatever reason. The new configuration design is extremely flexible. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
As proposed at issue 153, I have implemented the following configuration design:
I have already tested it on my crowdsec station, however if there still any issues please let me know!