tag:blogger.com,1999:blog-57434603530013753622009-07-04T20:03:34.253+08:00FreeBSD Apache Mysql Php SquidI love these tools!iFampnoreply@blogger.comBlogger20189125tag:blogger.com,1999:blog-5743460353001375362.post-46564606141667958742009-07-20T09:05:00.000+08:002009-06-20T09:09:46.369+08:00[squid-users] Should i enable mikrotik bandwidth sharing or leave it to Squid?My wireless setup is as followsClient PC ------- Mikrotik-----Squid Cache Server------InternetDo you suggest that I should configure PCQ (equal/fair bandwidth sharing/distribution) on the Mikrotik routerboard or should i leave the bandwidth sharing to Squid as suggested by Amos?ThanksMarkiFampnoreply@blogger.com0tag:blogger.com,1999:blog-5743460353001375362.post-66414065713321921522009-07-20T08:56:00.000+08:002009-06-20T09:05:35.687+08:00[squid-users] Possible to setup a broadband connection on Debian?My current setup is:Squid Proxy Server--------->Client PC-----------------------> ADSL Router -------> InternetClient PC----------------------->Client PC----------------------->I want the Client PC to use the Squid Proxy Server for internet.There are 2 ways i have in mind1st option: Set the ADSL Router into bridge mode and connect the Squid Proxy Server to the internet via a dial up broadband iFampnoreply@blogger.com0tag:blogger.com,1999:blog-5743460353001375362.post-38373547567769058772009-07-20T06:53:00.000+08:002009-06-20T07:10:29.208+08:00[squid-users] Cache youtube videos WITHOUT videocache?I've come across this at http://wiki.squid-cache.org/Features/StoreUrlRewriteFeature: Store URL Rewriting?Does this mean i can cache videos without using videocache?iFampnoreply@blogger.com0tag:blogger.com,1999:blog-5743460353001375362.post-7971399811300722392009-07-04T20:00:00.001+08:002009-07-04T20:03:34.266+08:00freebsd-stable Digest, Vol 311, Issue 7Send freebsd-stable mailing list submissions to freebsd-stable@freebsd.orgTo subscribe or unsubscribe via the World Wide Web, visit http://lists.freebsd.org/mailman/listinfo/freebsd-stableor, via email, send a message with subject or body 'help' to freebsd-stable-request@freebsd.orgYou can reach the person managing the list at freebsd-stable-owner@freebsd.orgWhen replying, please edit your iFampnoreply@blogger.com0tag:blogger.com,1999:blog-5743460353001375362.post-80377926025004116782009-07-04T20:00:00.000+08:002009-07-04T20:01:57.015+08:00freebsd-i386 Digest, Vol 323, Issue 4Send freebsd-i386 mailing list submissions to freebsd-i386@freebsd.orgTo subscribe or unsubscribe via the World Wide Web, visit http://lists.freebsd.org/mailman/listinfo/freebsd-i386or, via email, send a message with subject or body 'help' to freebsd-i386-request@freebsd.orgYou can reach the person managing the list at freebsd-i386-owner@freebsd.orgWhen replying, please edit your Subject line so iFampnoreply@blogger.com0tag:blogger.com,1999:blog-5743460353001375362.post-68201312272724046472009-07-04T16:53:00.000+08:002009-07-04T16:55:11.146+08:00[squid-users] Problems with Digest Authentication.I have set up a Squid proxy on my Linode for use when I am away from home and need to use a proxy. In order to stop anyone being able to use it I have set up authorization.If I use basic authorization it all works correctly. I get prompted to enter my user name and password and I can start browsing. However, I want to set up digest authentication, so my password isn't transmitted in plain iFampnoreply@blogger.com0tag:blogger.com,1999:blog-5743460353001375362.post-32369394364019807772009-07-04T15:32:00.000+08:002009-07-04T15:35:12.260+08:00[squid-users] NTLM _AUTH : reauthenticate in external link in one pageDear all, My squid box contained : ntlm_auth + CentOS + squid 2.7. It'swork fine for authenticate over windows 2003 AD. But, in some case, myuser use some website such ashttp://www.apple.com/quicktime/download/, this webpage containexternal link in download session. Let's me explain the problem intostep by step - My user open new safari or IE browser - He connect to http://www.apple.com iFampnoreply@blogger.com0tag:blogger.com,1999:blog-5743460353001375362.post-61258300210613413932009-07-04T04:21:00.000+08:002009-07-04T04:24:06.868+08:00[squid-users] Blocking an entire TLDIs it possible to use noaccess.dat to block access to an entiretop-level domain?Best regardsDayoiFampnoreply@blogger.com0tag:blogger.com,1999:blog-5743460353001375362.post-33005348322981907122009-07-04T03:13:00.000+08:002009-07-04T03:16:03.628+08:00[squid-users] How to proxy a parent Squid SSL proxy?Hi, Everybody!I have a Squid ssl proxy server(3.0.16Stable) running listening 8443.Now I want to set up another Squid to proxy it again with SSL betweenthem.The second Squid serves http requests to browsers.Now I use my browser and try to connect the second Squid, it won't work.I made self-signed certificates for the first Squid.Could you please help me out the the squid.conf as following:#######iFampnoreply@blogger.com0tag:blogger.com,1999:blog-5743460353001375362.post-48154833502183889902009-07-04T02:24:00.000+08:002009-07-04T02:27:07.565+08:00[squid-users] Question about Squid+wccp2+multicastHi All,I am trying to setup squid as web cache server for wccp2 with cisco router.it works great. but when I try to setup squid to let it work with multicast address.problem pops up. There's not too much documents on internet for squid+wccp2+mulicast.I set up wccp2_router to multicast address(same address the cisco router set to). From snifferI can see squid send out HERE_I_AM to the multicast iFampnoreply@blogger.com0tag:blogger.com,1999:blog-5743460353001375362.post-33086833147460188752009-07-03T23:10:00.000+08:002009-07-03T23:20:43.607+08:00[squid-users] LM-factor and percent (Squid: The Definitive Guide)Hi,I have another question regarding LM-factor.---- qouted from Squid: The Definitive GuideResponses that fall between the minimum and maximum are subject to Squid's last-modified factor (LM-factor) algorithm. For such responses, Squid calculates the response age and the LM-factor and compares it to the percent value. The response age is simply the amount of time passed since the origin server iFampnoreply@blogger.com0tag:blogger.com,1999:blog-5743460353001375362.post-48444515990104768472009-07-03T23:00:00.000+08:002009-07-03T23:02:52.403+08:00Re: [squid-users] age in the refresh_pattern--- On Thu, 7/2/09, Amos Jeffries <squid3@treenet.co.nz> wrote:> From: Amos Jeffries <squid3@treenet.co.nz>> Subject: Re: [squid-users] age in the refresh_pattern> To: "Stand H" <hstandit@yahoo.com>> Cc: squid-users@squid-cache.org> Date: Thursday, July 2, 2009, 7:15 PM> Stand H wrote:> > Hi,> > > > > >         FRESH if expires> < now, else STALE> >         STALE if age> > max> >         FRESH ifiFampnoreply@blogger.com0tag:blogger.com,1999:blog-5743460353001375362.post-9909979576111230162009-07-03T20:00:00.001+08:002009-07-03T20:01:59.328+08:00freebsd-stable Digest, Vol 311, Issue 6Send freebsd-stable mailing list submissions to freebsd-stable@freebsd.orgTo subscribe or unsubscribe via the World Wide Web, visit http://lists.freebsd.org/mailman/listinfo/freebsd-stableor, via email, send a message with subject or body 'help' to freebsd-stable-request@freebsd.orgYou can reach the person managing the list at freebsd-stable-owner@freebsd.orgWhen replying, please edit your iFampnoreply@blogger.com0tag:blogger.com,1999:blog-5743460353001375362.post-53629898228774979312009-07-03T20:00:00.000+08:002009-07-03T20:01:17.071+08:00freebsd-i386 Digest, Vol 323, Issue 3Send freebsd-i386 mailing list submissions to freebsd-i386@freebsd.orgTo subscribe or unsubscribe via the World Wide Web, visit http://lists.freebsd.org/mailman/listinfo/freebsd-i386or, via email, send a message with subject or body 'help' to freebsd-i386-request@freebsd.orgYou can reach the person managing the list at freebsd-i386-owner@freebsd.orgWhen replying, please edit your Subject line so iFampnoreply@blogger.com0tag:blogger.com,1999:blog-5743460353001375362.post-37625912868613527352009-07-03T19:54:00.000+08:002009-07-03T20:00:15.346+08:00[squid-users] failed squid running up using ecap gzip adapterDear all,we are using squid 3.1.0.9libecapand vigos-ecap-gzip-adapterhere my squid.confacl manager proto cache_objectacl localhost src 127.0.0.1/32acl to_localhost dst 127.0.0.0/8acl localnet src 10.0.0.0/8 # RFC1918 possible internal networkacl localnet src 172.16.0.0/12 # RFC1918 possible internal networkacl localnet src 192.168.0.0/16 # RFC1918 possible internal networkacl SSL_ports port iFampnoreply@blogger.com0tag:blogger.com,1999:blog-5743460353001375362.post-84492080188098472992009-07-03T19:08:00.000+08:002009-07-03T19:20:23.478+08:00Re: [squid-users] Squid with Perl script are not workingHi again,Thanks for your help , now i can cache youtube but wondering why i am getting alot of loop .. something like loop request .. for example when i watch any of youtube videos , it runs and load normal also if i wanted to watch again .. it loads very fast .The problem is when i watch another video then it turns like loading and loading without stop which annoys me . I tried to track whats iFampnoreply@blogger.com0tag:blogger.com,1999:blog-5743460353001375362.post-70942548594982134732009-07-03T18:40:00.000+08:002009-07-03T18:44:27.259+08:00[squid-users] ssl_error_rx_record_too_long on Version 2.7.STABLE6acl all src all acl manager proto cache_object acl localhost src 127.0.0.1/32 acl to_localhost dst 127.0.0.0/8 acl localnet src 192.168.12.0/24 # RFC1918 possible internal network acl SSL_ports port 443 acl Safe_ports port 80 # http acl Safe_ports port 21 # ftp acl Safe_ports port 443 # https acl Safe_ports port 70 # gopher acl Safe_ports port 210 # wais acl Safe_ports port 1025-65535 # iFampnoreply@blogger.com0tag:blogger.com,1999:blog-5743460353001375362.post-15367559789282241352009-07-03T18:13:00.000+08:002009-07-03T18:16:10.898+08:00[squid-users] data from cachemgr.cgiHi, From cachemgr.cgi, General Runtime Information, i have:Number of clients accessing cache: 1335 this is actually the maximum number of users that accessed the cache .... but the problem is during nights and weekends, the number just keep intact, no change at all or veeeeery little difference. As i'm using that number to graph the number of clients, it seems all those clients are iFampnoreply@blogger.com0tag:blogger.com,1999:blog-5743460353001375362.post-1153245801313395002009-07-03T17:59:00.000+08:002009-07-03T18:01:20.702+08:00[squid-users] ESI requests contain invalid content-length headerI've noticed a problem when pages returned as a result of a POSTcontain esi:include directives: the included content is fetched usingGET but the content-length header from the original POST is forwardedto the server. Our backend server is running IIS and this rejects therequest as invalid.Since we're still running squid 2.6 and I haven't had time to checkwhether the problem still exists in more iFampnoreply@blogger.com0tag:blogger.com,1999:blog-5743460353001375362.post-51431013651572343982009-07-03T17:37:00.000+08:002009-07-03T17:39:35.966+08:00Re: [squid-users] squid becomes very slow during peak hoursNope! i haven't applied aufs, but i will try upgrading to 2.7 with aufs, and would get back with results.Thanks to all for supportRegards,.Goody.--- On Thu, 7/2/09, Brett Glass <squid-users@brettglass.com> wrote:> From: Brett Glass <squid-users@brettglass.com>> Subject: Re: [squid-users] squid becomes very slow during peak hours> To: "goody goody" <thinkodd@yahoo.com>, squid-users@squid-cache.orgiFampnoreply@blogger.com0tag:blogger.com,1999:blog-5743460353001375362.post-20805524714311995452009-07-03T14:30:00.000+08:002009-07-03T14:33:39.028+08:00AW: [squid-users] squid-3.1.0.9 - error directory not created automaticallyThank you Amos that works ! But now squid-3.1.0.9 produces nearly every second this message : squid[6609]: IpIntercept.cc(137) NetfilterInterception: NF getsockopt(SO_ORIGINAL_DST) failed on FD 403: (92) Protocol not available squid-3.1.0.7 didn't ? Is this message harmless ? I think so... But how can I prevent squid from filling up my log ? (acts at the same time as "normal" and iFampnoreply@blogger.com0tag:blogger.com,1999:blog-5743460353001375362.post-33695754062121244982009-07-03T14:19:00.000+08:002009-07-03T14:22:25.988+08:00Re: [squid-users] TCP_MISS/500Hi,under my /proc/sys/net/ipv4 directory, I only have the two two following filesthat mentiion win scaletcp_adv_win_scaletcp_window_scalingI set tcp_window_scaling & tcp_adv_win_scale to 0 but I still get thesame results when trying to browse this page.What else could it be?On Thu, Jul 2, 2009 at 11:05 PM, Chris Robertson<crobertson@gci.net> wrote:> Ilo Lorusso wrote:>>>> Hi,>>>> when I try iFampnoreply@blogger.com0tag:blogger.com,1999:blog-5743460353001375362.post-31533249234070034422009-07-03T11:29:00.000+08:002009-07-03T11:32:15.688+08:00Re: [squid-users] fetch page error--- On Thu, 2/7/09, Amos Jeffries <squid3@treenet.co.nz> wrote:> > What a seemingly pointless page. Just for my interest; what> is it doing?> Hi Amos,That page index2.shtml is just a regular webpage (static).> > > > > Most time I got it successfully, but sometime got it> failed.> > Squid responsed with this header:> > > > X-Squid-Error: ERR_CONNECT_FAIL 113> > > > > > Why this happened? Thanks.> iFampnoreply@blogger.com0tag:blogger.com,1999:blog-5743460353001375362.post-18125327895682933222009-07-03T10:23:00.000+08:002009-07-03T10:26:32.323+08:00Re: [squid-users] Configuring Squid for use on a web browser - beginner questionJohn Martin wrote:> I'm having trouble getting Squid setup. I installed squid on a Linux> server using yum, and in squid.conf uncommented the "http_port 3128"> line. Then I added the lines below:If you needed to uncomment the http_port line your Squid is probably obsolete before you downloaded it. Which distro are you using? and what Squid release did it give you?Note; the currently old but iFampnoreply@blogger.com0tag:blogger.com,1999:blog-5743460353001375362.post-38178144489038136402009-07-03T10:15:00.000+08:002009-07-03T10:17:18.102+08:00Re: [squid-users] age in the refresh_patternStand H wrote:> Hi,> > > FRESH if expires < now, else STALE> STALE if age > max> FRESH if lm-factor < percent, else STALE> FRESH if age < min> else STALE> > Can someone show how to calculate the age here? Is it age=Now-LM or age=time since the object stored in the cache?> Age = time in seconds since value of Date: header received with the Object.Date: header in future are cropped to iFampnoreply@blogger.com0