-
Notifications
You must be signed in to change notification settings - Fork 44
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
flushing error #68
Comments
I don't understand. How can I reproduce the problem? |
it was 1 month ago ) but ok, here is fragment
problem is that Ferm thinks that he has created chain "DOCKER-USER". but its not true. it was created before. not by Ferm, but by Docker. it was empty. purposed special for user's rules. |
Your rules show me you told ferm to create a chain called "DOCKER-USER". |
check on existence before creation, of course ) |
So when you start ferm, it shall check if the chain exists. Where does ferm store this piece of information? |
i run it as service. -F is for stop. so on every stop or restart of ferm-service i see this error. |
At first, thank you very much for nice tool.
I use it with docker. Docker changes some builtin chains and makes serveral new chains. Filter's chain "DOCKER-USER" is one of these. This chain is called from builin chain "FORWARD". So i preserve "FORWARD" and make some rules in "DOCKER-USER" (it is purposed by docker for user's rules). And now I call "ferm -F" and it does not restore empty "DOCKER-USER". Coz it thinks that its new (user's) chain. But it is not. It was there before and it was referenced (by jump) from "FORWARD". So I have error:
Coz there is "-A FORWARD -j DOCKER-USER" and there is no "DOCKER-USER".
$VERSION = '2.5.1';
The text was updated successfully, but these errors were encountered: