Re: [squid-users] http://www.squid-cache.org/Versions/v4/
That's not what I see, if it means anything. Maybe try shift-reloading the webpage? Sometimes it gets stuck, in my experience. Regards, Adam On Wed, Jul 27, 2016 at 3:06 PM Yuri Voinovwrote: > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > See here for days on end is a bit fed up: > > https://i1.someimage.com/6OTXUOr.png > > What is going on? > > -BEGIN PGP SIGNATURE- > Version: GnuPG v2 > > iQEcBAEBCAAGBQJXmRQqAAoJENNXIZxhPexGk8sH/2OaD/0VVXnvANgonp/CKf8z > IFhXIwaltIJ+SOZ/zdhMNwfaT43cjXwLzc6HlCojh/CUTZlkR/Ang3KsJfziNVmA > VvVDwOT58Xt5xIgRHQQ1bMk5nhFCFZi3+fkhdDaz47hpX4+VrlmDeH28XAar/xeC > OwUaKY97bwIUgScw7JUFZRhEwTJC8gl0qYCDDkm2nzAyQNDAdkJHx8EMwY86lfsV > W8D4P1cihDxLOIPhwWXPCBudyZbgB/WW07BP8ZIC30eF8vSQH7EvLpAWfBzceJi7 > u4puCE6GziI1vx1LU46khana0ygaEMZw/EbqpENVHbOgNRa4c0IjgqQlH8wQL/A= > =oyFk > -END PGP SIGNATURE- > > ___ > squid-users mailing list > squid-users@lists.squid-cache.org > http://lists.squid-cache.org/listinfo/squid-users > ___ squid-users mailing list squid-users@lists.squid-cache.org http://lists.squid-cache.org/listinfo/squid-users
Re: [squid-users] Can Traffic Management Settings be configured for other TCP protocols?
Back in the day, I used "traffic shaping" on the Cisco router to achieve that sort of thing. It actually changes the traffic to fit your Internet link, versus limiting per-connection speed. Still, this is off-topic. Anyways, consult your CIOS documentation and good luck! :) Regards, Adam On Mon, May 9, 2016 at 12:07 PM J Greenwrote: > Hello all: > > Can Traffic Management Settings be configured for TCP protocols other than > HTTP? > > Would like to limit maximum upload and download sizes for other TCP > protocols: SMB, NFS, FTP, and RDP. > > Is this possible? If so, how? > > Thank you. > > > ___ > squid-users mailing list > squid-users@lists.squid-cache.org > http://lists.squid-cache.org/listinfo/squid-users > ___ squid-users mailing list squid-users@lists.squid-cache.org http://lists.squid-cache.org/listinfo/squid-users
Re: [squid-users] squid/SMP
Thanks, I was curious. On Thu, Mar 21, 2013 at 5:39 PM, Eugene M. Zheganin e...@norma.perm.ru wrote: Hi. On 21.03.2013 17:01, Adam W. Dace wrote: I had this exact problem on a different platform, Mac OS X. You probably want to use sysctl to increase the OS-default limits on Unix Domain Sockets. They're mentioned at the bottom of the squid Wiki page here: http://wiki.squid-cache.org/Features/SmpScale Please mail the list if you don't mind once you try that, I then ran into a different problem but most likely FreeBSD isn't affected. Thanks a lot, this helped. Seems to be working after that; at least I got no complains yet. Eugene. -- Adam W. Dace colonelforbi...@gmail.com Phone: (815) 355-5848 Instant Messenger: AIM Yahoo! IM - colonelforbin74 | ICQ - #39374451 Microsoft Messenger - colonelforbi...@live.com Google Profile: http://www.google.com/profiles/ColonelForbin74
Re: [squid-users] squid/SMP
I had this exact problem on a different platform, Mac OS X. You probably want to use sysctl to increase the OS-default limits on Unix Domain Sockets. They're mentioned at the bottom of the squid Wiki page here: http://wiki.squid-cache.org/Features/SmpScale Please mail the list if you don't mind once you try that, I then ran into a different problem but most likely FreeBSD isn't affected. Regards, On Thu, Mar 21, 2013 at 5:52 AM, Eugene M. Zheganin e...@norma.perm.ru wrote: Hi. I'm using squid 3.2.6 on a FreeBSD and today I tried to use it's SMP feature. I've added 'workers 2' in it's configuration file, checked the permission on localstatedir and ran it. I got on start FATAL: kid2 registration timed out and then looks like coordinator started to try to restart kids, but unsuccessfully. Obviously, no client requests were served at that time. I checked the localstatedir and saw 3 sockets, one from coordinator and two from kids - so I'm sure permissions are ok. What can I do to debug this feature ? I understand 3.2.x is no longer supported and I need to use 3.3.x, but right now I'm stuck to FreeBSD ports on my production, and there's no 3.3.[ in it yet; will try to build 3.3.[ realease on a test machine. Thanks. Eugene. -- Adam W. Dace colonelforbi...@gmail.com Phone: (815) 355-5848 Instant Messenger: AIM Yahoo! IM - colonelforbin74 | ICQ - #39374451 Microsoft Messenger - colonelforbi...@live.com Google Profile: http://www.google.com/profiles/ColonelForbin74
[squid-users] Squid 3.3.2 SMP Problem
I've updated Bug #3805 a lot, does anybody mind if I move this to the New Feature Request component? -- Adam W. Dace colonelforbi...@gmail.com Phone: (815) 355-5848 Instant Messenger: AIM Yahoo! IM - colonelforbin74 | ICQ - #39374451 Microsoft Messenger - colonelforbi...@live.com Google Profile: http://www.google.com/profiles/ColonelForbin74
Re: [squid-users] Squid 3.3.2 SMP Problem
Oh, sure. No problem. That particular issue was solved with this, right from the wiki: sudo sysctl -w net.local.dgram.recvspace=262144 sudo sysctl -w net.local.dgram.maxdgram=16384 Now I'm on to the shared memory problem. There's a couple more sysctl tweaks that I want to try before filing a Bugzilla. On Sun, Mar 10, 2013 at 1:20 AM, Amos Jeffries squ...@treenet.co.nz wrote: On 2013-03-10 07:48, Adam W. Dace wrote: Sorry for wasting everyone's time a bit...but I did want to try to focus in on what is really a problem I can't figure out and what isn't before filing a bug in Bugzilla. Thank you! I nailed it...at least in terms of Unix Domain Sockets. Squid is up and running with 3 workers and not sharing memory. What was the problem? we are currently having UDS socket issues on our MacOS test machine without a clue how to resolve. At this point I'll ask if anyone has a FreeBSD box handy? If so, could you please run sysctl -A and let me know what the following are set to. Currently I'm using the settings from the squid Wiki and have little idea what to set them to on Mac OS X. net.local.dgram.recvspace: 262144 net.local.dgram.maxdgram: 16384 I'm going to give what I have a little time to settle in and then get back to someone else who wanted a working SMP configuration also. Regards, Amos -- Adam W. Dace colonelforbi...@gmail.com Phone: (815) 355-5848 Instant Messenger: AIM Yahoo! IM - colonelforbin74 | ICQ - #39374451 Microsoft Messenger - colonelforbi...@live.com Google Profile: http://www.google.com/profiles/ColonelForbin74
[squid-users] Squid 3.3.1 SMP Problem
Documented as Bug #3805(http://bugs.squid-cache.org/show_bug.cgi?id=3805). -- Adam W. Dace colonelforbi...@gmail.com Phone: (815) 355-5848 Instant Messenger: AIM Yahoo! IM - colonelforbin74 | ICQ - #39374451 Microsoft Messenger - colonelforbi...@live.com Google Profile: http://www.google.com/profiles/ColonelForbin74
Re: [squid-users] Looking for Build notes for OSX
From About This Mac...iMac 27-inch, Mid-2011. It's basically the model Apple just replaced with better Nvidia graphics and more memory. And I definitely had to run ulimit -n 1024 before squid would do much. I'm sure the rest is still accurate, but I don't run mine with any interception/transparency. On Sun, Mar 10, 2013 at 3:22 PM, jeff donovan jdono...@beth.k12.pa.us wrote: On Mar 7, 2013, at 5:29 PM, Adam W. Dace colonelforbi...@gmail.com wrote: Personal Build Steps 1) tar xf squid-3.3.2.tar.bz2 2) cd squid-3.3.2 3) ./configure --disable-eui --with-aufs-threads=32 4) make 5) sudo make install ---CUT--- P.S. The above also works just fine when run from either Mac OS X's built-in X11 server(10.7 or less), or XQuartz(10.8). thanks for the reply, might i ask what type of machine this was running on ? these are my old config notes from a 10.6 running squid 3.1.11 configure options: '--enable-async-io' '--enable-icmp' '--enable-delay-pools' '--disable-htcp' '--enable-ssl' '--enable-ipfw-transparent' '--enable-snmp' '--enable-underscores' '--enable-basic-auth-helpers=NCSA,LDAP' from there my terminal had to have a ulimit -n 2048 or higher. allowing interception/transparent through the OS sysctl -a | grep net.inet.ip.f net.inet.ip.forwarding: 0 net.inet.ip.fastforwarding: 0 sysctl -w net.inet.ip.forwarding=1 sysctl -w net.inet.ip.fastforwarding=1 -j -- Adam W. Dace colonelforbi...@gmail.com Phone: (815) 355-5848 Instant Messenger: AIM Yahoo! IM - colonelforbin74 | ICQ - #39374451 Microsoft Messenger - colonelforbi...@live.com Google Profile: http://www.google.com/profiles/ColonelForbin74
Re: [squid-users] Squid 3.3.2 SMP Problem
This is Mac OS X v10.8.2. Yeah, I'm having all sorts of problems with shared memory. I've essentially taken my stock squid config, added some macros for SMP support and given it a shot. Kudos to the squid team for making the configuration piece so easy, when I comment out the SMP directives it works great. With memory_cache_shared on, I get the error I reported last e-mail. With memory_cache_shared off, I get a different error where the child processes are unable to register with the coordinator process. I've also tried tweaking my settings for shared memory via sysctl. Nothing seems to help. Maybe there's some bizarre Mac-specific command I have to issue to enable shared memory support? If so, I haven't found it yet. Any help would be appreciated. And yes, I want my squid to cache. This particular install is still just a personal cache to make web browsing faster. On Fri, Mar 8, 2013 at 7:14 PM, Alex Rousskov rouss...@measurement-factory.com wrote: On 03/08/2013 01:14 PM, Adam W. Dace wrote: However, once I add the workers directive, I get the following error: FATAL: Ipc::Mem::Segment::create failed to shm_open(/squid-cache_mem.shm): (22) Invalid argument Squid Cache (Version 3.3.2): Terminated abnormally. Is this a bug? Or am I doing something wrong? There is something wrong or incompatible about shared memory support on your server. What OS are you using? Do you want your Squid to cache? Alex. -- Adam W. Dace colonelforbi...@gmail.com Phone: (815) 355-5848 Instant Messenger: AIM Yahoo! IM - colonelforbin74 | ICQ - #39374451 Microsoft Messenger - colonelforbi...@live.com Google Profile: http://www.google.com/profiles/ColonelForbin74
Re: [squid-users] squid3 SMP aufs storage/process
It's not like they made it difficult. I haven't successfully gotten SMP up and running, but being able to use configuration like this sure makes it easier: # Uncomment and adjust the following to add a disk cache directory. cache_dir aufs /usr/local/squid/var/cache${process_number}/squid 1024 16 256 On Sat, Mar 9, 2013 at 1:48 AM, jiluspo jilu...@smartbro.net wrote: Therefore squid SMP is not stable. if we need to store more than 32KB the best way is to use multi-instance and peering...I wish I could use multicast in localhost. When would probably finish the rock for large content? I've tried in production squid3head SMP rock storage only and crashed with BUG 3279: HTTP reply without Date: @1kreq/sec squid3(storied worker2) vs squid2(storeurl) coss. squid2 gets higher hit. And to be honest. Squid2head runs more stable than squid3 stable. -Original Message- From: Alex Rousskov [mailto:rouss...@measurement-factory.com] Sent: Saturday, March 09, 2013 3:03 PM To: squid-users@squid-cache.org Subject: Re: [squid-users] squid3 SMP aufs storage/process On 03/08/2013 11:21 PM, jiluspo wrote: If squid3 configured with cache_dir aufs per process would they share to other process? No. Ufs-based store modules, including aufs, are currently not SMP-aware. If you use them in SMP Squid (without protecting them with SMP conditionals), your cache will get corrupted. SMP conditionals in squid.conf can be used to prevent corruption, but they also prevent sharing of cache_dirs among workers. Rock store and memory cache are SMP-aware, share cache among workers, and do not need SMP macros, but they have their own limitations (we are actively working on addressing most of them). Pick your poison, Alex. Email secured by Check Point -- Adam W. Dace colonelforbi...@gmail.com Phone: (815) 355-5848 Instant Messenger: AIM Yahoo! IM - colonelforbin74 | ICQ - #39374451 Microsoft Messenger - colonelforbi...@live.com Google Profile: http://www.google.com/profiles/ColonelForbin74
Re: [squid-users] Squid 3.3.2 SMP Problem
Sorry for wasting everyone's time a bit...but I did want to try to focus in on what is really a problem I can't figure out and what isn't before filing a bug in Bugzilla. Thank you! I nailed it...at least in terms of Unix Domain Sockets. Squid is up and running with 3 workers and not sharing memory. At this point I'll ask if anyone has a FreeBSD box handy? If so, could you please run sysctl -A and let me know what the following are set to. Currently I'm using the settings from the squid Wiki and have little idea what to set them to on Mac OS X. net.local.dgram.recvspace: 262144 net.local.dgram.maxdgram: 16384 I'm going to give what I have a little time to settle in and then get back to someone else who wanted a working SMP configuration also. Regards, On Sat, Mar 9, 2013 at 12:07 PM, Alex Rousskov rouss...@measurement-factory.com wrote: On 03/09/2013 09:16 AM, Adam W. Dace wrote: This is Mac OS X v10.8.2. Yeah, I'm having all sorts of problems with shared memory. and with inter-process communication (IPC) via Unix Domain Sockets (UDS): With memory_cache_shared off, I get a different error where the child processes are unable to register with the coordinator process. Maybe there's some bizarre Mac-specific command I have to issue to enable shared memory support? It is likely that you have that support enabled but Squid needs to do something special and/or you need to tune settings such as UDS message sizes and permissions for everything to work smoothly. Every platform has its own shared memory and IPC oddities, unfortunately. Some known ones are documented at http://wiki.squid-cache.org/Features/SmpScale#Troubleshooting Any help would be appreciated. You need to figure out what system call is failing first and go from there. I recommend disabling shared memory and making sure IPC is working first -- you will need IPC anyway. Some of the things you can try are: * Running Squid with debug_options ALL,9 and figuring out why kid registration does not work. Often, the OS limit for UDS messages is too low. There should be some error messages in ALL,9 cache.log about that, but they are difficult to find and interpret. * Running strace/ktrace (or Mac equivalent) and analyzing error codes of the failing system call (by matching ALL,9 cache.log with the trace). None of the above is easy or straightforward, unfortunately. And fewer folks are going to volunteer their help since you are running on a non-free OS (I am not saying this in a negative way -- just stating the facts). You may want to file a bug report to post your logs, ask for help, and keep a better record of your progress. Good luck, Alex. -- Adam W. Dace colonelforbi...@gmail.com Phone: (815) 355-5848 Instant Messenger: AIM Yahoo! IM - colonelforbin74 | ICQ - #39374451 Microsoft Messenger - colonelforbi...@live.com Google Profile: http://www.google.com/profiles/ColonelForbin74
[squid-users] Squid 3.3.2 and SMP
Does anyone have a simple example configuration for running Squid 3.3.2 with multiple workers? I've taken a peek at the wiki online and would just like a real-world example to try. Thanks In Advance, -- Adam W. Dace colonelforbi...@gmail.com Phone: (815) 355-5848 Instant Messenger: AIM Yahoo! IM - colonelforbin74 | ICQ - #39374451 Microsoft Messenger - colonelforbi...@live.com Google Profile: http://www.google.com/profiles/ColonelForbin74
[squid-users] Squid 3.3.2 SMP Problem
After a bit of reading squid.conf.documented, I went ahead and tried to make a unified SMP squid.conf configuration. However, once I add the workers directive, I get the following error: FATAL: Ipc::Mem::Segment::create failed to shm_open(/squid-cache_mem.shm): (22) Invalid argument Squid Cache (Version 3.3.2): Terminated abnormally. Is this a bug? Or am I doing something wrong? -- Adam W. Dace colonelforbi...@gmail.com Phone: (815) 355-5848 Instant Messenger: AIM Yahoo! IM - colonelforbin74 | ICQ - #39374451 Microsoft Messenger - colonelforbi...@live.com Google Profile: http://www.google.com/profiles/ColonelForbin74
Re: [squid-users] Looking for Build notes for OSX
What are you looking for? You'll need Xcode installed. Besides that, I have it up and running. I could put together instructions if you want. On Thu, Mar 7, 2013 at 8:35 AM, jeffrey j donovan dono...@beth.k12.pa.us wrote: Greetings I am looking for any build notes for squid 3.2.x on OSX. I am transitioning some servers, if anyone has any build notes I would be very thankful. I want to compare apples to apples, make sure I have the right /Libraries loaded etc,.. I did read something about a patch ? If anyone can elaborate on that process. Thanks -j -- Adam W. Dace colonelforbi...@gmail.com Phone: (815) 355-5848 Instant Messenger: AIM Yahoo! IM - colonelforbin74 | ICQ - #39374451 Microsoft Messenger - colonelforbi...@live.com Google Profile: http://www.google.com/profiles/ColonelForbin74
Re: [squid-users] Looking for Build notes for OSX
Sure. You may want to rename the page from Fink to Mac OS X(Fink is really just a package system, like FreeBSD ports). That said, here's what I have...and apologies I don't know wiki very well. ---CUT--- Squid compiles on Mac OS X. However, there are some steps required before following the general build instructions. Install Xcode - 1) From Mac OS X, run the AppStore application. 2) Locate Xcode, Apple's development environment. 3) Install Xcode. Install Command-Line Tools - 1) Launch Xcode. 2) Open Xcode | Preferences. 3) Bring up the Downloads tab. 4) Under Components click the Install button for Command Line Tools. Verify Command-Line Tools - 1) Launch Terminal, usually located in the Utilities folder under Applications. 2) Run gcc --version. Manually verify this produces sane output. From this point, the general build instructions should be all you need. This part can be editorially removed, but may be helpful: It's worth noting this platform doesn't support EUI, and that I personally configured my squid with the configure option --with-aufs-threads=32 to reduce apparent I/O congestion. Personal Build Steps 1) tar xf squid-3.3.2.tar.bz2 2) cd squid-3.3.2 3) ./configure --disable-eui --with-aufs-threads=32 4) make 5) sudo make install ---CUT--- P.S. The above also works just fine when run from either Mac OS X's built-in X11 server(10.7 or less), or XQuartz(10.8). On Thu, Mar 7, 2013 at 2:47 PM, Amos Jeffries squ...@treenet.co.nz wrote: On 8/03/2013 3:47 a.m., Adam W. Dace wrote: What are you looking for? You'll need Xcode installed. Besides that, I have it up and running. I could put together instructions if you want. Would you be able to throw some together for the Squid wiki? MacOS is one of the systems we are lacking a distro-specific page for. We have some details on Fink. But not for the MacOSX systems itself. http://wiki.squid-cache.org/KnowledgeBase/Fink Cheers Amos On Thu, Mar 7, 2013 at 8:35 AM, jeffrey j donovan wrote: Greetings I am looking for any build notes for squid 3.2.x on OSX. I am transitioning some servers, if anyone has any build notes I would be very thankful. I want to compare apples to apples, make sure I have the right /Libraries loaded etc,.. I did read something about a patch ? If anyone can elaborate on that process. Thanks -j -- Adam W. Dace colonelforbi...@gmail.com Phone: (815) 355-5848 Instant Messenger: AIM Yahoo! IM - colonelforbin74 | ICQ - #39374451 Microsoft Messenger - colonelforbi...@live.com Google Profile: http://www.google.com/profiles/ColonelForbin74
Re: [squid-users] Looking for Build notes for OSX
And of course I forgot this: 5) Quit Xcode. Sorry about that. On Thu, Mar 7, 2013 at 4:29 PM, Adam W. Dace colonelforbi...@gmail.com wrote: Sure. You may want to rename the page from Fink to Mac OS X(Fink is really just a package system, like FreeBSD ports). That said, here's what I have...and apologies I don't know wiki very well. ---CUT--- Squid compiles on Mac OS X. However, there are some steps required before following the general build instructions. Install Xcode - 1) From Mac OS X, run the AppStore application. 2) Locate Xcode, Apple's development environment. 3) Install Xcode. Install Command-Line Tools - 1) Launch Xcode. 2) Open Xcode | Preferences. 3) Bring up the Downloads tab. 4) Under Components click the Install button for Command Line Tools. Verify Command-Line Tools - 1) Launch Terminal, usually located in the Utilities folder under Applications. 2) Run gcc --version. Manually verify this produces sane output. From this point, the general build instructions should be all you need. This part can be editorially removed, but may be helpful: It's worth noting this platform doesn't support EUI, and that I personally configured my squid with the configure option --with-aufs-threads=32 to reduce apparent I/O congestion. Personal Build Steps 1) tar xf squid-3.3.2.tar.bz2 2) cd squid-3.3.2 3) ./configure --disable-eui --with-aufs-threads=32 4) make 5) sudo make install ---CUT--- P.S. The above also works just fine when run from either Mac OS X's built-in X11 server(10.7 or less), or XQuartz(10.8). On Thu, Mar 7, 2013 at 2:47 PM, Amos Jeffries squ...@treenet.co.nz wrote: On 8/03/2013 3:47 a.m., Adam W. Dace wrote: What are you looking for? You'll need Xcode installed. Besides that, I have it up and running. I could put together instructions if you want. Would you be able to throw some together for the Squid wiki? MacOS is one of the systems we are lacking a distro-specific page for. We have some details on Fink. But not for the MacOSX systems itself. http://wiki.squid-cache.org/KnowledgeBase/Fink Cheers Amos On Thu, Mar 7, 2013 at 8:35 AM, jeffrey j donovan wrote: Greetings I am looking for any build notes for squid 3.2.x on OSX. I am transitioning some servers, if anyone has any build notes I would be very thankful. I want to compare apples to apples, make sure I have the right /Libraries loaded etc,.. I did read something about a patch ? If anyone can elaborate on that process. Thanks -j -- Adam W. Dace colonelforbi...@gmail.com Phone: (815) 355-5848 Instant Messenger: AIM Yahoo! IM - colonelforbin74 | ICQ - #39374451 Microsoft Messenger - colonelforbi...@live.com Google Profile: http://www.google.com/profiles/ColonelForbin74 -- Adam W. Dace colonelforbi...@gmail.com Phone: (815) 355-5848 Instant Messenger: AIM Yahoo! IM - colonelforbin74 | ICQ - #39374451 Microsoft Messenger - colonelforbi...@live.com Google Profile: http://www.google.com/profiles/ColonelForbin74
[squid-users] Squid 3.3.1 / Bug #3329
I'm seeing the following in my cache.log file and wondering if there's any action I should take to help out. Relevant output: 2013/02/27 08:43:55 kid1| BUG #3329: Orphan Comm::Connection: local=[2601:d:4880:53:1852:c7d4:a6a7:a7d]:60791 remote=[2001:610:1:80bc:192:87:106:229]:80 FD 24 flags=1 2013/02/27 08:43:55 kid1| NOTE: 1 Orphans since last started. Is there somewhere I should report this? P.S. I'm on Mac OS X not Linux and this is a personal web cache with no special options running. -- Adam W. Dace colonelforbi...@gmail.com Phone: (815) 355-5848 Instant Messenger: AIM Yahoo! IM - colonelforbin74 | ICQ - #39374451 Microsoft Messenger - colonelforbi...@live.com Google Profile: http://www.google.com/profiles/ColonelForbin74
Fwd: [squid-users] Squid 3.3.1 Compiler Error
Dang Gmail...guess it didn't want to send a copy to the mailing list. Go figure. -- Forwarded message -- From: Adam W. Dace colonelforbi...@gmail.com Date: Sun, Feb 24, 2013 at 2:02 PM Subject: Re: [squid-users] Squid 3.3.1 Compiler Error To: Amos Jeffries squ...@treenet.co.nz Great! I'll give it a shot. I'll also add this to bugzilla as you recommended. Do you still need or want shell access to a MacOS machine? I was actually going to get around to setting that up today. On Sun, Feb 24, 2013 at 1:36 AM, Amos Jeffries squ...@treenet.co.nz wrote: On 22/02/2013 12:02 p.m., Amos Jeffries wrote: FTR: please report this type of problem to bugzilla in future. On 21/02/2013 2:50 a.m., Adam W. Dace wrote: OS: Mac OS X v10.7.5 Xcode: Xcode v4.6 GCC: GCC v4.2.1 Configure Command: ./configure I've tried a few things and squid just won't compile for me. Here's the relevant make output: Making all in acl /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I../.. -I../../include -I../../lib -I../../src -I../../include -I/sw/include -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -pipe -D_REENTRANT -g -O2 -MT DomainData.lo -MD -MP -MF .deps/DomainData.Tpo -c -o DomainData.lo DomainData.cc libtool: compile: g++ -DHAVE_CONFIG_H -I../.. -I../../include -I../../lib -I../../src -I../../include -I/sw/include -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -pipe -D_REENTRANT -g -O2 -MT DomainData.lo -MD -MP -MF .deps/DomainData.Tpo -c DomainData.cc -fno-common -DPIC -o .libs/DomainData.o DomainData.cc: In function 'int aclHostDomainCompare(char* const, char* const)': DomainData.cc:80: error: 'matchDomainName' was not declared in this scope make[3]: *** [DomainData.lo] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all] Error 2 make: *** [all-recursive] Error 1 adace@wedge:~/Src/squid-3.3.1 Any ideas? BTW, I've got squid v3.2.7 up and running fine. I would just like to upgrade. We would like it if you could as well. We are aware of this build issue but unfortunately the Squid devs do not have MacOS machines on hand to experiment with fixes. Can you assist in that regard? 'matchDomainName' is most definitely defined in URL.h which is included the same as it was in 3.2. But for some reason the MacOS compiler is doing the above errors now. Amos Turns out to be the MacOS version of GCC implicitly adding -I. to the compiler options, combined with case-insensitvity in the basic filesystem causig src/acl/Url.h to be confused with src/URL.h when building the code inside src/acl/*.cc I've applied a workaround and when the mirrors pick up the change it will be available at: http://ww.squid-cache.org/Versions/v3/3.HEAD/changesets/squid-3-12705.patch Amos -- Adam W. Dace colonelforbi...@gmail.com Phone: (815) 355-5848 Instant Messenger: AIM Yahoo! IM - colonelforbin74 | ICQ - #39374451 Microsoft Messenger - colonelforbi...@live.com Google Profile: http://www.google.com/profiles/ColonelForbin74
Re: [squid-users] Squid 3.3.1 Compiler Error
Documented in Bugzilla as Bug #3794 (http://bugs.squid-cache.org/show_bug.cgi?id=3794). I'd add the patch but I don't want to be rude. On Sun, Feb 24, 2013 at 2:02 PM, Adam W. Dace colonelforbi...@gmail.com wrote: Great! I'll give it a shot. I'll also add this to bugzilla as you recommended. Do you still need or want shell access to a MacOS machine? I was actually going to get around to setting that up today. On Sun, Feb 24, 2013 at 1:36 AM, Amos Jeffries squ...@treenet.co.nz wrote: On 22/02/2013 12:02 p.m., Amos Jeffries wrote: FTR: please report this type of problem to bugzilla in future. On 21/02/2013 2:50 a.m., Adam W. Dace wrote: OS: Mac OS X v10.7.5 Xcode: Xcode v4.6 GCC: GCC v4.2.1 Configure Command: ./configure I've tried a few things and squid just won't compile for me. Here's the relevant make output: Making all in acl /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I../.. -I../../include -I../../lib -I../../src -I../../include -I/sw/include -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -pipe -D_REENTRANT -g -O2 -MT DomainData.lo -MD -MP -MF .deps/DomainData.Tpo -c -o DomainData.lo DomainData.cc libtool: compile: g++ -DHAVE_CONFIG_H -I../.. -I../../include -I../../lib -I../../src -I../../include -I/sw/include -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -pipe -D_REENTRANT -g -O2 -MT DomainData.lo -MD -MP -MF .deps/DomainData.Tpo -c DomainData.cc -fno-common -DPIC -o .libs/DomainData.o DomainData.cc: In function 'int aclHostDomainCompare(char* const, char* const)': DomainData.cc:80: error: 'matchDomainName' was not declared in this scope make[3]: *** [DomainData.lo] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all] Error 2 make: *** [all-recursive] Error 1 adace@wedge:~/Src/squid-3.3.1 Any ideas? BTW, I've got squid v3.2.7 up and running fine. I would just like to upgrade. We would like it if you could as well. We are aware of this build issue but unfortunately the Squid devs do not have MacOS machines on hand to experiment with fixes. Can you assist in that regard? 'matchDomainName' is most definitely defined in URL.h which is included the same as it was in 3.2. But for some reason the MacOS compiler is doing the above errors now. Amos Turns out to be the MacOS version of GCC implicitly adding -I. to the compiler options, combined with case-insensitvity in the basic filesystem causig src/acl/Url.h to be confused with src/URL.h when building the code inside src/acl/*.cc I've applied a workaround and when the mirrors pick up the change it will be available at: http://ww.squid-cache.org/Versions/v3/3.HEAD/changesets/squid-3-12705.patch Amos -- Adam W. Dace colonelforbi...@gmail.com Phone: (815) 355-5848 Instant Messenger: AIM Yahoo! IM - colonelforbin74 | ICQ - #39374451 Microsoft Messenger - colonelforbi...@live.com Google Profile: http://www.google.com/profiles/ColonelForbin74 -- Adam W. Dace colonelforbi...@gmail.com Phone: (815) 355-5848 Instant Messenger: AIM Yahoo! IM - colonelforbin74 | ICQ - #39374451 Microsoft Messenger - colonelforbi...@live.com Google Profile: http://www.google.com/profiles/ColonelForbin74
Re: [squid-users] Squid 3.3.1 Compiler Error
Thanks a lot, that patch did the trick. I would've helped more but I'm not much of a C++ guy. Relevant output: 2013/02/24 14:23:22 kid1| Squid Cache (Version 3.2.7): Exiting normally. 2013/02/24 14:23:58 kid1| Starting Squid Cache version 3.3.1 for i686-apple-darwin11.4.2... And BTW, it's fast. I mean, really fast. Thanks as always for your continued work. On Sun, Feb 24, 2013 at 2:17 PM, Adam W. Dace colonelforbi...@gmail.com wrote: Documented in Bugzilla as Bug #3794 (http://bugs.squid-cache.org/show_bug.cgi?id=3794). I'd add the patch but I don't want to be rude. On Sun, Feb 24, 2013 at 2:02 PM, Adam W. Dace colonelforbi...@gmail.com wrote: Great! I'll give it a shot. I'll also add this to bugzilla as you recommended. Do you still need or want shell access to a MacOS machine? I was actually going to get around to setting that up today. On Sun, Feb 24, 2013 at 1:36 AM, Amos Jeffries squ...@treenet.co.nz wrote: On 22/02/2013 12:02 p.m., Amos Jeffries wrote: FTR: please report this type of problem to bugzilla in future. On 21/02/2013 2:50 a.m., Adam W. Dace wrote: OS: Mac OS X v10.7.5 Xcode: Xcode v4.6 GCC: GCC v4.2.1 Configure Command: ./configure I've tried a few things and squid just won't compile for me. Here's the relevant make output: Making all in acl /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I../.. -I../../include -I../../lib -I../../src -I../../include -I/sw/include -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -pipe -D_REENTRANT -g -O2 -MT DomainData.lo -MD -MP -MF .deps/DomainData.Tpo -c -o DomainData.lo DomainData.cc libtool: compile: g++ -DHAVE_CONFIG_H -I../.. -I../../include -I../../lib -I../../src -I../../include -I/sw/include -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -pipe -D_REENTRANT -g -O2 -MT DomainData.lo -MD -MP -MF .deps/DomainData.Tpo -c DomainData.cc -fno-common -DPIC -o .libs/DomainData.o DomainData.cc: In function 'int aclHostDomainCompare(char* const, char* const)': DomainData.cc:80: error: 'matchDomainName' was not declared in this scope make[3]: *** [DomainData.lo] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all] Error 2 make: *** [all-recursive] Error 1 adace@wedge:~/Src/squid-3.3.1 Any ideas? BTW, I've got squid v3.2.7 up and running fine. I would just like to upgrade. We would like it if you could as well. We are aware of this build issue but unfortunately the Squid devs do not have MacOS machines on hand to experiment with fixes. Can you assist in that regard? 'matchDomainName' is most definitely defined in URL.h which is included the same as it was in 3.2. But for some reason the MacOS compiler is doing the above errors now. Amos Turns out to be the MacOS version of GCC implicitly adding -I. to the compiler options, combined with case-insensitvity in the basic filesystem causig src/acl/Url.h to be confused with src/URL.h when building the code inside src/acl/*.cc I've applied a workaround and when the mirrors pick up the change it will be available at: http://ww.squid-cache.org/Versions/v3/3.HEAD/changesets/squid-3-12705.patch Amos -- Adam W. Dace colonelforbi...@gmail.com Phone: (815) 355-5848 Instant Messenger: AIM Yahoo! IM - colonelforbin74 | ICQ - #39374451 Microsoft Messenger - colonelforbi...@live.com Google Profile: http://www.google.com/profiles/ColonelForbin74 -- Adam W. Dace colonelforbi...@gmail.com Phone: (815) 355-5848 Instant Messenger: AIM Yahoo! IM - colonelforbin74 | ICQ - #39374451 Microsoft Messenger - colonelforbi...@live.com Google Profile: http://www.google.com/profiles/ColonelForbin74 -- Adam W. Dace colonelforbi...@gmail.com Phone: (815) 355-5848 Instant Messenger: AIM Yahoo! IM - colonelforbin74 | ICQ - #39374451 Microsoft Messenger - colonelforbi...@live.com Google Profile: http://www.google.com/profiles/ColonelForbin74
[squid-users] Squid 3.3.1 Compiler Error
OS: Mac OS X v10.7.5 Xcode: Xcode v4.6 GCC: GCC v4.2.1 Configure Command: ./configure I've tried a few things and squid just won't compile for me. Here's the relevant make output: Making all in acl /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I../.. -I../../include -I../../lib -I../../src -I../../include -I/sw/include -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -pipe -D_REENTRANT -g -O2 -MT DomainData.lo -MD -MP -MF .deps/DomainData.Tpo -c -o DomainData.lo DomainData.cc libtool: compile: g++ -DHAVE_CONFIG_H -I../.. -I../../include -I../../lib -I../../src -I../../include -I/sw/include -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -pipe -D_REENTRANT -g -O2 -MT DomainData.lo -MD -MP -MF .deps/DomainData.Tpo -c DomainData.cc -fno-common -DPIC -o .libs/DomainData.o DomainData.cc: In function 'int aclHostDomainCompare(char* const, char* const)': DomainData.cc:80: error: 'matchDomainName' was not declared in this scope make[3]: *** [DomainData.lo] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all] Error 2 make: *** [all-recursive] Error 1 adace@wedge:~/Src/squid-3.3.1 Any ideas? BTW, I've got squid v3.2.7 up and running fine. I would just like to upgrade. -- Adam W. Dace colonelforbi...@gmail.com Phone: (815) 355-5848 Instant Messenger: AIM Yahoo! IM - colonelforbin74 | ICQ - #39374451 Microsoft Messenger - colonelforbi...@live.com Google Profile: http://www.google.com/profiles/ColonelForbin74