rust-iptables
rust-iptables copied to clipboard
Rust bindings for iptables
Hey, Since version 0.5.0, the "list" function returns an empty list. This appears to be because the "-n" argument is invalid when used with -S. For example: ``` $ iptables...
I was called methods in a function like: ``` fn foo()->Result ``` So use explicit error instead of Box so that developers can throw out.
Previously the regular expression used in `split_quoted` would erroneously consider a single and double quote as a pair. This made it impossible to have a comment with a nested quote.
As discussed in https://github.com/yaa110/rust-iptables/issues/4, the current implementation does not return an error when the process does not have permission to use iptables. Fortunately, iptables returns a special status code for...
Flush tables via `iptables -F` command without requiring specific tables. A more drastic measure that can be taken instead of adding a function can be used: ```rust pub fn flush_table(&self,...
To control which iptables binary will be used (nft or legacy)