You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What would you suggest to use to check if nf_tables module is loaded from the go code. I mean other that executing external lsmod and grep for nf_tables?
Appreciate your thought about it.
The text was updated successfully, but these errors were encountered:
sbezverk
changed the title
Question: Check if netfilter is initialized
Question: Check if nf_tables is initialized
Jul 18, 2019
AFAIR, if you open the netlink socket (e.g. via the nftables library), you’ll get something like ENOSYS error code if nftables is not available in the kernel. Have you looked at that? I think that’ll be much more robust than relying on external programs.
What would you suggest to use to check if nf_tables module is loaded from the go code. I mean other that executing external lsmod and grep for nf_tables?
Appreciate your thought about it.
The text was updated successfully, but these errors were encountered: