-
Notifications
You must be signed in to change notification settings - Fork 375
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
Add FQDN TCP DNS support #4612
Add FQDN TCP DNS support #4612
Conversation
Codecov Report
@@ Coverage Diff @@
## main #4612 +/- ##
==========================================
- Coverage 69.58% 68.39% -1.19%
==========================================
Files 400 403 +3
Lines 59122 60199 +1077
==========================================
+ Hits 41141 41175 +34
- Misses 15175 16169 +994
- Partials 2806 2855 +49
*This pull request uses carry forward flags. Click here to find out more.
|
dc613c8
to
480f02e
Compare
dbf63b3
to
7daa730
Compare
23c8fd8
to
4e7b113
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM overall
5b59f03
to
782dec7
Compare
2db5e01
to
de3a491
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
/test-all |
@GraysonWu please resolve the conflict so we can merge |
1. Use tp_src=53,tcp_flags=+psh+ack to match the TCP DNS response, which can skip the handshake packets and match the packet containing the actual data. 2. To achieve 1., additional OVS fix patch should be applied. 3. While paresing TCP DNS response, we need to trim the TCP option part to retrieve the data. And while sending it out via packetOut we should construct the exact packet received by the Antrea agent. 4. Using SendEthPacketOut to send the eth packet via packetOut save us from retrieving all L2/3/4 info and make sure that we send out the packet which is exactly the same as what we received. Signed-off-by: graysonwu <wgrayson@vmware.com>
Signed-off-by: graysonwu <wgrayson@vmware.com>
/test-all |
Signed-off-by: graysonwu <wgrayson@vmware.com>
/test-all |
/test-multicluster-e2e |
/test-all |
/test-ipv6-only-e2e |
The failure in ipv6-only-e2e is not related. Tried to run it on main branch and also failed. Opened issue #4717 to track it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
1. Use tp_src=53,tcp_flags=+psh+ack to match the TCP DNS response, which can skip the handshake packets and match the packet containing the actual data. 2. To achieve 1., additional OVS fix patch should be applied. 3. While paresing TCP DNS response, we need to trim the TCP option part to retrieve the data. And while sending it out via packetOut we should construct the exact packet received by the Antrea agent. 4. Using SendEthPacketOut to send the eth packet via packetOut save us from retrieving all L2/3/4 info and make sure that we send out the packet which is exactly the same as what we received. Signed-off-by: graysonwu <wgrayson@vmware.com>
Fixes #4225
Use tp_src=53,tcp_flags=+psh+ack to match the TCP DNS response,
which can skip the handshake packets and match the packet containing
the actual data.
To achieve 1., an additional OVS fix patch should be applied.
While parsing TCP DNS response, we need to trim the TCP option
part to retrieve the data. And while sending it out via packetOut we
should construct the exact packet received by the Antrea agent.
Signed-off-by: graysonwu wgrayson@vmware.com