当前位置: 技术问答>linux和unix
用LINUX代理服务器,怎样装?
来源: 互联网 发布时间:2014-10-22
本文导语: 我现在要做一个网吧的代理服务器。四个交换机,一根ADSL线接入。 请问服务器怎么装, 还有连线的时候怎么连。 从ADSL接受器出来的线连哪? 服务器的线又连哪? 谢谢了, |SQUID软件简介 能够...
我现在要做一个网吧的代理服务器。四个交换机,一根ADSL线接入。
请问服务器怎么装,
还有连线的时候怎么连。
从ADSL接受器出来的线连哪?
服务器的线又连哪?
谢谢了,
请问服务器怎么装,
还有连线的时候怎么连。
从ADSL接受器出来的线连哪?
服务器的线又连哪?
谢谢了,
|
SQUID软件简介 能够让普通电脑成为代理服务器的软件就称为代理服务器软件,著名的有微软的MS PROXY2.0(现在已经更名为ISA.NET了),WINGATE,SYGATE, NETSCAPE的PROXY SERVER,以及我们要介绍的LINUX下免费的SQUID。 SQUID是Linux环境下最为流行的代理服务器软件,它功能强大:支持对HTTP,FTP,GOPHER,SSL和WAIS等协议的代理;设置简单:只要改动配置文件中的一项就可使得代理服务器运转起来。 三、SQUID代理服务器的设置 设置目标:配置一台RedHat Linux7.0的电脑成为所有网段的代理服务器。说明:考虑到是初次接触SQUID软件,出于方便,下面的安装过程都是以root身份进行的。 第一步:下载、编译和安装SQUID软件 从www.squid-cache.org下载SQUID软件,这里以稳定的squid-2.4.STABLE1-src.tar.gz为例。运行“tar zxf squid-2.4.STABLE1-src.tar.gz”,产生“squid-2.4.STABLE1”目录。由于SQUID的运行需要nobody用户和nobody组,所以你先运行Linuxconf命令查看是否有这个用户和组;没有的话,建立。进入“squid-2.4.STABLE1”目录,运行“./configure --prefix=/usr/local/squid”;完成后,再运行“make all”;完成后,接着运行“make install”安装软件。至此,squid已经成功安装到/usr/local/squid目录下了。 第二步:配置SQUID软件 1、“chmod 777 /usr/local/squid/logs”,设置logs为可写。这样,不特定的SQUID代理客户才能正常访问代理服务器,才能在logs目录才产生access.log、cache.log等文件。 2、“/usr/local/squid/bin/squid -z”,手工建立squid的缓存目录/usr/local/squid/cache。 3、修改SQUID的配置文件squid.conf。SQUID的配置文件共有125个配置项,但是对于一般的web cache proxy server来说,只要修改几个配置项即可。编辑/usr/local/squid/etc/squid.conf文件,找到“http_access deny all”并改为“http_access allow all”令所有的电脑都能透过代理服务访问互联网资源。其实只要该一项,SQUID服务就可以启动了。 4、“/usr/local/bin/RunCache”,启动squid代理服务。 如果没有1和2,运行RunCache脚本后,查看/usr/local/squid/cache/cache.log文件,可以看到相关的错误信息。 第三步、设置客户端,测试代理服务 在另一台win98的电脑上,(以Internet Explore5.0为例)运行IE,单击“工具”,接着单击“Internet选项”,再单击“连接”选项卡,单击“局域网设置”;在“局域网设置”窗口中,在“地址”处填上SQUID服务器的IP地址,在“端口”处填上“3218”(SQUID软件默认代理用端口号),确定后退出。接下来,通过浏览一些网站,也可以查看logs下的access.log和cache.log,看看是否代理运行正常。 四、其它 1、cache_mem:设置代理服务使用的内存大小,一般推荐为物理内存的三分之一。 2、cache_dir:指定cache目录的路径,默认为/usr/local/squid/cache。 3、http_port:代理服务使用的端口号,默认为3128,你可以使用其他的端口,不过注意两点:一、使用端口不能和其他的服务重复;二、使用1024以下的端口,SQUID必须以root身份运行。 4、/usr/local/libexec下有个脚本cachemgr.cgi,把它拷贝到你的Web的cgi-bin目录下(Apache安装后默认的web根是/var/www),通过浏览器运行,可以进入web方式的一些管理。
|
[root@denet7 tmp]# tar xzvf squid-2.4.STABLE1-src.tar.gz squid-2.4.STABLE1/ squid-2.4.STABLE1/doc/ squid-2.4.STABLE1/doc/HTTP-codes.txt squid-2.4.STABLE1/doc/README.cygwin squid-2.4.STABLE1/doc/Release-Notes-1.0.txt squid-2.4.STABLE1/doc/Release-Notes-1.1.txt squid-2.4.STABLE1/doc/debug-sections.txt squid-2.4.STABLE1/doc/draft-vixie-htcp-proto-04.txt squid-2.4.STABLE1/doc/mk-debugs.sh squid-2.4.STABLE1/doc/tree.3 squid-2.4.STABLE1/doc/Programming-Guide/ squid-2.4.STABLE1/doc/Programming-Guide/Makefile squid-2.4.STABLE1/doc/Programming-Guide/prog-guide.sgml squid-2.4.STABLE1/CONTRIBUTORS squid-2.4.STABLE1/COPYING squid-2.4.STABLE1/COPYRIGHT squid-2.4.STABLE1/CREDITS squid-2.4.STABLE1/ChangeLog squid-2.4.STABLE1/INSTALL squid-2.4.STABLE1/QUICKSTART squid-2.4.STABLE1/README ....... [root@denet7 tmp]# cd squid-2.4.STABLE1/ [root@denet7 squid-2.4.STABLE1]# [root@denet7 squid-2.4.STABLE1]# ls CONTRIBUTORS INSTALL auth_modules doc makefile.in COPYING QUICKSTART cfgaux errors scripts COPYRIGHT README configure icons snmplib CREDITS TODO configure.in include src ChangeLog acconfig.h contrib lib test-suite [root@denet7 squid-2.4.STABLE1]# ./configure --prefix=/usr/local/squid creating cache ./config.cache checking host system type... i686-pc-linux-gnu checking for gcc... gcc checking whether the C compiler (gcc -g) works... yes checking whether the C compiler (gcc -g) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes Store modules built: ufs Removal policies built: lru unlinkd enabled checking how to run the C preprocessor... gcc -E checking for a BSD compatible install... /usr/bin/install -c checking for ranlib... ranlib checking whether ln -s works... yes checking for sh... /bin/sh checking for false... /bin/false checking for true... /bin/true checking for rm... /bin/rm checking for mv... /bin/mv checking for mkdir... /bin/mkdir checking for ln... /bin/ln checking for perl... /usr/bin/perl checking for makedepend... /usr/bin/X11/makedepend checking for ar... /usr/bin/ar checking for dirent.h that defines DIR... yes checking for opendir in -ldir... no checking for ANSI C header files... yes ...... [root@denet7 squid-2.4.STABLE1]# make ; make install Making all in lib... make[1]: Entering directory `/home/administrator/squid-2.4.STABLE1/lib' gcc -g -O2 -Wall -I../include -I../include -c -o rfc1123.o rfc1123.c gcc -g -O2 -Wall -I../include -I../include -c -o rfc1738.o rfc1738.c gcc -g -O2 -Wall -I../include -I../include -c -o rfc1035.o rfc1035.c gcc -g -O2 -Wall -I../include -I../include -c -o util.o util.c gcc -g -O2 -Wall -I../include -I../include -c -o getfullhostname.o getfullhost name.c gcc -g -O2 -Wall -I../include -I../include -c -o base64.o base64.c gcc -g -O2 -Wall -I../include -I../include -c -o uudecode.o uudecode.c gcc -g -O2 -Wall -I../include -I../include -c -o splay.o splay.c gcc -g -O2 -Wall -I../include -I../include -c -o safe_inet_addr.o safe_inet_ad dr.c gcc -g -O2 -Wall -I../include -I../include -c -o iso3307.o iso3307.c gcc -g -O2 -Wall -I../include -I../include -c -o snprintf.o snprintf.c gcc -g -O2 -Wall -I../include -I../include -c -o md5.o md5.c gcc -g -O2 -Wall -I../include -I../include -c -o radix.o radix.c gcc -g -O2 -Wall -I../include -I../include -c -o stub_memaccount.o stub_memacc ount.c gcc -g -O2 -Wall -I../include -I../include -c -o Array.o Array.c gcc -g -O2 -Wall -I../include -I../include -c -o Stack.o Stack.c gcc -g -O2 -Wall -I../include -I../include -c -o hash.o hash.c gcc -g -O2 -Wall -I../include -I../include -c -o heap.o heap.c gcc -g -O2 -Wall -I../include -I../include -c -o html_quote.o html_quote.c /bin/rm -f libmiscutil.a /usr/bin/ar r libmiscutil.a rfc1123.o rfc1738.o rfc1035.o util.o getfullhostname .o base64.o uudecode.o splay.o safe_inet_addr.o iso3307.o snprintf.o md5.o radix .o stub_memaccount.o Array.o Stack.o hash.o heap.o html_quote.o ranlib libmiscutil.a make[1]: Leaving directory `/home/administrator/squid-2.4.STABLE1/lib' Making all in scripts... make[1]: Entering directory `/home/administrator/squid-2.4.STABLE1/scripts' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/home/administrator/squid-2.4.STABLE1/scripts' Making all in src... make[1]: Entering directory `/home/administrator/squid-2.4.STABLE1/src' sed "s%@DEFAULT_MIME_TABLE@%/usr/local/squid/etc/mime.conf%g;s%@DEFAULT_DNSSERVER@%/usr/local/squid/libexec/squid/%g;s%@DEFAULT_UNLINKD@%/usr/local/squid/libexec/squid/unlinkd%g;s%@DEFAULT_PINGER@%/usr/local/squid/libexec/squid/%g;s%@DEFAULT_CACHE_LOG@%/usr/local/squid/logs/cache.log%g;s%@DEFAULT_ACCESS_LOG@%/usr/local/squid/logs/access.log%g;s%@DEFAULT_STORE_LOG@%/usr/local/squid/logs/store.log%g;s%@DEFAULT_PID_FILE@%/usr/local/squid/logs/squid.pid%g;s%@DEFAULT_SWAP_DIR@%/usr/local/squid/cache%g;s%@DEFAULT_ICON_DIR@%/usr/local/squid/etc/icons%g;s%@DEFAULT_MIB_PATH@%/usr/local/squid/etc/mib.txt%g;s%@DEFAULT_ERROR_DIR@%/usr/local/squid/etc/errors%g;s%@DEFAULT_PREFIX@%/usr/local/squid%g;"cf.data awk -f ./cf_gen_defines cf_gen_defines.h gcc -g -O2 -Wall -I. -I../include -I../include -c -o cf_gen.o cf_gen.c gcc -o cf_gen -g cf_gen.o -L../lib -lmiscutil -lm -lresolv -lbsd -lnsl ./cf_gen cf.data Making all in fs... make[2]: Entering directory `/home/administrator/squid-2.4.STABLE1/src/fs' make[3]: Entering directory `/home/administrator/squid-2.4.STABLE1/src/fs/ufs' gcc -g -O2 -Wall -I../../../include -I../../../include -I../../../src/ -c store _dir_ufs.c gcc -g -O2 -Wall -I../../../include -I../../../include -I../../../src/ -c store _io_ufs.c /usr/bin/ar r ../ufs.a store_dir_ufs.o store_io_ufs.o ranlib ../ufs.a make[3]: Leaving directory `/home/administrator/squid-2.4.STABLE1/src/fs/ufs' make[2]: Leaving directory `/home/administrator/squid-2.4.STABLE1/src/fs' Making all in repl... make[2]: Entering directory `/home/administrator/squid-2.4.STABLE1/src/repl' make[3]: Entering directory `/home/administrator/squid-2.4.STABLE1/src/repl/lru' gcc -g -O2 -Wall -I../../../include -I../../../include -I../../../src/ -c store _repl_lru.c /usr/bin/ar r ../lru.a store_repl_lru.o ranlib ../lru.a make[3]: Leaving directory `/home/administrator/squid-2.4.STABLE1/src/repl/lru' make[2]: Leaving directory `/home/administrator/squid-2.4.STABLE1/src/repl' make[2]: Entering directory `/home/administrator/squid-2.4.STABLE1/src' gcc -g -O2 -Wall -I. -I../include -I../include -c -o access_log.o access_log. c gcc -g -O2 -Wall -I. -I../include -I../include -c -o acl.o acl.c gcc -g -O2 -Wall -I. -I../include -I../include -c -o asn.o asn.c gcc -g -O2 -Wall -I. -I../include -I../include -c -o authenticate.o authentic ate.c gcc -g -O2 -Wall -I. -I../include -I../include -c -o cache_cf.o cache_cf.c gcc -g -O2 -Wall -I. -I../include -I../include -c -o CacheDigest.o CacheDiges t.c gcc -g -O2 -Wall -I. -I../include -I../include -c -o cache_manager.o cache_ma nager.c gcc -g -O2 -Wall -I. -I../include -I../include -c -o carp.o carp.c gcc -g -O2 -Wall -I. -I../include -I../include -c -o cbdata.o cbdata.c gcc -g -O2 -Wall -I. -I../include -I../include -c -o client_db.o client_db.cgcc -g -O2 -Wall -I. -I../include -I../include -c -o client_side.o client_sid e.c gcc -g -O2 -Wall -I. -I../include -I../include -c -o comm.o comm.c gcc -g -O2 -Wall -I. -I../include -I../include -c -o comm_select.o comm_selec t.c gcc -g -O2 -Wall -I. -I../include -I../include -c -o debug.o debug.c gcc -g -O2 -Wall -I. -I../include -I../include -c -o disk.o disk.c gcc -g -O2 -Wall -I. -I../include -I../include -c -o dns_internal.o dns_inter nal.c gcc -g -O2 -Wall -I. -I../include -I../include -c -o errorpage.o errorpage.cgcc -gl -I. -I../include -I../include -c -o helper.o helper.c gcc -I../include -I../include -c -o http.o http.c gcc -g -O2 -Wnclude -I../include -c -o HttpStatusLine.o HttpSta tusLine.cll -I. -I../include -I../include -c -o HttpHdrCc.o HttpHdrCcMemBuf.c gcc -g -O2 -Wall -I. -I../include -I../include -c -Wall -I. -I../include -I../include -c -o multicast.o multica. -I../include -I../include -c -o neighbors.o neighbors.cgcc access_log.o acl.o asn.o authenticate.o cache_cf.o CacheDigester.o carp.o cbdata.o client_db.o client_side.o comm.o comm_selenternal.o errorpage.o ETag.o event.o fd.o filemap.o forward.o fE1/icons' Making all in errors... make[1]: Entering directory `home/administrator/squid-2.4.STABLE1/errors' make[1]: Nothing t: Leaving directory `/home/administrator/squid-2.4.STABLE1/erros' Making all in auth_modules... make[1]: Entering directory `/home/administrator/squid-2.4.STABLE1/auth_modules'make[1]: Leaving directory `/home/administrator/squid-2.4.STABLE1/auth_modules' Making install in lib... make[1]: Entering directory `/home/administrator/squid-2.4.STABLE1/lib' make[1]: Nothing to be done for `install'. make[1]: Leaving directory `/home/administrator/squid-2.4.STABLE1/lib' Making install in scripts... make[1]: Entering directory `/home/administrator/squid-2.4.STABLE1/scripts' mkdir /usr/local/squid mkdir /usr/local/squid/bin /usr/bin/install -c RunCache /usr/local/squid/bin /usr/bin/install -c RunAccel /usr/local/squid/bin make[1]: Leaving directory `/home/administrator/squid-2.4.STABLE1/scripts' Making install in src... make[1]: Entering directory `/home/administrator/squid-2.4.STABLE1/src' Making all in fs... make[2]: Entering directory `/home/administrator/squid-2.4.STABLE1/src/fs' make[3]: Entering directory `/home/administrator/squid-2.4.STABLE1/src/fs/ufs' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/home/administrator/squid-2.4.STABLE1/src/fs/ufs' make[2]: Leaving directory `/home/administrator/squid-2.4.STABLE1/src/fs' Making all in repl... make[2]: Entering directory `/home/administrator/squid-2.4.STABLE1/src/repl' make[3]: Entering directory `/home/administrator/squid-2.4.STABLE1/src/repl/lru' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/home/administrator/squid-2.4.STABLE1/src/repl/lru' make[2]: Leaving directory `/home/administrator/squid-2.4.STABLE1/src/repl' make[2]: Entering directory `/home/administrator/squid-2.4.STABLE1/src' make[2]: `squid' is up to date. make[2]: `client' is up to date. make[2]: `unlinkd' is up to date. make[2]: `cachemgr.cgi' is up to date. make[2]: Leaving directory `/home/administrator/squid-2.4.STABLE1/src' mkdir /usr/local/squid/libexec/squid mkdir /usr/local/squid/etc mkdir /usr/local/squid/logs Making install in fs... make[2]: Entering directory `/home/administrator/squid-2.4.STABLE1/src/fs' make[3]: Entering directory `/home/administrator/squid-2.4.STABLE1/src/fs/ufs' make[3]: Nothing to be done for `install'. make[3]: Leaving directory `/home/administrator/squid-2.4.STABLE1/src/fs/ufs' make[2]: Leaving directory `/home/administrator/squid-2.4.STABLE1/src/fs' Making install in repl... make[2]: Entering directory `/home/administrator/squid-2.4.STABLE1/src/repl' make[3]: Entering directory `/home/administrator/squid-2.4.STABLE1/src/repl/lru' make[3]: Nothing to be done for `install'. make[3]: Leaving directory `/home/administrator/squid-2.4.STABLE1/src/repl/lru' make[2]: Leaving directory `/home/administrator/squid-2.4.STABLE1/src/repl' /usr/bin/install -c squid /usr/local/squid/bin /usr/bin/install -c client /usr/local/squid/bin /usr/bin/install -c unlinkd /usr/local/squid/libexec/squid /usr/bin/install -c cachemgr.cgi /usr/local/squid/libexec/squid /usr/bin/install -c -m 644 ./mib.txt /usr/local/squid/etc/mib.txt /usr/bin/install -c -m 644 squid.conf /usr/local/squid/etc/squid.conf.default /usr/bin/install -c -m 644 squid.conf /usr/local/squid/etc /usr/bin/install -c -m 644 ./mime.conf /usr/local/squid/etc/mime.conf.default /usr/bin/install -c -m 644 ./mime.conf /usr/local/squid/etc make[1]: Leaving directory `/home/administrator/squid-2.4.STABLE1/src' Making install in icons... make[1]: Entering directory `/home/administrator/squid-2.4.STABLE1/icons' mkdir /usr/local/squid/etc/icons /usr/bin/install -c -m 644 anthony-binhex.gif /usr/local/squid/etc/icons /usr/bin/install -c -m 644 anthony-bomb.gif /usr/local/squid/etc/icons /usr/bin/install -c -m 644 anthony-box.gif /usr/local/squid/etc/icons /usr/bin/install -c -m 644 anthony-box2.gif /usr/local/squid/etc/icons /usr/bin/install -c -m 644 anthony-c.gif /usr/local/squid/etc/icons /usr/bin/install -c -m 644 anthony-compressed.gif /usr/local/squid/etc/icons /usr/bin/install -c -m 644 anthony-dir.gif /usr/local/squid/etc/icons /usr/bin/install -c -m 644 anthony-dirup.gif /usr/local/squid/etc/icons /usr/bin/install -c -m 644 anthony-dvi.gif /usr/local/squid/etc/icons /usr/bin/install -c -m 644 anthony-f.gif /usr/local/squid/etc/icons /usr/bin/install -c -m 644 anthony-image.gif /usr/local/squid/etc/icons /usr/bin/install -c -m 644 anthony-image2.gif /usr/local/squid/etc/icons /usr/bin/install -c -m 644 anthony-layout.gif /usr/local/squid/etc/icons /usr/bin/install -c -m 644 anthony-link.gif /usr/local/squid/etc/icons /usr/bin/install -c -m 644 anthony-movie.gif /usr/local/squid/etc/icons /usr/bin/install -c -m 644 anthony-pdf.gif /usr/local/squid/etc/icons /usr/bin/install -c -m 644 anthony-portal.gif /usr/local/squid/etc/icons /usr/bin/install -c -m 644 anthony-ps.gif /usr/local/squid/etc/icons /usr/bin/install -c -m 644 anthony-quill.gif /usr/local/squid/etc/icons /usr/bin/install -c -m 644 anthony-script.gif /usr/local/squid/etc/icons /usr/bin/install -c -m 644 anthony-sound.gif /usr/local/squid/etc/icons /usr/bin/install -c -m 644 anthony-tar.gif /usr/local/squid/etc/icons /usr/bin/install -c -m 644 anthony-tex.gif /usr/local/squid/etc/icons /usr/bin/install -c -m 644 anthony-text.gif /usr/local/squid/etc/icons /usr/bin/install -c -m 644 anthony-unknown.gif /usr/local/squid/etc/icons /usr/bin/install -c -m 644 anthony-xbm.gif /usr/local/squid/etc/icons /usr/bin/install -c -m 644 anthony-xpm.gif /usr/local/squid/etc/icons make[1]: Leaving directory `/home/administrator/squid-2.4.STABLE1/icons' Making install in errors... make[1]: Entering directory `/home/administrator/squid-2.4.STABLE1/errors' mkdir /usr/local/squid/etc/errors /usr/bin/install -c -m 644 ./English/ERR_ACCESS_DENIED /usr/local/squid/etc/errors /usr/bin/install -c -m 644 ./English/ERR_CACHE_ACCESS_DENIED /usr/local/squid/etc/errors /usr/bin/install -c -m 644 ./English/ERR_CACHE_MGR_ACCESS_DENIED /usr/local/squid/etc/errors /usr/bin/install -c -m 644 ./English/ERR_CANNOT_FORWARD /usr/local/squid/etc/errors /usr/bin/install -c -m 644 ./English/ERR_CONNECT_FAIL /usr/local/squid/etc/errors /usr/bin/install -c -m 644 ./English/ERR_DNS_FAIL /usr/local/squid/etc/errors /usr/bin/install -c -m 644 ./English/ERR_FORWARDING_DENIED /usr/local/squid/etc/errors /usr/bin/install -c -m 644 ./English/ERR_FTP_DISABLED /usr/local/squid/etc/errors /usr/bin/install -c -m 644 ./English/ERR_FTP_FAILURE /usr/local/squid/etc/errors /usr/bin/install -c -m 644 ./English/ERR_FTP_FORBIDDEN /usr/local/squid/etc/errors /usr/bin/install -c -m 644 ./English/ERR_FTP_NOT_FOUND /usr/local/squid/etc/errors /usr/bin/install -c -m 644 ./English/ERR_FTP_PUT_CREATED /usr/local/squid/etc/errors /usr/bin/install -c -m 644 ./English/ERR_FTP_PUT_ERROR /usr/local/squid/etc/errors /usr/bin/install -c -m 644 ./English/ERR_FTP_PUT_MODIFIED /usr/local/squid/etc/errors /usr/bin/install -c -m 644 ./English/ERR_FTP_UNAVAILABLE /usr/local/squid/etc/errors /usr/bin/install -c -m 644 ./English/ERR_INVALID_REQ /usr/local/squid/etc/errors /usr/bin/install -c -m 644 ./English/ERR_INVALID_URL /usr/local/squid/etc/errors /usr/bin/install -c -m 644 ./English/ERR_LIFETIME_EXP /usr/local/squid/etc/errors /usr/bin/install -c -m 644 ./English/ERR_NO_RELAY /usr/local/squid/etc/errors /usr/bin/install -c -m 644 ./English/ERR_ONLY_IF_CACHED_MISS /usr/local/squid/etc/errors /usr/bin/install -c -m 644 ./English/ERR_READ_ERROR /usr/local/squid/etc/errors /usr/bin/install -c -m 644 ./English/ERR_READ_TIMEOUT /usr/local/squid/etc/errors /usr/bin/install -c -m 644 ./English/ERR_SHUTTING_DOWN /usr/local/squid/etc/errors /usr/bin/install -c -m 644 ./English/ERR_SOCKET_FAILURE /usr/local/squid/etc/errors /usr/bin/install -c -m 644 ./English/ERR_TOO_BIG /usr/local/squid/etc/errors /usr/bin/install -c -m 644 ./English/ERR_UNSUP_REQ /usr/local/squid/etc/errors /usr/bin/install -c -m 644 ./English/ERR_URN_RESOLVE /usr/local/squid/etc/errors /usr/bin/install -c -m 644 ./English/ERR_WRITE_ERROR /usr/local/squid/etc/errors /usr/bin/install -c -m 644 ./English/ERR_ZERO_SIZE_OBJECT /usr/local/squid/etc/errors make[1]: Leaving directory `/home/administrator/squid-2.4.STABLE1/errors' Making install in auth_modules... make[1]: Entering directory `/home/administrator/squid-2.4.STABLE1/auth_modules' make[1]: Leaving directory `/home/administrator/squid-2.4.STABLE1/auth_modules' [root@denet7 squid-2.4.STABLE1]# cd /usr/local/squid/ [root@denet7 squid]# ls bin etc libexec logs [root@denet7 squid]# chmod 777 /usr/local/squid/logs/ [root@denet7 squid]# chmod 777 /usr/local/squid/logs/ -R [root@denet7 bin]# ls RunAccel RunCache client squid [root@denet7 bin]# ./squid -z FATAL: getgrnam failed to find groupid for effective group 'nogroup' Squid Cache (Version 2.4.STABLE1): Terminated abnormally. CPU Usage: 0.020 seconds = 0.020 user + 0.000 sys Maximum Resident Size: 0 KB Page faults with physical i/o: 366 [root@denet7 bin]# addgroup bash: addgroup: command not found [root@denet7 bin]# groupadd nogroup [root@denet7 bin]# chown nobody.nogroup /usr/local/squid/ -R [root@denet7 bin]# ./squid -z 2001/05/08 13:35:53| Creating Swap Directories [root@denet7 bin]# [root@denet7 bin]# ls RunAccel RunCache client squid [root@denet7 bin]# cd .. [root@denet7 squid]# ls bin cache etc libexec logs [root@denet7 squid]# cd cache/ [root@denet7 cache]# ls 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F [root@denet7 cache]# [root@denet7 cache]# cd .. [root@denet7 squid]# cd etc [root@denet7 etc]# ls errors mib.txt mime.conf.default squid.conf.default icons mime.conf squid.conf [root@denet7 etc]# vi squid.conf ..... ######http_access deny all htt_access allow all ### MODIFIED 2001-05-08 ...... [root@denet7 etc]# [root@denet7 etc]# cd ../bin [root@denet7 bin]# ls RunAccel RunCache client squid [root@denet7 bin]# ./RunCache Running: squid -sY >> /usr/local/squid/squid.out 2>&1 [root@denet7 /root]# cd /usr/local/squid/ [root@denet7 squid]# ls bin cache etc libexec logs squid.out [root@denet7 squid]# cat squid.out Startup: Tue May 8 13:41:25 HKT 2001 2001/05/08 13:41:25| parseConfigFile: line 1450 unrecognized: 'htt_access allow all ### MODIFIED 2001-05-08' [root@denet7 squid]# cd logs/ [root@denet7 logs]# ls access.log cache.log squid.pid store.log [root@denet7 logs]# cat cache.log 2001/05/08 13:41:25| Starting Squid Cache version 2.4.STABLE1 for i686-pc-linux-gnu... 2001/05/08 13:41:25| Process ID 16226 2001/05/08 13:41:25| With 1024 file descriptors available 2001/05/08 13:41:25| Performing DNS Tests... 2001/05/08 13:41:25| Successful DNS name lookup tests... 2001/05/08 13:41:25| DNS Socket created on FD 5 2001/05/08 13:41:25| Adding nameserver 192.168.0.254 from /etc/resolv.conf 2001/05/08 13:41:25| Unlinkd pipe opened on FD 10 2001/05/08 13:41:25| Swap maxSize 102400 KB, estimated 7876 objects 2001/05/08 13:41:25| Target number of buckets: 393 2001/05/08 13:41:25| Using 8192 Store buckets 2001/05/08 13:41:25| Max Mem size: 8192 KB 2001/05/08 13:41:25| Max Swap size: 102400 KB 2001/05/08 13:41:25| Rebuilding storage in /usr/local/squid/cache (DIRTY) 2001/05/08 13:41:25| Using Least Load store dir selection 2001/05/08 13:41:25| Set Current Directory to /usr/local/squid/cache 2001/05/08 13:41:25| Loaded Icons. 2001/05/08 13:41:25| Accepting HTTP connections at 0.0.0.0, port 3128, FD 11. 2001/05/08 13:41:25| Accepting ICP messages at 0.0.0.0, port 3130, FD 12. 2001/05/08 13:41:25| WCCP Disabled. 2001/05/08 13:41:25| Ready to serve requests. 2001/05/08 13:41:26| Done scanning /usr/local/squid/cache swaplog (0 entries) 2001/05/08 13:41:26| Finished rebuilding storage from disk. 2001/05/08 13:41:26| 0 Entries scanned 2001/05/08 13:41:26| 0 Invalid entries. 2001/05/08 13:41:26| 0 With invalid flags. 2001/05/08 13:41:26| 0 Objects loaded. 2001/05/08 13:41:26| 0 Objects expired. 2001/05/08 13:41:26| 0 Objects cancelled. 2001/05/08 13:41:26| 0 Duplicate URLs purged. 2001/05/08 13:41:26| 0 Swapfile clashes avoided. 2001/05/08 13:41:26| Took 1.6 seconds ( 0.0 objects/sec). 2001/05/08 13:41:26| Beginning Validation Procedure 2001/05/08 13:41:26| Completed Validation Procedure 2001/05/08 13:41:26| Validated 0 Entries 2001/05/08 13:41:26| store_swap_size = 84k 2001/05/08 13:41:27| storeLateRelease: released 0 objects [root@denet7 logs]# cat access.log [root@denet7 logs]# cat store.log 989300485.351 SWAPOUT 00 00000000 64C6EE7D362D62DE8E0D8B1C4B591E72 200 989300485 989299637 -1 image/gif 227/227 GET http://denet7.denet.com.cn:3128/squid-internal-static/icons/anthony-image.gif 989300485.351 SWAPOUT 00 00000001 CEA75997AC1250B850DD03FDBB1A9389 200 989300485 989299637 -1 image/gif 153/153 GET http://denet7.denet.com.cn:3128/squid-internal-static/icons/anthony-text.gif 989300485.351 SWAPOUT 00 00000002 4A5DD96D2FD59AE55B7FBE12196B0474 200 989300485 989299637 -1 image/gif 147/147 GET http://denet7.denet.com.cn:3128/squid-internal-static/icons/anthony-dirup.gif 989300485.351 SWAPOUT 00 00000003 AE41F46B529C37C2EB98C4BCDBF4D61A 200 989300485 989299637 -1 image/gif 137/137 GET http://denet7.denet.com.cn:3128/squid-internal-static/icons/anthony-dir.gif 989300485.351 SWAPOUT 00 00000004 BC33A7D0B521AAFEECCBDD38053BDE3E 200 989300485 989299637 -1 image/gif 124/124 GET http://denet7.denet.com.cn:3128/squid-internal-static/icons/anthony-link.gif 989300485.351 SWAPOUT 00 00000005 9D029B8713BD1409A747482FA6EDBADB 200 989300485 989299637 -1 image/gif 166/166 GET http://denet7.denet.com.cn:3128/squid-internal-static/icons/anthony-sound.gif 989300485.351 SWAPOUT 00 00000006 B7FFB39604862885B95B3F25658CEB22 200 989300485 989299637 -1 image/gif 151/151 GET http://denet7.denet.com.cn:3128/squid-internal-static/icons/anthony-movie.gif 989300485.351 SWAPOUT 00 00000007 99FBB1DA12A564C37B3D7655B97A87B2 200 989300485 989299637 -1 image/gif 172/172 GET http://denet7.denet.com.cn:3128/squid-internal-static/icons/anthony-portal.gif 989300485.351 SWAPOUT 00 00000008 B42B9B84A58D65189F8FB2489077B1D7 200 989300485 989299637 -1 image/gif 176/176 GET http://denet7.denet.com.cn:3128/squid-internal-static/icons/anthony-box.gif 989300485.351 SWAPOUT 00 00000009 0E65802ADB0EC4BDE6E0C39FE02CE18E 200 989300485 989299637 -1 image/gif 163/163 GET http://denet7.denet.com.cn:3128/squid-internal-static/icons/anthony-unknown.gif 989300485.351 SWAPOUT 00 0000000A D05F3903B60B50FE1E7F40C2902809B0 200 989300485 989299637 -1 image/gif 162/162 GET http://denet7.denet.com.cn:3128/squid-internal-static/icons/anthony-ps.gif 989300485.351 SWAPOUT 00 0000000B AA7B7E704BFAA0024177A732C6D61099 200 989300485 989299637 -1 image/gif 169/169 GET http://denet7.denet.com.cn:3128/squid-internal-static/icons/anthony-compressed.gif 989300485.351 SWAPOUT 00 0000000C F676993E3F547AD0CA91693FC79FEBBB 200 989300485 989299637 -1 image/gif 156/156 GET http://denet7.denet.com.cn:3128/squid-internal-static/icons/anthony-tar.gif 989300485.351 SWAPOUT 00 0000000D E01F9068204ADF0209502105833BB8D6 200 989300485 989299637 -1 image/gif 155/155 GET http://denet7.denet.com.cn:3128/squid-internal-static/icons/anthony-script.gif 989300485.351 SWAPOUT 00 0000000E D4B7792745CAAB154D77BBECB136FA4C 200 989300485 989299637 -1 image/gif 156/156 GET http://denet7.denet.com.cn:3128/squid-internal-static/icons/anthony-dvi.gif 989300485.351 SWAPOUT 00 0000000F 26D520CCD2F5F7D7C32F137F0B3B8CFD 200 989300485 989299637 -1 image/gif 164/164 GET http://denet7.denet.com.cn:3128/squid-internal-static/icons/anthony-tex.gif 989300485.351 SWAPOUT 00 00000010 6DCE0A53239F71AA7D32AD77865D5499 200 989300485 989299637 -1 image/gif 154/154 GET http://denet7.denet.com.cn:3128/squid-internal-static/icons/anthony-xbm.gif 989300485.351 SWAPOUT 00 00000011 DCB64B19712CD45FA1FB94BF40A0F9BB 200 989300485 989299637 -1 image/gif 168/168 GET http://denet7.denet.com.cn:3128/squid-internal-static/icons/anthony-xpm.gif 989300485.351 SWAPOUT 00 00000012 20E9BE4047128C472DF42478FFB3BAEE 200 989300485 989299637 -1 image/gif 160/160 GET http://denet7.denet.com.cn:3128/squid-internal-static/icons/anthony-c.gif 989300485.351 SWAPOUT 00 00000013 717F33EDBAC68CC856FCC722C7A60383 200 989300485 989299637 -1 image/gif 166/166 GET http://denet7.denet.com.cn:3128/squid-internal-static/icons/anthony-binhex.gif 989300485.351 SWAPOUT 00 00000014 74DD6B9E04A68DA11FF030E29BD253B6 200 989300485 989299637 -1 image/gif 192/192 GET http://denet7.denet.com.cn:3128/squid-internal-static/icons/anthony-bomb.gif [root@denet7 logs] cd ../etc [root@denet7 etc]# vi squid.conf ..... ######http_access deny all http_access allow all ### MODIFIED 2001-05-08 ..... ot@denet7 etc]# cd .. [root@denet7 squid]# l total 32k drwxr-xr-x 7 nobody nogroup 4.0k May 8 13:41 . drwxrwxrwx 37 root root 4.0k May 8 13:27 .. drwxr-xr-x 2 nobody nogroup 4.0k May 8 13:27 bin drwxr-xr-x 18 nobody nogroup 4.0k May 8 13:50 cache drwxr-xr-x 4 nobody nogroup 4.0k May 8 13:50 etc drwxr-xr-x 3 nobody nogroup 4.0k May 8 13:27 libexec drwxrwxrwx 2 nobody nogroup 4.0k May 8 13:50 logs -rw-r--r-- 1 root root 148 May 8 13:41 squid.out [root@denet7 squid]# rm -f squid.out [root@denet7 bin]# ./RunCache Running: squid -sY >> /usr/local/squid/squid.out 2>&1 [root@denet7 bin]# cd .. [root@denet7 squid]# cat squid.out Startup: Tue May 8 13:51:36 HKT 2001 2001/05/08 13:51:36| squid.conf line 1450: http_access allow all ### MODIFIED 2001-05-08 2001/05/08 13:51:36| aclParseAccessLine: ACL name '###' not found. 2001/05/08 13:51:36| squid.conf line 1450: http_access allow all ### MODIFIED 2001-05-08 2001/05/08 13:51:36| aclParseAccessLine: ACL name 'MODIFIED' not found. 2001/05/08 13:51:36| squid.conf line 1450: http_access allow all ### MODIFIED 2001-05-08 2001/05/08 13:51:36| aclParseAccessLine: ACL name '2001-05-08' not found. [root@denet7 squid]# cd etc/ [root@denet7 etc]# ls errors mib.txt mime.conf.default squid.conf.default icons mime.conf squid.conf [root@denet7 etc]# vi squid.conf ..... ######http_access deny all http_access allow all ### MODIFIED 2001-05-08 ..... [root@denet7 etc] cd .. [root@denet7 squid]# rm -f squid.out [root@denet7 squid]# cd bin [root@denet7 bin]# ./RunCache Running: squid -sY >> /usr/local/squid/squid.out 2>&1 [root@denet7 bin]# cat ../squid.out Startup: Tue May 8 13:56:20 HKT 2001 [root@denet7 bin]# [root@denet7 bin]# cd ../logs/ [root@denet7 logs]# cat cache.log 2001/05/08 13:41:25| Starting Squid Cache version 2.4.STABLE1 for i686-pc-linux-gnu... 2001/05/08 13:41:25| Process ID 16226 2001/05/08 13:41:25| With 1024 file descriptors available 2001/05/08 13:41:25| Performing DNS Tests... 2001/05/08 13:41:25| Successful DNS name lookup tests... 2001/05/08 13:41:25| DNS Socket created on FD 5 2001/05/08 13:41:25| Adding nameserver 192.168.0.254 from /etc/resolv.conf 2001/05/08 13:41:25| Unlinkd pipe opened on FD 10 2001/05/08 13:41:25| Swap maxSize 102400 KB, estimated 7876 objects 2001/05/08 13:41:25| Target number of buckets: 393 2001/05/08 13:41:25| Using 8192 Store buckets 2001/05/08 13:41:25| Max Mem size: 8192 KB 2001/05/08 13:41:25| Max Swap size: 102400 KB 2001/05/08 13:41:25| Rebuilding storage in /usr/local/squid/cache (DIRTY) 2001/05/08 13:41:25| Using Least Load store dir selection 2001/05/08 13:41:25| Set Current Directory to /usr/local/squid/cache 2001/05/08 13:41:25| Loaded Icons. 2001/05/08 13:41:25| Accepting HTTP connections at 0.0.0.0, port 3128, FD 11. 2001/05/08 13:41:25| Accepting ICP messages at 0.0.0.0, port 3130, FD 12. 2001/05/08 13:41:25| WCCP Disabled. 2001/05/08 13:41:25| Ready to serve requests. 2001/05/08 13:41:26| Done scanning /usr/local/squid/cache swaplog (0 entries) 2001/05/08 13:41:26| Finished rebuilding storage from disk. 2001/05/08 13:41:26| 0 Entries scanned 2001/05/08 13:41:26| 0 Invalid entries. 2001/05/08 13:41:26| 0 With invalid flags. 2001/05/08 13:41:26| 0 Objects loaded. 2001/05/08 13:41:26| 0 Objects expired. 2001/05/08 13:41:26| 0 Objects cancelled. 2001/05/08 13:41:26| 0 Duplicate URLs purged. 2001/05/08 13:41:26| 0 Swapfile clashes avoided. 2001/05/08 13:41:26| Took 1.6 seconds ( 0.0 objects/sec). 2001/05/08 13:41:26| Beginning Validation Procedure 2001/05/08 13:41:26| Completed Validation Procedure 2001/05/08 13:41:26| Validated 0 Entries 2001/05/08 13:41:26| store_swap_size = 84k 2001/05/08 13:41:27| storeLateRelease: released 0 objects 2001/05/08 13:50:55| Preparing for shutdown after 0 requests 2001/05/08 13:50:55| Waiting 0 seconds for active connections to finish 2001/05/08 13:50:55| FD 11 Closing HTTP connection 2001/05/08 13:50:57| Shutting down... 2001/05/08 13:50:57| FD 12 Closing ICP connection 2001/05/08 13:50:57| Closing unlinkd pipe on FD 10 2001/05/08 13:50:57| storeDirWriteCleanLogs: Starting... 2001/05/08 13:50:57| Finished. Wrote 0 entries. 2001/05/08 13:50:57| Took 0.0 seconds ( 0.0 entries/sec). CPU Usage: 0.300 seconds = 0.180 user + 0.120 sys Maximum Resident Size: 0 KB Page faults with physical i/o: 373 Memory usage for squid via mallinfo(): total space in arena: 2189 KB Ordinary blocks: 2146 KB 22 blks Small blocks: 0 KB 0 blks Holding blocks: 176 KB 1 blks Free Small blocks: 0 KB Free Ordinary blocks: 43 KB Total in use: 2322 KB 106% Total free: 43 KB 2% 2001/05/08 13:50:57| Squid Cache (Version 2.4.STABLE1): Exiting normally. 2001/05/08 13:51:36| Starting Squid Cache version 2.4.STABLE1 for i686-pc-linux-gnu... 2001/05/08 13:51:36| Process ID 16274 2001/05/08 13:51:36| With 1024 file descriptors available 2001/05/08 13:51:36| Performing DNS Tests... 2001/05/08 13:51:36| Successful DNS name lookup tests... 2001/05/08 13:51:36| DNS Socket created on FD 5 2001/05/08 13:51:36| Adding nameserver 192.168.0.254 from /etc/resolv.conf 2001/05/08 13:51:36| Unlinkd pipe opened on FD 10 2001/05/08 13:51:36| Swap maxSize 102400 KB, estimated 7876 objects 2001/05/08 13:51:36| Target number of buckets: 393 2001/05/08 13:51:36| Using 8192 Store buckets 2001/05/08 13:51:36| Max Mem size: 8192 KB 2001/05/08 13:51:36| Max Swap size: 102400 KB 2001/05/08 13:51:36| Rebuilding storage in /usr/local/squid/cache (CLEAN) 2001/05/08 13:51:36| Using Least Load store dir selection 2001/05/08 13:51:36| Set Current Directory to /usr/local/squid/cache 2001/05/08 13:51:36| Loaded Icons. 2001/05/08 13:51:36| Accepting HTTP connections at 0.0.0.0, port 3128, FD 11. 2001/05/08 13:51:36| Accepting ICP messages at 0.0.0.0, port 3130, FD 12. 2001/05/08 13:51:36| WCCP Disabled. 2001/05/08 13:51:36| Ready to serve requests. 2001/05/08 13:51:36| Done scanning /usr/local/squid/cache swaplog (0 entries) 2001/05/08 13:51:36| Finished rebuilding storage from disk. 2001/05/08 13:51:36| 0 Entries scanned 2001/05/08 13:51:36| 0 Invalid entries. 2001/05/08 13:51:36| 0 With invalid flags. 2001/05/08 13:51:36| 0 Objects loaded. 2001/05/08 13:51:36| 0 Objects expired. 2001/05/08 13:51:36| 0 Objects cancelled. 2001/05/08 13:51:36| 0 Duplicate URLs purged. 2001/05/08 13:51:36| 0 Swapfile clashes avoided. 2001/05/08 13:51:36| Took 0.5 seconds ( 0.0 objects/sec). 2001/05/08 13:51:36| Beginning Validation Procedure 2001/05/08 13:51:36| Completed Validation Procedure 2001/05/08 13:51:36| Validated 0 Entries 2001/05/08 13:51:36| store_swap_size = 84k 2001/05/08 13:51:37| storeLateRelease: released 0 objects 2001/05/08 13:55:18| Starting Squid Cache version 2.4.STABLE1 for i686-pc-linux-gnu... 2001/05/08 13:55:18| Process ID 16285 2001/05/08 13:55:18| With 1024 file descriptors available 2001/05/08 13:55:18| Performing DNS Tests... 2001/05/08 13:55:18| Successful DNS name lookup tests... 2001/05/08 13:55:18| DNS Socket created on FD 5 2001/05/08 13:55:18| Adding nameserver 192.168.0.254 from /etc/resolv.conf 2001/05/08 13:55:18| Unlinkd pipe opened on FD 10 2001/05/08 13:55:18| Swap maxSize 102400 KB, estimated 7876 objects 2001/05/08 13:55:18| Target number of buckets: 393 2001/05/08 13:55:18| Using 8192 Store buckets 2001/05/08 13:55:18| Max Mem size: 8192 KB 2001/05/08 13:55:18| Max Swap size: 102400 KB 2001/05/08 13:55:18| Rebuilding storage in /usr/local/squid/cache (DIRTY) 2001/05/08 13:55:18| Using Least Load store dir selection 2001/05/08 13:55:18| Set Current Directory to /usr/local/squid/cache 2001/05/08 13:55:18| Loaded Icons. 2001/05/08 13:55:18| Accepting HTTP connections at 0.0.0.0, port 3128, FD 11. 2001/05/08 13:55:18| Accepting ICP messages at 0.0.0.0, port 3130, FD 12. 2001/05/08 13:55:18| WCCP Disabled. 2001/05/08 13:55:18| Ready to serve requests. 2001/05/08 13:55:18| Done scanning /usr/local/squid/cache swaplog (0 entries) 2001/05/08 13:55:18| Finished rebuilding storage from disk. 2001/05/08 13:55:18| 0 Entries scanned 2001/05/08 13:55:18| 0 Invalid entries. 2001/05/08 13:55:18| 0 With invalid flags. 2001/05/08 13:55:18| 0 Objects loaded. 2001/05/08 13:55:18| 0 Objects expired. 2001/05/08 13:55:18| 0 Objects cancelled. 2001/05/08 13:55:18| 0 Duplicate URLs purged. 2001/05/08 13:55:18| 0 Swapfile clashes avoided. 2001/05/08 13:55:18| Took 0.5 seconds ( 0.0 objects/sec). 2001/05/08 13:55:18| Beginning Validation Procedure 2001/05/08 13:55:18| Completed Validation Procedure 2001/05/08 13:55:18| Validated 0 Entries 2001/05/08 13:55:18| store_swap_size = 84k 2001/05/08 13:55:19| storeLateRelease: released 0 objects 2001/05/08 13:55:21| Preparing for shutdown after 0 requests 2001/05/08 13:55:21| Waiting 0 seconds for active connections to finish 2001/05/08 13:55:21| FD 11 Closing HTTP connection 2001/05/08 13:55:22| Shutting down... 2001/05/08 13:55:22| FD 12 Closing ICP connection 2001/05/08 13:55:22| Closing unlinkd pipe on FD 10 2001/05/08 13:55:22| storeDirWriteCleanLogs: Starting... 2001/05/08 13:55:22| Finished. Wrote 0 entries. 2001/05/08 13:55:22| Took 0.0 seconds ( 0.0 entries/sec). CPU Usage: 0.230 seconds = 0.120 user + 0.110 sys Maximum Resident Size: 0 KB Page faults with physical i/o: 323 Memory usage for squid via mallinfo(): total space in arena: 2181 KB Ordinary blocks: 2145 KB 4 blks Small blocks: 0 KB 0 blks Holding blocks: 176 KB 1 blks Free Small blocks: 0 KB Free Ordinary blocks: 35 KB Total in use: 2321 KB 106% Total free: 35 KB 2% 2001/05/08 13:55:22| Squid Cache (Version 2.4.STABLE1): Exiting normally. 2001/05/08 13:56:20| Starting Squid Cache version 2.4.STABLE1 for i686-pc-linux-gnu... 2001/05/08 13:56:20| Process ID 16301 2001/05/08 13:56:20| With 1024 file descriptors available 2001/05/08 13:56:20| Performing DNS Tests... 2001/05/08 13:56:20| Successful DNS name lookup tests... 2001/05/08 13:56:20| DNS Socket created on FD 5 2001/05/08 13:56:20| Adding nameserver 192.168.0.254 from /etc/resolv.conf 2001/05/08 13:56:20| Unlinkd pipe opened on FD 10 2001/05/08 13:56:20| Swap maxSize 102400 KB, estimated 7876 objects 2001/05/08 13:56:20| Target number of buckets: 393 2001/05/08 13:56:20| Using 8192 Store buckets 2001/05/08 13:56:20| Max Mem size: 8192 KB 2001/05/08 13:56:20| Max Swap size: 102400 KB 2001/05/08 13:56:20| Rebuilding storage in /usr/local/squid/cache (CLEAN) 2001/05/08 13:56:20| Using Least Load store dir selection 2001/05/08 13:56:20| Set Current Directory to /usr/local/squid/cache 2001/05/08 13:56:20| Loaded Icons. 2001/05/08 13:56:20| Accepting HTTP connections at 0.0.0.0, port 3128, FD 11. 2001/05/08 13:56:20| Accepting ICP messages at 0.0.0.0, port 3130, FD 12. 2001/05/08 13:56:20| WCCP Disabled. 2001/05/08 13:56:20| Ready to serve requests. 2001/05/08 13:56:20| Done scanning /usr/local/squid/cache swaplog (0 entries) 2001/05/08 13:56:20| Finished rebuilding storage from disk. 2001/05/08 13:56:20| 0 Entries scanned 2001/05/08 13:56:20| 0 Invalid entries. 2001/05/08 13:56:20| 0 With invalid flags. 2001/05/08 13:56:20| 0 Objects loaded. 2001/05/08 13:56:20| 0 Objects expired. 2001/05/08 13:56:20| 0 Objects cancelled. 2001/05/08 13:56:20| 0 Duplicate URLs purged. 2001/05/08 13:56:20| 0 Swapfile clashes avoided. 2001/05/08 13:56:20| Took 0.5 seconds ( 0.0 objects/sec). 2001/05/08 13:56:20| Beginning Validation Procedure 2001/05/08 13:56:20| Completed Validation Procedure 2001/05/08 13:56:20| Validated 0 Entries 2001/05/08 13:56:20| store_swap_size = 84k 2001/05/08 13:56:21| storeLateRelease: released 0 objects [root@denet7 logs]# cat access.log 989301897.996 4007 192.168.0.76 TCP_MISS/304 99 GET http://image2.sina.com.cn/home/images/sina_logo1.gif - DIRECT/61.138.141.6 - 989301898.045 4050 192.168.0.76 TCP_MISS/304 99 GET http://image2.sina.com.cn/home/images/home01.gif - DIRECT/61.138.141.6 - 989301899.315 4881 192.168.0.76 TCP_MISS/304 99 GET http://image2.sina.com.cn/home/images/c.gif - DIRECT/61.138.141.6 - 989301899.935 1889 192.168.0.76 TCP_MISS/304 252 GET http://ad4.sina.com.cn/button/jeanswest.gif - DIRECT/202.108.44.50 image/gif 989301900.015 2020 192.168.0.76 TCP_MISS/304 244 GET http://ad4.sina.com.cn/button/hxfirewall.GIF - DIRECT/202.108.44.50 image/gif 989301900.095 780 192.168.0.76 TCP_MISS/304 252 GET http://ad4.sina.com.cn/button/buttonsmall.gif - DIRECT/202.108.44.50 image/gif 989301900.185 250 192.168.0.76 TCP_MISS/304 243 GET http://ad4.sina.com.cn/button/huafengbig.gif - DIRECT/202.108.44.50 image/gif 989301900.490 474 192.168.0.76 TCP_MISS/200 580 GET http://ad.cn.doubleclick.net/adj/www.sina.com.cn/homepage;abr=!nn2;num=71683961969680136? - DIRECT/210.192.102.30 application/x-javascript 989301900.874 330 192.168.0.76 TCP_MISS/304 252 GET http://ad4.sina.com.cn/banner/joyo265.gif - DIRECT/202.108.44.50 image/gif 989301901.865 1347 192.168.0.76 TCP_MISS/200 558 GET http://home.sina.com.cn/images/hptitle.gif - DIRECT/202.106.184.210 image/gif 989301902.900 2025 192.168.0.76 TCP_MISS/404 564 GET http://image2.sina.com.cn/ml/hotsell0508.gif - DIRECT/61.138.141.6 text/html 989301904.294 11423 192.168.0.76 TCP_MISS/200 46572 GET http://www.sina.com.cn/ - DIRECT/202.106.184.200 text/html 989301905.544 3679 192.168.0.76 TCP_MISS/304 99 GET http://image2.sina.com.cn/home/images/hot.gif - DIRECT/61.138.141.6 - 989301906.624 1688 192.168.0.76 TCP_MISS/304 252 GET http://ad4.sina.com.cn/button/bolmusic1.gif - DIRECT/202.108.44.50 image/gif 989301907.429 4443 192.168.0.76 TCP_MISS/304 99 GET http://image2.sina.com.cn/home/images/new.gif - DIRECT/61.138.141.6 - 989301907.478 1934 192.168.0.76 TCP_MISS/304 99 GET http://image2.sina.com.cn/home/image/dell.gif - DIRECT/61.138.141.6 - 989301907.783 1158 192.168.0.76 TCP_MISS/304 99 GET http://image2.sina.com.cn/home/temp/doubleclick.gif - DIRECT/61.138.141.6 - 989301907.933 454 192.168.0.76 TCP_MISS/304 266 GET http://ad4.sina.com.cn/button/hfmovinglogo.js - DIRECT/202.108.44.50 application/x-javascript 989301908.037 608 192.168.0.76 TCP_MISS/304 99 GET http://image2.sina.com.cn/home/temp/biaoshi.gif - DIRECT/61.138.141.6 - 989301908.239 305 192.168.0.76 TCP_MISS/304 253 GET http://ad4.sina.com.cn/button/huafengmoving.gif - DIRECT/202.108.44.50 image/gif 989301909.688 9197 192.168.0.76 TCP_MISS/200 14915 GET http://ad.cn.doubleclick.net/viewad/490885-810014gaa.gif - DIRECT/210.192.102.30 image/gif 989301909.768 1777 192.168.0.76 TCP_MISS/200 2268 GET http://ad4.sina.com.cn/button/dog.js - DIRECT/202.108.44.50 application/x-javascript 989301916.791 6989 192.168.0.76 TCP_MISS/200 7125 GET http://dailynews.sina.com.cn/images/ad/dog.gif - DIRECT/202.106.182.210 image/gif