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

freshclam clobbers existing valid signature files if it can't connect to the mirror #1407

Open
martinnehg opened this issue Nov 19, 2024 · 2 comments

Comments

@martinnehg
Copy link

martinnehg commented Nov 19, 2024

Describe the bug

If freshclam cannot connect to a mirror to download virus signatures, it will first overwrite and clobber any existing any valid signature files and exit. freshclam should check first whether to the mirror before altering the existing signature files.

How to reproduce the problem

freshclam # download virus signatures
# disable internet
freshclam # clobbers existing virus signatures
clamd # observe failure to start due to "Malformed database" error

Attachments

N/A

@micahsnyder
Copy link
Contributor

Do you have any additional 3rd party signatures or just the standard daily, main, and bytecode signature files?

@micahsnyder
Copy link
Contributor

I could not reproduce this issue. Are you able to consistently reproduce it?

Please share the output of clamconf -n as well. it will tell us your version, what additional signature databases you're using, and any other unusual configuration options that may be required to reproduce this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants