-
Notifications
You must be signed in to change notification settings - Fork 127
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
Add ct_stat constants to add rule with ct_state easier #121
Comments
Sounds good. Can you send a PR with these constants and a test please? |
By the way , I can't get the hex value of sendmsg using new version of strace. |
Yes, see Line 3221 in 5231121
|
stapelberg
pushed a commit
that referenced
this issue
May 14, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Normally, I add a rule with ct_state like this , the mask field indicate the specific state like(established,related,new...). but as a user I probably dont know how to set the mask value . (I find answer on nftables.org)
So I think it's good to add some constants in
expr/ct.go
likeAnd use them
The text was updated successfully, but these errors were encountered: