免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2458 | 回复: 0
打印 上一主题 下一主题

[proxy] 我的squidclamav出了什么问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-10-21 18:05 |只看该作者 |倒序浏览
我用squidclamav防毒,主要是为了保护windows机器,但是并没有查毒的效果。无论访问什么网页(即使是有毒的网页,也无查毒的效果出来)。请了解的人提示一下。]
squidclamav.conf 配置如下:
debug 0
force 1
stat 1
clamd_local /usr/local/clamav
clamd_ip 127.0.0.1
clamd_port 3310
timeout 60
abort ^.*\.gz$
abort ^.*\.bz2$
abort ^.*\.pdf$
abort ^.*\.js$

clamav.conf配置如下:
LogFile /var/log/clamav/clamd.log
PidFile /var/run/clamav/clamd.pid
DatabaseDirectory /usr/local/share/clamav
LocalSocket /var/run/clamav/clamd
StreamMaxLength 10M
User amavis
ScanMail
ScanArchive

squid.conf如下:
        acl localhost src 127.0.0.1/255.255.255.255
        acl to_localhost dst 127.0.0.0/8
        http_access deny to_localhost
        redirector_access deny localhost
        redirect_program /usr/local/bin/squidclamav
        redirect_children 10

squidclamav.log 日志如下:

Sat Oct 21 19:28:19 2006 [2907] LOG SquidClamav (PID 2907) started
Sat Oct 21 19:28:19 2006 [2908] LOG SquidClamav (PID 290 started
Sat Oct 21 19:28:19 2006 [2909] LOG SquidClamav (PID 2909) started
Sat Oct 21 19:28:19 2006 [2910] LOG SquidClamav (PID 2910) started
Sat Oct 21 19:28:19 2006 [2911] LOG SquidClamav (PID 2911) started
Sat Oct 21 19:28:19 2006 [2912] LOG SquidClamav (PID 2912) started
Sat Oct 21 19:28:19 2006 [2913] LOG SquidClamav (PID 2913) started
Sat Oct 21 19:28:19 2006 [2914] LOG SquidClamav (PID 2914) started
Sat Oct 21 19:28:19 2006 [2915] LOG SquidClamav (PID 2915) started
Sat Oct 21 19:28:19 2006 [2916] LOG SquidClamav (PID 2916) started
Sat Oct 21 19:30:22 2006 [2809] STAT Total process time  20.349 second(s)
Sat Oct 21 19:30:23 2006 [2809] STAT Total process time   0.000 second(s)
Sat Oct 21 19:30:23 2006 [2809] STAT Total process time   0.000 second(s)
Sat Oct 21 19:30:23 2006 [2809] STAT Total process time   0.000 second(s)
Sat Oct 21 19:30:23 2006 [2809] STAT Total process time   0.000 second(s)
Sat Oct 21 19:30:23 2006 [2809] STAT Total process time   0.000 second(s)
.............................................
Sat Oct 21 19:30:53 2006 [2810] ERROR Can't connect to clamd on local socket /var/run/clamav/clamd.
Sat Oct 21 19:30:53 2006 [2810] ERROR Can't connect to Clamd daemon

clamav.log无任何信息
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP