-
Notifications
You must be signed in to change notification settings - Fork 228
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
Bug with the iptables overlay and transit #485
Comments
Here is an even simpler version of the unit test where the problem persists (for easier debugging)
updated the test rig (there was a small glitch in it) |
It looks like the iptables rules are not being converted correctly, I will open a separate ticket for it |
resuming the discussion on #464 |
Since #464 is closed, is this bug fixed too? Can we close? |
Ari, lets keep this open and use it to discuss the NoD anomalies I am seeing. Ill see if I can recreate those now that iptables is fixed. |
Related to #317 ? |
@jkhourybbn – any more information to provide here? |
@dhalperi I will work on this tomorrow. I will either provide an example by Thursday or close this out. Tx |
@arifogel Here is a detailed account of the NoD inconsistency (or likely something I am missing) Consider the following testrig.zip See the diagram, this is a very simple network that is partitioned, on purpose. I basically removed the link between the firewalls. Now if you run a simple transit query on the network
NoD here returns a result that doesn't match the query, see how the dstIP is different than the one in the query. This query should return no results instead because the flow did not transit through z1-firewall. Looking at the NoD query it seems fine, but I guess there must be some inconsistency in the program somewhere when the link is removed
Thoughts? |
@arifogel, can you follow up here? |
On my queue.. |
Appears to be a bug with z3. |
use batfish z3 with latest patch addressing #485
Closed via #853 |
tx folks |
Related to #462
Hi Ari/Ratul,
I am attaching a very simple test rig which has 2 zones
The following query and output is anomalous. Even though I am fixing the dstIp in the query (verified it against the NoD program), z3 returns an answer that effectively ignores the dstIp constraints. This seems to happen only with transit.
I spent a couple hours chasing the potential problem in z3 but I am slow at z3 still. Can you take a look? We can add this unit test once we figure out the problem.
The text was updated successfully, but these errors were encountered: