{"id":4414,"date":"2025-07-03T02:24:21","date_gmt":"2025-07-02T17:24:21","guid":{"rendered":"https:\/\/eternalsphere.net\/echoes\/?p=4414"},"modified":"2026-06-06T09:13:58","modified_gmt":"2026-06-06T00:13:58","slug":"o416t7lo06hv3mz","status":"publish","type":"post","link":"https:\/\/eternalsphere.net\/echoes\/index.php\/2025\/07\/03\/o416t7lo06hv3mz\/","title":{"rendered":"ClamAV \u66f4\u65b0\u5931\u8d25\u4e0e\u626b\u63cf\u6267\u884c\u95ee\u9898\u6392\u67e5\u603b\u7ed3"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">\u5728\u4f7f\u7528 ClamAV \u8fdb\u884c\u75c5\u6bd2\u5e93\u66f4\u65b0\uff08<code>freshclam<\/code>\uff09\u7684\u8fc7\u7a0b\u4e2d\uff0c\u51fa\u73b0\u4e86\u5982\u4e0b\u9519\u8bef\u4fe1\u606f\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">vbnetCopyEdit<code>Can't query current.cvd.clamav.net\nInvalid DNS reply. Falling back to HTTP mode.\nFreshClam previously received error code 429 or 403 from the ClamAV Content Delivery Network (CDN).\nThis means that you have been rate limited or blocked by the CDN.\nYou are still on cool-down until after: YYYY-MM-DD HH:MM:SS\n<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">\u9519\u8bef\u539f\u56e0\u5206\u6790<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>ClamAV \u5b98\u65b9 CDN\uff08\u7531 Cloudflare \u63d0\u4f9b\uff09\u4f1a\u5bf9\u9891\u7e41\u7684\u8bf7\u6c42\u8fdb\u884c\u9650\u6d41\uff0c\u8fd4\u56de 429 \u6216 403 \u9519\u8bef\u7801\u3002<\/li>\n\n\n\n<li>\u5982\u679c\u5c40\u57df\u7f51\u4e2d\u591a\u53f0\u4e3b\u673a\u5171\u7528\u540c\u4e00\u516c\u7f51 IP\uff0c\u5e76\u4e14\u591a\u6b21\u6267\u884c <code>freshclam<\/code> \u547d\u4ee4\uff0c\u4f1a\u5bfc\u81f4\u89e6\u53d1\u9650\u6d41\u673a\u5236\uff0cCDN \u4f1a\u81ea\u52a8\u6682\u65f6\u5c01\u7981\u8be5\u516c\u7f51 IP \u4e00\u6bb5\u65f6\u95f4\uff08\u5b98\u65b9\u79f0\u4e3a\u300ccool-down\u300d\uff09\u3002<\/li>\n\n\n\n<li>\u5b98\u65b9\u8981\u6c42\u6bcf\u5c0f\u65f6\u6700\u591a\u6267\u884c\u4e00\u6b21 <code>freshclam<\/code> \u68c0\u67e5\u66f4\u65b0\uff0c\u8d85\u8fc7\u9891\u7387\u4f1a\u88ab\u5c01\u7981\u3002<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">\u6392\u67e5\u65b9\u6cd5<\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li>\u4f7f\u7528 <code>dig<\/code> \u6216 <code>nslookup<\/code> \u547d\u4ee4\u68c0\u67e5 DNS \u89e3\u6790\u60c5\u51b5\uff0c\u786e\u8ba4 <code>current.cvd.clamav.net<\/code> \u662f\u5426\u6b63\u5e38\u8fd4\u56de A \u8bb0\u5f55\u3002\u5982\u679c\u6ca1\u6709\u8fd4\u56de IP\uff0c\u5219\u8bf4\u660e\u88ab CDN \u9650\u6d41\u6216 DNS \u7f13\u5b58\u5f02\u5e38\u3002<\/li>\n\n\n\n<li>\u67e5\u770b <code>freshclam<\/code> \u7684\u65e5\u5fd7\uff0c\u53ef\u4ee5\u76f4\u63a5\u5b9a\u4f4d\u5230\u5177\u4f53\u7684\u9650\u6d41\u539f\u56e0\u548c\u89e3\u5c01\u65f6\u95f4\u3002<\/li>\n\n\n\n<li>\u5982\u679c\u51fa\u73b0\u9650\u6d41\uff0c\u6309\u7167\u65e5\u5fd7\u63d0\u793a\u7684\u65f6\u95f4\u7b49\u5f85\uff0c\u89e3\u5c01\u540e\u518d\u6267\u884c\u66f4\u65b0\u3002<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\">\u89e3\u51b3\u65b9\u6848<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u4fdd\u8bc1\u4e00\u5c0f\u65f6\u6700\u591a\u66f4\u65b0\u4e00\u6b21\u6570\u636e\u5e93\uff0c\u907f\u514d\u5728\u5b9a\u65f6\u4efb\u52a1\u6216\u591a\u53f0\u673a\u5668\u4e2d\u91cd\u590d\u6267\u884c <code>freshclam<\/code>\u3002<\/li>\n\n\n\n<li>\u53ef\u4ee5\u8bbe\u7f6e\u4e00\u4e2a\u4e13\u7528\u7684\u5185\u90e8\u673a\u5668\u4f5c\u4e3a\u66f4\u65b0\u8282\u70b9\uff0c\u5176\u5b83\u673a\u5668\u901a\u8fc7\u5171\u4eab\u6216\u540c\u6b65\u65b9\u5f0f\u83b7\u53d6\u75c5\u6bd2\u6570\u636e\u5e93\u6587\u4ef6\uff0c\u51cf\u5c11\u5bf9\u516c\u7f51 CDN \u7684\u8bf7\u6c42\u3002<\/li>\n\n\n\n<li>\u5728 <code>\/etc\/clamav\/freshclam.conf<\/code> \u4e2d\u4fee\u6539 <code>Checks<\/code> \u53c2\u6570\uff0c\u4f8b\u5982\uff1a nginxCopyEdit<code>Checks 24<\/code> \u8868\u793a\u6bcf\u5929\u6700\u591a\u68c0\u67e5 24 \u6b21\uff08\u5373\u6bcf\u5c0f\u65f6\u4e00\u6b21\uff09\uff0c\u5efa\u8bae\u4e0d\u8981\u8d85\u8fc7\u3002<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">\u4e0d\u66f4\u65b0\u6570\u636e\u5e93\u65f6\u7684\u626b\u63cf\u5904\u7406<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u5373\u4f7f\u6570\u636e\u5e93\u672a\u66f4\u65b0\uff0cClamAV \u4ecd\u7136\u53ef\u4ee5\u76f4\u63a5\u6267\u884c\u626b\u63cf\uff0c\u53ea\u662f\u75c5\u6bd2\u5e93\u4f1a\u6bd4\u8f83\u65e7\uff0c\u53ef\u80fd\u5bfc\u81f4\u5bf9\u6700\u65b0\u5a01\u80c1\u7684\u68c0\u6d4b\u80fd\u529b\u4e0b\u964d\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u793a\u4f8b\u626b\u63cf\u547d\u4ee4\u5982\u4e0b\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">bashCopyEdit<code>clamscan -r --bell --exclude-dir=\/proc --exclude-dir=\/sys --exclude-dir=\/dev \/ | tee \/root\/clamav_scan_$(date +%Y%m%d_%H%M%S).log\n<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">\u53c2\u6570\u8bf4\u660e<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>-r<\/code>\uff1a\u9012\u5f52\u626b\u63cf\u6240\u6709\u5b50\u76ee\u5f55\u3002<\/li>\n\n\n\n<li><code>--bell<\/code>\uff1a\u626b\u63cf\u7ed3\u675f\u540e\u5728\u7ec8\u7aef\u54cd\u94c3\u63d0\u793a\u3002<\/li>\n\n\n\n<li><code>--exclude-dir<\/code>\uff1a\u6392\u9664\u7279\u5b9a\u76ee\u5f55\uff08\u5982 <code>\/proc<\/code>, <code>\/sys<\/code>, <code>\/dev<\/code>\uff09\u907f\u514d\u626b\u63cf\u865a\u62df\u6216\u8bbe\u5907\u6587\u4ef6\u7cfb\u7edf\u3002<\/li>\n\n\n\n<li><code>\/<\/code>\uff1a\u4ece\u6839\u76ee\u5f55\u5f00\u59cb\u626b\u63cf\u3002<\/li>\n\n\n\n<li><code>tee<\/code>\uff1a\u540c\u65f6\u5728\u7ec8\u7aef\u663e\u793a\u8f93\u51fa\u5e76\u5199\u5165\u65e5\u5fd7\u6587\u4ef6\uff0c\u6587\u4ef6\u540d\u5305\u542b\u5f53\u524d\u65f6\u95f4\u6233\u3002<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">\u603b\u7ed3<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>ClamAV \u66f4\u65b0\u5931\u8d25\u65f6\uff0c\u9996\u5148\u68c0\u67e5\u662f\u5426\u89e6\u53d1\u4e86 CDN \u9650\u6d41\uff0c\u5e76\u9075\u5faa\u5b98\u65b9\u9891\u7387\u8981\u6c42\u3002<\/li>\n\n\n\n<li>\u53ef\u4ee5\u5728\u4e0d\u66f4\u65b0\u6570\u636e\u5e93\u7684\u60c5\u51b5\u4e0b\u6267\u884c\u626b\u63cf\uff0c\u4f5c\u4e3a\u4e34\u65f6\u65b9\u6848\u3002<\/li>\n\n\n\n<li>\u5efa\u8bae\u957f\u671f\u4ecd\u4fdd\u6301\u5b9a\u671f\u66f4\u65b0\u6570\u636e\u5e93\uff0c\u4ee5\u83b7\u5f97\u6700\u65b0\u7684\u68c0\u6d4b\u80fd\u529b\u3002<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>\u5728\u4f7f\u7528 ClamAV \u8fdb\u884c\u75c5\u6bd2\u5e93\u66f4\u65b0\uff08freshclam\uff09\u7684\u8fc7\u7a0b\u4e2d\uff0c\u51fa\u73b0\u4e86\u5982\u4e0b\u9519\u8bef\u4fe1\u606f\uff1a vbnetCopyEditCan&#8217;t query current.cvd.clamav.net Invalid DNS reply. Falling back to HTTP mode. FreshClam previously received error code 429 or 403 from the ClamAV Content Delivery Network (CDN). This means that you have been rate limited or blocked by the CDN. You are still on cool-down until after: YYYY-MM-DD &hellip;<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[58],"tags":[],"class_list":["post-4414","post","type-post","status-publish","format-standard","hentry","category-b7fum8vqsuspg2y"],"_links":{"self":[{"href":"https:\/\/eternalsphere.net\/echoes\/index.php\/wp-json\/wp\/v2\/posts\/4414","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/eternalsphere.net\/echoes\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/eternalsphere.net\/echoes\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/eternalsphere.net\/echoes\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/eternalsphere.net\/echoes\/index.php\/wp-json\/wp\/v2\/comments?post=4414"}],"version-history":[{"count":1,"href":"https:\/\/eternalsphere.net\/echoes\/index.php\/wp-json\/wp\/v2\/posts\/4414\/revisions"}],"predecessor-version":[{"id":4415,"href":"https:\/\/eternalsphere.net\/echoes\/index.php\/wp-json\/wp\/v2\/posts\/4414\/revisions\/4415"}],"wp:attachment":[{"href":"https:\/\/eternalsphere.net\/echoes\/index.php\/wp-json\/wp\/v2\/media?parent=4414"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/eternalsphere.net\/echoes\/index.php\/wp-json\/wp\/v2\/categories?post=4414"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/eternalsphere.net\/echoes\/index.php\/wp-json\/wp\/v2\/tags?post=4414"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}