Description of problem:
When one wants to use tracked passthroughts and they are dependent on each other, result of call removeAllPassthrought is failure, because this function is getting passthroughts in order in which they were added (from getAllPassthroughts method).
This doesn't work for example with Chain and Rule, because iptables do not allow to remove chain containing rules.
For removing passthroughs I propose to go with opposite order (stack-like) to avoid these problems, if there is not other reason to go with FIFO order.
Version-Release number of selected component (if applicable):
upstream git (tested)
(but also applicable to all current versions)
Steps to Reproduce:
1. Add new chain with function addPassthrought
2. Add new rule inside this chain with function addPassthrough
3. Try to call removeAllPassthrough
> Error org.fedoraproject.FirewallD1.Exception: COMMAND_FAILED: '/sbin/iptables -w -t filter -X INPUT_passthrough' failed: iptables: Directory not empty.
passthroughts and iptables stays on place
Thanks Jakub !
firewalld-0.3.13-1.fc21 has been submitted as an update for Fedora 21.
firewalld-0.3.13-1.fc20 has been submitted as an update for Fedora 20.
* should fix your issue,
* was pushed to the Fedora 21 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing firewalld-0.3.13-1.fc21'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
firewalld-0.3.13-1.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report.
firewalld-0.3.13-1.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.