Re: [squid-users] Compile error Squid 3.2.1
Interesting development... Although my gcc version is supposed to be 4.1.2, when I found libstdc++.a, it was symlink'd from a 4.1.2 dir to a 4.1.1 dir. Anyway, I tried recompiling again using "CXXFLAGS=-L/usr/lib/gcc/i386-redhat-linux/411" and although the error is formatted different than before, it seems to be the same issue. Maybe there's more info in the error now that might help? libIpcIo.a(IpcIoFile.o): In function `Ipc::Atomic::WordT::get() const': IpcIoFile.cc:(.text._ZNK3Ipc6Atomic5WordTIiE3getEv[Ipc::Atomic::WordT::get() const]+0x15): undefined reference to `__sync_fetch_and_add_4' libIpcIo.a(IpcIoFile.o): In function `Ipc::Atomic::WordT::operator+=(int)': IpcIoFile.cc:(.text._ZN3Ipc6Atomic5WordTIiEpLEi[Ipc::Atomic::WordT::operator+=(int)]+0x14): undefined reference to `__sync_add_and_fetch_4' libIpcIo.a(IpcIoFile.o): In function `Ipc::Atomic::WordT::swap_if(int, int)': IpcIoFile.cc:(.text._ZN3Ipc6Atomic5WordTIiE7swap_ifEii[Ipc::Atomic::WordT::swap_if(int, int)]+0x1b): undefined reference to `__sync_bool_compare_and_swap_4' libIpcIo.a(IpcIoFile.o): In function `Ipc::Atomic::WordT::operator-=(int)': IpcIoFile.cc:(.text._ZN3Ipc6Atomic5WordTIiEmIEi[Ipc::Atomic::WordT::operator-=(int)]+0x14): undefined reference to `__sync_sub_and_fetch_4' ipc/.libs/libipc.a(ReadWriteLock.o): In function `Ipc::Atomic::WordT::operator++(int)': ReadWriteLock.cc:(.text._ZN3Ipc6Atomic5WordTIiEppEi[Ipc::Atomic::WordT::operator++(int)]+0x21): undefined reference to `__sync_fetch_and_add_4' ipc/.libs/libipc.a(ReadWriteLock.o): In function `Ipc::Atomic::WordT::operator--(int)': ReadWriteLock.cc:(.text._ZN3Ipc6Atomic5WordTIiEmmEi[Ipc::Atomic::WordT::operator--(int)]+0x21): undefined reference to `__sync_fetch_and_sub_4' ipc/.libs/libipc.a(StoreMap.o): In function `Ipc::Atomic::WordT::get() const': StoreMap.cc:(.text._ZNK3Ipc6Atomic5WordTIhE3getEv[Ipc::Atomic::WordT::get() const]+0x21): undefined reference to `__sync_fetch_and_add_1' ipc/.libs/libipc.a(PageStack.o): In function `Ipc::Atomic::WordT::swap_if(unsigned int, unsigned int)': PageStack.cc:(.text._ZN3Ipc6Atomic5WordTIjE7swap_ifEjj[Ipc::Atomic::WordT::swap_if(unsigned int, unsigned int)]+0x27): undefined reference to `__sync_bool_compare_and_swap_4' ipc/.libs/libipc.a(PageStack.o): In function `Ipc::Atomic::WordT::fetchAndAnd(unsigned int)': PageStack.cc:(.text._ZN3Ipc6Atomic5WordTIjE11fetchAndAndEj[Ipc::Atomic::WordT::fetchAndAnd(unsigned int)]+0x20): undefined reference to `__sync_fetch_and_and_4' collect2: ld returned 1 exit status libtool: link: rm -f ".libs/squidS.o" make[3]: *** [squid] Error 1 make[3]: Leaving directory `/root/work/squid-3.2.1/src' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/root/work/squid-3.2.1/src' make[1]: *** [all] Error 2 make[1]: Leaving directory `/root/work/squid-3.2.1/src' make: *** [all-recursive] Error 1 - Original Message - From: "Amos Jeffries" To: "Jeff Gerard" Cc: squid-users@squid-cache.org Sent: Tuesday, 28 August, 2012 11:47:38 PM Subject: Re: [squid-users] Compile error Squid 3.2.1 On 29/08/2012 2:24 a.m., Jeff Gerard wrote: > Thanks for the suggestions. Unfortunately this goes beyond my understanding > of compiling as I have no idea as to how to tell if I have multiple libc > libraries installed, and if I do, how to account for it using CXXFLAGS. You should be able to locate it/them with the command line "locate libstdc++.a". Add '-L' followed by the directory path where the library .a file is found to the CXXFLAGS variable. For example it is probably: ./configure CXXFLAGS=" -L/usr/lib" Amos > - Original Message - > From: "Amos Jeffries" > To: squid-users@squid-cache.org > Sent: Tuesday, 28 August, 2012 4:50:44 AM > Subject: Re: [squid-users] Compile error Squid 3.2.1 > > On 28/08/2012 6:25 a.m., Jeff Gerard wrote: >> I am looking for help in determining why my compile will not work. >> >> I have been running into the following errors during compile: >> >> /root/work/squid-3.2.1/src/ipc/../../src/ipc/AtomicWord.h:47: undefined >> reference to `__sync_fetch_and_add_4' >> ipc/.libs/libipc.a(PageStack.o):/root/work/squid-3.2.1/src/ipc/../../src/ipc/AtomicWord.h:47: >> more undefined references to `__sync_fetch_and_add_4' follow >> ipc/.libs/libipc.a(PageStack.o): In function `Ipc::Atomic::WordT> int>::swap_if(unsigned int, unsigned int)': >> /root/work/squid-3.2.1/src/ipc/../../src/ipc/AtomicWord.h:38: undefined >> reference to `__sync_bool_compare_and_swap_4' >> ipc/.libs/libipc.a(PageStack.o): In function >> `Ipc::Atomic::WordT::swap_if(int, int)': >> /root/work/squid-3.2.1/src/ipc/mem/PageStack.cc:88: undefined
Re: [squid-users] Compile error Squid 3.2.1
Thanks for the suggestions. Unfortunately this goes beyond my understanding of compiling as I have no idea as to how to tell if I have multiple libc libraries installed, and if I do, how to account for it using CXXFLAGS. - Original Message - From: "Amos Jeffries" To: squid-users@squid-cache.org Sent: Tuesday, 28 August, 2012 4:50:44 AM Subject: Re: [squid-users] Compile error Squid 3.2.1 On 28/08/2012 6:25 a.m., Jeff Gerard wrote: > I am looking for help in determining why my compile will not work. > > I have been running into the following errors during compile: > > /root/work/squid-3.2.1/src/ipc/../../src/ipc/AtomicWord.h:47: undefined > reference to `__sync_fetch_and_add_4' > ipc/.libs/libipc.a(PageStack.o):/root/work/squid-3.2.1/src/ipc/../../src/ipc/AtomicWord.h:47: > more undefined references to `__sync_fetch_and_add_4' follow > ipc/.libs/libipc.a(PageStack.o): In function `Ipc::Atomic::WordT int>::swap_if(unsigned int, unsigned int)': > /root/work/squid-3.2.1/src/ipc/../../src/ipc/AtomicWord.h:38: undefined > reference to `__sync_bool_compare_and_swap_4' > ipc/.libs/libipc.a(PageStack.o): In function > `Ipc::Atomic::WordT::swap_if(int, int)': > /root/work/squid-3.2.1/src/ipc/mem/PageStack.cc:88: undefined reference to > `__sync_bool_compare_and_swap_4' > ipc/.libs/libipc.a(PageStack.o): In function > `Ipc::Atomic::WordT::operator+=(int)': > /root/work/squid-3.2.1/src/ipc/../../src/ipc/AtomicWord.h:31: undefined > reference to `__sync_add_and_fetch_4' For some reason your system header files are defining those __sync symbols but the libc which is being linked against does not contain them. Please check your system for multiple libc libraries and ensure only one version is installed (latest by version is best) or that CXXFLAGS is passed arguments to identify the latest one explicitly. > collect2: ld returned 1 exit status > libtool: link: rm -f ".libs/squidS.o" > make[3]: *** [squid] Error 1 > make[3]: Leaving directory `/root/work/squid-3.2.1/src' > make[2]: *** [all-recursive] Error 1 > make[2]: Leaving directory `/root/work/squid-3.2.1/src' > make[1]: *** [all] Error 2 > make[1]: Leaving directory `/root/work/squid-3.2.1/src' > make: *** [all-recursive] Error 1 > > I am running this on Fedora Core 6 (have been running 3.1.20 with no issue) > and gcc version is 4.1.2 3.1 series contains no SMP support or atomic operations. AMos
Re: [squid-users] Compile error Squid 3.2.1
Unfortunately I'm still running FC6 and the gcc compile was from 2007. I just have not had time to upgrade the box. I have tried what you suggested and still have the same issues. From: Eliezer Croitoru < elie...@ngtech.co.il > Date: August 27, 2012 2:59:35 PM CDT To: squid-users@squid-cache.org Subject: Re: [squid-users] Compile error Squid 3.2.1 On 08/27/2012 09:25 PM, Jeff Gerard wrote: I am looking for help in determining why my compile will not work. I have been running into the following errors during compile: I am running this on Fedora Core 6 (have been running 3.1.20 with no issue) and gcc version is 4.1.2 6 ? you mean the 2006 version? Configure options: '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/sbin' '--libexecdir=/usr/lib/squid' '--localstatedir=/var' '--datadir=/usr/share' '--sysconfdir=/etc/squid' '--enable-removal-policies=heap,lru' '--enable-storeio=aufs,diskd,ufs' '--enable-ssl' '--with-openssl=/usr/kerberos' '--enable-delay-pools' '--enable-linux-netfilter' '--enable-external-acl-helpers=ip_user,ldap_group,unix_group,wbinfo_group' '--enable-useragent-log' '--enable-referer-log' '--disable-dependency-tracking' '--enable-cachemgr-hostname=localhost' '--enable-cache-digests' '--with-large-files' '--disable-wccpv2' '--disable-wccp' 'CFLAGS=-march=i486' 'LDFLAGS=-pie -lpcreposix -lpcre' i would start with a more "basic" configure with netfiler enabled and see if there anything el The only references to that error I have seen deal with adding the -march=i486 CFLAG option which I have tried, to no avail. Any help would be greatly appreciated. Thanks in advance... Jeff
[squid-users] Compile error Squid 3.2.1
I am looking for help in determining why my compile will not work. I have been running into the following errors during compile: /root/work/squid-3.2.1/src/ipc/../../src/ipc/AtomicWord.h:47: undefined reference to `__sync_fetch_and_add_4' ipc/.libs/libipc.a(PageStack.o):/root/work/squid-3.2.1/src/ipc/../../src/ipc/AtomicWord.h:47: more undefined references to `__sync_fetch_and_add_4' follow ipc/.libs/libipc.a(PageStack.o): In function `Ipc::Atomic::WordT::swap_if(unsigned int, unsigned int)': /root/work/squid-3.2.1/src/ipc/../../src/ipc/AtomicWord.h:38: undefined reference to `__sync_bool_compare_and_swap_4' ipc/.libs/libipc.a(PageStack.o): In function `Ipc::Atomic::WordT::swap_if(int, int)': /root/work/squid-3.2.1/src/ipc/mem/PageStack.cc:88: undefined reference to `__sync_bool_compare_and_swap_4' ipc/.libs/libipc.a(PageStack.o): In function `Ipc::Atomic::WordT::operator+=(int)': /root/work/squid-3.2.1/src/ipc/../../src/ipc/AtomicWord.h:31: undefined reference to `__sync_add_and_fetch_4' collect2: ld returned 1 exit status libtool: link: rm -f ".libs/squidS.o" make[3]: *** [squid] Error 1 make[3]: Leaving directory `/root/work/squid-3.2.1/src' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/root/work/squid-3.2.1/src' make[1]: *** [all] Error 2 make[1]: Leaving directory `/root/work/squid-3.2.1/src' make: *** [all-recursive] Error 1 I am running this on Fedora Core 6 (have been running 3.1.20 with no issue) and gcc version is 4.1.2 Configure options: '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/sbin' '--libexecdir=/usr/lib/squid' '--localstatedir=/var' '--datadir=/usr/share' '--sysconfdir=/etc/squid' '--enable-removal-policies=heap,lru' '--enable-storeio=aufs,diskd,ufs' '--enable-ssl' '--with-openssl=/usr/kerberos' '--enable-delay-pools' '--enable-linux-netfilter' '--enable-external-acl-helpers=ip_user,ldap_group,unix_group,wbinfo_group' '--enable-useragent-log' '--enable-referer-log' '--disable-dependency-tracking' '--enable-cachemgr-hostname=localhost' '--enable-cache-digests' '--with-large-files' '--disable-wccpv2' '--disable-wccp' 'CFLAGS=-march=i486' 'LDFLAGS=-pie -lpcreposix -lpcre' The only references to that error I have seen deal with adding the -march=i486 CFLAG option which I have tried, to no avail. Any help would be greatly appreciated. Thanks in advance... Jeff
Re: [squid-users] Regex Problem - Squid 3.0STABLE10
sweet...had to compile a newer version of PCRE and do a bit of symbolic linking but got it working! Thanks! PS...I like how you set your reply-to address to squid-users :) - Original Message - From: Henrik K Date: Monday, November 17, 2008 11:25 pm Subject: Re: [squid-users] Regex Problem - Squid 3.0STABLE10 To: squid-users@squid-cache.org > On Mon, Nov 17, 2008 at 03:00:06PM -0800, Jeff Gerard wrote:> > Thanks so > much...I'll definitely give this a try...but... > > > > apparently I'm not sure what to do here.. > > > > Should I simply > > set LDFLAGS="-lpcreposix -lpcre" > > then run my ./configure? > > or?? > > Right.. > > export LDFLAGS="-lpcreposix -lpcre" > ./configure ... > > And ofcourse make sure you have PCRE library installed. > libpcre3-dev for debian etc.. > > --- Jeff Gerard
Re: [squid-users] acl deny versus acl allow?
My apologies...I misinterpreted what you said. I thought you meant "deny" should not be used at all - Original Message - From: Amos Jeffries Date: Monday, November 17, 2008 9:33 pm Subject: Re: [squid-users] acl deny versus acl allow? To: Jeff Gerard Cc: squid-users@squid-cache.org > Jeff Gerard wrote:> > Can you clarify this? I have looked through the FAQ > and there > is plenty of reference to using "deny" and I can't see any > mention of replacing "deny" with "allow". > > > > You can write either: > http_access deny something > or > http_access allow something > > not both on the same line. > > To quote straight from that FAQ page: > " > Q: How do I allow my clients to use the cache? > A: Define an ACL that corresponds to your client's IP addresses. > Next, allow those clients in the > http_access list. > > For example: > acl myclients src 172.16.5.0/24 > http_access allow myclients > " > > and more relevant to your stated example: > > " > Q: How do I implement an ACL ban list? > A: ..., Another way is to deny access to specific servers which > are > known to hold recipes. > > For example: > acl Cooking2 dstdomain www.gourmet-chef.com > http_access deny Cooking2 > http_access allow all > " > > Amos > > > Thanks > > > >> The word 'deny' is fully replaced with the word > 'allow'. > > >> Please read and understand the FAQ on ACL before continuing > with > >> your > >> testing: > >> http://wiki.squid-cache.org/SquidFaq/SquidAcl > >> > >> Amos > >> -- > >> Please be using > >> Current Stable Squid 2.7.STABLE5 or 3.0.STABLE10 > >> Current Beta Squid 3.1.0.2 > >> > > > > --- > > Jeff Gerard > > > -- > Please be using > Current Stable Squid 2.7.STABLE5 or 3.0.STABLE10 > Current Beta Squid 3.1.0.2 > --- Jeff Gerard
Re: [squid-users] acl deny versus acl allow?
Can you clarify this? I have looked through the FAQ and there is plenty of reference to using "deny" and I can't see any mention of replacing "deny" with "allow". Thanks > The word 'deny' is fully replaced with the word 'allow'.> > Please read and understand the FAQ on ACL before continuing with > your > testing: > http://wiki.squid-cache.org/SquidFaq/SquidAcl > > Amos > -- > Please be using > Current Stable Squid 2.7.STABLE5 or 3.0.STABLE10 > Current Beta Squid 3.1.0.2 > --- Jeff Gerard
Re: [squid-users] acl allow???
Put the allow acl above the deny acl in your squid.conf so that it gets hit first. - Original Message - From: Roger Thomas Date: Monday, November 17, 2008 7:37 am Subject: [squid-users] acl allow??? To: squid-users@squid-cache.org > Hi,> > This is my first time posting to the mailing list, but I just > wanted to know > whether anyone knew how to do the below: > > I use the following to block a list of words from URLs: > > acl misc_block_list url_regex -i "/etc/squid/block/misc_block.list" > http_access deny misc_block_list > > I am trying to allow certain words, so for example, the word sex > is in the > block list, but I want the word sussex to be allowed. > I have created another file called misc_allow.list but Im not > sure how to > tell it to allow. I presumed something like this: > > acl misc_allow_list url_regex -i "/etc/squid/block/misc_allow.list" > http_access allow misc_allow_list > > this doesnt work though. It says: > > If anyone can help, I would really appreciate it! > > Thank you all in advance, > > Regards, > > Roger > > [EMAIL PROTECTED] > > > > --- Jeff Gerard
Re: [squid-users] Regex Problem - Squid 3.0STABLE10
Thanks so much...I'll definitely give this a try...but... apparently I'm not sure what to do here.. Should I simply set LDFLAGS="-lpcreposix -lpcre" then run my ./configure? or?? Sorry if it's a dumb question... - Original Message - From: Henrik K Date: Friday, November 14, 2008 11:38 pm Subject: Re: [squid-users] Regex Problem - Squid 3.0STABLE10 To: squid-users@squid-cache.org > On Fri, Nov 14, 2008 at 10:00:24PM -0600, Jeff Gerard wrote:> > I have an > acl that I use to block ad sites. One of the > regex's that I use is: > > "_ad_". I have discovered that I need to tweak this > regex to fail when it > > finds the following pattern: > http://something.com/path/some_ad_test.js> > > I modified my regex as follows: > > _ad_(?!test) which should work as far as I can tell, however, > when I reload > > squid, I get the following error: > > squid.conf line 644: acl Deny_ADs url_regex -i "/etc/squid/deny_ADs" > > aclParseRegexList: Invalid regular expression '_ad_(?!test)': > Invalid > > preceding regular expression > > You are trying PERL compatible regexp. Squid doesn't support > that by > default, it uses the basic system library. > > Easiest workaround is to compile Squid with PCRE library: > > LDFLAGS="-lpcreposix -lpcre" > > It may also reduce memory leaks and speed up things if you have > old/badsystem regex. > --- Jeff Gerard
[squid-users] Regex Problem - Squid 3.0STABLE10
I have an acl that I use to block ad sites. One of the regex's that I use is: "_ad_". I have discovered that I need to tweak this regex to fail when it finds the following pattern: http://something.com/path/some_ad_test.js I modified my regex as follows: _ad_(?!test) which should work as far as I can tell, however, when I reload squid, I get the following error: squid.conf line 644: acl Deny_ADs url_regex -i "/etc/squid/deny_ADs" aclParseRegexList: Invalid regular expression '_ad_(?!test)': Invalid preceding regular expression In fact, anytime I ever try to use round brackets, I get that error. As a workaround, I used _ad_[^t] which is vague but does allow the pattern to fail the query. Any suggestions out there? Thanks in advance...
Re: [squid-users] SQUID configure with NTLM prompts users password window
In IE internet options/security, try resetting "Local Intranet" to default settings. There is also an option at the bottom of those custom settings regarding username/passwords. I don't have IE in front of me at the moment so can't say exactly what it says but give the default settings a try. I have had similar issues with Bluecoat and kerberos authentication. HTH... On Tuesday 07 October 2008 23:11:48 Tanveer Chowdhury wrote: > Hi all, > > I have setup NTLM authentication with squid-2.6.STABLE20, samba-3.0.10 > and winbind. My purpose is to find the username in both squid and DG > access log which I am getting fine. But the problem is sometimes not > frequest IE prompts a pop up window for authentication and if not > given i.e., pressed cancel then it gives a message like " Cache access > denied". But if you then press Refresh button then it loads again > fine. > > But if you provide the username and password at the login prompt it > also works though. My question is how to STOP this password prompting > pop up window. > > Below is the output of /var/log/squid/cache.log when the password window > prompts > > [2008/09/29 13:39:11, 3] utils/ntlm_auth.c:winbind_pw_check(427) > Login for user [EMAIL PROTECTED] failed due to [Reading winbind > reply failed!] > 2008/09/29 13:39:11| The request GET > http://search.live.com/LS/GLinkPing.aspx?/_1_9SE.. > > Below is my NTLM part of squid.conf file > > auth_param ntlm program /usr/bin/ntlm_auth > --helper-protocol=squid-2.5-ntlmssp auth_param ntlm children 30 > auth_param ntlm keep_alive on > auth_param basic program /usr/bin/ntlm_auth > --helper-protocol=squid-2.5-basic auth_param basic children 5 > auth_param basic realm Squid proxy-caching web server > auth_param basic credentialsttl 2 hours > > . > ... > acl manager proto cache_object > acl authenticated_users proxy_auth REQUIRED > acl localhost src 127.0.0.1/255.255.255.255 > acl to_localhost dst 127.0.0.0/8 > > ... > . > #Recommended minimum configuration: > # > # Only allow cachemgr access from localhost > > ##http_access deny !Safe_ports > http_access allow manager localhost > http_access deny manager > # Deny requests to unknown ports > #http_access deny !Safe_ports > # Deny CONNECT to other than SSL ports > http_access deny CONNECT !SSL_ports > http_access allow authenticated_users > > # cat /etc/nsswitch.conf > passwd: compat winbind > group: compat winbind > shadow: compat > > hosts: files dns wins > networks: files dns > protocols: db files > services: db files > ethers: db files > rpc:db files > > > # cat /etc/krb5.conf > [logging] > default = FILE:/var/log/krb5libs.log > kdc = FILE:/var/log/krb5kdc.log > admin_server = FILE:/var/log/kadmind.log > > [libdefaults] > default_realm = DOMAIN.COM > > [realms] > DOMAIN.COM = { > default_domain = DOMAIN.COM > kdc = abc.domain.com > kdc = efg.domain.com > kdc = xx.xx.xx.xx > kdc = xx.xx.xx.xx > } > > [domain_realm] > .kerberos.server = DOMAIN.COM -- Jeff Gerard
Re: [squid-users] how to insert/popup a message screen to client
On Wednesday 10 September 2008 21:51:15 Ryan Raymond wrote: > Hi all > > I would like insert a page or popup a small screen to show a customized > messsage to my client. Say, when he click a web site, like www.example.com, > the page would be redirected (or popup a small screen) and show a > customized message. And after a few seconds, it would be redirected to > www.example.com (or close the small screen). > > have anyone done it before ? > Thanks a lot > > RR You could use the deny_info tag and a meta tag in the web page that you redirect to via deny_info. The meta tag can simply time a redirect to another site. http://somwhere.com/index.html";> (the "10" is number of seconds before redirect) HTH -- Jeff Gerard
Re: [squid-users] Problems displaying images on specific website
I appreciate your help but still no go. The interesting thing is if I use wget to download the image in your example, then post it on a different web server, I have absolutely no problems whatsoever loading the image in my web browser going through squid. I'm stumped :( - Original Message - From: Chris Robertson Date: Tuesday, August 5, 2008 6:09 pm Subject: Re: [squid-users] Problems displaying images on specific website To: Jeff Gerard > Jeff Gerard wrote:> > could you possibly send your config? In both cases > where > my squid 3 > > and 2.x don't work with this site, the config has been > modified by > > me. So if the issue is not squid, it's something I've > done but I > > can't figure what I might have done to cause this. > > > > Thanks in advance.. > > Have you tried "wget -O /tmp/Home_1.png -S > http://promotions.everydaycelebrations.ca/ds/guest/BAM/images/Home_1.png"; > from the command line of your Squid server? That will show > you the > headers the server responds with and if you run it more than > once, it > won't put a bunch of incrementing files on your disk. If > that seems to > work, try "file /tmp/Home_1.png", which will do a simple > examination of > the file to guess its type. If the output of that seems > reasonable, see > if you can display the file in a web browser. > > I find the results of your access log > (http://www.squid-cache.org/mail-archive/squid- > users/200808/0066.html) > suspicious; all of the image sizes are just about the same, 434 > or 435 > bytes and all of these tiny images took more than 5 seconds to > fetch. > That sounds like it could be a TCP Window Scaling problem. > See > http://wiki.squid-cache.org/SquidFaq/SystemWeirdnesses#head- > 4920199b311ce7d20b9a0d85723fd5d0dfc9bc84 > for more details. > > Chris > --- Jeff Gerard
Re: RE: [squid-users] Problems displaying images on specific website
I have tried messing with minimum object size and all this has done was change the access logs on a second fetch from ims_hit to tcp_miss (changed min object size to 512 bytes) All I see in the store.log when doing a 2nd fetch is "release". So is it just me, or can *anyone* running any squid version load the images in http://promotions.everydaycelebrations.ca/web/guest/ProgramHome ?? - Original Message - From: "Ritter, Nicholas" Date: Monday, August 4, 2008 12:42 pm Subject: RE: [squid-users] Problems displaying images on specific website To: squid-users@squid-cache.org > I am guilty of the same...> > I suggested to Jeff that the cache.log be checked again after a second > fetch for the same objects from teh client to see if the code changes > from TCP_MISS to IMS_HIT, TCP_HIT, or REFRESH, etc. Also to > check the > store.log to see if the objects are being stored and/or imemdiatly > removed from the cache storage. > > One other thing to verify would be object size settings for the cache, > so that you would know if the objects should be stored in the > RAM or on > the DISK. I don't think where the data is store in cache (or > not) would > be the cause of the problem though. > > Nick > --- Jeff Gerard
Re: RE: RE: [squid-users] Problems displaying images on specific website
n.gif - DIRECT/66.48.65.85 image/gif 1217868188.595 5202 192.168.1.99 TCP_CLIENT_REFRESH_MISS/200 451 GET http://promotions.everydaycelebrations.ca/ds/guest/BAM/images/btn_Register.gif - DIRECT/66.48.65.85 image/gif 1217868188.595 5204 192.168.1.99 TCP_CLIENT_REFRESH_MISS/200 451 GET http://promotions.everydaycelebrations.ca/ds/guest/BAM/images/title_HaventRetistered.gif - DIRECT/66.48.65.85 image/gif 1217868188.595 5215 192.168.1.99 TCP_CLIENT_REFRESH_MISS/200 452 GET http://promotions.everydaycelebrations.ca/ds/guest/BAM/images/main_BG_header.jpg - DIRECT/66.48.65.85 image/jpeg 1217868188.600 5197 192.168.1.99 TCP_CLIENT_REFRESH_MISS/200 451 GET http://promotions.everydaycelebrations.ca/ds/guest/BAM/images/title_PickYourReading.gif - DIRECT/66.48.65.85 image/gif 1217868188.600 5195 192.168.1.99 TCP_CLIENT_REFRESH_MISS/200 451 GET http://promotions.everydaycelebrations.ca/ds/guest/BAM/images/btn_ViewRewards.gif - DIRECT/66.48.65.85 image/gif 1217868188.600 5189 192.168.1.99 TCP_CLIENT_REFRESH_MISS/200 452 GET http://promotions.everydaycelebrations.ca/ds/guest/BAM/images/footer_BG.jpg - DIRECT/66.48.65.85 image/jpeg 1217868188.600 5187 192.168.1.99 TCP_CLIENT_REFRESH_MISS/200 451 GET http://promotions.everydaycelebrations.ca/ds/guest/BAM/images/gmec.gif - DIRECT/66.48.65.85 image/gif 1217868188.600 5205 192.168.1.99 TCP_CLIENT_REFRESH_MISS/200 451 GET http://promotions.everydaycelebrations.ca/ds/guest/BAM/images/Home_1.png - DIRECT/66.48.65.85 image/png 1217868188.600 5195 192.168.1.99 TCP_CLIENT_REFRESH_MISS/200 451 GET http://promotions.everydaycelebrations.ca/ds/guest/BAM/images/Home_2.png - DIRECT/66.48.65.85 image/png Thanks again - Original Message - From: "Ritter, Nicholas" Date: Monday, August 4, 2008 11:37 am Subject: RE: RE: [squid-users] Problems displaying images on specific website To: Jeff Gerard > If it you request this content twice from the source site, going > throughthe cache, does it say TCP_MISS/200 both times? If so, I > think at least > part of the issues is in expiry information contained in the source > website. > > -Original Message- > From: Jeff Gerard [mailto:[EMAIL PROTECTED] > Sent: Monday, August 04, 2008 11:34 AM > To: Ritter, Nicholas > Subject: Re: RE: [squid-users] Problems displaying images on specific > website > > 1217867540.143 5105 192.168.1.99 TCP_MISS/200 435 GET > http://promotions.everydaycelebrations.ca/ds/guest/BAM/images/heading_1. > jpg - DIRECT/66.48.65.85 image/jpeg > 1217867540.143 5103 192.168.1.99 TCP_MISS/200 435 GET > http://promotions.everydaycelebrations.ca/ds/guest/BAM/images/main_BG_he > ader.jpg - DIRECT/66.48.65.85 image/jpeg > 1217867540.246 5199 192.168.1.99 TCP_MISS/200 434 GET > http://promotions.everydaycelebrations.ca/ds/guest/BAM/images/title_Sign > In.gif - DIRECT/66.48.65.85 image/gif > 1217867540.246 5201 192.168.1.99 TCP_MISS/200 434 GET > http://promotions.everydaycelebrations.ca/ds/guest/BAM/images/Box_1.gif > - DIRECT/66.48.65.85 image/gif > 1217867540.246 5195 192.168.1.99 TCP_MISS/200 434 GET > http://promotions.everydaycelebrations.ca/ds/guest/BAM/images/btn_SignIn > .gif - DIRECT/66.48.65.85 image/gif > 1217867540.246 5190 192.168.1.99 TCP_MISS/200 434 GET > http://promotions.everydaycelebrations.ca/ds/guest/BAM/images/btn_Regist > er.gif - DIRECT/66.48.65.85 image/gif > 1217867540.246 5192 192.168.1.99 TCP_MISS/200 434 GET > http://promotions.everydaycelebrations.ca/ds/guest/BAM/images/title_Have > ntRetistered.gif - DIRECT/66.48.65.85 image/gif > 1217867540.246 5185 192.168.1.99 TCP_MISS/200 434 GET > http://promotions.everydaycelebrations.ca/ds/guest/BAM/images/title_Pick > YourReading.gif - DIRECT/66.48.65.85 image/gif > 1217867540.246 5183 192.168.1.99 TCP_MISS/200 434 GET > http://promotions.everydaycelebrations.ca/ds/guest/BAM/images/btn_ViewRe > wards.gif - DIRECT/66.48.65.85 image/gif > 1217867540.246 5174 192.168.1.99 TCP_MISS/200 435 GET > http://promotions.everydaycelebrations.ca/ds/guest/BAM/images/footer_BG. > jpg - DIRECT/66.48.65.85 image/jpeg > 1217867540.246 5172 192.168.1.99 TCP_MISS/200 434 GET > http://promotions.everydaycelebrations.ca/ds/guest/BAM/images/gmec.gif - > DIRECT/66.48.65.85 image/gif > 1217867540.246 5190 192.168.1.99 TCP_MISS/200 434 GET > http://promotions.everydaycelebrations.ca/ds/guest/BAM/images/Home_1.png > - DIRECT/66.48.65.85 image/png > 1217867540.246 5179 192.168.1.99 TCP_MISS/200 434 GET > http://promotions.everydaycelebrations.ca/ds/guest/BAM/images/Home_2.png > - DIRECT/66.48.65.85 image/png > > > - Original Message - > From: "Ritter, Nicholas" > Date: Monday, August 4, 2008 11:22 am > Subject: RE: [squid-users] Problems displaying images on specific > website > To: squid-users@squid-cache.org > > > What does the acces
Re: RE: [squid-users] Problems displaying images on specific website
(My apologies to Nick for the first direct reply...didn't notice until after I sent that it did not go to squid-users) 1217867540.143 5105 192.168.1.99 TCP_MISS/200 435 GET http://promotions.everydaycelebrations.ca/ds/guest/BAM/images/heading_1.jpg - DIRECT/66.48.65.85 image/jpeg 1217867540.143 5103 192.168.1.99 TCP_MISS/200 435 GET http://promotions.everydaycelebrations.ca/ds/guest/BAM/images/main_BG_header.jpg - DIRECT/66.48.65.85 image/jpeg 1217867540.246 5199 192.168.1.99 TCP_MISS/200 434 GET http://promotions.everydaycelebrations.ca/ds/guest/BAM/images/title_SignIn.gif - DIRECT/66.48.65.85 image/gif 1217867540.246 5201 192.168.1.99 TCP_MISS/200 434 GET http://promotions.everydaycelebrations.ca/ds/guest/BAM/images/Box_1.gif - DIRECT/66.48.65.85 image/gif 1217867540.246 5195 192.168.1.99 TCP_MISS/200 434 GET http://promotions.everydaycelebrations.ca/ds/guest/BAM/images/btn_SignIn.gif - DIRECT/66.48.65.85 image/gif 1217867540.246 5190 192.168.1.99 TCP_MISS/200 434 GET http://promotions.everydaycelebrations.ca/ds/guest/BAM/images/btn_Register.gif - DIRECT/66.48.65.85 image/gif 1217867540.246 5192 192.168.1.99 TCP_MISS/200 434 GET http://promotions.everydaycelebrations.ca/ds/guest/BAM/images/title_HaventRetistered.gif - DIRECT/66.48.65.85 image/gif 1217867540.246 5185 192.168.1.99 TCP_MISS/200 434 GET http://promotions.everydaycelebrations.ca/ds/guest/BAM/images/title_PickYourReading.gif - DIRECT/66.48.65.85 image/gif 1217867540.246 5183 192.168.1.99 TCP_MISS/200 434 GET http://promotions.everydaycelebrations.ca/ds/guest/BAM/images/btn_ViewRewards.gif - DIRECT/66.48.65.85 image/gif 1217867540.246 5174 192.168.1.99 TCP_MISS/200 435 GET http://promotions.everydaycelebrations.ca/ds/guest/BAM/images/footer_BG.jpg - DIRECT/66.48.65.85 image/jpeg 1217867540.246 5172 192.168.1.99 TCP_MISS/200 434 GET http://promotions.everydaycelebrations.ca/ds/guest/BAM/images/gmec.gif - DIRECT/66.48.65.85 image/gif 1217867540.246 5190 192.168.1.99 TCP_MISS/200 434 GET http://promotions.everydaycelebrations.ca/ds/guest/BAM/images/Home_1.png - DIRECT/66.48.65.85 image/png 1217867540.246 5179 192.168.1.99 TCP_MISS/200 434 GET http://promotions.everydaycelebrations.ca/ds/guest/BAM/images/Home_2.png - DIRECT/66.48.65.85 image/png - Original Message - From: "Ritter, Nicholas" Date: Monday, August 4, 2008 11:22 am Subject: RE: [squid-users] Problems displaying images on specific website To: squid-users@squid-cache.org > What does the access.log say for each of the graphics image files? > > Nick > > -Original Message- > From: Jeff Gerard [mailto:[EMAIL PROTECTED] > Sent: Monday, August 04, 2008 11:13 AM > To: squid-users@squid-cache.org > Subject: [squid-users] Problems displaying images on specific website > > Hi all, > > I am stumped. I was running squid 2.6 stable 13 on Fedora Core 6 and > came across this issue displaying the images on > http://promotions.everydaycelebrations.ca/web/guest/ProgramHome > The images simply do not display. They are replaced with place holders > in both IE7 and Firefox 3. I though maybe my old squid release needed > upgrading so I upgraded to 3 stable 8. > > This has not solved the problem displaying images. I am doing > transparent proxy and have also tested with explicit proxy. If I > bypasssquid completely, the images display fine. I have also > confirmed this to > occur on a completely different network/squid install (fedora > core 2 > with an old squid 2.x release) with the exact same results. I > have also > confirmed that I do not have any firewall rules blocking access > to the > url's IP. > > I am wondering if it is just me or if there is maybe something > with this > particular site that squid does not like?? > > Thanks in advance > > --- > Jeff Gerard > > --- Jeff Gerard
[squid-users] Problems displaying images on specific website
Hi all, I am stumped. I was running squid 2.6 stable 13 on Fedora Core 6 and came across this issue displaying the images on http://promotions.everydaycelebrations.ca/web/guest/ProgramHome The images simply do not display. They are replaced with place holders in both IE7 and Firefox 3. I though maybe my old squid release needed upgrading so I upgraded to 3 stable 8. This has not solved the problem displaying images. I am doing transparent proxy and have also tested with explicit proxy. If I bypass squid completely, the images display fine. I have also confirmed this to occur on a completely different network/squid install (fedora core 2 with an old squid 2.x release) with the exact same results. I have also confirmed that I do not have any firewall rules blocking access to the url's IP. I am wondering if it is just me or if there is maybe something with this particular site that squid does not like?? Thanks in advance --- Jeff Gerard