Skip to content
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

Drop invalid packets destined to bridge networks #1129

Closed
wants to merge 1 commit into from
Closed

Drop invalid packets destined to bridge networks #1129

wants to merge 1 commit into from

Conversation

aboch
Copy link
Contributor

@aboch aboch commented Apr 20, 2016

Add a per network rule in the INPUT chain to drop packets marked invalid by conntrack.

Fixes #1090

As an example, in a two bridge networks scenario, following would be programmed:

$ sudo iptables -nvL INPUT
Chain INPUT (policy ACCEPT 211 packets, 40848 bytes)
 pkts bytes target     prot opt in     out     source               destination         
    0     0 DROP       all  --  *      *       0.0.0.0/0            172.17.0.0/16        ctstate INVALID
    0     0 DROP       all  --  *      *       0.0.0.0/0            172.18.0.0/16        ctstate INVALID
$ 

Signed-off-by: Alessandro Boch [email protected]

@aboch
Copy link
Contributor Author

aboch commented Apr 22, 2016

Closing as this does not fix the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants