-
-
Notifications
You must be signed in to change notification settings - Fork 153
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
CSF (v14.10) plugin in DirectAdmin segfaults when Snoopy (2.4.14) is enabled #201
Comments
If there is anything I can do to help with this issue I would be glad to help. I'm not a developer so I can't send a PR but can help and give access to a server with this setup if that helps. |
Hey @yavuzaydin, thanks for reporting this. Mind if I ask you to test two things before I get involved further?
Thanks for the feedback, |
@bostjan thank you for your response.
|
I don't think the restart is necessary once Snoopy is preloaded into your (now) running program, but it can't hurt to weed out any weird side effects of the "in-flight" replacement. @yavuzaydin, does this method of bug reproduction work in a containerized environment (Docker, LXC), or do I have to use a dedicated VM to replicate this? |
As expected a reboot didn't change anything. @bostjan I don't have any containerized environment but I could provide you with access to a test VPS if you wish, just let me know. |
@yavuzaydin, that'd really help cutting down the time to analyse this issue. Can you reach out to me via email (you can find it in Snoopy's git history) and we'll sync how to transfer the credentials? Thanks! |
@bostjan I have sent you the details of the server by mail. Let me know if I can assist you with anything else. |
@yavuzaydin thank you for providing the infrastructure/environment to investigate this issue. Here's a quick recap: DirectAdmin (or whatever they are using as runtime - Go, maybe?) calls The fix (#202) provides a workaround for this unconventional behaviour. The fix has been released as Snoopy version 2.4.15. PS: Ignore the build/install errors for v2.4.15 shown in Snoopy's README.md, that's just CI (actually just the OpenSUSE tumbleweed portion of it) acting up. |
Checklist before starting to submit this bug report
I confirm that:
Issue description - Environment basics
Snoopy config file
Bug description
CSF (v14.10) plugin in DirectAdmin segfaults when Snoopy (2.4.14) is enabled. CSF seems to function good otherwise.
Bug reproduction steps
Install CentOS 7
Install DirectAdmin
Install CSF
Access "ConfigServer Security & Firewall" under "Extra Features" in DirectAdmin
Expected result
The CSF page is displayed.
Actual result
An empty page is displayed. Log shows:
csf[31760]: segfault at 0 ip 00007fc0d9ac7561 sp 00007fff6b481990 error 4 in libsnoopy.so.0.0.0[7fc0d9ac1000+b000]
The text was updated successfully, but these errors were encountered: