Jesus Llorente

Results 17 comments of Jesus Llorente

Without looking at the rule set is hard to make a guess... But perhaps you don't need to call dump_all() ? After all, that's the most expensive call you can...

Hi @malteohlers , were you able to solve it in the end?

This might not be relevant anymore, but doesn't this work? ``` self.table.refresh() for chain in self.table.chains: chain.flush() ```

Hi @mm95 , did you solve your installation issue? If you are using Ubuntu, chances are that iptables is already installed in your system. Can you provide the output of...

Hello there! After doing some digging I think it is safe to say that this is related to the underlying libiptc library itself and the open handles for each Table....

Hi @BenHSTremblay , were you able to solve the issue?

Try using the "dump_table" function to see what the internals of the iptc rules are: https://github.com/ldx/python-iptables/blob/master/README.md#high-level-abstractions Paste here the output :)

I believe in newer distributions you need to use `iptables-legacy` suite of tools instead of the default `iptables` which is built with `nf_tables`.

I don't have an access to a Linux box at the moment, but could you try adding the rule via the CLI with the iptables command and then use the...

Does that answer your question ? :)