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

DNS Kretprobe May Not Function as Expected When Driver Version < 1.9.0.19 #720

Open
Percivalll opened this issue Jan 16, 2025 · 0 comments

Comments

@Percivalll
Copy link
Contributor

Describe the bug
DNS Kretprobe May Not Function as Expected When Driver Version < 1.9.0.19

To Reproduce
Manually simulated excessive DNS requests to observe whether the kretprobe had been unregistered. After waiting for a period, it was found that the kretprobe was reattached but remained in a disabled state.
Image

Expected behavior
Re-enable kretprobe successfully.

OS information (please complete the following information):

  • Distribution: CentOS
  • Version 7.8
  • Kernel info 3.10.0-1062.9.1.el7.x86_64

Additional context
I suspect that this issue was caused by not resetting kp->flags during dynamic reloading of Kretprobe. This problem no longer exists in the current version. This is just a reminder for others who might encounter similar issues.
Image
Image
Image
Image
Image

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

No branches or pull requests

1 participant