Re: [squid-users] looking for testers: google maps/earth/youtube caching
On 26.11.07 15:31, Adrian Chadd wrote: I don't know if people understood my last email about the StoreUrlRewrite changes I've made to squid-2.HEAD, so I'll just be really clear this time around. I've implemented some changes to Squid-2.HEAD which will allow certain stuff to be cached which couldn't be in the past. The first two things I'm going to try and concrete the support for is google maps/earth (web only) and Youtube. I wonder why didn't you make this change to squid-3. Is it already there? if not, do you plan to push that indo squid-3? I'm interested in this feature, but also in ICAP (because of virus/phish filtering) -- Matus UHLAR - fantomas, [EMAIL PROTECTED] ; http://www.fantomas.sk/ Warning: I wish NOT to receive e-mail advertising to this address. Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu. Two words: Windows survives. - Craig Mundie, Microsoft senior strategist So does syphillis. Good thing we have penicillin. - Matthew Alton
Re: [squid-users] looking for testers: google maps/earth/youtube caching
Squid-3 has enough stuff going on in it at the moment. It needs to stabilise, be released and have some architectural decisions made before new features like this are included. That, and I funded myself to implement this feature, and I feel more comfortable working on squid-2 at the moment. I don't want to break Squid-3 and not be able to fix it. Adrian On Wed, Dec 05, 2007, Matus UHLAR - fantomas wrote: On 26.11.07 15:31, Adrian Chadd wrote: I don't know if people understood my last email about the StoreUrlRewrite changes I've made to squid-2.HEAD, so I'll just be really clear this time around. I've implemented some changes to Squid-2.HEAD which will allow certain stuff to be cached which couldn't be in the past. The first two things I'm going to try and concrete the support for is google maps/earth (web only) and Youtube. I wonder why didn't you make this change to squid-3. Is it already there? if not, do you plan to push that indo squid-3? I'm interested in this feature, but also in ICAP (because of virus/phish filtering) -- Matus UHLAR - fantomas, [EMAIL PROTECTED] ; http://www.fantomas.sk/ Warning: I wish NOT to receive e-mail advertising to this address. Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu. Two words: Windows survives. - Craig Mundie, Microsoft senior strategist So does syphillis. Good thing we have penicillin. - Matthew Alton -- - Xenion - http://www.xenion.com.au/ - VPS Hosting - Commercial Squid Support - - $25/pm entry-level VPSes w/ capped bandwidth charges available in WA -
Re: [squid-users] looking for testers: google maps/earth/youtube caching
Hi Adrian, Adrian Chadd wrote: On Thu, Nov 29, 2007, Tek Bahadur Limbu wrote: 2007/11/29 15:58:43| WARNING: store_rewriter #5 (FD 11) exited 2007/11/29 15:58:43| WARNING: store_rewriter #4 (FD 10) exited 2007/11/29 15:58:43| WARNING: store_rewriter #3 (FD 9) exited 2007/11/29 15:58:43| Too few store_rewriter processes are running FATAL: The store_rewriter helpers are crashing too rapidly, need help! Run the helper manually and see what it says! Oops sorry. Small typo mistake. The helper is running now. In the Debian 4.1 box, everything seems to be working fine. symbol in file MD5Init store_key_md5.o (symbol belongs to implicit dependency /usr/lib/libmd5.so.1) MD5Finalstore_key_md5.o (symbol belongs to implicit dependency /usr/lib/libmd5.so.1) MD5Update store_key_md5.o (symbol belongs to implicit dependency /usr/lib/libmd5.so.1) ld: fatal: Symbol referencing errors. No output written to squid collect2: ld returned 1 exit status gmake[3]: *** [squid] Error 1 Can Squid-2.HEAD be used for a Solaris 10 box? Compile with --enable-openssl. We're trying to figure out whats going on. In both FreeBSD and Solaris, compiling with the parameter --enable-ssl completed successfully. However, I have not really tested it extensively. I will further test and monitor it extensively in the coming heads ahead. Anyway, thanks alot for the caching stuff for Google Earth/Maps/YouTube. I am sure that the caching will improve further in the coming days. Will this feature be merged into Squid-2.6 sometime in the future? Thanking you... Adrian -- With best regards and good wishes, Yours sincerely, Tek Bahadur Limbu System Administrator (TAG/TDG Group) Jwl Systems Department Worldlink Communications Pvt. Ltd. Jawalakhel, Nepal http://www.wlink.com.np http://teklimbu.wordpress.com
Re: [squid-users] looking for testers: google maps/earth/youtube caching
On Sun, Dec 02, 2007, Tek Bahadur Limbu wrote: Can Squid-2.HEAD be used for a Solaris 10 box? Compile with --enable-openssl. We're trying to figure out whats going on. In both FreeBSD and Solaris, compiling with the parameter --enable-ssl completed successfully. Thanks for telling us that. Anyway, thanks alot for the caching stuff for Google Earth/Maps/YouTube. You can thank me when the youtube caching is stable. :) I am sure that the caching will improve further in the coming days. When I set aside some spare time next week I'll figure out why youtube isn't caching properly. Will this feature be merged into Squid-2.6 sometime in the future? Nope. This feature will stay in Squid-2.HEAD and be one of the reasons to shift to Squid-2.7. Its a reasonably intrusive patch which affects how some Squid internals work, its slightly hackish (what open source software isn't!) and I don't want to upset the Squid-2.6 stability. Adrian -- - Xenion - http://www.xenion.com.au/ - VPS Hosting - Commercial Squid Support -
Re: [squid-users] looking for testers: google maps/earth/youtube caching
Hi Adrian, Adrian Chadd wrote: On Mon, Nov 26, 2007, Tek Bahadur Limbu wrote: I'm saying right now that I'm willing to spend the time and effort to work with people for free to get this stuff tested and debugged. It doesn't benefit me - I'm not getting paid -at all- to do this. I am interested. Let me study it in more detail. For the time being, if I need help, you will be there, won't you? Sure. Just trial Squid-2.HEAD on your caches first and let me know if that breaks anything. Once Squid-2.HEAD is stable for you then we'll be able to do the extra magic to get some maps and youtube caching going. Compiled Squid-2.HEAD successfully in a Debian 4.0 (2.6.18) box. Added the following in squid.conf: acl store_rewrite_list dstdomain .youtube.com storeurl_access allow store_rewrite_list storeurl_access deny all storeurl_rewrite_program /usr/local/squid/run/store_url_rewrite However, starting squid reported the following: 2007/11/29 15:58:43| WARNING: store_rewriter #5 (FD 11) exited 2007/11/29 15:58:43| WARNING: store_rewriter #4 (FD 10) exited 2007/11/29 15:58:43| WARNING: store_rewriter #3 (FD 9) exited 2007/11/29 15:58:43| Too few store_rewriter processes are running FATAL: The store_rewriter helpers are crashing too rapidly, need help! Aborted Am I must be missing something fundamental here? By the way, I also tried to install Squid-2.HEAD on a Solaris 10 box: I get the following errors while compiling: .a fs/libcoss.a fs/libdiskd.a fs/libaufs.a fs/libnull.a auth/libbasic.a -lcrypt ../snmplib/libsnmp.a -L../lib -ldlmalloc -lmiscutil -lrt -lpthread -lm -lsocket -lnsl -lresolv Undefined first referenced symbol in file MD5Init store_key_md5.o (symbol belongs to implicit dependency /usr/lib/libmd5.so.1) MD5Finalstore_key_md5.o (symbol belongs to implicit dependency /usr/lib/libmd5.so.1) MD5Update store_key_md5.o (symbol belongs to implicit dependency /usr/lib/libmd5.so.1) ld: fatal: Symbol referencing errors. No output written to squid collect2: ld returned 1 exit status gmake[3]: *** [squid] Error 1 Can Squid-2.HEAD be used for a Solaris 10 box? Thanking you... Adrian -- With best regards and good wishes, Yours sincerely, Tek Bahadur Limbu System Administrator (TAG/TDG Group) Jwl Systems Department Worldlink Communications Pvt. Ltd. Jawalakhel, Nepal http://www.wlink.com.np http://teklimbu.wordpress.com
Re: [squid-users] looking for testers: google maps/earth/youtube caching
On Thu, Nov 29, 2007, Tek Bahadur Limbu wrote: 2007/11/29 15:58:43| WARNING: store_rewriter #5 (FD 11) exited 2007/11/29 15:58:43| WARNING: store_rewriter #4 (FD 10) exited 2007/11/29 15:58:43| WARNING: store_rewriter #3 (FD 9) exited 2007/11/29 15:58:43| Too few store_rewriter processes are running FATAL: The store_rewriter helpers are crashing too rapidly, need help! Run the helper manually and see what it says! symbol in file MD5Init store_key_md5.o (symbol belongs to implicit dependency /usr/lib/libmd5.so.1) MD5Finalstore_key_md5.o (symbol belongs to implicit dependency /usr/lib/libmd5.so.1) MD5Update store_key_md5.o (symbol belongs to implicit dependency /usr/lib/libmd5.so.1) ld: fatal: Symbol referencing errors. No output written to squid collect2: ld returned 1 exit status gmake[3]: *** [squid] Error 1 Can Squid-2.HEAD be used for a Solaris 10 box? Compile with --enable-openssl. We're trying to figure out whats going on. Adrian -- - Xenion - http://www.xenion.com.au/ - VPS Hosting - Commercial Squid Support -
Re: [squid-users] looking for testers: google maps/earth/youtube caching
I've done some testing with Google Maps using the following rewriting regex and it seems to work just fine. Lot's of HITs. if (m/http:\/\/kh[0-3]?\.google\.com[\.a-z]*\/(.*?) /) { print http://keyhole-srv.google.com.SQUIDINTERNAL/; . $1 . \n; However with YouTube I have some trouble. This is the rewriter I use: } elsif (m/^http:\/\/\d+\.\d+\.\d+\.\d+\/get_video\?video_id=(.*?)origin=.*?youtube\.com /) { # Zlatan skojar med Ekwall # http://74.125.10.100/get_video?video_id=hDJ7IRS4krAorigin=nyc-v23.nyc.youtube.com print http://video-srv.youtube.com.SQUIDINTERNAL/get_video?video_id=; . $1 . \n; When testing outside squid it looks ok. # echo http://74.125.10.100/get_video?video_id=hDJ7IRS4krAorigin=nyc-v23.nyc.youtube.com | ./storeurl_rewrite.pl http://video-srv.youtube.com.SQUIDINTERNAL/get_video?video_id=hDJ7IRS4krA The first fetch is of course a TCP_MISS and the debug log gives me this: 2007/11/27 13:18:07| storeurlStart: 'http://74.125.10.100/get_video?video_id=hDJ7IRS4krAorigin=nyc-v23.nyc.youtube.com' 2007/11/27 13:18:07| storeurlStart: sending 'http://74.125.10.100/get_video?video_id=hDJ7IRS4krAorigin=nyc-v23.nyc.youtube.com 127.0.0.1/localhost - GET - myip=127.0.0.1 myport=8081' to the helper 2007/11/27 13:18:08| storeurlHandleRead: {http://video-srv.youtube.com.SQUIDINTERNAL/get_video?video_id=hDJ7IRS4krA} Subsequent fetches (squidclient and wget) using the exact same URL are TCP_HITs. But. If I for example change the origin part of the URL (v23 to v24): 2007/11/27 13:24:05| storeurlStart: 'http://74.125.10.100/get_video?video_id=hDJ7IRS4krAorigin=nyc-v24.nyc.youtube.com' 2007/11/27 13:24:05| storeurlStart: sending 'http://74.125.10.100/get_video?video_id=hDJ7IRS4krAorigin=nyc-v24.nyc.youtube.com 127.0.0.1/localhost - GET - myip=127.0.0.1 myport=8081' to the helper 2007/11/27 13:24:05| storeurlHandleRead: {http://video-srv.youtube.com.SQUIDINTERNAL/get_video?video_id=hDJ7IRS4krA} As you see, the resulting storeURL is the same as before, but the request is now a TCP_SWAPFAIL_MISS. Shouldn't this be a HIT as well? Something I've missed? -- Andreas
Re: [squid-users] looking for testers: google maps/earth/youtube caching
On Tue, Nov 27, 2007, Andreas Pettersson wrote: I've done some testing with Google Maps using the following rewriting regex and it seems to work just fine. Lot's of HITs. if (m/http:\/\/kh[0-3]?\.google\.com[\.a-z]*\/(.*?) /) { print http://keyhole-srv.google.com.SQUIDINTERNAL/; . $1 . \n; Good. What about google earth? Similar hit rates? Have you followed the Wiki instructions and removed the cache deny QUERY; replacing it with the relevant refresh patterns in the right place? However with YouTube I have some trouble. This is the rewriter I use: Leave YouTube for now; lets just make sure Google Maps and Earth are doing the right thing. YouTube is still a bit tricky and I'm still trying to figure out whats going on. 2007/11/27 13:18:07| storeurlStart: 'http://74.125.10.100/get_video?video_id=hDJ7IRS4krAorigin=nyc-v23.nyc.youtube.com' 2007/11/27 13:18:07| storeurlStart: sending 'http://74.125.10.100/get_video?video_id=hDJ7IRS4krAorigin=nyc-v23.nyc.youtube.com 127.0.0.1/localhost - GET - myip=127.0.0.1 myport=8081' to the helper 2007/11/27 13:18:08| storeurlHandleRead: {http://video-srv.youtube.com.SQUIDINTERNAL/get_video?video_id=hDJ7IRS4krA} Good. Subsequent fetches (squidclient and wget) using the exact same URL are TCP_HITs. But. If I for example change the origin part of the URL (v23 to v24): 2007/11/27 13:24:05| storeurlStart: 'http://74.125.10.100/get_video?video_id=hDJ7IRS4krAorigin=nyc-v24.nyc.youtube.com' 2007/11/27 13:24:05| storeurlStart: sending 'http://74.125.10.100/get_video?video_id=hDJ7IRS4krAorigin=nyc-v24.nyc.youtube.com 127.0.0.1/localhost - GET - myip=127.0.0.1 myport=8081' to the helper 2007/11/27 13:24:05| storeurlHandleRead: {http://video-srv.youtube.com.SQUIDINTERNAL/get_video?video_id=hDJ7IRS4krA} As you see, the resulting storeURL is the same as before, but the request is now a TCP_SWAPFAIL_MISS. Shouldn't this be a HIT as well? Something I've missed? Its possible that I've broken something; can you please check cache.log to see if its logged any errors? Adrian
Re: [squid-users] looking for testers: google maps/earth/youtube caching
Also, if you're willing to play with this then please jump onto #squiddev on freenode IRC; just remember I'm GMT+9 and thus might not be on during your daytime. I'm adri in there. Adrian
Re: [squid-users] looking for testers: google maps/earth/youtube caching
My current squid config snippets and storeurl redirector: http://wiki.squid-cache.org/Features/StoreUrlRewrite/RewriteScript It should work fine for the maps.google.com and related sites. The Youtube stuff still needs tweaking. Note that the refresh pattern needs to be early in the refresh_pattern list, before the cgi-bin and ? refresh_pattern you should now have. Also make sure you have removed cache deny QUERY. Adrian On Tue, Nov 27, 2007, Andreas Pettersson wrote: I've done some testing with Google Maps using the following rewriting regex and it seems to work just fine. Lot's of HITs. if (m/http:\/\/kh[0-3]?\.google\.com[\.a-z]*\/(.*?) /) { print http://keyhole-srv.google.com.SQUIDINTERNAL/; . $1 . \n; However with YouTube I have some trouble. This is the rewriter I use: } elsif (m/^http:\/\/\d+\.\d+\.\d+\.\d+\/get_video\?video_id=(.*?)origin=.*?youtube\.com /) { # Zlatan skojar med Ekwall # http://74.125.10.100/get_video?video_id=hDJ7IRS4krAorigin=nyc-v23.nyc.youtube.com print http://video-srv.youtube.com.SQUIDINTERNAL/get_video?video_id=; . $1 . \n; When testing outside squid it looks ok. # echo http://74.125.10.100/get_video?video_id=hDJ7IRS4krAorigin=nyc-v23.nyc.youtube.com | ./storeurl_rewrite.pl http://video-srv.youtube.com.SQUIDINTERNAL/get_video?video_id=hDJ7IRS4krA The first fetch is of course a TCP_MISS and the debug log gives me this: 2007/11/27 13:18:07| storeurlStart: 'http://74.125.10.100/get_video?video_id=hDJ7IRS4krAorigin=nyc-v23.nyc.youtube.com' 2007/11/27 13:18:07| storeurlStart: sending 'http://74.125.10.100/get_video?video_id=hDJ7IRS4krAorigin=nyc-v23.nyc.youtube.com 127.0.0.1/localhost - GET - myip=127.0.0.1 myport=8081' to the helper 2007/11/27 13:18:08| storeurlHandleRead: {http://video-srv.youtube.com.SQUIDINTERNAL/get_video?video_id=hDJ7IRS4krA} Subsequent fetches (squidclient and wget) using the exact same URL are TCP_HITs. But. If I for example change the origin part of the URL (v23 to v24): 2007/11/27 13:24:05| storeurlStart: 'http://74.125.10.100/get_video?video_id=hDJ7IRS4krAorigin=nyc-v24.nyc.youtube.com' 2007/11/27 13:24:05| storeurlStart: sending 'http://74.125.10.100/get_video?video_id=hDJ7IRS4krAorigin=nyc-v24.nyc.youtube.com 127.0.0.1/localhost - GET - myip=127.0.0.1 myport=8081' to the helper 2007/11/27 13:24:05| storeurlHandleRead: {http://video-srv.youtube.com.SQUIDINTERNAL/get_video?video_id=hDJ7IRS4krA} As you see, the resulting storeURL is the same as before, but the request is now a TCP_SWAPFAIL_MISS. Shouldn't this be a HIT as well? Something I've missed? -- Andreas -- - Xenion - http://www.xenion.com.au/ - VPS Hosting - Commercial Squid Support - - $25/pm entry-level VPSes w/ capped bandwidth charges available in WA -
Re: [squid-users] looking for testers: google maps/earth/youtube caching
On mån, 2007-11-26 at 18:03 +0100, Andreas Pettersson wrote: 2. I get these failures when trying to compile: store_key_md5.o(.text+0x12a): In function `storeKeyPrivate': /tmp/squid2head/squid-2.HEAD-20071126/src/store_key_md5.c:102: undefined reference to `MD5Init' What OS are you running/compiling Squid on? Regards Henrik signature.asc Description: This is a digitally signed message part
Re: [squid-users] looking for testers: google maps/earth/youtube caching
Henrik Nordstrom wrote: On mån, 2007-11-26 at 18:03 +0100, Andreas Pettersson wrote: 2. I get these failures when trying to compile: store_key_md5.o(.text+0x12a): In function `storeKeyPrivate': /tmp/squid2head/squid-2.HEAD-20071126/src/store_key_md5.c:102: undefined reference to `MD5Init' What OS are you running/compiling Squid on? FreeBSD 6.2. With --enable-ssl compiling completed without errors. -- Andreas
Re: [squid-users] looking for testers: google maps/earth/youtube caching
Hi Adrian, Adrian Chadd wrote: I don't know if people understood my last email about the StoreUrlRewrite changes I've made to squid-2.HEAD, so I'll just be really clear this time around. http://www.squid-cache.org/mail-archive/squid-users/200711/0490.html I read it and I think I understand your email. At least I understand it's mission which is to make non-cachable stuff get cached! I've implemented some changes to Squid-2.HEAD which will allow certain stuff to be cached which couldn't be in the past. The first two things I'm going to try and concrete the support for is google maps/earth (web only) and Youtube. So, I'm looking for testers who are willing to run squid-2.HEAD snapshots and work with me to evaluate and fine-tune my squid extensions to support this. Who is interested? Come on, after the amount of How do you cache youtube? questions from the mailing lists and search results hitting the squidproxy blog over the last few months -some- of you have to be interested. I'm saying right now that I'm willing to spend the time and effort to work with people for free to get this stuff tested and debugged. It doesn't benefit me - I'm not getting paid -at all- to do this. I am interested. Let me study it in more detail. For the time being, if I need help, you will be there, won't you? Thanking you... Adrian -- With best regards and good wishes, Yours sincerely, Tek Bahadur Limbu System Administrator (TAG/TDG Group) Jwl Systems Department Worldlink Communications Pvt. Ltd. Jawalakhel, Nepal http://www.wlink.com.np http://teklimbu.wordpress.com
Re: [squid-users] looking for testers: google maps/earth/youtube caching
On Mon, Nov 26, 2007, Tek Bahadur Limbu wrote: I'm saying right now that I'm willing to spend the time and effort to work with people for free to get this stuff tested and debugged. It doesn't benefit me - I'm not getting paid -at all- to do this. I am interested. Let me study it in more detail. For the time being, if I need help, you will be there, won't you? Sure. Just trial Squid-2.HEAD on your caches first and let me know if that breaks anything. Once Squid-2.HEAD is stable for you then we'll be able to do the extra magic to get some maps and youtube caching going. Adrian -- - Xenion - http://www.xenion.com.au/ - VPS Hosting - Commercial Squid Support -
Re: [squid-users] looking for testers: google maps/earth/youtube caching
Adrian Chadd wrote: I don't know if people understood my last email about the StoreUrlRewrite changes I've made to squid-2.HEAD, so I'll just be really clear this time around. I must have missed that one.. So, I'm looking for testers who are willing to run squid-2.HEAD snapshots and work with me to evaluate and fine-tune my squid extensions to support this. Count me in. Do I need to cvs it or are we talking about the daily auto-generated release tar.gz-file from here? http://www.squid-cache.org/Versions/v2/2.6/ -- Andreas
Re: [squid-users] looking for testers: google maps/earth/youtube caching
On Mon, Nov 26, 2007, Andreas Pettersson wrote: Do I need to cvs it or are we talking about the daily auto-generated release tar.gz-file from here? http://www.squid-cache.org/Versions/v2/2.6/ http://www.squid-cache.org/Versions/v2/HEAD/squid-HEAD.snapshot.tar.gz - this isn't Squid-2.6, this is the development Squid-2 branch. adrian -- - Xenion - http://www.xenion.com.au/ - VPS Hosting - Commercial Squid Support -
Re: [squid-users] looking for testers: google maps/earth/youtube caching
Count on me ! I´m download tarball now. Thanks for your help with this rich feature ! Gleidson Antonio Henriques - Original Message - From: Adrian Chadd [EMAIL PROTECTED] To: Andreas Pettersson [EMAIL PROTECTED] Cc: Adrian Chadd [EMAIL PROTECTED]; squid-users@squid-cache.org Sent: Monday, November 26, 2007 1:10 PM Subject: Re: [squid-users] looking for testers: google maps/earth/youtube caching On Mon, Nov 26, 2007, Andreas Pettersson wrote: Do I need to cvs it or are we talking about the daily auto-generated release tar.gz-file from here? http://www.squid-cache.org/Versions/v2/2.6/ http://www.squid-cache.org/Versions/v2/HEAD/squid-HEAD.snapshot.tar.gz - this isn't Squid-2.6, this is the development Squid-2 branch. adrian -- - Xenion - http://www.xenion.com.au/ - VPS Hosting - Commercial Squid Support -
Re: [squid-users] looking for testers: google maps/earth/youtube caching
Adrian Chadd wrote: On Mon, Nov 26, 2007, Andreas Pettersson wrote: Do I need to cvs it or are we talking about the daily auto-generated release tar.gz-file from here? http://www.squid-cache.org/Versions/v2/2.6/ http://www.squid-cache.org/Versions/v2/HEAD/squid-HEAD.snapshot.tar.gz - this isn't Squid-2.6, this is the development Squid-2 branch. Ok, thanks. 2 questions: 1. Does your changes incorporate patches that allows overriding the-nocache-header-which-exact-name-I-just-cannot-recall-at-the-moment that only squid3 can override? 2. I get these failures when trying to compile: store_key_md5.o(.text+0x12a): In function `storeKeyPrivate': /tmp/squid2head/squid-2.HEAD-20071126/src/store_key_md5.c:102: undefined reference to `MD5Init' store_key_md5.o(.text+0x139):/tmp/squid2head/squid-2.HEAD-20071126/src/store_key_md5.c:103: undefined reference to `MD5Update' store_key_md5.o(.text+0x148):/tmp/squid2head/squid-2.HEAD-20071126/src/store_key_md5.c:104: undefined reference to `MD5Update' store_key_md5.o(.text+0x162):/tmp/squid2head/squid-2.HEAD-20071126/src/store_key_md5.c:105: undefined reference to `MD5Update' store_key_md5.o(.text+0x16f):/tmp/squid2head/squid-2.HEAD-20071126/src/store_key_md5.c:106: undefined reference to `MD5Final' store_key_md5.o(.text+0x1d2): In function `storeKeyPublic': /tmp/squid2head/squid-2.HEAD-20071126/src/store_key_md5.c:116: undefined reference to `MD5Init' store_key_md5.o(.text+0x1e1):/tmp/squid2head/squid-2.HEAD-20071126/src/store_key_md5.c:117: undefined reference to `MD5Update' store_key_md5.o(.text+0x1fb):/tmp/squid2head/squid-2.HEAD-20071126/src/store_key_md5.c:118: undefined reference to `MD5Update' store_key_md5.o(.text+0x208):/tmp/squid2head/squid-2.HEAD-20071126/src/store_key_md5.c:119: undefined reference to `MD5Final' store_key_md5.o(.text+0x245): In function `storeKeyPublicByRequestMethod': /tmp/squid2head/squid-2.HEAD-20071126/src/store_key_md5.c:143: undefined reference to `MD5Init' store_key_md5.o(.text+0x254):/tmp/squid2head/squid-2.HEAD-20071126/src/store_key_md5.c:144: undefined reference to `MD5Update' store_key_md5.o(.text+0x26e):/tmp/squid2head/squid-2.HEAD-20071126/src/store_key_md5.c:145: undefined reference to `MD5Update' store_key_md5.o(.text+0x29d):/tmp/squid2head/squid-2.HEAD-20071126/src/store_key_md5.c:158: undefined reference to `MD5Final' store_key_md5.o(.text+0x2d2):/tmp/squid2head/squid-2.HEAD-20071126/src/store_key_md5.c:155: undefined reference to `MD5Update' store_key_md5.o(.text+0x2fb):/tmp/squid2head/squid-2.HEAD-20071126/src/store_key_md5.c:156: undefined reference to `MD5Update' store_key_md5.o(.text+0x30c):/tmp/squid2head/squid-2.HEAD-20071126/src/store_key_md5.c:158: undefined reference to `MD5Final' store_key_md5.o(.text+0x32a):/tmp/squid2head/squid-2.HEAD-20071126/src/store_key_md5.c:147: undefined reference to `MD5Update' store_key_md5.o(.text+0x353):/tmp/squid2head/squid-2.HEAD-20071126/src/store_key_md5.c:148: undefined reference to `MD5Update' store_key_md5.o(.text+0x375):/tmp/squid2head/squid-2.HEAD-20071126/src/store_key_md5.c:150: undefined reference to `MD5Update' store_key_md5.o(.text+0x38f):/tmp/squid2head/squid-2.HEAD-20071126/src/store_key_md5.c:151: undefined reference to `MD5Update' wccp2.o(.text+0x208): In function `wccp2_update_md5_security': /tmp/squid2head/squid-2.HEAD-20071126/src/wccp2.c:472: undefined reference to `MD5Init' wccp2.o(.text+0x21a):/tmp/squid2head/squid-2.HEAD-20071126/src/wccp2.c:473: undefined reference to `MD5Update' wccp2.o(.text+0x229):/tmp/squid2head/squid-2.HEAD-20071126/src/wccp2.c:474: undefined reference to `MD5Update' wccp2.o(.text+0x235):/tmp/squid2head/squid-2.HEAD-20071126/src/wccp2.c:475: undefined reference to `MD5Final' wccp2.o(.text+0x1579): In function `wccp2HandleUdp': /tmp/squid2head/squid-2.HEAD-20071126/src/wccp2.c:514: undefined reference to `MD5Init' wccp2.o(.text+0x158b):/tmp/squid2head/squid-2.HEAD-20071126/src/wccp2.c:515: undefined reference to `MD5Update' wccp2.o(.text+0x159a):/tmp/squid2head/squid-2.HEAD-20071126/src/wccp2.c:516: undefined reference to `MD5Update' wccp2.o(.text+0x15a6):/tmp/squid2head/squid-2.HEAD-20071126/src/wccp2.c:517: undefined reference to `MD5Final' *** Error code 1 Stop in /tmp/squid2head/squid-2.HEAD-20071126/src. *** Error code 1 Stop in /tmp/squid2head/squid-2.HEAD-20071126/src. *** Error code 1 Stop in /tmp/squid2head/squid-2.HEAD-20071126/src. *** Error code 1 Stop in /tmp/squid2head/squid-2.HEAD-20071126. anp:/tmp/squid2head/squid-2.HEAD-20071126# -- Andreas
Re: [squid-users] looking for testers: google maps/earth/youtube caching
Andreas Pettersson wrote: 1. Does your changes incorporate patches that allows overriding the-nocache-header-which-exact-name-I-just-cannot-recall-at-the-moment that only squid3 can override? Sorry for the noise. I've now read up on what your changes includes and this question got answered. http://wiki.squid-cache.org/Features/StoreUrlRewrite -- Andreas
Re: [squid-users] looking for testers: google maps/earth/youtube caching
On Mon, Nov 26, 2007, Andreas Pettersson wrote: 2. I get these failures when trying to compile: store_key_md5.o(.text+0x12a): In function `storeKeyPrivate': /tmp/squid2head/squid-2.HEAD-20071126/src/store_key_md5.c:102: undefined reference to `MD5Init' [snip] There's some changes going on in squid-2.HEAD and squid-3 revolving around how the md5 libraries are compiled in. Compile with --enable-openssl so it includes the openssl md5 implementation and all should be fine. Adrian -- - Xenion - http://www.xenion.com.au/ - VPS Hosting - Commercial Squid Support -