{"id":13536,"date":"2024-09-01T09:58:59","date_gmt":"2024-09-01T01:58:59","guid":{"rendered":"https:\/\/blog.pfchina.org\/?p=13536"},"modified":"2024-09-09T10:51:02","modified_gmt":"2024-09-09T02:51:02","slug":"opnsense%e9%85%8d%e7%bd%aeclamav","status":"publish","type":"post","link":"https:\/\/blog.pfchina.org\/?p=13536","title":{"rendered":"OPNsense\u914d\u7f6eClamAV\u9632\u75c5\u6bd2\u5f15\u64ce"},"content":{"rendered":"<p style=\"text-align: justify;\">OPNsense\u5229\u7528\u5176\u9ad8\u5ea6\u7075\u6d3b\u7684\u4ee3\u7406\u548c\u884c\u4e1a\u6807\u51c6ICAP \u63d0\u4f9bHTTP(S)\u4fdd\u62a4\u3002\u4e3a\u4e86\u6700\u5927\u9650\u5ea6\u5730\u9632\u8303\u52d2\u7d22\u8f6f\u4ef6\u3001\u6728\u9a6c\u548c\u75c5\u6bd2\u7b49\u6076\u610f\u8f6f\u4ef6\uff0c\u53ef\u4ee5\u901a\u8fc7\u5185\u7f6e\u7684\u5165\u4fb5\u9632\u5fa1\u7cfb\u7edf\u548c\u57fa\u4e8e\u7c7b\u522b\u7684 Web \u8fc7\u6ee4\u8fdb\u4e00\u6b65\u589e\u5f3a\u7f51\u7edc\u5b89\u5168\u6027\u3002<\/p>\n<p style=\"text-align: justify;\">\u9632\u75c5\u6bd2\u4ee3\u7406\u7684\u529f\u80fd\u4e0e\u4f20\u7edf\u7684Web\u4ee3\u7406\u7c7b\u4f3c\uff0c\u4e0d\u540c\u4e4b\u5904\u5728\u4e8e\u5b83\u4eec\u4f1a\u626b\u63cf\u901a\u8fc7\u4ee3\u7406\u7684\u6240\u6709\u5185\u5bb9\u4ee5\u67e5\u627e\u6076\u610f\u8f6f\u4ef6\u6216\u75c5\u6bd2\u7b7e\u540d\u3002\u5982\u679c\u4ee3\u7406\u8ba4\u4e3a\u5185\u5bb9\u6709\u5bb3\uff0c\u5219\u4f1a\u505c\u6b62\u4e0b\u8f7d\u5e76\u5c06\u7528\u6237\u91cd\u5b9a\u5411\u5230\u9519\u8bef\u9875\u9762\u3002<\/p>\n<p style=\"text-align: justify;\">\u76f4\u63a5\u5728\u8def\u7531\u5668\u4e0a\u626b\u63cf\u75c5\u6bd2\u7684\u4e3b\u8981\u597d\u5904\u662f\uff0c\u53ef\u4ee5\u5728\u6076\u610f\u7f51\u7edc\u6570\u636e\u5305\u8fdb\u5165\u7f51\u7edc\u4e4b\u524d\u5c06\u5176\u963b\u6b62\u3002\u8fd9\u79cd\u7f51\u7edc\u5b89\u5168\u65b9\u6cd5\u5bf9\u4e8e\u8bbf\u5ba2\u7f51\u7edc\u548c\u5176\u4ed6\u65e0\u6cd5\u786e\u5b9a\u6240\u6709\u5ba2\u6237\u7aef\u90fd\u5b89\u88c5\u4e86\u6700\u65b0\u9632\u75c5\u6bd2\u7a0b\u5e8f\u7684\u60c5\u51b5\u7279\u522b\u6709\u7528\u3002\u6b64\u5916\uff0c\u5373\u4f7f\u60a8\u7684\u6bcf\u4e2a\u5ba2\u6237\u7aef\u90fd\u5b89\u88c5\u4e86\u9632\u75c5\u6bd2\u5e94\u7528\u7a0b\u5e8f\uff0c\u7eb5\u6df1\u9632\u5fa1\u539f\u5219\u4e5f\u5efa\u8bae\u901a\u8fc7\u4f7f\u7528\u4e2d\u592e\u9632\u75c5\u6bd2\u7cfb\u7edf\u6765\u589e\u52a0\u53e6\u4e00\u5c42\u4fdd\u62a4\u3002OPNsense\u5305\u542b\u4e00\u4e2aClamAV\u63d2\u4ef6\uff0c\u53ef\u4ee5\u4e0eC-ICAP\u63d2\u4ef6\u7ed3\u5408\u4f7f\u7528\u3002<\/p>\n<div style=\"text-align: justify;\">\n<div>\n<p>\u5728\u672c\u6559\u7a0b\u4e2d\uff0c\u5c06\u4ecb\u7ecd\u5982\u4f55\u4f7f\u7528C-ICAP\u548cClamAV\u63d2\u4ef6\u914d\u7f6eOPNsense\u8def\u7531\u5e73\u53f0\u4f5c\u4e3a\u9632\u75c5\u6bd2\u4ee3\u7406\u3002<\/p>\n<\/div>\n<\/div>\n<p id=\"1-set-up-a-basic-caching-proxy-server-in-opnsense\" style=\"text-align: justify;\">\u5728\u5f00\u59cb\u672c\u6587\u4e4b\u524d\uff0c\u5fc5\u987b\u5728OPNsense\u8bbe\u7f6e\u4e00\u4e2a\u57fa\u672c\u7684<span style=\"color: #0000ff;\"><a style=\"color: #0000ff;\" href=\"https:\/\/blog.pfchina.org\/?p=9747\">\u7f13\u5b58\u4ee3\u7406\u670d\u52a1\u5668<\/a><\/span>\uff0c\u4e3a\u514d\u9664\u5ba2\u6237\u7aef\u6216\u6d4f\u89c8\u5668\u7aef\u914d\u7f6e\uff0c\u5efa\u8bae\u5f00\u542f\u900f\u660e\u4ee3\u7406\u6a21\u5f0f\u3002<\/p>\n<div style=\"text-align: justify;\">\n<h2 data-hubspot-wrapper-cta-id=\"173604250792\">\u5b89\u88c5ClamAV<\/h2>\n<\/div>\n<p style=\"text-align: justify;\">ClamAV\u00ae \u662f\u4e00\u6b3e\u9632\u75c5\u6bd2\u5f15\u64ce\uff0c\u53ef\u7528\u4e8e\u7535\u5b50\u90ae\u4ef6\u626b\u63cf\u3001Web \u626b\u63cf\u548c\u7aef\u70b9\u5b89\u5168\u3002\u5b83\u5305\u62ec\u4e00\u4e2a\u53ef\u6269\u5c55\u4e14\u7075\u6d3b\u7684\u591a\u7ebf\u7a0b\u5b88\u62a4\u7a0b\u5e8f\u3001\u4e00\u4e2a\u547d\u4ee4\u884c\u626b\u63cf\u7a0b\u5e8f\u548c\u4e00\u4e2a\u7528\u4e8e\u81ea\u52a8\u66f4\u65b0\u6570\u636e\u5e93\u7684\u9ad8\u7ea7\u5de5\u5177\u3002\u5b83\u6839\u636e GNU \u901a\u7528\u516c\u5171\u8bb8\u53ef\u8bc1\u7b2c 2 \u7248\u83b7\u5f97\u8bb8\u53ef\u3002ClamAV \u53ef\u8bc6\u522b\u6570\u767e\u4e07\u79cd\u75c5\u6bd2\u3001\u6728\u9a6c\u3001\u8815\u866b\u548c\u5176\u4ed6\u7c7b\u578b\u7684\u6076\u610f\u8f6f\u4ef6\u3002<\/p>\n<p style=\"text-align: justify;\">ClamAV\u00ae \u4ec5\u5728\u7b7e\u540d\u6570\u636e\u5e93\u5df2\u7b7e\u540d\u7684\u60c5\u51b5\u4e0b\u624d\u4f1a\u6267\u884c\u53d7\u4fe1\u4efb\u7684\u7b7e\u540d\u5b9a\u4e49\u3002\u5b83\u4e0d\u4ec5\u53ef\u4ee5\u626b\u63cf\u5b58\u6863\u548c\u538b\u7f29\u6587\u4ef6\uff0c\u8fd8\u53ef\u4ee5\u9632\u8303\u5b58\u6863\u70b8\u5f39\u3002<\/p>\n<div style=\"text-align: justify;\">\n<div>ClamAV\u00ae \u7684\u63a8\u8350\u7cfb\u7edf\u8981\u6c42\u5982\u4e0b\uff1a<\/div>\n<div>\n<ul>\n<li>FreeBSD \u548c Linux \u670d\u52a1\u5668\u7248\u672c\u7684\u6700\u4f4e RAM\uff1a2 GiB<\/li>\n<li>\u6700\u4f4e\u5efa\u8bae CPU\uff1a1 CPU at 2.0 Ghz<\/li>\n<li>\u6240\u9700\u7684\u6700\u5c0f\u53ef\u7528\u786c\u76d8\u7a7a\u95f4\uff1a5 GB<\/li>\n<\/ul>\n<\/div>\n<\/div>\n<p style=\"text-align: justify;\">C-ICAP \u662f ICAP \u670d\u52a1\u5668\u5b9e\u73b0\u3002\u5b83\u53ef\u7528\u4e8e\u4e0e\u652f\u6301 ICAP \u534f\u8bae\u7684 HTTP \u4ee3\u7406\u4e00\u8d77\u5b9e\u73b0\u5185\u5bb9\u9002\u914d\u548c\u8fc7\u6ee4\u670d\u52a1\u3002\u5b83\u5177\u6709\u4ee5\u4e0b\u4e3b\u8981\u529f\u80fd\uff1a<\/p>\n<ul style=\"text-align: justify;\">\n<li>\u7528\u4e8e\u5f00\u53d1\u81ea\u5b9a\u4e49\u5185\u5bb9\u9002\u914d\u548c\u8fc7\u6ee4\u670d\u52a1\u7684\u57fa\u672c C API<\/li>\n<li>LDAP\u96c6\u6210<\/li>\n<li>\u7b80\u5355\u7684 ICAP \u5ba2\u6237\u7aef API<\/li>\n<li>\u63d2\u4ef6\u63a5\u53e3<\/li>\n<\/ul>\n<p style=\"text-align: justify;\">\u5728OPNsense \u9632\u706b\u5899\u4e2d\u5b89\u88c5ClamAV\u63d2\u4ef6\uff0c\u8bf7\u6309\u7167\u4ee5\u4e0b\u6b65\u9aa4\u64cd\u4f5c\uff1a<\/p>\n<p>\u5bfc\u822a\u81f3System\u2192 Firmware\u2192 Plugins\u3002<span style=\"text-align: justify;\">\u5728\u641c\u7d22\u5b57\u6bb5\u4e2d\u8f93\u5165\u5185\u5bb9os-clamav\uff0c\u7136\u540e\u70b9\u51fb\u53f3\u4fa7\u7684\u201c \u201d\u6309\u94ae\u8fdb\u884c\u5b89\u88c5\u3002<\/span>\u63d2\u4ef6\u5b89\u88c5\u5b8c\u6210\u540e\uff0cClamAV\u4f1a\u51fa\u73b0\u5728\u670d\u52a1\u83dc\u5355\u5f53\u4e2d\u3002<\/p>\n<p style=\"text-align: justify;\"><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2024\/09\/opnsense\u914d\u7f6eclamav\u9632\u75c5\u6bd2\u5f15\u64ce.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-13558 alignnone\" title=\"\u5728 OPNsense Web UI \u4e2d\u8bbf\u95ee ClamAV \u83dc\u5355\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2024\/09\/opnsense\u914d\u7f6eclamav\u9632\u75c5\u6bd2\u5f15\u64ce.png\" alt=\"\u5728 OPNsense Web UI \u4e2d\u8bbf\u95ee ClamAV \u83dc\u5355\" width=\"324\" height=\"523\" \/><\/a><\/p>\n<p style=\"text-align: justify;\">\u5728\u542f\u7528 ClamAV\u00ae \u9632\u75c5\u6bd2\u5f15\u64ce\u4e4b\u524d\uff0c\u5fc5\u987b\u5148\u4e0b\u8f7d\u75c5\u6bd2\u7b7e\u540d\u3002<\/p>\n<p>\u5bfc\u822a\u5230System\u2192 Services\u2192 \u3002ClamAV\uff0c<span style=\"text-align: justify;\">\u5355\u51fb\u9875\u9762\u53f3\u4e0a\u89d2\u7684\u4e0b\u8f7d\u7b7e\u540d\u6309\u94ae\u3002<\/span><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2024\/09\/opnsense\u914d\u7f6eclamav\u9632\u75c5\u6bd2\u5f15\u64ce-1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-13559\" title=\"\u5728 OPNsense Web UI \u4e2d\u4e0b\u8f7d ClamAV \u75c5\u6bd2\u7b7e\u540d\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2024\/09\/opnsense\u914d\u7f6eclamav\u9632\u75c5\u6bd2\u5f15\u64ce-1.png\" alt=\"\u5728 OPNsense Web U \u4e2d\u4e0b\u8f7d ClamAV \u75c5\u6bd2\u7b7e\u540d\" width=\"1280\" height=\"456\" \/><\/a><\/p>\n<h2 id=\"32-clamav-configuration-opnsense\" style=\"text-align: justify;\">\u914d\u7f6eClamAV<\/h2>\n<p style=\"text-align: justify;\">\u914d\u7f6eClamAV\u63d2\u4ef6\uff0c\u53ef\u4ee5\u6309\u7167\u4ee5\u4e0b\u6b65\u9aa4\u8fdb\u884c\u64cd\u4f5c\uff1a<\/p>\n<ol style=\"text-align: justify;\">\n<li>\u5bfc\u822a\u5230System\u2192 Services\u2192 ClamAV\u3002<\/li>\n<li>\u9009\u4e2d\u542f\u7528clamd \u670d\u52a1\u9009\u9879\u3002<\/li>\n<li>\u9009\u4e2d\u542f\u7528freshclam\u670d\u52a1\u9009\u9879\u6765\u5b9a\u671f\u66f4\u65b0\u60a8\u7684\u6076\u610f\u8f6f\u4ef6\u7b7e\u540d\u3002<\/li>\n<li>\u9009\u4e2d\u542f\u7528 TCP \u7aef\u53e33310\u9009\u9879\uff0c\u9664\u4e86\u672c\u5730\u5957\u63a5\u5b57\u4e4b\u5916\u8fd8\u542f\u7528 TCP \u7aef\u53e3\u3002<\/li>\n<li>\u5c06\u8fd0\u884c\u7ebf\u7a0b\u7684\u6700\u5927\u6570\u91cf\u9009\u9879\u8bbe\u7f6e\u4e3a OPNsense \u7684\u6838\u5fc3\u6570\u91cf\uff0c\u4ee5\u907f\u514d\u5b88\u62a4\u8fdb\u7a0b\u548c\u8def\u7531\u5668\u62d2\u7edd\u670d\u52a1\u3002<\/li>\n<li>\u8bbe\u7f6e\u201c\u6700\u5927\u6392\u961f\u9879\u76ee\u6570\u201d\u9009\u9879\u3002\u6b64\u9009\u9879\u7528\u4e8e\u6307\u5b9a\u53ef\u4ee5\u6392\u961f\u7b49\u5f85\u626b\u63cf\u7684\u6700\u5927\u6587\u4ef6\u6570\u3002\u5982\u679c\u53ef\u80fd\uff0c\u5efa\u8bae\u5c06\u6b64\u503c\u81f3\u5c11\u8bbe\u7f6e\u4e3a MaxThreads \u7684\u4e24\u500d\u3002<\/li>\n<li>\u5c06\u7a7a\u95f2\u8d85\u65f6\u9009\u9879\u4fdd\u7559\u4e3a\u9ed8\u8ba4\u503c\u3002\u5982\u679c\u8fde\u63a5\u5728\u6b64\u65f6\u95f4\u5185\u5904\u4e8e\u975e\u6d3b\u52a8\u72b6\u6001\uff0c\u5b83\u5c06\u88ab\u65ad\u5f00\u3002<\/li>\n<li>\u5c06\u7528\u4e8e\u9650\u5236\u76ee\u5f55\u6811\u6df1\u5ea6\u7684\u6700\u5927\u76ee\u5f55\u9012\u5f52\u9009\u9879\u4fdd\u7559\u4e3a\u9ed8\u8ba4\u503c\u3002\u5728\u6700\u574f\u7684\u60c5\u51b5\u4e0b\uff0c\u4f1a\u51fa\u73b0\u4e00\u4e2a\u5faa\u73af\uff0c\u5bfc\u81f4\u626b\u63cf\u65e0\u9650\u671f\u8fd0\u884c\uff0c\u6b64\u8bbe\u7f6e\u5e94\u80fd\u9632\u6b62\u8fd9\u79cd\u60c5\u51b5\u53d1\u751f\u3002<\/li>\n<li>\u52fe\u9009\u201c\u8ddf\u968f\u76ee\u5f55\u7b26\u53f7\u94fe\u63a5\u201d\u9009\u9879\u4ee5\u5f3a\u5236 ClamAV\u00ae \u8ddf\u968f\u76ee\u5f55\u7b26\u53f7\u94fe\u63a5\u3002\u7531\u4e8e\u8fd9\u53ef\u80fd\u4f1a\u5bfc\u81f4\u5faa\u73af\uff0c\u56e0\u6b64\u8bf7\u786e\u4fdd\u5728\u542f\u7528\u6b64\u9009\u9879\u65f6\u5c06\u9012\u5f52\u9650\u5236\u8bbe\u7f6e\u4e3a\u6709\u7528\u7684\u503c\u3002<\/li>\n<li>\u52fe\u9009\u201c\u8ddf\u968f\u5e38\u89c4\u6587\u4ef6\u7b26\u53f7\u94fe\u63a5\u201d\u9009\u9879\uff0c\u5f3a\u5236 ClamAV\u00ae \u8ddf\u968f\u5e38\u89c4\u6587\u4ef6\u7684\u7b26\u53f7\u94fe\u63a5\u3002\u8fd9\u53ef\u80fd\u4f1a\u66b4\u9732\u7528\u6237\u4e0d\u5e94\u8bbf\u95ee\u7684\u6587\u4ef6\u7cfb\u7edf\u4fe1\u606f\u3002<\/li>\n<li>\u52fe\u9009\u201c\u7981\u7528\u7f13\u5b58\u201d\u9009\u9879\u4ee5\u4e0d\u7f13\u5b58\u7ed3\u679c\u3002\u7531\u4e8e\u8fd9\u4f1a\u51cf\u6162\u54cd\u5e94\u65f6\u95f4\uff0c\u56e0\u6b64\u5b83\u4ec5\u9002\u7528\u4e8e\u5f00\u53d1\u73af\u5883\u3002<\/li>\n<li>\u52fe\u9009\u626b\u63cf\u53ef\u79fb\u690d\u53ef\u6267\u884c\u6587\u4ef6\u9009\u9879\u6765\u626b\u63cf PE \u6587\u4ef6\uff0c\u4f8b\u5982 *.exe\u3001*.dll\u3001*.bat \u7b49\u7b49\u3002<\/li>\n<li>\u68c0\u67e5\u626b\u63cf\u53ef\u6267\u884c\u6587\u4ef6\u548c\u94fe\u63a5\u683c\u5f0f\u9009\u9879\u6765\u626b\u63cf\u57fa\u4e8e Linux \u548c\u57fa\u4e8e BSD \u7684\u64cd\u4f5c\u7cfb\u7edf\u4e0a\u4f7f\u7528\u7684 ELF \u6587\u4ef6\u3002<\/li>\n<li>\u52fe\u9009\u201c\u68c0\u6d4b\u635f\u574f\u7684\u53ef\u6267\u884c\u6587\u4ef6\u201d\u9009\u9879\uff0c\u5982\u679c\u53ef\u6267\u884c\u6587\u4ef6\u4e0d\u7b26\u5408\u89c4\u8303\uff0c\u5219\u5c06\u5176\u6807\u8bb0\u4e3a\u635f\u574f\u3002\u53ef\u6267\u884c\u6587\u4ef6\u53ef\u80fd\u56e0\u4e0b\u8f7d\u9519\u8bef\u6216\u64cd\u4f5c\u800c\u635f\u574f\u3002\u65e0\u8bba\u5982\u4f55\uff0c\u6ca1\u6709\u7406\u7531\u4f20\u9012\u635f\u574f\u7684\u53ef\u6267\u884c\u6587\u4ef6\u3002<\/li>\n<li>\u9009\u4e2d\u626b\u63cf OLE2\u9009\u9879\u6765\u5206\u6790\u53ef\u80fd\u5305\u542b\u5b8f\u4ee5\u4e0b\u8f7d\u548c\u5b89\u88c5\u6076\u610f\u8f6f\u4ef6\u7684 OLE2 \u6587\u4ef6\u3002<\/li>\n<li>\u5982\u679c\u60a8\u4e0d\u4f7f\u7528\u5b8f\u5e76\u4e14\u4e5f\u4e0d\u671f\u671b\u60a8\u7684\u5408\u4f5c\u4f19\u4f34\u4f7f\u7528\u5b8f\uff0c\u60a8\u53ef\u4ee5\u9009\u4e2dOLE2\u00a0\u963b\u6b62\u5b8f\u9009\u9879\u3002<\/li>\n<li>\u9009\u4e2d\u626b\u63cf PDF \u6587\u4ef6\u9009\u9879\u6765\u626b\u63cf PDF \u6587\u4ef6\u3002<\/li>\n<li>\u9009\u4e2d\u201c\u626b\u63cf SWF\u201d\u9009\u9879\u6765\u626b\u63cf Flash \u6587\u4ef6\u3002<\/li>\n<li>\u9009\u4e2d\u626b\u63cf XMLDOCS\u9009\u9879\u6765\u626b\u63cf XML \u6587\u6863\u3002<\/li>\n<li>\u52fe\u9009\u201c\u626b\u63cf HWP3\u201d\u9009\u9879\u6765\u626b\u63cf\u97e9\u6587\u6587\u6863\u3002\u5982\u679c\u60a8\u4e0d\u4f7f\u7528\u5b83\u4eec\uff0c\u5efa\u8bae\u5728\u4ee3\u7406\u4e2d\u963b\u6b62\u5b83\u4eec\u3002<\/li>\n<li>\u9009\u4e2d\u89e3\u7801\u90ae\u4ef6\u6587\u4ef6\u9009\u9879\u6765\u626b\u63cf\u53ef\u80fd\u5305\u542b\u6076\u610f\u8f6f\u4ef6\u7684\u7535\u5b50\u90ae\u4ef6\u9644\u4ef6\u3002<\/li>\n<li>\u9009\u4e2d\u626b\u63cf HTML\u9009\u9879\u53ef\u4ee5\u626b\u63cf\u53ef\u80fd\u5305\u542b\u5371\u9669\u7684\u5d4c\u5165 JavaScript \u7684 HTML \u6587\u4ef6\u3002<\/li>\n<li>\u9009\u4e2d\u626b\u63cf\u6863\u6848\u9009\u9879\u6765\u626b\u63cf\u6863\u6848\u5185\u53ef\u80fd\u5305\u542b\u6076\u610f\u8f6f\u4ef6\u7684\u6587\u4ef6\u3002<\/li>\n<li>\u52fe\u9009\u201c\u963b\u6b62\u52a0\u5bc6\u6863\u6848\u201d\u9009\u9879\u3002\u8bf7\u6ce8\u610f\uff0cClamAV\u00ae \u65e0\u6cd5\u626b\u63cf\u52a0\u5bc6\u6863\u6848\u5e76\u68c0\u6d4b\u5176\u4e2d\u5305\u542b\u7684\u6709\u5bb3\u6587\u4ef6\u3002\u4e3a\u4e86\u907f\u514d\u88ab\u68c0\u6d4b\u5230\uff0c\u4e00\u4e9b\u6076\u610f\u8f6f\u4ef6\u4f5c\u8005\u4f7f\u7528\u52a0\u5bc6\u6863\u6848\u5e76\u5728\u7535\u5b50\u90ae\u4ef6\u6587\u672c\u4e2d\u6307\u5bfc\u53d7\u5bb3\u8005\u5982\u4f55\u89e3\u538b\u5b83\u4eec\u3002<\/li>\n<li>\u5c06\u6700\u5927\u626b\u63cf\u5c3a\u5bf8\u9009\u9879\u4fdd\u7559\u4e3a\u9ed8\u8ba4\u9009\u9879\u3002<\/li>\n<li>\u5c06\u201c\u6700\u5927\u6587\u4ef6\u5927\u5c0f\u201d\u9009\u9879\u4fdd\u7559\u4e3a\u9ed8\u8ba4\u503c\u3002\u5927\u4e8e\u6b64\u503c\u7684\u6587\u4ef6\u5c06\u4e0d\u4f1a\u88ab\u626b\u63cf\u3002<\/li>\n<li>\u5c06\u6700\u5927\u9012\u5f52\u9009\u9879\u4fdd\u7559\u4e3a\u9ed8\u8ba4\u503c\u3002\u5d4c\u5957\u6863\u6848\u5c06\u4ee5\u9012\u5f52\u65b9\u5f0f\u626b\u63cf\u3002\u5982\u679c RAR \u6863\u6848\u5305\u542b Zip \u6587\u4ef6\uff0c\u5219\u5176\u4e2d\u7684\u6240\u6709\u6587\u4ef6\u4e5f\u5c06\u88ab\u626b\u63cf\u3002<\/li>\n<li>\u4fdd\u7559\u201c\u6700\u5927\u6587\u4ef6\u6570\u201d\u9009\u9879\uff0c\u8be5\u9009\u9879\u6307\u5b9a\u8981\u5728\u6863\u6848\u3001\u6587\u6863\u6216\u4efb\u4f55\u5176\u4ed6\u5bb9\u5668\u6587\u4ef6\u4e2d\u626b\u63cf\u7684\u6587\u4ef6\u6570\u4f5c\u4e3a\u9ed8\u8ba4\u503c\u3002<\/li>\n<li>\u9009\u4e2dFreshclam \u65e5\u5fd7\u8be6\u7ec6\u9009\u9879\u4ee5\u542f\u7528\u8be6\u7ec6\u65e5\u5fd7\u8bb0\u5f55\u3002<\/li>\n<li>\u5c06Freshclam \u6570\u636e\u5e93\u955c\u50cf\u9009\u9879\u4fdd\u7559\u4e3a\u9ed8\u8ba4\u9009\u9879\u3002<\/li>\n<li>\u5c06Freshclam \u8fde\u63a5\u8d85\u65f6\u9009\u9879\u4fdd\u7559\u4e3a\u9ed8\u8ba4\u9009\u9879\u3002<\/li>\n<li>\u901a\u8fc7\u6dfb\u52a0Malware Expert\u3001BLURL\u3001JURLBLA\u548cBOFHLand\u7b7e\u540d\u6765\u6fc0\u6d3b\u7b2c\u4e09\u65b9\u7b7e\u540d \u3002<\/li>\n<\/ol>\n<p><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2024\/09\/opnsense\u914d\u7f6eclamav\u9632\u75c5\u6bd2\u5f15\u64ce-2.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-13560\" title=\"\u5728 OPNsense Web UI \u4e2d\u914d\u7f6e ClamAV \u9632\u75c5\u6bd2\u5f15\u64ce\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2024\/09\/opnsense\u914d\u7f6eclamav\u9632\u75c5\u6bd2\u5f15\u64ce-2.png\" alt=\"\u5728 OPNsense Web UI \u4e2d\u914d\u7f6e ClamAV \u9632\u75c5\u6bd2\u5f15\u64ce\" width=\"1287\" height=\"1260\" \/><\/a><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2024\/09\/opnsense\u914d\u7f6eclamav\u9632\u75c5\u6bd2\u5f15\u64ce-3.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-13561\" title=\"\u5728 OPNsense Web UI-2 \u4e2d\u914d\u7f6e ClamAV \u9632\u75c5\u6bd2\u5f15\u64ce\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2024\/09\/opnsense\u914d\u7f6eclamav\u9632\u75c5\u6bd2\u5f15\u64ce-3.png\" alt=\"\u5728 OPNsense Web UI-2 \u4e2d\u914d\u7f6e ClamAV \u9632\u75c5\u6bd2\u5f15\u64ce\" width=\"1253\" height=\"1251\" \/><\/a><\/p>\n<p>\u8bbe\u7f6e\u5b8c\u6210\u4ee5\u540e\uff0c\u5355\u51fb\u9875\u9762\u5e95\u90e8\u4fdd\u5b58\u6309\u94ae\u4fdd\u5b58\u8bbe\u7f6e\u3002\u901a\u8fc7\u70b9\u51fb\u7248\u672c\u9009\u9879\u5361\u67e5\u770b ClamAV\u00ae \u5f15\u64ce\u7248\u672c\u548c\u7b7e\u540d\u603b\u6570\u3002<\/p>\n<p style=\"text-align: justify;\"><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2024\/09\/opnsense\u914d\u7f6eclamav\u9632\u75c5\u6bd2\u5f15\u64ce-4.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-13562\" title=\"\u5728 OPNsense \u4e2d\u67e5\u770b ClamAV \u5f15\u64ce\u7248\u672c\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2024\/09\/opnsense\u914d\u7f6eclamav\u9632\u75c5\u6bd2\u5f15\u64ce-4.png\" alt=\"\u5728 OPNsense \u4e2d\u67e5\u770b ClamAV \u5f15\u64ce\u7248\u672c\" width=\"1308\" height=\"519\" \/><\/a><\/p>\n<h2 id=\"33-c-icap-installation-in-opnsense\" style=\"text-align: justify;\">\u5b89\u88c5C-ICAP<\/h2>\n<p style=\"text-align: justify;\">\u73b0\u5728\u9700\u8981\u5728 OPNsense \u9632\u706b\u5899\u4e2d\u5b89\u88c5C-ICAP\u63d2\u4ef6\uff0c\u4ee5\u4fbf\u5c06Web \u4ee3\u7406\u4e0e ClamAV\u00ae \u75c5\u6bd2\u626b\u63cf\u7a0b\u5e8f\u8fde\u63a5\u8d77\u6765\u3002\u8bf7\u6309\u7167\u4ee5\u4e0b\u6b65\u9aa4\u64cd\u4f5c\uff1a<\/p>\n<p>\u5bfc\u822a\u81f3System\u2192 Firmware\u2192 Plugins\u3002<span style=\"text-align: justify;\">\u5728\u641c\u7d22\u5b57\u6bb5\u4e2d\u8f93\u5165\u5185\u5bb9os-c-icap\u67e5\u627eC-ICAP\u63d2\u4ef6\u5e76\u5b89\u88c5\u3002<\/span>\u63d2\u4ef6\u5b89\u88c5\u5b8c\u6210\u540e\uff0c\u4f1a\u5728\u670d\u52a1\u83dc\u5355\u4e2d\u5f53\u51fa\u73b0C-ICAP\u3002<\/p>\n<h2 id=\"34-c-icap-configuration-opnsense\" style=\"text-align: justify;\">\u914d\u7f6eC-ICAP<\/h2>\n<p style=\"text-align: justify;\">\u5728OPNsense\u9632\u706b\u5899\u4e2d\u914d\u7f6eC-ICAP\u63d2\u4ef6\uff0c\u53ef\u4ee5\u6309\u7167\u4ee5\u4e0b\u6b65\u9aa4\u8fdb\u884c\u64cd\u4f5c\uff1a<\/p>\n<ol style=\"text-align: justify;\">\n<li>\u5bfc\u822a\u5230System\u2192 Services\u2192 \u3002C-ICAP<\/li>\n<li>\u9009\u4e2d\u542f\u7528c-icap \u670d\u52a1\u9009\u9879\u6765\u5904\u7406 ICAP \u8bf7\u6c42\u3002<\/li>\n<li>\u5c06\u8d85\u65f6\u9009\u9879\u4fdd\u7559\u4e3a\u9ed8\u8ba4\u503c\u3002\u8ba1\u65f6\u5668\u5230\u671f\u540e\uff0c\u5957\u63a5\u5b57\u5c06\u5173\u95ed\u3002<\/li>\n<li>\u5c06\u201c\u6700\u5927\u4fdd\u6301\u6d3b\u52a8\u8bf7\u6c42\u6570\u201d\u9009\u9879\u4fdd\u7559\u4e3a\u9ed8\u8ba4\u503c\u3002\u6b64\u9009\u9879\u9650\u5236\u4e00\u4e2a\u8fde\u63a5\u53ef\u4ee5\u5904\u7406\u7684\u6700\u5927\u8bf7\u6c42\u6570\u3002<\/li>\n<li>\u5c06\u6700\u5927\u4fdd\u6301\u6d3b\u52a8\u8d85\u65f6\u9009\u9879\u4fdd\u7559\u4e3a\u9ed8\u8ba4\u503c\u3002\u5982\u679c\u8ba1\u65f6\u5668\u5230\u671f\u5e76\u4e14\u5957\u63a5\u5b57\u4fdd\u6301\u4e0d\u6d3b\u52a8\u72b6\u6001\uff0c\u5b83\u5c06\u88ab\u5173\u95ed\u3002<\/li>\n<li>\u5c06\u201c\u542f\u52a8\u670d\u52a1\u5668\u201d\u9009\u9879\u4fdd\u7559\u4e3a\u9ed8\u8ba4\u503c\u3002\u5b83\u6307\u5b9a\u5c06\u751f\u6210\u7684\u670d\u52a1\u5668\u8fdb\u7a0b\u6570\u3002\u6bcf\u4e2a\u670d\u52a1\u5668\u8fdb\u7a0b\u90fd\u4f1a\u751f\u6210\u591a\u4e2a\u7ebf\u7a0b\u6765\u5904\u7406\u8bf7\u6c42\u3002<\/li>\n<li>\u5c06\u9650\u5236\u8fdb\u7a0b\u6570\u91cf\u7684\u6700\u5927\u670d\u52a1\u5668\u9009\u9879\u4fdd\u7559\u4e3a\u9ed8\u8ba4\u503c\u3002<\/li>\n<li>\u5c06\u201c\u6700\u5c0f\u5907\u7528\u7ebf\u7a0b\u6570\u201d\u9009\u9879\u4fdd\u7559\u4e3a\u9ed8\u8ba4\u503c\u3002\u5982\u679c\u53ef\u7528\u7ebf\u7a0b\u6570\u5c0f\u4e8e\u6b64\u503c\uff0c\u5219 c-icap \u670d\u52a1\u5668\u5c06\u542f\u52a8\u65b0\u7684\u5b50\u8fdb\u7a0b\u3002<\/li>\n<li>\u5c06\u6700\u5927\u5907\u7528\u7ebf\u7a0b\u9009\u9879\u4fdd\u7559\u4e3a\u9ed8\u8ba4\u503c\u3002\u5982\u679c\u53ef\u7528\u7ebf\u7a0b\u6570\u8d85\u8fc7\u8be5\u503c\uff0c\u5219 c-icap \u670d\u52a1\u5668\u5c06\u7ec8\u6b62\u5b50\u8fdb\u7a0b\u3002<\/li>\n<li>\u5c06\u6307\u5b9a\u6bcf\u4e2a\u5b50\u8fdb\u7a0b\u7684\u7ebf\u7a0b\u6570\u7684\u201c\u6bcf\u4e2a\u5b50\u8fdb\u7a0b\u7684\u7ebf\u7a0b\u6570\u201d\u9009\u9879\u4fdd\u7559\u4e3a\u9ed8\u8ba4\u503c\u3002<\/li>\n<li>\u5c06\u6bcf\u4e2a\u5b50\u7ea7\u7684\u6700\u5927\u8bf7\u6c42\u6570\u9009\u9879\u4fdd\u7559\u4e3a\u9ed8\u8ba4\u503c\u3002<\/li>\n<li>\u4fdd\u7559\u670d\u52a1\u5668\u5e94\u7ed1\u5b9a\u7684\u76d1\u542c\u5730\u5740\u9009\u9879\u4e3a\u9ed8\u8ba4\u503c\u3002\uff08IPv6 \u4e3a ::1 \u6216 IPv4 \u4e3a 127.0.0.1\uff09<\/li>\n<li>\u5c06\u670d\u52a1\u5668\u7ba1\u7406\u5458\u9009\u9879\u8bbe\u7f6e\u4e3a\u4e00\u4e2a\u7535\u5b50\u90ae\u4ef6\u5730\u5740\uff0c\u4f5c\u4e3a\u9047\u5230\u670d\u52a1\u5668\u95ee\u9898\u7684\u7528\u6237\u7684\u8054\u7cfb\u4eba\u3002<\/li>\n<li>\u8bbe\u7f6eServername\u9009\u9879\u6765\u8986\u76d6\u9519\u8bef\u9875\u9762\u4e0a\u663e\u793a\u7684\u670d\u52a1\u5668\u540d\u79f0\u3002<\/li>\n<li>\u52fe\u9009\u542f\u7528\u8bbf\u95ee\u65e5\u5fd7\u9009\u9879\u3002<\/li>\n<li>\u9009\u4e2d\u4f7f\u7528 c-icap \u4e0e\u672c\u5730 squid\u9009\u9879\u4ee5\u4ece\u672c\u5730 squid \u83b7\u53d6\u7528\u6237\u540d\u8bbe\u7f6e\u3002<\/li>\n<\/ol>\n<p><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2024\/09\/opnsense\u914d\u7f6eclamav\u9632\u75c5\u6bd2\u5f15\u64ce-5.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-13563\" title=\"\u5728 OPNsense \u4e2d\u914d\u7f6e C-ICAP \u5e38\u89c4\u8bbe\u7f6e\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2024\/09\/opnsense\u914d\u7f6eclamav\u9632\u75c5\u6bd2\u5f15\u64ce-5.png\" alt=\"\u5728 OPNsense \u4e2d\u914d\u7f6e C-ICAP \u5e38\u89c4\u8bbe\u7f6e\" width=\"1285\" height=\"1288\" \/><\/a><\/p>\n<ol style=\"text-align: justify;\">\n<li>\u5355\u51fbAntivirus\u9009\u9879\u5361\u3002<\/li>\n<li>\u9009\u4e2d\u542f\u7528ClamAV\u9009\u9879\u4ee5\u542f\u7528\u4f7f\u7528 ClamAV \u8fdb\u884c\u75c5\u6bd2\u626b\u63cf\u3002<\/li>\n<li>\u5728\u201c\u626b\u63cf\u6587\u4ef6\u7c7b\u578b\u201d\u9009\u9879\u5b57\u6bb5\u4e2d\u9009\u62e9\u8981\u5206\u6790\u7684\u6587\u4ef6\u7c7b\u578b\u3002\u5efa\u8bae\u626b\u63cf\u5c3d\u53ef\u80fd\u591a\u7684\u6587\u4ef6\u7c7b\u578b\uff0c\u4f46\u8bf7\u8bb0\u4f4f\uff0c\u626b\u63cf\u9700\u8981\u6709\u53ef\u7528\u7684\u8d44\u6e90\u3002<\/li>\n<li>\u5728\u53d1\u9001\u767e\u5206\u6bd4\u6570\u636e\u9009\u9879\u4e2d\u8bbe\u7f6e\u9884\u89c8\u4e2d\u5e94\u5305\u542b\u7684\u539f\u59cb\u6587\u4ef6\u7684\u6570\u636e\u91cf\u3002\u6570\u636e\u8d8a\u591a\uff0c\u626b\u63cf\u6548\u679c\u8d8a\u597d\uff0c\u5b89\u5168\u6027\u4e5f\u8d8a\u9ad8\uff0c\u800c\u6570\u636e\u8d8a\u4f4e\uff0c\u6027\u80fd\u8d8a\u597d\u3002<\/li>\n<li>\u8bbe\u7f6e\u5f00\u59cb\u53d1\u9001\u767e\u5206\u6bd4\u6570\u636e\u9009\u9879\u3002<\/li>\n<li>\u9009\u4e2d\u5141\u8bb8 204 \u54cd\u5e94\u9009\u9879\u3002\u8fd9\u79cd\u65b9\u5f0f\u7684\u4f18\u70b9\u662f\u4e0d\u9700\u8981\u518d\u6b21\u901a\u8fc7\u7f51\u7edc\u53d1\u9001\u6570\u636e\u3002\u5982\u679c\u53d1\u751f\u9884\u89c8\uff0c\u5219\u4e0d\u4f1a\u518d\u5411 ICAP \u670d\u52a1\u5668\u53d1\u9001\u4efb\u4f55\u6570\u636e\uff0c\u800c\u662f\u5c06\u6570\u636e\u8f6c\u53d1\u7ed9\u5ba2\u6237\u7aef\u3002<\/li>\n<li>\u52fe\u9009\u201c\u4f20\u9012\u9519\u8bef\u201d\u9009\u9879\u53ef\u4f20\u9012\u65e0\u6cd5\u626b\u63cf\u7684\u6587\u4ef6\u3002\u8bf7\u6ce8\u610f\uff0c\u8fd9\u53ef\u80fd\u4f1a\u5371\u5bb3\u60a8\u7684\u7f51\u7edc\u3002<\/li>\n<li>\u8bbe\u7f6e\u201c\u6700\u5927\u5bf9\u8c61\u5927\u5c0f\u201d\u9009\u9879\uff0c\u6307\u5b9a\u9632\u75c5\u6bd2\u5f15\u64ce\u5c06\u626b\u63cf\u7684\u6587\u4ef6\u7684\u6700\u5927\u5927\u5c0f\u3002\u60a8\u53ef\u4ee5\u4f7f\u7528 K \u548c M \u6307\u6807\u5206\u522b\u4ee5\u5343\u5b57\u8282\u6216\u5146\u5b57\u8282\u4e3a\u5355\u4f4d\u5b9a\u4e49\u5927\u5c0f\u3002<\/li>\n<li>\u5355\u51fbSave\u5373\u53ef\u6fc0\u6d3b\u8bbe\u7f6e\u3002<\/li>\n<\/ol>\n<p><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2024\/09\/opnsense\u914d\u7f6eclamav\u9632\u75c5\u6bd2\u5f15\u64ce-6.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-13564\" title=\"\u5728 OPNsense \u4e2d\u914d\u7f6e C-ICAP \u9632\u75c5\u6bd2\u8bbe\u7f6e\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2024\/09\/opnsense\u914d\u7f6eclamav\u9632\u75c5\u6bd2\u5f15\u64ce-6.png\" alt=\"\u5728 OPNsense \u4e2d\u914d\u7f6e C-ICAP \u9632\u75c5\u6bd2\u8bbe\u7f6e\" width=\"1268\" height=\"1110\" \/><\/a><\/p>\n<h2>\u914d\u7f6eICAP<\/h2>\n<p style=\"text-align: justify;\">\u53ef\u4ee5\u6309\u7167\u4ee5\u4e0b\u6b65\u9aa4\u8f7b\u677e\u914d\u7f6e ICAP\uff1a<\/p>\n<ol style=\"text-align: justify;\">\n<li>\u5bfc\u822a\u5230Services\u2192 Proxy \u2192 \u3002Administration<\/li>\n<li>\u5355\u51fb\u201c\u6b63\u5411\u4ee3\u7406\u201d\u9009\u9879\u5361\u4e0a\u7684\u5411\u4e0b\u7bad\u5934\u56fe\u6807\u3002<\/li>\n<li>\u9009\u62e9ICAP Settings\u3002<\/li>\n<li>\u5355\u51fbadvanced mode\u5207\u6362\u6309\u94ae\u53ef\u67e5\u770b\u6240\u6709\u9009\u9879\u3002<\/li>\n<li>\u9009\u4e2d\u542f\u7528ICAP\u9009\u9879\u4ee5\u4f7f\u7528 ICAP \u670d\u52a1\u5668\u6765\u8fc7\u6ee4\u6216\u66ff\u6362\u5185\u5bb9\u3002<\/li>\n<li>\u5c06\u8bf7\u6c42\u4fee\u6539 URL\u9009\u9879\u4fdd\u7559\u4e3a\u9ed8\u8ba4\u503cicap:\/\/[::1]:1344\/avscan\u3002<\/li>\n<li>\u5c06\u54cd\u5e94\u4fee\u6539 URL\u9009\u9879\u4fdd\u7559\u4e3a\u9ed8\u8ba4\u9009\u9879icap:\/\/[::1]:1344\/avscan\u3002<\/li>\n<li>\u5c06\u9ed8\u8ba4\u9009\u9879 TTL\u9009\u9879\u4fdd\u7559\u4e3a\u9ed8\u8ba4\u503c60\u3002<\/li>\n<li>\u53ef\u4ee5\u52fe\u9009\u201c\u53d1\u9001\u5ba2\u6237\u7aef IP\u201d\u9009\u9879\uff0c\u5c06\u5ba2\u6237\u7aef IP \u5730\u5740\u53d1\u9001\u5230 ICAP \u670d\u52a1\u5668\u3002\u5982\u679c\u60a8\u60f3\u6839\u636e IP \u5730\u5740\u8fc7\u6ee4\u6d41\u91cf\uff0c\u8fd9\u53ef\u80fd\u4f1a\u5f88\u6709\u7528\u3002<\/li>\n<li>\u53ef\u4ee5\u52fe\u9009\u201c\u53d1\u9001\u7528\u6237\u540d\u201d\u9009\u9879\uff0c\u5c06\u5ba2\u6237\u7aef\u7528\u6237\u540d\u53d1\u9001\u5230 ICAP \u670d\u52a1\u5668\u3002\u5982\u679c\u60a8\u60f3\u6839\u636e IP \u7528\u6237\u540d\u8fc7\u6ee4\u6d41\u91cf\uff0c\u8fd9\u53ef\u80fd\u4f1a\u5f88\u6709\u7528\u3002\u4f7f\u7528\u7528\u6237\u540d\u9700\u8981\u8fdb\u884c\u8eab\u4efd\u9a8c\u8bc1\u3002<\/li>\n<li>\u53ef\u4ee5\u9009\u4e2d\u201c\u7f16\u7801\u7528\u6237\u540d\u201d\u9009\u9879\u3002<\/li>\n<li>\u4fdd\u7559\u7528\u4e8e\u5c06\u7528\u6237\u540d\u53d1\u9001\u5230 ICAP \u670d\u52a1\u5668\u7684\u7528\u6237\u540d\u6807\u5934\u9009\u9879\u4f5c\u4e3a\u9ed8\u8ba4\u503c\u3002<\/li>\n<li>\u9009\u4e2d\u542f\u7528\u9884\u89c8\u9009\u9879\u53ef\u4ee5\u63d0\u9ad8\u6027\u80fd\u3002\u5982\u679c\u4f7f\u7528\u9884\u89c8\uff0c\u5219\u53ea\u6709\u90e8\u5206\u6570\u636e\u4f1a\u53d1\u9001\u5230 ICAP \u670d\u52a1\u5668\u3002<\/li>\n<li>\u5c06\u9884\u89c8\u5927\u5c0f\u9009\u9879\u4fdd\u7559\u4e3a\u9ed8\u8ba4\u9009\u9879\u3002<\/li>\n<li>\u5c06\u76ee\u6807\u57df\u6dfb\u52a0\u5230\u6392\u9664\u5217\u8868\u9009\u9879\u4e2d\uff0c\u4f8b\u5982unharmful.com\uff0csunnyvalley.io\u7b49\u3002<\/li>\n<li>\u70b9\u51fbApply\u3002<\/li>\n<\/ol>\n<p id=\"5-eicar-testing\" style=\"text-align: justify;\"><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2024\/09\/opnsense\u914d\u7f6eclamav\u9632\u75c5\u6bd2\u5f15\u64ce-7.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-13565\" title=\"\u5728 OPNsense \u4e2d\u4e3a Web \u4ee3\u7406\u542f\u7528 ICAP\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2024\/09\/opnsense\u914d\u7f6eclamav\u9632\u75c5\u6bd2\u5f15\u64ce-7.png\" alt=\"\u5728 OPNsense \u4e2d\u4e3a Web \u4ee3\u7406\u542f\u7528 ICAP\" width=\"1267\" height=\"1055\" \/><\/a><\/p>\n<h2 id=\"5-eicar-testing\" class=\"anchor anchorWithStickyNavbar_LWe7\">\u6d4b\u8bd5<\/h2>\n<p style=\"text-align: justify;\">\u73b0\u5728\uff0c\u6211\u4eec\u53ef\u4ee5\u6765\u9a8c\u8bc1 ClamAV\u00ae \u9632\u75c5\u6bd2\u5f15\u64ce\u662f\u5426\u5728 OPNsense \u4ee3\u7406\u670d\u52a1\u5668\u4e2d\u8fd0\u884c\u5e76\u6b63\u5e38\u5de5\u4f5c\u3002\u8981\u6d4b\u8bd5 OPNsense \u8def\u7531\u5668\u4e2d\u7684\u9632\u75c5\u6bd2\u4fdd\u62a4\uff0c\u53ef\u4ee5\u6309\u7167\u4ee5\u4e0b\u6b65\u9aa4\u8fdb\u884c\u64cd\u4f5c\uff1a<\/p>\n<ol style=\"text-align: justify;\">\n<li>\u5728\u5ba2\u6237\u7aef\u7684\u7535\u8111\u4e0a\u6253\u5f00\u6d4f\u89c8\u5668\u3002<\/li>\n<li>\u8f6c\u5230https:\/\/www.eicar.org\/?page_id=3950\u9875\u9762\uff0c\u60a8\u5c06\u627e\u5230\u51e0\u4e2a\u53ef\u4ee5\u6d4b\u8bd5\u7684\u6587\u4ef6\u3002\u60a8\u53ef\u4ee5\u5c1d\u8bd5\u4e0b\u8f7d\u4ee5\u4e0b\u6587\u4ef6\uff1a\n<ul>\n<li>https:\/\/secure.eicar.org\/eicar.com<\/li>\n<li>https:\/\/secure.eicar.org\/eicar.com.txt<\/li>\n<li>https:\/\/secure.eicar.org\/eicar_com.zip<\/li>\n<li>https:\/\/secure.eicar.org\/eicarcom2.zip<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<div style=\"text-align: justify;\">\n<div>\n<p>\u9996\u5148\u6d4b\u8bd5 HTTP \u534f\u8bae\u7248\u672c\u3002\u5982\u679c\u53ef\u4ee5\uff0c\u8bf7\u6d4b\u8bd5 HTTPS \u7248\u672c\uff08\u5982\u679c\u60a8\u8fd8\u914d\u7f6e\u4e86\u900f\u660e SSL \u4ee3\u7406\u6a21\u5f0f\uff09\u3002<\/p>\n<\/div>\n<\/div>\n<p style=\"text-align: justify;\">\u5982\u679c\u5728 OPNsense \u4ee3\u7406\u670d\u52a1\u5668\u4e2d\u6210\u529f\u914d\u7f6e\u4e86 ClamAV\u00ae \u548c C-ICAP \u63d2\u4ef6\uff0c\u9632\u75c5\u6bd2\u5f15\u64ce\u5e94\u8be5\u4f1a\u963b\u6b62\u4e0b\u8f7d\u8fd9\u4e9b\u6587\u4ef6\u3002\u53ef\u4ee5\u5728\u65e5\u5fd7\u4e2d\u770b\u5230\u7c7b\u4f3c\u4e8e\u56fe 14 \u7684\u6d88\u606f\u3002<\/p>\n<p style=\"text-align: justify;\"><a href=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2024\/09\/opnsense\u914d\u7f6eclamav\u9632\u75c5\u6bd2\u5f15\u64ce-8.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-13566\" title=\"\u5728 OPNsense \u4e2d\u67e5\u770b C-ICAP \u65e5\u5fd7\" src=\"https:\/\/blog.pfchina.org\/wp-content\/uploads\/2024\/09\/opnsense\u914d\u7f6eclamav\u9632\u75c5\u6bd2\u5f15\u64ce-8.png\" alt=\"\u5728 OPNsense \u4e2d\u67e5\u770b C-ICAP \u65e5\u5fd7\" width=\"1280\" height=\"429\" \/><\/a><\/p>\n<p><span style=\"color: #0000ff;\"><a style=\"color: #0000ff;\" href=\"https:\/\/www.zenarmor.com\/docs\/network-security-tutorials\/how-to-enable-antivirus-protection-in-opnsense\">\u539f\u6587\u5730\u5740<\/a><\/span><\/p>\n<p>\u76f8\u5173\u6587\u7ae0\uff1a<\/p>\n<p><span style=\"color: #0000ff;\"><a style=\"color: #0000ff;\" href=\"https:\/\/blog.pfchina.org\/?p=9747\">OPNsense \u914d\u7f6e\u7f13\u5b58\u4ee3\u7406\u6559\u7a0b<\/a><\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>OPNsense\u5229\u7528\u5176\u9ad8\u5ea6\u7075\u6d3b\u7684\u4ee3\u7406\u548c\u884c\u4e1a\u6807\u51c6ICAP \u63d0\u4f9bHTTP(S)\u4fdd\u62a4\u3002 &hellip; <a href=\"https:\/\/blog.pfchina.org\/?p=13536\">\u7ee7\u7eed\u9605\u8bfb <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[333],"class_list":["post-13536","post","type-post","status-publish","format-standard","hentry","category-opnsense","tag-clamav"],"_links":{"self":[{"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=\/wp\/v2\/posts\/13536","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=13536"}],"version-history":[{"count":20,"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=\/wp\/v2\/posts\/13536\/revisions"}],"predecessor-version":[{"id":13570,"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=\/wp\/v2\/posts\/13536\/revisions\/13570"}],"wp:attachment":[{"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=13536"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=13536"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.pfchina.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=13536"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}