-
Notifications
You must be signed in to change notification settings - Fork 712
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
Let conntrack track non-NATed short-lived connections #2527
Conversation
I was done coding an integration test when I realized we already have one doing almost exactly what I demonstrated at #2494 (comment) The only difference is that it uses Weave. Maybe connections somehow do NATting? (I doubt it) |
There must be something wrong with the test because I just verified its short-lived connections aren't conntracked when running it locally.
In other words, the integration test should had been failing. |
d6cbcb4
to
80140ea
Compare
04b8830
to
1130194
Compare
The existing test was working because, after all, the connection between the client and nginx (through Weave) was NATed. Here's the report.json.gz at the point at which the test was successful. And here are the relevant pieces from the Endpoint topology:
This means that the connection was happening from IP This also means that I was doing something wrong when running the test locally (I was writing commands manually, so who knows ...) I will re-add my test and see if it fails before adding my fix. |
1130194
to
3bc2d87
Compare
3bc2d87
to
7491031
Compare
The new test fails without the fix. |
@errordeveloper the netlify CI is a bit flakey |
Fixes #2494
Regression introduced by #2135