免费注册 查看新帖 |

Chinaunix

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

[proxy] 看日志分析CDN的squid.conf配置文件 [复制链接]

论坛徽章:
2
2015年辞旧岁徽章
日期:2015-03-03 16:54:1515-16赛季CBA联赛之上海
日期:2016-05-05 09:45:14
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2007-11-07 15:12 |只看该作者 |倒序浏览
因为www.cdnunion.com的squid.conf文件是加密码的,,可不可以通过分析cacha.log文件,,得到squid.conf文件呀,???大家猜猜看吧,!


====================== cacha.log==============================
2007/11/02 15:31:21| Squid Cache (Version 2.6.STABLE9): Exiting normally.
2007/11/02 15:31:27| Starting Squid Cache version 2.6.STABLE9 for i686-pc-mingw32...
2007/11/02 15:31:27| Running as Squid Windows System Service on Windows Server 2003
2007/11/02 15:31:27| Service command line is:
2007/11/02 15:31:27| Process ID 3192
2007/11/02 15:31:27| With 2048 file descriptors available
2007/11/02 15:31:27| With 2048 CRT stdio descriptors available
2007/11/02 15:31:27| Windows sockets initialized
2007/11/02 15:31:27| Using select for the IO loop
2007/11/02 15:31:27| Performing DNS Tests...
2007/11/02 15:31:27| Successful DNS name lookup tests...
2007/11/02 15:31:27| DNS Socket created at 0.0.0.0, port 1080, FD 5
2007/11/02 15:31:27| Adding nameserver 210.51.25.165 from squid.conf
2007/11/02 15:31:27| Adding nameserver 61.129.81.201 from squid.conf
2007/11/02 15:31:27| Unlinkd pipe opened on FD 8
2007/11/02 15:31:27| Swap maxSize 20480000 KB, estimated 1575384 objects
2007/11/02 15:31:27| Target number of buckets: 78769
2007/11/02 15:31:27| Using 131072 Store buckets
2007/11/02 15:31:27| Max Mem  size: 524288 KB
2007/11/02 15:31:27| Max Swap size: 20480000 KB
2007/11/02 15:31:27| Store logging disabled
2007/11/02 15:31:27| Rebuilding storage in d:\cache (CLEAN)
2007/11/02 15:31:27| Using Least Load store dir selection
2007/11/02 15:31:27| Current Directory is C:\squid\sbin
2007/11/02 15:31:27| Loaded Icons.
2007/11/02 15:31:27| Accepting accelerated HTTP connections at 218.234.224.123, port 80, FD 13.
2007/11/02 15:31:27| Ready to serve requests.
2007/11/02 15:31:27| Done reading d:\cache swaplog (0 entries)
2007/11/02 15:31:27| Finished rebuilding storage from disk.
2007/11/02 15:31:27|         0 Entries scanned
2007/11/02 15:31:27|         0 Invalid entries.
2007/11/02 15:31:27|         0 With invalid flags.
2007/11/02 15:31:27|         0 Objects loaded.
2007/11/02 15:31:27|         0 Objects expired.
2007/11/02 15:31:27|         0 Objects cancelled.
2007/11/02 15:31:27|         0 Duplicate URLs purged.
2007/11/02 15:31:27|         0 Swapfile clashes avoided.
2007/11/02 15:31:27|   Took 0.1 seconds (   0.0 objects/sec).
2007/11/02 15:31:27| Beginning Validation Procedure
2007/11/02 15:31:27|   Completed Validation Procedure
2007/11/02 15:31:27|   Validated 0 Entries
2007/11/02 15:31:27|   store_swap_size = 0k
2007/11/02 15:31:28| storeLateRelease: released 0 objects
2007/11/02 15:32:21| WARNING: Forwarding loop detected for:
Client: 218.234.224.123 http_port: 218.234.224.123:80
GET http://218.234.224.123/ HTTP/1.0
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*
User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows 9
Host: 218.234.224.123
Via: 1.1 CNTC-CNC-BJ-DXT-218.234.224.123:80 (squid/2.6.STABLE9)
X-Forwarded-For: 76.175.213.152
Cache-Control: max-age=36000

2007/11/02 15:38:20| WARNING: Forwarding loop detected for:
Client: 218.234.224.123 http_port: 218.234.224.123:80
GET http://218.234.224.123/ HTTP/1.0
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*
Accept-Language: en-us
User-Agent: Mozilla/4.0 (compatible; EMonitor 6.1 Windows NT)
Host: 218.234.224.123
Via: 1.0 CNTC-CNC-BJ-DXT-218.234.224.123:80 (squid/2.6.STABLE9)
X-Forwarded-For: 61.152.251.117
Cache-Control: max-age=36000

2007/11/02 15:43:21| WARNING: Forwarding loop detected for:
Client: 218.234.224.123 http_port: 218.234.224.123:80
GET http://218.234.224.123/ HTTP/1.0
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*
Accept-Language: en-us
User-Agent: Mozilla/4.0 (compatible; EMonitor 6.1 Windows NT)
Host: 218.234.224.123
Via: 1.0 CNTC-CNC-BJ-DXT-218.234.224.123:80 (squid/2.6.STABLE9)
X-Forwarded-For: 61.152.251.117
Cache-Control: max-age=36000


======================以上是CACHA。LOG文件=======================

论坛徽章:
2
2015年辞旧岁徽章
日期:2015-03-03 16:54:1515-16赛季CBA联赛之上海
日期:2016-05-05 09:45:14
2 [报告]
发表于 2007-11-07 15:25 |只看该作者
http_port 218.234.224.123:80 vhost vport
cache_dir ufs d:\cacha 20480 16 256
visible_hostname CNTC-CNC-BJ-DXT-218.234.224.123:80
Add nameserver 210.51.25.165
Add nameserver 61.129.81.201
cache_log c:\var\log\cache.log


汗,只能看出这么几条了,其它看不出来!,高手们分析分析!

[ 本帖最后由 badb0y 于 2007-11-7 15:28 编辑 ]

论坛徽章:
0
3 [报告]
发表于 2009-05-06 01:48 |只看该作者

论坛徽章:
0
4 [报告]
发表于 2009-05-06 13:37 |只看该作者
cache_mem 512 MB

With 2048 file descriptors available


看得出是一个新手做的squid,那么看看squid 2.6.STABLE9的默认conf是什么样的,估计大致就是什么样的了

签名
---
跑在windows底下的squid????这种cdn联盟不用也罢
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP