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

[networkanalyzer]Subscribe sendmmsg to parse DNS requests #430

Merged
merged 13 commits into from
Feb 24, 2023

Conversation

dxsup
Copy link
Member

@dxsup dxsup commented Jan 4, 2023

Description

Subscribe sendmmsg to parse more DNS requests.

Related Issue

#429

How Has This Been Tested?

Have added a new test case TestDnsProtocol/sendmmsg to cover this issue.

=== RUN   TestDnsProtocol
=== RUN   TestDnsProtocol/multi
=== RUN   TestDnsProtocol/sendmmsg
--- PASS: TestDnsProtocol (0.00s)
    --- PASS: TestDnsProtocol/multi (0.00s)
    --- PASS: TestDnsProtocol/sendmmsg (0.00s)
PASS

Signed-off-by: Daxin Wang <daxinwang@harmonycloud.cn>
@dxsup dxsup requested a review from hocktea214 January 4, 2023 07:22
Signed-off-by: Daxin Wang <daxinwang@harmonycloud.cn>
hocktea214
hocktea214 previously approved these changes Jan 4, 2023
@dxsup dxsup dismissed hocktea214’s stale review January 4, 2023 09:12

The data in Sendmmsg is empty. The probe should first handle it.

@dxsup dxsup marked this pull request as draft January 4, 2023 09:38
sanyangji and others added 6 commits January 12, 2023 15:31
Signed-off-by: sanyangji <songyujie@zju.edu.cn>
# Conflicts:
#	CHANGELOG.md
Signed-off-by: Daxin Wang <daxinwang@harmonycloud.cn>
Signed-off-by: Daxin Wang <daxinwang@harmonycloud.cn>
Signed-off-by: Daxin Wang <daxinwang@harmonycloud.cn>
@dxsup dxsup marked this pull request as ready for review February 22, 2023 09:52
@dxsup dxsup requested a review from NeJan2020 February 22, 2023 09:52
Signed-off-by: Daxin Wang <daxinwang@harmonycloud.cn>
@dxsup dxsup changed the title [networkanalyzer]Subscribe sendmmsg and recvmmsg to parse DNS requests [networkanalyzer]Subscribe sendmmsg to parse DNS requests Feb 22, 2023
hocktea214
hocktea214 previously approved these changes Feb 23, 2023
Signed-off-by: sanyangji <songyujie@zju.edu.cn>
hocktea214
hocktea214 previously approved these changes Feb 24, 2023
Signed-off-by: sanyangji <songyujie@zju.edu.cn>
Signed-off-by: sanyangji <songyujie@zju.edu.cn>
@dxsup dxsup requested a review from hocktea214 February 24, 2023 03:46
hocktea214
hocktea214 previously approved these changes Feb 24, 2023
@dxsup dxsup merged commit 0a32ce6 into KindlingProject:main Feb 24, 2023
@dxsup dxsup deleted the add-sendmmsg-event branch February 24, 2023 03:55
@dxsup dxsup linked an issue Feb 24, 2023 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Can't analyze DNS requests with the sendmmsg syscall
3 participants