Thread: [Rabbit-proxy-users] Image Problems
Brought to you by:
ernimril
From: Samuel H. <Sam...@Co...> - 2004-03-29 14:26:51
|
I am using Rabbit Proxy with the following versions... ImageMagick 5.5.7 java version "1.4.2_04" Rabbit 2.0.29 I am seeing problems when a browser has a cached image. For example, the browser will request the image from the proxy but it does not show up in the browser (red x). I can see in the logs the request but cannot see anything in error logs. If I clear the cache in the browser the image will show up. (The cached image is the compressed JPEG image) Also, occasionally I will get "gateway timeouts" and I click refresh in the browser the page shows up. I do get an error in these cases... [29/Mar/2004:13:40:23 GMT][WARN][Error writing request:java.net.SocketTimeoutException: Read timed out] My rabbit.conf file is below. Thanks... Sam ---------------------------------------------------------------- # This is a minimal file that will compress text/html and images # it will not remove advertising or background images. # For more information see rabbit.conf.orig. [rabbit.proxy.Proxy] loglevel=WARN #loglevel=DEBUG port=500 accesslog=logs/access_log errorlog=logs/error_log proxyhost= proxyport= proxyauth= maxconnections=500 logo=http://$proxy/FileSender/public/smallRabbIT2.gif allowSSL=443,444,445 # allow to these ports. serverIdentity=..__-DialUp-__.. StrictHTTP=false [Handlers] image/gif=rabbit.handler.ImageHandler image/jpeg=rabbit.handler.ImageHandler image/png=rabbit.handler.ImageHandler text/html=rabbit.handler.GZIPHandler text/html; charset\=iso-8859-1=rabbit.handler.GZIPHandler text/html; charset\=iso-8859-1=rabbit.handler.GZIPHandler text/plain=rabbit.handler.GZIPHandler [CacheHandlers] [rabbit.cache.NCache] directory=/usr/local/proxy/cache cachetime=48 maxsize=30000 [rabbit.io.ConnectionHandler] keepalivetime=30000 usepipelining=false [Filters] accessfilters=rabbit.filter.AccessFilter httpinfilters=rabbit.filter.HTTPBaseFilter,rabbit.filter.DontFilterFilte r httpoutfilters=rabbit.filter.HTTPBaseFilter [rabbit.filter.AccessFilter] accessfile=conf/access [rabbit.filter.HTTPBaseFilter] remove=Connection,Proxy-Connection,Keep-Alive,Public,Transfer-Encoding,U pgrade,Proxy-Authorization,TE,Proxy-Authenticate,Trailer userfile=conf/users cookieid=false [rabbit.filter.ProxyAuth] userfile=conf/allowed [rabbit.handler.ImageHandler] convert=/usr/local/bin/convert #convertargs=-quality 10 $filename[0] jpeg:$filename.c #convertargs=-quality 20 -flatten $filename jpeg:$filename.c #convertargs=-quality 20 -flatten $filename jpeg:$filename.c convertargs=-quality 30 -flatten $filename jpeg:$filename.c #convertargs=-quality 10 $filename jpeg:$filename.c [rabbit.handler.GZIPHandler] compress=true [rabbit.filter.DontFilterFilter] dontFilterURLmatching=login.passport.com,.jar,www.ureach.com dontFilterAgentsMatching=Java |
From: Robert O. <ro...@kh...> - 2004-03-29 19:40:25
|
Samuel Hill wrote: >I am using Rabbit Proxy with the following versions... >ImageMagick 5.5.7 >java version "1.4.2_04" >Rabbit 2.0.29 > >I am seeing problems when a browser has a cached image. >For example, the browser will request the image from the proxy but it >does not show up in the browser (red x). > > Ok, that means that you are using IE, which version? What happen if you enable http/1.1 and http/1.1 extensions? even for proxies? When you get a red X, how does the image in rabbits cache look like? (Get another client to access the admin pages and inspect the cache). I know that there have been some problems with using a browser cache with mixed compressed/uncompressed content. I do not see that however. (but then I do not use rabbit much theese days, since my slowest net connection is 2.5 Mb). >I can see in the logs the request but cannot see anything in error logs. > > What does the access log output? how many bytes were written? If you can find a repetable test where this happens I would like to know. If you also can snoop the network traffic I would be reallly glad (use ethereal or the HTTPSnoopFilter in rabbit). >If I clear the cache in the browser the image will show up. >(The cached image is the compressed JPEG image) > > Seems like the client sends a conditional request or a range request and rabbit returns something unexpected. >Also, occasionally I will get "gateway timeouts" and I click refresh in >the browser the page shows up. >I do get an error in these cases... >[29/Mar/2004:13:40:23 GMT][WARN][Error writing >request:java.net.SocketTimeoutException: Read timed out] > > Any special site that this happens on? Any repetable test case? That could be a problem where rabbit believes that the connection is persistent and sends a second request but the web server closes the connection. (Note that writing the request succeds so rabbit is quite convinced that the connection is open. RabbIT ought to handle closes here so it is only a warning, its allowed behaviour). Sorry for not being able to help more, but give me more information and Ill see what I can do. /robo |
From: Samuel H. <Sam...@Co...> - 2004-03-29 19:53:05
|
I am sorry for the lack of information. I am still gathering more. One thing that seems to have helped is this ... [rabbit.io.ConnectionHandler] keepalivetime=30000 usepipelining=true Piplining seems to have stopped at least some of the problems. For example, a lot of users with the same start page would open it at once. This would cause goofy problems and different people would get no images or even no page at all. Java would give an exception. This was a major problem that seems fixed because after setting pipelining to true I cannot get the red x on pages. I am testing this on a larger scale so I get useless information in large numbers. For example, page did not come up. I will test even further to see if I can duplicate more. Sam -----Original Message----- From: Robert Olofsson [mailto:ro...@kh...] Sent: Monday, March 29, 2004 2:40 PM To: Samuel Hill Cc: rab...@li... Subject: Re: Image Problems Samuel Hill wrote: >I am using Rabbit Proxy with the following versions... ImageMagick >5.5.7 java version "1.4.2_04" >Rabbit 2.0.29 > >I am seeing problems when a browser has a cached image. >For example, the browser will request the image from the proxy but it >does not show up in the browser (red x). > > Ok, that means that you are using IE, which version? What happen if you enable http/1.1 and http/1.1 extensions? even for proxies? When you get a red X, how does the image in rabbits cache look like? (Get another client to access the admin pages and inspect the cache). I know that there have been some problems with using a browser cache with mixed compressed/uncompressed content. I do not see that however. (but then I do not use rabbit much theese days, since my slowest net connection is 2.5 Mb). >I can see in the logs the request but cannot see anything in error >logs. > > What does the access log output? how many bytes were written? If you can find a repetable test where this happens I would like to know. If you also can snoop the network traffic I would be reallly glad (use ethereal or the HTTPSnoopFilter in rabbit). >If I clear the cache in the browser the image will show up. (The cached >image is the compressed JPEG image) > > Seems like the client sends a conditional request or a range request and rabbit returns something unexpected. >Also, occasionally I will get "gateway timeouts" and I click refresh in >the browser the page shows up. I do get an error in these cases... >[29/Mar/2004:13:40:23 GMT][WARN][Error writing >request:java.net.SocketTimeoutException: Read timed out] > > Any special site that this happens on? Any repetable test case? That could be a problem where rabbit believes that the connection is persistent and sends a second request but the web server closes the connection. (Note that writing the request succeds so rabbit is quite convinced that the connection is open. RabbIT ought to handle closes here so it is only a warning, its allowed behaviour). Sorry for not being able to help more, but give me more information and Ill see what I can do. /robo |
From: Samuel H. <Sam...@Co...> - 2004-03-29 20:31:26
|
BTW. With Mozilla I cannot get any errors at all. Bugs seem to be just with Explorer. I do not use Explorer (or dial-up) but many do. Sam -----Original Message----- From: rab...@li... [mailto:rab...@li...] On Behalf Of Robert Olofsson Sent: Monday, March 29, 2004 2:40 PM To: Samuel Hill Cc: rab...@li... Subject: [Rabbit-proxy-users] Re: Image Problems Samuel Hill wrote: >I am using Rabbit Proxy with the following versions... ImageMagick >5.5.7 java version "1.4.2_04" >Rabbit 2.0.29 > >I am seeing problems when a browser has a cached image. >For example, the browser will request the image from the proxy but it >does not show up in the browser (red x). > > Ok, that means that you are using IE, which version? What happen if you enable http/1.1 and http/1.1 extensions? even for proxies? When you get a red X, how does the image in rabbits cache look like? (Get another client to access the admin pages and inspect the cache). I know that there have been some problems with using a browser cache with mixed compressed/uncompressed content. I do not see that however. (but then I do not use rabbit much theese days, since my slowest net connection is 2.5 Mb). >I can see in the logs the request but cannot see anything in error >logs. > > What does the access log output? how many bytes were written? If you can find a repetable test where this happens I would like to know. If you also can snoop the network traffic I would be reallly glad (use ethereal or the HTTPSnoopFilter in rabbit). >If I clear the cache in the browser the image will show up. (The cached >image is the compressed JPEG image) > > Seems like the client sends a conditional request or a range request and rabbit returns something unexpected. >Also, occasionally I will get "gateway timeouts" and I click refresh in >the browser the page shows up. I do get an error in these cases... >[29/Mar/2004:13:40:23 GMT][WARN][Error writing >request:java.net.SocketTimeoutException: Read timed out] > > Any special site that this happens on? Any repetable test case? That could be a problem where rabbit believes that the connection is persistent and sends a second request but the web server closes the connection. (Note that writing the request succeds so rabbit is quite convinced that the connection is open. RabbIT ought to handle closes here so it is only a warning, its allowed behaviour). Sorry for not being able to help more, but give me more information and Ill see what I can do. /robo ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Rabbit-proxy-users mailing list Rab...@li... https://lists.sourceforge.net/lists/listinfo/rabbit-proxy-users |
From: Robert O. <ro...@kh...> - 2004-03-29 20:46:46
|
Samuel Hill wrote: >With Mozilla I cannot get any errors at all. >Bugs seem to be just with Explorer. >I do not use Explorer (or dial-up) but many do. > > Yes, many do, but I do not have windows so I dont. I am not sure how well behaved IE is when it comes to HTTP/1.1 for proxies... Anyway I will await more information. Glad to hear that pipelining seems to help. /robo |
From: Samuel H. <Sam...@Co...> - 2004-03-29 21:34:19
|
I am able to still reproduce this problem. I do not get an error in the error logs. IE 6.0. The Broken request is when I first go to the page and no images show up. They show 0 bytes. The second is when I go to the page and the images show up. ImageMagik does its thing. It is almost like Rabitt never sends it to ImageMagik to compress and comes up with nothing. I am not fully understanding that process. I have it set to cache (I think correctly) so it should have pulled it from cache on the server. ------------------------------ [rabbit.cache.NCache] directory=/usr/local/proxy/cache cachetime=48 maxsize=30000 [rabbit.io.ConnectionHandler] keepalivetime=30000 usepipelining=true ----------------------------- Here is what I get .... ------------------------------------------------------------------------ ------------------------------ ------- Broken Request -------- 127.0.0.1 - - 29/Mar/2004:20:57:17 GMT "GET http://www.westpa.net/ HTTP/1.1" 200 4415 127.0.0.1 - - 29/Mar/2004:20:57:34 GMT "GET http://www.westpa.net/images/square.gif HTTP/1.1" 200 0 127.0.0.1 - - 29/Mar/2004:20:57:34 GMT "GET http://www.westpa.net/images/v92_ready.gif HTTP/1.1" 200 0 127.0.0.1 - - 29/Mar/2004:20:57:34 GMT "GET http://www.westpa.net/images/WestPAnetlogo1.gif HTTP/1.1" 200 0 127.0.0.1 - - 29/Mar/2004:20:57:34 GMT "GET http://www.westpa.net/images/newsguy.gif HTTP/1.1" 200 0 127.0.0.1 - - 29/Mar/2004:20:57:34 GMT "GET http://www.westpa.net/images/webmail.gif HTTP/1.1" 200 0 127.0.0.1 - - 29/Mar/2004:20:57:34 GMT "GET http://www.westpa.net/images/signup.gif HTTP/1.1" 200 0 ------- Normal Request -------- 127.0.0.1 - - 29/Mar/2004:20:58:51 GMT "GET http://www.westpa.net/ HTTP/1.1" 200 4460 127.0.0.1 - - 29/Mar/2004:20:58:52 GMT "GET http://www.westpa.net/images/WestPAnetlogo1.gif HTTP/1.1" 200 4603 imageratio:10375/4603=0.44366264 127.0.0.1 - - 29/Mar/2004:20:58:52 GMT "GET http://www.westpa.net/images/webmail.gif HTTP/1.1" 200 1719 imageratio:4404/1719=0.39032698 127.0.0.1 - - 29/Mar/2004:20:58:52 GMT "GET http://www.westpa.net/images/v92_ready.gif HTTP/1.1" 200 2459 imageratio:8319/2459=0.2955884 127.0.0.1 - - 29/Mar/2004:20:58:52 GMT "GET http://www.westpa.net/images/square.gif HTTP/1.1" 200 44 127.0.0.1 - - 29/Mar/2004:20:58:52 GMT "GET http://www.westpa.net/images/newsguy.gif HTTP/1.1" 200 1439 imageratio:3471/1439=0.41457793 127.0.0.1 - - 29/Mar/2004:20:58:53 GMT "GET http://www.westpa.net/images/signup.gif HTTP/1.1" 200 2407 imageratio:4962/2407=0.48508665 ------------------------------------------------------------------------ ------------------------------ I am not sure exactly how to read the cache. I saw the web server java but never implemented it (because I could not find any documents). I sniffed traffic but could not see an http request to the webserver. I was trying www.westpa.net. All I saw was the request from my browser to Rabbit. How do I implement HTTPSnoopFilter ? My snooping seems to be t oo informative because of so many other things on that ethernet segment. Sam -----Original Message----- From: rab...@li... [mailto:rab...@li...] On Behalf Of Robert Olofsson Sent: Monday, March 29, 2004 3:47 PM To: Samuel Hill Cc: rab...@li... Subject: Re: [Rabbit-proxy-users] Re: Image Problems Samuel Hill wrote: >With Mozilla I cannot get any errors at all. >Bugs seem to be just with Explorer. >I do not use Explorer (or dial-up) but many do. > > Yes, many do, but I do not have windows so I dont. I am not sure how well behaved IE is when it comes to HTTP/1.1 for proxies... Anyway I will await more information. Glad to hear that pipelining seems to help. /robo ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Rabbit-proxy-users mailing list Rab...@li... https://lists.sourceforge.net/lists/listinfo/rabbit-proxy-users |
From: Robert O. <ro...@kh...> - 2004-03-29 22:01:48
|
Samuel Hill wrote: >I am able to still reproduce this problem. >I do not get an error in the error logs. > > That is most probably because there is no error.... >127.0.0.1 - - 29/Mar/2004:20:57:34 GMT "GET >http://www.westpa.net/images/square.gif HTTP/1.1" 200 0 > > A zero byte response means that rabbit does send an answear and that that answear tell the browser that the browser cache is ok.... (That is how it ought to be, maybe this is not the case, but I can not tell unless I see the full request that IE sends). >I am not sure exactly how to read the cache. >I saw the web server java but never implemented it (because I could not >find any documents). > > java rabbit.cache.CacheStatus /tmp/rcache/ It will dump a lot of data, try to find the one matching the url for the image you have problems with. Look for the Entry and GET/POST ENTRY: /tmp/rcache/0/4 GET http://images.slashdot.org/topics/topicgnome.gif HTTP/1.1 You will see the full request header and the full response header. >I sniffed traffic but could not see an http request to the webserver. >I was trying www.westpa.net. >All I saw was the request from my browser to Rabbit. > > The request that the browser sends rabbit is what I want. The response is also very nice to have. >How do I implement HTTPSnoopFilter ? >My snooping seems to be t oo informative because of so many other things >on that ethernet segment. > > httpinfilters=rabbit.filter.HTTPSnoop,rabbit.filter.HTTPBaseFilter and perhaps even on httpoutfilters (add it last for that one is better). This will dump a lot of data so you probably want to send output to a file. /robo |
From: Sam <Sam...@Co...> - 2004-03-30 02:11:50
|
All I really get is below. It does not write to /tmp it writes to the terminal but here it is. I have commented when I get a good response and one that shows up wrong in explorer.... When I get a good response is when I hold CTRL and hit refresh (ignore explorer cache I think) ------BAD RESPONSE ----------------------------------------------------------------------- GET http://www.westpa.net/ HTTP/1.1 Accept: */* Accept-Language: en-us Accept-Encoding: gzip, deflate User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 1.1.4322) Host: www.westpa.net Proxy-Connection: Keep-Alive Via: HTTP/1.1 RabbIT GET http://www.westpa.net/ HTTP/1.1 HTTP/1.1 200 OK Date: Tue, 30 Mar 2004 01:59:10 GMT Server: Apache/1.3.28 (Unix) mod_throttle/3.1.2 PHP/4.3.3 FrontPage/5.0.2.2623 Content-Type: text/html Age: 229 Via: HTTP/1.1 RabbIT Content-Encoding: gzip Content-Length: 4434 Proxy-Connection: Keep-Alive Connection: Keep-Alive GET http://www.westpa.net/images/WestPAnetlogo1.gif HTTP/1.1 Accept: */* Referer: http://www.westpa.net/ Accept-Language: en-us Accept-Encoding: gzip, deflate If-None-Match: "7fe663-2887-4061b1cd" User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 1.1.4322) Host: www.westpa.net Proxy-Connection: Keep-Alive Via: HTTP/1.1 RabbIT GET http://www.westpa.net/images/signup.gif HTTP/1.1 Accept: */* Referer: http://www.westpa.net/ Accept-Language: en-us Accept-Encoding: gzip, deflate If-None-Match: "7fe67e-1362-39eb04e1" User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 1.1.4322) Host: www.westpa.net Proxy-Connection: Keep-Alive Via: HTTP/1.1 RabbIT GET http://www.westpa.net/images/webmail.gif HTTP/1.1 Accept: */* Referer: http://www.westpa.net/ Accept-Language: en-us Accept-Encoding: gzip, deflate If-None-Match: "7fe687-1134-3caca90b" User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 1.1.4322) Host: www.westpa.net Proxy-Connection: Keep-Alive Via: HTTP/1.1 RabbIT GET http://www.westpa.net/images/v92_ready.gif HTTP/1.1 Accept: */* Referer: http://www.westpa.net/ Accept-Language: en-us Accept-Encoding: gzip, deflate If-None-Match: "7fe6ab-207f-4061c8a8" User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 1.1.4322) Host: www.westpa.net Proxy-Connection: Keep-Alive Via: HTTP/1.1 RabbIT GET http://www.westpa.net/images/newsguy.gif HTTP/1.1 Accept: */* Referer: http://www.westpa.net/ Accept-Language: en-us Accept-Encoding: gzip, deflate If-None-Match: "7fe680-d8f-4061c969" User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 1.1.4322) Host: www.westpa.net Proxy-Connection: Keep-Alive Via: HTTP/1.1 RabbIT GET http://www.westpa.net/images/square.gif HTTP/1.1 Accept: */* Referer: http://www.westpa.net/ Accept-Language: en-us Accept-Encoding: gzip, deflate If-None-Match: "7fe65d-2c-3980a6bf" User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 1.1.4322) Host: www.westpa.net Proxy-Connection: Keep-Alive Via: HTTP/1.1 RabbIT /BAD RESPONSE------------------------------------------------------------------------------------------- ----------------- GOOD RESPONSE --------------------------------------- GET http://www.westpa.net/ HTTP/1.1 Accept: */* Accept-Language: en-us Accept-Encoding: gzip, deflate User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 1.1.4322) Host: www.westpa.net Proxy-Connection: Keep-Alive Pragma: no-cache Via: HTTP/1.1 RabbIT GET http://www.westpa.net/ HTTP/1.1 HTTP/1.1 200 OK Date: Tue, 30 Mar 2004 02:09:40 GMT Server: Apache/1.3.28 (Unix) mod_throttle/3.1.2 PHP/4.3.3 FrontPage/5.0.2.2623 Transfer-Encoding: chunked Content-Type: text/html Age: 32 Via: HTTP/1.1 RabbIT GET http://www.westpa.net/ HTTP/1.1 Accept: */* Accept-Language: en-us Accept-Encoding: gzip, deflate User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 1.1.4322) Host: www.westpa.net Proxy-Connection: Keep-Alive Pragma: no-cache Via: HTTP/1.1 RabbIT GET http://www.westpa.net/ HTTP/1.1 HTTP/1.1 200 OK Date: Tue, 30 Mar 2004 02:09:40 GMT Server: Apache/1.3.28 (Unix) mod_throttle/3.1.2 PHP/4.3.3 FrontPage/5.0.2.2623 Transfer-Encoding: chunked Content-Type: text/html Age: 32 Via: HTTP/1.1 RabbIT GET http://www.westpa.net/images/WestPAnetlogo1.gif HTTP/1.1 Accept: */* Referer: http://www.westpa.net/ Accept-Language: en-us Accept-Encoding: gzip, deflate User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 1.1.4322) Host: www.westpa.net Proxy-Connection: Keep-Alive Pragma: no-cache Via: HTTP/1.1 RabbIT GET http://www.westpa.net/images/webmail.gif HTTP/1.1 Accept: */* Referer: http://www.westpa.net/ Accept-Language: en-us Accept-Encoding: gzip, deflate User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 1.1.4322) Host: www.westpa.net Proxy-Connection: Keep-Alive Pragma: no-cache Via: HTTP/1.1 RabbIT GET http://www.westpa.net/images/signup.gif HTTP/1.1 Accept: */* Referer: http://www.westpa.net/ Accept-Language: en-us Accept-Encoding: gzip, deflate User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 1.1.4322) Host: www.westpa.net Proxy-Connection: Keep-Alive Pragma: no-cache Via: HTTP/1.1 RabbIT GET http://www.westpa.net/images/v92_ready.gif HTTP/1.1 Accept: */* Referer: http://www.westpa.net/ Accept-Language: en-us Accept-Encoding: gzip, deflate User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 1.1.4322) Host: www.westpa.net Proxy-Connection: Keep-Alive Pragma: no-cache Via: HTTP/1.1 RabbIT GET http://www.westpa.net/images/webmail.gif HTTP/1.1 HTTP/1.1 200 OK Date: Tue, 30 Mar 2004 02:09:41 GMT Server: Apache/1.3.28 (Unix) mod_throttle/3.1.2 PHP/4.3.3 FrontPage/5.0.2.2623 Last-Modified: Thu, 04 Apr 2002 19:27:07 GMT ETag: "7fe687-1134-3caca90b" Accept-Ranges: bytes Content-Length: 4404 Content-Type: image/gif Age: 30 Via: HTTP/1.1 RabbIT GET http://www.westpa.net/images/v92_ready.gif HTTP/1.1 HTTP/1.1 200 OK Date: Tue, 30 Mar 2004 02:09:41 GMT Server: Apache/1.3.28 (Unix) mod_throttle/3.1.2 PHP/4.3.3 FrontPage/5.0.2.2623 Last-Modified: Wed, 24 Mar 2004 17:43:04 GMT ETag: "7fe6ab-207f-4061c8a8" Accept-Ranges: bytes Content-Length: 8319 Content-Type: image/gif Age: 1294 Via: HTTP/1.1 RabbIT GET http://www.westpa.net/images/signup.gif HTTP/1.1 HTTP/1.1 200 OK Date: Tue, 30 Mar 2004 02:09:41 GMT Server: Apache/1.3.28 (Unix) mod_throttle/3.1.2 PHP/4.3.3 FrontPage/5.0.2.2623 Last-Modified: Mon, 16 Oct 2000 13:38:41 GMT ETag: "7fe67e-1362-39eb04e1" Accept-Ranges: bytes Content-Length: 4962 Content-Type: image/gif Age: 30 Via: HTTP/1.1 RabbIT GET http://www.westpa.net/images/WestPAnetlogo1.gif HTTP/1.1 HTTP/1.1 200 OK Date: Tue, 30 Mar 2004 02:09:41 GMT Server: Apache/1.3.28 (Unix) mod_throttle/3.1.2 PHP/4.3.3 FrontPage/5.0.2.2623 Last-Modified: Wed, 24 Mar 2004 16:05:33 GMT ETag: "7fe663-2887-4061b1cd" Accept-Ranges: bytes Content-Length: 10375 Content-Type: image/gif Age: 30 Via: HTTP/1.1 RabbIT GET http://www.westpa.net/images/square.gif HTTP/1.1 Accept: */* Referer: http://www.westpa.net/ Accept-Language: en-us Accept-Encoding: gzip, deflate User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 1.1.4322) Host: www.westpa.net Proxy-Connection: Keep-Alive Pragma: no-cache Via: HTTP/1.1 RabbIT GET http://www.westpa.net/images/newsguy.gif HTTP/1.1 Accept: */* Referer: http://www.westpa.net/ Accept-Language: en-us Accept-Encoding: gzip, deflate User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 1.1.4322) Host: www.westpa.net Proxy-Connection: Keep-Alive Pragma: no-cache Via: HTTP/1.1 RabbIT GET http://www.westpa.net/images/square.gif HTTP/1.1 HTTP/1.1 200 OK Date: Tue, 30 Mar 2004 02:09:41 GMT Server: Apache/1.3.28 (Unix) mod_throttle/3.1.2 PHP/4.3.3 FrontPage/5.0.2.2623 Last-Modified: Thu, 27 Jul 2000 21:16:47 GMT ETag: "7fe65d-2c-3980a6bf" Accept-Ranges: bytes Content-Length: 44 Content-Type: image/gif Age: 32 Via: HTTP/1.1 RabbIT GET http://www.westpa.net/images/newsguy.gif HTTP/1.1 HTTP/1.1 200 OK Date: Tue, 30 Mar 2004 02:09:41 GMT Server: Apache/1.3.28 (Unix) mod_throttle/3.1.2 PHP/4.3.3 FrontPage/5.0.2.2623 Last-Modified: Wed, 24 Mar 2004 17:46:17 GMT ETag: "7fe680-d8f-4061c969" Accept-Ranges: bytes Content-Length: 3471 Content-Type: image/gif Age: 32 Via: HTTP/1.1 RabbIT /GOOD RESPONSE ------------------------------------------------------------------- Robert Olofsson wrote: > Samuel Hill wrote: > >> I am able to still reproduce this problem. >> I do not get an error in the error logs. >> >> > That is most probably because there is no error.... > >> 127.0.0.1 - - 29/Mar/2004:20:57:34 GMT "GET >> http://www.westpa.net/images/square.gif HTTP/1.1" 200 0 >> >> > A zero byte response means that rabbit does send an answear and that that > answear tell the browser that the browser cache is ok.... > (That is how it ought to be, maybe this is not the case, but I can not > tell > unless I see the full request that IE sends). > >> I am not sure exactly how to read the cache. >> I saw the web server java but never implemented it (because I could not >> find any documents). >> >> > java rabbit.cache.CacheStatus /tmp/rcache/ > It will dump a lot of data, try to find the one matching the url for > the image you > have problems with. Look for the Entry and GET/POST > > ENTRY: /tmp/rcache/0/4 > GET http://images.slashdot.org/topics/topicgnome.gif HTTP/1.1 > > You will see the full request header and the full response header. > >> I sniffed traffic but could not see an http request to the webserver. >> I was trying www.westpa.net. >> All I saw was the request from my browser to Rabbit. >> >> > The request that the browser sends rabbit is what I want. > The response is also very nice to have. > >> How do I implement HTTPSnoopFilter ? >> My snooping seems to be t oo informative because of so many other things >> on that ethernet segment. >> >> > httpinfilters=rabbit.filter.HTTPSnoop,rabbit.filter.HTTPBaseFilter > and perhaps even on httpoutfilters (add it last for that one is better). > > This will dump a lot of data so you probably want to send output to a > file. > > /robo > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > Rabbit-proxy-users mailing list > Rab...@li... > https://lists.sourceforge.net/lists/listinfo/rabbit-proxy-users > > |
From: Robert O. <ro...@kh...> - 2004-03-30 19:25:11
|
Sam wrote: > All I really get is below. > It does not write to /tmp it writes to the terminal but here it is. > I have commented when I get a good response and one that shows up > wrong in explorer.... > When I get a good response is when I hold CTRL and hit refresh (ignore > explorer cache I think) > > ------BAD RESPONSE > ----------------------------------------------------------------------- > GET http://www.westpa.net/ HTTP/1.1 > HTTP/1.1 200 OK > Content-Length: 4434 Ok, this one looks ok. Rabbit send data from cache. > GET http://www.westpa.net/images/WestPAnetlogo1.gif HTTP/1.1 > If-None-Match: "7fe663-2887-4061b1cd" Ok, IE sends a conditional request. Section 14.26 in rfc 2616 gives more info. Basically what this means is that IE has a cached version of that image and say "I want this image if it does not have any of the identites given (only gives one etag in this case)". RabbIT most probably answears with a 304 Not Modified as the rfc say it should. In that response RabbIT sends a full header with lots of cache information. It could be that rabbit say that the image is only 4711 bytes long and IE think that it should be 50 000 bytes... I need the response rabbit sends here to be sure. (Dang its one of the cases where the response does not go through the filters, so we do not see it here as we would like). The other answear would be a normal return 200 ok, with full data. Can you setup ethereal to trace a request that is bad? I do not have IE installed (well no windows so its kind of hard for me to test this). > GET http://www.westpa.net/images/signup.gif HTTP/1.1 > If-None-Match: "7fe67e-1362-39eb04e1" Same as above. The rest of the "bad response" are the same type of thing. > ----------------- GOOD RESPONSE --------------------------------------- > GET http://www.westpa.net/ HTTP/1.1 > GET http://www.westpa.net/images/WestPAnetlogo1.gif HTTP/1.1 No cache validation, only a normal request. > GET http://www.westpa.net/images/webmail.gif HTTP/1.1 > HTTP/1.1 200 OK And requests come back like they ought to.... /robo |
From: Sam <Sam...@Co...> - 2004-03-30 02:16:42
|
Below is a simple request that causes "gateway timeout" unless you call it to ignore cache (CTRL REFRESH). BTW. Thanks for your help. I am sure this is some Explorer bug but would like to get around it. I think we could set to never check for cache in explorer but I am not sure it is a good work around. ----------------------------------------------- GET http://www.samandskye.com/ HTTP/1.1 Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/x-gsarcade-launch, */* Accept-Language: en-us Accept-Encoding: gzip, deflate User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 1.1.4322) Host: www.samandskye.com Proxy-Connection: Keep-Alive Via: HTTP/1.1 RabbIT GET http://www.samandskye.com/ HTTP/1.1 HTTP/1.1 200 OK Date: Tue, 30 Mar 2004 02:12:14 GMT Server: Apache/1.3.28 (Unix) mod_throttle/3.1.2 PHP/4.3.3 FrontPage/5.0.2.2623 X-Powered-By: PHP/4.3.3 Transfer-Encoding: chunked Content-Type: text/html Age: 32 Via: HTTP/1.1 RabbIT GET http://www.samandskye.com/images/home.gif HTTP/1.1 Accept: */* Referer: http://www.samandskye.com/ Accept-Language: en-us Accept-Encoding: gzip, deflate User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 1.1.4322) Host: www.samandskye.com Proxy-Connection: Keep-Alive Via: HTTP/1.1 RabbIT GET http://www.samandskye.com/images/home.gif HTTP/1.1 HTTP/1.1 200 OK Date: Tue, 30 Mar 2004 02:12:14 GMT Server: Apache/1.3.28 (Unix) mod_throttle/3.1.2 PHP/4.3.3 FrontPage/5.0.2.2623 Last-Modified: Mon, 29 Dec 2003 23:39:35 GMT ETag: "6caf4c-2f9-3ff0bb37" Accept-Ranges: bytes Content-Length: 761 Content-Type: image/gif Age: 32 Via: HTTP/1.1 RabbIT GET http://www.samandskye.com/images/proposal2.gif HTTP/1.1 Accept: */* Referer: http://www.samandskye.com/ Accept-Language: en-us Accept-Encoding: gzip, deflate User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 1.1.4322) Host: www.samandskye.com Proxy-Connection: Keep-Alive Via: HTTP/1.1 RabbIT GET http://www.samandskye.com/images/proposal2.gif HTTP/1.1 HTTP/1.1 200 OK Date: Tue, 30 Mar 2004 02:12:14 GMT Server: Apache/1.3.28 (Unix) mod_throttle/3.1.2 PHP/4.3.3 FrontPage/5.0.2.2623 Last-Modified: Mon, 29 Dec 2003 23:39:35 GMT ETag: "6caf55-5d5-3ff0bb37" Accept-Ranges: bytes Content-Length: 1493 Content-Type: image/gif Age: 32 Via: HTTP/1.1 RabbIT GET http://www.samandskye.com/images/rings.gif HTTP/1.1 Accept: */* Referer: http://www.samandskye.com/ Accept-Language: en-us Accept-Encoding: gzip, deflate User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 1.1.4322) Host: www.samandskye.com Proxy-Connection: Keep-Alive Via: HTTP/1.1 RabbIT GET http://www.samandskye.com/images/stories.gif HTTP/1.1 Accept: */* Referer: http://www.samandskye.com/ Accept-Language: en-us Accept-Encoding: gzip, deflate User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 1.1.4322) Host: www.samandskye.com Proxy-Connection: Keep-Alive Via: HTTP/1.1 RabbIT GET http://www.samandskye.com/images/events.gif HTTP/1.1 Accept: */* Referer: http://www.samandskye.com/ Accept-Language: en-us Accept-Encoding: gzip, deflate User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 1.1.4322) Host: www.samandskye.com Proxy-Connection: Keep-Alive Via: HTTP/1.1 RabbIT GET http://www.samandskye.com/images/rings.gif HTTP/1.1 HTTP/1.1 200 OK Date: Tue, 30 Mar 2004 02:12:14 GMT Server: Apache/1.3.28 (Unix) mod_throttle/3.1.2 PHP/4.3.3 FrontPage/5.0.2.2623 Last-Modified: Wed, 31 Dec 2003 02:41:23 GMT ETag: "6caf69-5ad-3ff23753" Accept-Ranges: bytes Content-Length: 1453 Content-Type: image/gif Age: 32 Via: HTTP/1.1 RabbIT GET http://www.samandskye.com/images/photo.gif HTTP/1.1 Accept: */* Referer: http://www.samandskye.com/ Accept-Language: en-us Accept-Encoding: gzip, deflate User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 1.1.4322) Host: www.samandskye.com Proxy-Connection: Keep-Alive Via: HTTP/1.1 RabbIT GET http://www.samandskye.com/images/stories.gif HTTP/1.1 HTTP/1.1 200 OK Date: Tue, 30 Mar 2004 02:12:14 GMT Server: Apache/1.3.28 (Unix) mod_throttle/3.1.2 PHP/4.3.3 FrontPage/5.0.2.2623 Last-Modified: Mon, 29 Dec 2003 23:39:35 GMT ETag: "6caf5b-341-3ff0bb37" Accept-Ranges: bytes Content-Length: 833 Content-Type: image/gif Age: 32 Via: HTTP/1.1 RabbIT GET http://www.samandskye.com/images/photo.gif HTTP/1.1 HTTP/1.1 200 OK Date: Tue, 30 Mar 2004 02:12:14 GMT Server: Apache/1.3.28 (Unix) mod_throttle/3.1.2 PHP/4.3.3 FrontPage/5.0.2.2623 Last-Modified: Mon, 29 Dec 2003 23:39:35 GMT ETag: "6caf52-357-3ff0bb37" Accept-Ranges: bytes Content-Length: 855 Content-Type: image/gif Age: 32 Via: HTTP/1.1 RabbIT GET http://www.samandskye.com/images/events.gif HTTP/1.1 HTTP/1.1 200 OK Date: Tue, 30 Mar 2004 02:12:14 GMT Server: Apache/1.3.28 (Unix) mod_throttle/3.1.2 PHP/4.3.3 FrontPage/5.0.2.2623 Last-Modified: Mon, 29 Dec 2003 23:39:35 GMT ETag: "6caf46-315-3ff0bb37" Accept-Ranges: bytes Content-Length: 789 Content-Type: image/gif Age: 32 Via: HTTP/1.1 RabbIT GET http://www.samandskye.com/images/party.gif HTTP/1.1 Accept: */* Referer: http://www.samandskye.com/ Accept-Language: en-us Accept-Encoding: gzip, deflate User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 1.1.4322) Host: www.samandskye.com Proxy-Connection: Keep-Alive Via: HTTP/1.1 RabbIT GET http://www.samandskye.com/images/polls.gif HTTP/1.1 Accept: */* Referer: http://www.samandskye.com/ Accept-Language: en-us Accept-Encoding: gzip, deflate User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 1.1.4322) Host: www.samandskye.com Proxy-Connection: Keep-Alive Via: HTTP/1.1 RabbIT GET http://www.samandskye.com/images/visit.gif HTTP/1.1 Accept: */* Referer: http://www.samandskye.com/ Accept-Language: en-us Accept-Encoding: gzip, deflate User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 1.1.4322) Host: www.samandskye.com Proxy-Connection: Keep-Alive Via: HTTP/1.1 RabbIT GET http://www.samandskye.com/images/maps.gif HTTP/1.1 Accept: */* Referer: http://www.samandskye.com/ Accept-Language: en-us Accept-Encoding: gzip, deflate User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 1.1.4322) Host: www.samandskye.com Proxy-Connection: Keep-Alive Via: HTTP/1.1 RabbIT GET http://www.samandskye.com/images/more.gif HTTP/1.1 Accept: */* Referer: http://www.samandskye.com/ Accept-Language: en-us Accept-Encoding: gzip, deflate User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 1.1.4322) Host: www.samandskye.com Proxy-Connection: Keep-Alive Via: HTTP/1.1 RabbIT GET http://www.samandskye.com/images/polls.gif HTTP/1.1 HTTP/1.1 200 OK Date: Tue, 30 Mar 2004 02:12:14 GMT Server: Apache/1.3.28 (Unix) mod_throttle/3.1.2 PHP/4.3.3 FrontPage/5.0.2.2623 Last-Modified: Wed, 31 Dec 2003 02:32:32 GMT ETag: "6caf70-565-3ff23540" Accept-Ranges: bytes Content-Length: 1381 Content-Type: image/gif Age: 32 Via: HTTP/1.1 RabbIT GET http://www.samandskye.com/images/registry.gif HTTP/1.1 Accept: */* Referer: http://www.samandskye.com/ Accept-Language: en-us Accept-Encoding: gzip, deflate User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 1.1.4322) Host: www.samandskye.com Proxy-Connection: Keep-Alive Via: HTTP/1.1 RabbIT GET http://www.samandskye.com/images/honeymoon.gif HTTP/1.1 Accept: */* Referer: http://www.samandskye.com/ Accept-Language: en-us Accept-Encoding: gzip, deflate User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 1.1.4322) Host: www.samandskye.com Proxy-Connection: Keep-Alive Via: HTTP/1.1 RabbIT GET http://www.samandskye.com/images/maps.gif HTTP/1.1 HTTP/1.1 200 OK Date: Tue, 30 Mar 2004 02:12:14 GMT Server: Apache/1.3.28 (Unix) mod_throttle/3.1.2 PHP/4.3.3 FrontPage/5.0.2.2623 Last-Modified: Mon, 29 Dec 2003 23:39:35 GMT ETag: "6caf4e-31f-3ff0bb37" Accept-Ranges: bytes Content-Length: 799 Content-Type: image/gif Age: 32 Via: HTTP/1.1 RabbIT GET http://www.samandskye.com/images/party.gif HTTP/1.1 HTTP/1.1 200 OK Date: Tue, 30 Mar 2004 02:12:14 GMT Server: Apache/1.3.28 (Unix) mod_throttle/3.1.2 PHP/4.3.3 FrontPage/5.0.2.2623 Last-Modified: Mon, 29 Dec 2003 23:39:35 GMT ETag: "6caf51-324-3ff0bb37" Accept-Ranges: bytes Content-Length: 804 Content-Type: image/gif Age: 32 Via: HTTP/1.1 RabbIT GET http://www.samandskye.com/images/guest.gif HTTP/1.1 Accept: */* Referer: http://www.samandskye.com/ Accept-Language: en-us Accept-Encoding: gzip, deflate User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 1.1.4322) Host: www.samandskye.com Proxy-Connection: Keep-Alive Via: HTTP/1.1 RabbIT GET http://www.samandskye.com/images/contact.gif HTTP/1.1 Accept: */* Referer: http://www.samandskye.com/ Accept-Language: en-us Accept-Encoding: gzip, deflate User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 1.1.4322) Host: www.samandskye.com Proxy-Connection: Keep-Alive Via: HTTP/1.1 RabbIT GET http://www.samandskye.com/images/visit.gif HTTP/1.1 HTTP/1.1 200 OK Date: Tue, 30 Mar 2004 02:12:14 GMT Server: Apache/1.3.28 (Unix) mod_throttle/3.1.2 PHP/4.3.3 FrontPage/5.0.2.2623 Last-Modified: Mon, 29 Dec 2003 23:39:35 GMT ETag: "6caf5c-324-3ff0bb37" Accept-Ranges: bytes Content-Length: 804 Content-Type: image/gif Age: 32 Via: HTTP/1.1 RabbIT GET http://www.samandskye.com/images/header3.gif HTTP/1.1 Accept: */* Referer: http://www.samandskye.com/ Accept-Language: en-us Accept-Encoding: gzip, deflate User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 1.1.4322) Host: www.samandskye.com Proxy-Connection: Keep-Alive Via: HTTP/1.1 RabbIT GET http://www.samandskye.com/pics/niag9201.jpg HTTP/1.1 Accept: */* Referer: http://www.samandskye.com/ Accept-Language: en-us Accept-Encoding: gzip, deflate User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 1.1.4322) Host: www.samandskye.com Proxy-Connection: Keep-Alive Via: HTTP/1.1 RabbIT GET http://www.samandskye.com/images/honeymoon.gif HTTP/1.1 HTTP/1.1 200 OK Date: Tue, 30 Mar 2004 02:12:14 GMT Server: Apache/1.3.28 (Unix) mod_throttle/3.1.2 PHP/4.3.3 FrontPage/5.0.2.2623 Last-Modified: Sun, 22 Feb 2004 20:34:57 GMT ETag: "6cb0b1-642-40391271" Accept-Ranges: bytes Content-Length: 1602 Content-Type: image/gif Age: 32 Via: HTTP/1.1 RabbIT GET http://www.samandskye.com/images/registry.gif HTTP/1.1 HTTP/1.1 200 OK Date: Tue, 30 Mar 2004 02:12:14 GMT Server: Apache/1.3.28 (Unix) mod_throttle/3.1.2 PHP/4.3.3 FrontPage/5.0.2.2623 Last-Modified: Mon, 29 Dec 2003 23:39:35 GMT ETag: "6caf56-347-3ff0bb37" Accept-Ranges: bytes Content-Length: 839 Content-Type: image/gif Age: 32 Via: HTTP/1.1 RabbIT GET http://www.samandskye.com/images/header3.gif HTTP/1.1 HTTP/1.1 200 OK Date: Tue, 30 Mar 2004 02:12:14 GMT Server: Apache/1.3.28 (Unix) mod_throttle/3.1.2 PHP/4.3.3 FrontPage/5.0.2.2623 Last-Modified: Mon, 29 Dec 2003 23:39:35 GMT ETag: "6caf4b-992-3ff0bb37" Accept-Ranges: bytes Content-Length: 2450 Content-Type: image/gif Age: 32 Via: HTTP/1.1 RabbIT GET http://www.samandskye.com/images/more.gif HTTP/1.1 HTTP/1.1 200 OK Date: Tue, 30 Mar 2004 02:12:14 GMT Server: Apache/1.3.28 (Unix) mod_throttle/3.1.2 PHP/4.3.3 FrontPage/5.0.2.2623 Last-Modified: Mon, 29 Dec 2003 23:39:35 GMT ETag: "6caf4f-2f3-3ff0bb37" Accept-Ranges: bytes Content-Length: 755 Content-Type: image/gif Age: 32 Via: HTTP/1.1 RabbIT GET http://www.samandskye.com/images/guest.gif HTTP/1.1 HTTP/1.1 200 OK Date: Tue, 30 Mar 2004 02:12:14 GMT Server: Apache/1.3.28 (Unix) mod_throttle/3.1.2 PHP/4.3.3 FrontPage/5.0.2.2623 Last-Modified: Mon, 29 Dec 2003 23:39:35 GMT ETag: "6caf47-326-3ff0bb37" Accept-Ranges: bytes Content-Length: 806 Content-Type: image/gif Age: 32 Via: HTTP/1.1 RabbIT GET http://www.samandskye.com/images/contact.gif HTTP/1.1 HTTP/1.1 200 OK Date: Tue, 30 Mar 2004 02:12:14 GMT Server: Apache/1.3.28 (Unix) mod_throttle/3.1.2 PHP/4.3.3 FrontPage/5.0.2.2623 Last-Modified: Mon, 29 Dec 2003 23:39:34 GMT ETag: "6caf45-314-3ff0bb36" Accept-Ranges: bytes Content-Length: 788 Content-Type: image/gif Age: 32 Via: HTTP/1.1 RabbIT GET http://www.samandskye.com/pics/niag9201.jpg HTTP/1.1 HTTP/1.1 200 OK Date: Tue, 30 Mar 2004 02:12:14 GMT Server: Apache/1.3.28 (Unix) mod_throttle/3.1.2 PHP/4.3.3 FrontPage/5.0.2.2623 Last-Modified: Tue, 30 Dec 2003 04:14:32 GMT ETag: "bb0b2f-9c86-3ff0fba8" Accept-Ranges: bytes Content-Length: 40070 Content-Type: image/jpeg Age: 32 Via: HTTP/1.1 RabbIT GET http://www.samandskye.com/photoalbum/1.php HTTP/1.1 Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/x-gsarcade-launch, */* Referer: http://www.samandskye.com/ Accept-Language: en-us Accept-Encoding: gzip, deflate User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 1.1.4322) Host: www.samandskye.com Proxy-Connection: Keep-Alive Via: HTTP/1.1 RabbIT ------------------------------------------------------------------------------------------------------- Robert Olofsson wrote: > Samuel Hill wrote: > >> I am able to still reproduce this problem. >> I do not get an error in the error logs. >> >> > That is most probably because there is no error.... > >> 127.0.0.1 - - 29/Mar/2004:20:57:34 GMT "GET >> http://www.westpa.net/images/square.gif HTTP/1.1" 200 0 >> >> > A zero byte response means that rabbit does send an answear and that that > answear tell the browser that the browser cache is ok.... > (That is how it ought to be, maybe this is not the case, but I can not > tell > unless I see the full request that IE sends). > >> I am not sure exactly how to read the cache. >> I saw the web server java but never implemented it (because I could not >> find any documents). >> >> > java rabbit.cache.CacheStatus /tmp/rcache/ > It will dump a lot of data, try to find the one matching the url for > the image you > have problems with. Look for the Entry and GET/POST > > ENTRY: /tmp/rcache/0/4 > GET http://images.slashdot.org/topics/topicgnome.gif HTTP/1.1 > > You will see the full request header and the full response header. > >> I sniffed traffic but could not see an http request to the webserver. >> I was trying www.westpa.net. >> All I saw was the request from my browser to Rabbit. >> >> > The request that the browser sends rabbit is what I want. > The response is also very nice to have. > >> How do I implement HTTPSnoopFilter ? >> My snooping seems to be t oo informative because of so many other things >> on that ethernet segment. >> >> > httpinfilters=rabbit.filter.HTTPSnoop,rabbit.filter.HTTPBaseFilter > and perhaps even on httpoutfilters (add it last for that one is better). > > This will dump a lot of data so you probably want to send output to a > file. > > /robo > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > Rabbit-proxy-users mailing list > Rab...@li... > https://lists.sourceforge.net/lists/listinfo/rabbit-proxy-users > > |
From: Sam <Sam...@Co...> - 2004-03-30 02:31:51
|
I am wondering if one fine option may be to have a squid proxy be the "first hit". Squid then gets the page from Rabitt ignoring Explorers ability to examine its own cache (is that the problem?). I do not know if Squid and Explorer have a better relationship but I will try it. Sam Robert Olofsson wrote: > Samuel Hill wrote: > >> I am able to still reproduce this problem. >> I do not get an error in the error logs. >> >> > That is most probably because there is no error.... > >> 127.0.0.1 - - 29/Mar/2004:20:57:34 GMT "GET >> http://www.westpa.net/images/square.gif HTTP/1.1" 200 0 >> >> > A zero byte response means that rabbit does send an answear and that that > answear tell the browser that the browser cache is ok.... > (That is how it ought to be, maybe this is not the case, but I can not > tell > unless I see the full request that IE sends). > >> I am not sure exactly how to read the cache. >> I saw the web server java but never implemented it (because I could not >> find any documents). >> >> > java rabbit.cache.CacheStatus /tmp/rcache/ > It will dump a lot of data, try to find the one matching the url for > the image you > have problems with. Look for the Entry and GET/POST > > ENTRY: /tmp/rcache/0/4 > GET http://images.slashdot.org/topics/topicgnome.gif HTTP/1.1 > > You will see the full request header and the full response header. > >> I sniffed traffic but could not see an http request to the webserver. >> I was trying www.westpa.net. >> All I saw was the request from my browser to Rabbit. >> >> > The request that the browser sends rabbit is what I want. > The response is also very nice to have. > >> How do I implement HTTPSnoopFilter ? >> My snooping seems to be t oo informative because of so many other things >> on that ethernet segment. >> >> > httpinfilters=rabbit.filter.HTTPSnoop,rabbit.filter.HTTPBaseFilter > and perhaps even on httpoutfilters (add it last for that one is better). > > This will dump a lot of data so you probably want to send output to a > file. > > /robo > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > Rabbit-proxy-users mailing list > Rab...@li... > https://lists.sourceforge.net/lists/listinfo/rabbit-proxy-users > > |
From: Samuel H. <Sam...@Co...> - 2004-03-30 16:22:59
|
Nope. The only solution seems to be to tell rabbit to not cache anything. Just compress images and text. It then returns - instead of 0 byte figures in the http response. Could this be something that could be changed in the future or to correct this problem? When Explorer verifies the cache it gets a "-" instead of "0" if the cache is good. Sam -----Original Message----- From: rab...@li... [mailto:rab...@li...] On Behalf Of Sam Sent: Monday, March 29, 2004 9:32 PM To: Robert Olofsson Cc: rab...@li... Subject: Re: [Rabbit-proxy-users] Re: Image Problems I am wondering if one fine option may be to have a squid proxy be the "first hit". Squid then gets the page from Rabitt ignoring Explorers ability to examine its own cache (is that the problem?). I do not know if Squid and Explorer have a better relationship but I will try it. Sam Robert Olofsson wrote: > Samuel Hill wrote: > >> I am able to still reproduce this problem. >> I do not get an error in the error logs. >> >> > That is most probably because there is no error.... > >> 127.0.0.1 - - 29/Mar/2004:20:57:34 GMT "GET >> http://www.westpa.net/images/square.gif HTTP/1.1" 200 0 >> >> > A zero byte response means that rabbit does send an answear and that > that answear tell the browser that the browser cache is ok.... (That > is how it ought to be, maybe this is not the case, but I can not tell > unless I see the full request that IE sends). > >> I am not sure exactly how to read the cache. >> I saw the web server java but never implemented it (because I could >> not find any documents). >> >> > java rabbit.cache.CacheStatus /tmp/rcache/ > It will dump a lot of data, try to find the one matching the url for > the image you > have problems with. Look for the Entry and GET/POST > > ENTRY: /tmp/rcache/0/4 > GET http://images.slashdot.org/topics/topicgnome.gif HTTP/1.1 > > You will see the full request header and the full response header. > >> I sniffed traffic but could not see an http request to the webserver. >> I was trying www.westpa.net. All I saw was the request from my >> browser to Rabbit. >> >> > The request that the browser sends rabbit is what I want. > The response is also very nice to have. > >> How do I implement HTTPSnoopFilter ? >> My snooping seems to be t oo informative because of so many other >> things on that ethernet segment. >> >> > httpinfilters=rabbit.filter.HTTPSnoop,rabbit.filter.HTTPBaseFilter > and perhaps even on httpoutfilters (add it last for that one is > better). > > This will dump a lot of data so you probably want to send output to a > file. > > /robo > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > Rabbit-proxy-users mailing list > Rab...@li... > https://lists.sourceforge.net/lists/listinfo/rabbit-proxy-users > > ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Rabbit-proxy-users mailing list Rab...@li... https://lists.sourceforge.net/lists/listinfo/rabbit-proxy-users |
From: Samuel H. <Sam...@Co...> - 2004-03-30 17:14:21
|
Any ideas? I am sure it is when Explorer checks the cache and the following gets returned... 63.170.141.40 - - 30/Mar/2004:17:10:15 GMT "GET http://www.westpa.net/ HTTP/1.1" 200 4430 63.170.141.40 - - 30/Mar/2004:17:10:15 GMT "GET http://www.westpa.net/images/WestPAnetlogo1.gif HTTP/1.1" 200 0 63.170.141.40 - - 30/Mar/2004:17:10:15 GMT "GET http://www.westpa.net/images/signup.gif HTTP/1.1" 200 0 63.170.141.40 - - 30/Mar/2004:17:10:15 GMT "GET http://www.westpa.net/images/webmail.gif HTTP/1.1" 200 0 63.170.141.40 - - 30/Mar/2004:17:10:15 GMT "GET http://www.westpa.net/images/v92_ready.gif HTTP/1.1" 200 0 63.170.141.40 - - 30/Mar/2004:17:10:15 GMT "GET http://www.westpa.net/images/square.gif HTTP/1.1" 200 0 63.170.141.40 - - 30/Mar/2004:17:10:15 GMT "GET http://www.westpa.net/images/newsguy.gif HTTP/1.1" 200 0 The 0 at the end, whatever it means, is trouble. If I set Explorer to never check for newer version I do not have the problem with images not showing up. Disabling the local cache on explorer is a bad way to go. Local cache is far better than remote cache. Sam -----Original Message----- From: rab...@li... [mailto:rab...@li...] On Behalf Of Samuel Hill Sent: Tuesday, March 30, 2004 11:19 AM To: 'Robert Olofsson' Cc: rab...@li... Subject: RE: [Rabbit-proxy-users] Re: Image Problems Nope. The only solution seems to be to tell rabbit to not cache anything. Just compress images and text. It then returns - instead of 0 byte figures in the http response. Could this be something that could be changed in the future or to correct this problem? When Explorer verifies the cache it gets a "-" instead of "0" if the cache is good. Sam -----Original Message----- From: rab...@li... [mailto:rab...@li...] On Behalf Of Sam Sent: Monday, March 29, 2004 9:32 PM To: Robert Olofsson Cc: rab...@li... Subject: Re: [Rabbit-proxy-users] Re: Image Problems I am wondering if one fine option may be to have a squid proxy be the "first hit". Squid then gets the page from Rabitt ignoring Explorers ability to examine its own cache (is that the problem?). I do not know if Squid and Explorer have a better relationship but I will try it. Sam Robert Olofsson wrote: > Samuel Hill wrote: > >> I am able to still reproduce this problem. >> I do not get an error in the error logs. >> >> > That is most probably because there is no error.... > >> 127.0.0.1 - - 29/Mar/2004:20:57:34 GMT "GET >> http://www.westpa.net/images/square.gif HTTP/1.1" 200 0 >> >> > A zero byte response means that rabbit does send an answear and that > that answear tell the browser that the browser cache is ok.... (That > is how it ought to be, maybe this is not the case, but I can not tell > unless I see the full request that IE sends). > >> I am not sure exactly how to read the cache. >> I saw the web server java but never implemented it (because I could >> not find any documents). >> >> > java rabbit.cache.CacheStatus /tmp/rcache/ > It will dump a lot of data, try to find the one matching the url for > the image you have problems with. Look for the Entry and GET/POST > > ENTRY: /tmp/rcache/0/4 > GET http://images.slashdot.org/topics/topicgnome.gif HTTP/1.1 > > You will see the full request header and the full response header. > >> I sniffed traffic but could not see an http request to the webserver. >> I was trying www.westpa.net. All I saw was the request from my >> browser to Rabbit. >> >> > The request that the browser sends rabbit is what I want. > The response is also very nice to have. > >> How do I implement HTTPSnoopFilter ? >> My snooping seems to be t oo informative because of so many other >> things on that ethernet segment. >> >> > httpinfilters=rabbit.filter.HTTPSnoop,rabbit.filter.HTTPBaseFilter > and perhaps even on httpoutfilters (add it last for that one is > better). > > This will dump a lot of data so you probably want to send output to a > file. > > /robo > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > Rabbit-proxy-users mailing list > Rab...@li... > https://lists.sourceforge.net/lists/listinfo/rabbit-proxy-users > > ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Rabbit-proxy-users mailing list Rab...@li... https://lists.sourceforge.net/lists/listinfo/rabbit-proxy-users ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Rabbit-proxy-users mailing list Rab...@li... https://lists.sourceforge.net/lists/listinfo/rabbit-proxy-users |
From: Robert O. <ro...@kh...> - 2004-03-30 20:05:32
|
Samuel Hill wrote: >63.170.141.40 - - 30/Mar/2004:17:10:15 GMT "GET >http://www.westpa.net/images/WestPAnetlogo1.gif HTTP/1.1" 200 0 > Odd, When I try to simulate what you do (with telnet and the traces you send), I get a "304 -" logged. I will try to look a bit more at this, but without more traces its hard for me. /robo |
From: Sam <Sam...@Co...> - 2004-03-31 00:43:16
|
Listed is a sniff of when Explorer is first opens but shows no images. The page is in explorers cache. Sorry there is a lot of binary data. --------------------------------------------------------------- ..¹.ðÁ. Ìbjð..E...üX@.@.ªEÀ¨0.Ana&...ô㹈.$¢C.P.OØ...GET http://www.westpa.net/ HTTP/1.1. Accept: */*. Accept-Language: en-us. Accept-Encoding: gzip, deflate. User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 1.1.4322). Host: www.westpa.net. Proxy-Connection: Keep-Alive. . il.westpa.net, + --------------------------------------------------------------- . Ìbjð..¹.ðÁ..E..N.€@.<.{ëAna&À¨0..ô..$¢C.㹉.P.€Rã…..HTTP/1.1 200 OK. Date: Wed, 31 Mar 2004 00:15:01 GMT. Server: Apache/1.3.28 (Unix) mod_throttle/3.1.2 PHP/4.3.3 FrontPage/5.0.2.2623. Content-Type: text/html. Age: 1045. Via: HTTP/1.1 RabbIT. Content-Encoding: gzip. Content-Length: 4424. Proxy-Connection: Keep-Alive. Connection: Keep-Alive. . .net,S=90 --------------------------------------------------------------- . Ìbjð..¹.ðÁ..E..Ü.ˆ@.<.wUAna&À¨0..ô..$¢Iñ㹉.P.€RÙm..w.™¸.¾.Ëó.–¿”÷͈ÑÐZ –w.Oß&dò§Ñeu2ú¯.ˆìî¿G˜ÙTÉÃà.®6É`òøpó8ü6†U`ဗ.geÅÿþ.çUI9Lrã‡Ë.äô:äñ·«û;€ý2øú.n¿<ê/]âØ÷ðµ&’Ôß©^•.R/TˆkßÃè;^.”/ò.õ¢BʼÆ./·>í¨ñë›-.Þÿg.éÍ6o‹í.5/ï$YéKã´C`. /½.¬vðVb¥¯µ‹¿Â†ÑS.IN¬$À•Ô´ùâ*l)}¤Ø}z1¹Æ_Ïø.3¸¾Hž+$Ÿ‡.rá¾\=øð4ñæ..¦“<³åy%fžzJœÁ><:4Ô.siT¾.˜KäDbW’Ç©3¤)~Ç4›–.òB^IæÍ¡å’¼T…Êê.;J˜.õÃÁpp:Ê@öŽópôŠ@.»^OW..¹.͞˜–>•...6.ƒõ4(._>ñmºÅÄb²b.^Þ£‹#ÝÖ.é´Z=. M³H#§.‰þèÔí¡·Ý9.ЛÊã4¿8tµØX.»×.ÍèÚ.!¾R²‹þMòŒèÐ0°Œ.¹i,Y ¤È.ºî»©Óiá+ƒ3s˜.)4q.t.†ÙP$ÀÀ§_ É o&i.±0@Ï®.BŸó.Œ‰xA#Gį ~Øz.êÒÖd©l.)²á³ƒ’+Ù.z§J.¬Jºé..ªùÄv.Á‰.u Ó¥AÄΈ¼Ò+ÿmþÉV[,¦.Ç..¬bÿaµœ²°ýFï& r….¯©‘å{ˆ...[¬Pè°¨çù+,`—ÑñâзW.¶#‰?ƒÌ1/â›.™Nõ‰êØŠ"Ì¿×.ôzCp™J.ª¿pÍ.‰jÉ.ÒÓ.zP}¤.D¼„ôѤ.É.‘..i.ñ®È.™t;ž..QTt[¶¿ñ\È‚.Ï #.0`ø!‰%‹xXäÄ0ˆE^-&!û× òk`.1Ä.@s¼(†À.ÞÛBxëÍ.0’‡âVR.h.„½dɨ..0KHys”.¸A@6™‡4X8V.j.°SŒg.ûg.Å#l.WS6óCÖ€ü‚PÀÒõý.ˆƒ....Ð,.0?...r.Ì.È ..¥ášà±MŽ•.2 I–ôG‘‰À¢9ó`¬ën.]C.ÈK/B|IÜ4íßÍ8Ï.5.õ.Û@œ³f87%.¼ÞÈ-˜I÷“ÿ>ò. äÇ5Y³.³2 ¿Ô«.µ™ç]‰µãÐúŒ..w{F¤)¥¥@«l¼!?3L·Ø’há¯\Û¨@ÖÂ÷AK3ëý]01™[.(.¦G ZàsPØ\-.F/£g.ù”+4.«¶eEÔÏA謩..~.‹…ïQ.$1C.¢É£—=G.ƒd.ÈÊP÷*Ñ{1ü. Éû.Þ)‹Þé..6ô—ŽEÆh ÷cƒ¸²òF‰Äw.Ÿ¹pºg Fw4ts³.}SÎyw»‡UáX.ÿÚŽÇ´ï{.b‚µÞ„.\¡¡zA.ø99ë¶è.‡.ÃU°Ü.€æ6.”.Òé}(!c.¯ÂŒ€S©.b{.êæèÙ […ý.ò!Ö‚òO´.#™5™''pUÎGG»Ú‘|÷‡º‹A¼ÿT$ÇÔ.èß8°.`.i.Ž.l“D”ÿ-¬.!˹۲bn±6ZÖ;.À‚Y‹È.®.jÝü“i.ôÚ¹.d÷Xï9¶•豫ä‹.™å»«µV-.IÞK+Æ{1k.f™”..~“‚Á.ש´j‰.È€Õ²d±§eè’úÉõ;.Ÿü"`‰_ï°f˜¤.´f..s5ÎGvdÁÊê–Dÿú.é.äØS'Nƒþ.¶‰.ÈÄ.à÷ot.œÃ5.ë[i«ÿ;™ÝnýYb|·~ð.ÔŸ¡¥Ý“·’tÓºiZFÍ|-0Åô.€sàÌ.ö!1Þ¾ Îäm.ÕiÈØ.,ð!èq!üÁ–.V¼¯øã!]J..ä¬|.yÂ.ÉWñ&ñ..ïnK..µÔ¡Ž.ß‹ ì¶Ét«D„<%(ǵ‘†.¿ --------------------------------------------------------------- . Ìbjð..¹.ðÁ..E..Ü.‰@.<.wTAna&À¨0..ô..$¢O¥ã¹‰.P.€R¢²..bÅèùíü..|~™Û.þF¢µ'z.`‡Q².¯Ìr.| /Å슬¼.õ0.[N‘EX6˜—ìöØ%þ.t*Ü–IöΛú?ɘ.îišÅã.¦..b*..xîX‹0[¾y.Œƒ òÁ|‘§ˆÉžŠèÓ{$øFy¡.?#íN£.Äç¤(ÂsR„...—†Ì+1äæˆùÁ’á.á‡<}„kL“.ÄßÉ‹.A†h*..,.2..¾x;.ë‰P£«ýg|F†Ø¿ºá0É.üò“”Gš~ü%|HòX..WHŒ."._”ï`.¶ú.åÍ£5deŒˆ}.“—..1I}öü.×é.øGQ|.ß§Û!Å~.5Øòײ³7y!|wç.u7ïHcI¢%x.äe#õ>’ot.¹õ¢<¹ {–¡¶¾p|Ø:½.XùÚ,ÔÚmSŒ™`![....Ô¦~.v]˵äÓ._×Ô®H»!æ.êîþK†ËaÆ4¸ÄÖ`m÷¦Ô@[±/XË"÷°µ áçë.³—%<©Ìxrøÿ…..¥.‡¯Ò…îñ>e0O´7Ž7ï:K.Yß.YPpe..aûzBã‡qÙJ)·„.ÑO.«y.ùIîíÑG§ÎÈ™a>‹.QŸÚãEsµ}Ó¼f3ºrã. ..á.®.zß¼/ãëÃ_$`±#=.°.I™ˆeË$.±!P).rÞïËÒUš—éE.3د¾ÅK¶.,“c\ù.`Å—Ù¹2ì^ÞÉfºÒg/k·O.ii±.“Ž6né7.ºÙy2&1Ÿ¬ˆ“ÃÉ8‹z„!«Vì‘„qWâ.›Âö^ìƒ.¥M±\SP•ßx5Å.c`.d.o@hªJ*_yÖt@Ùe¯ouNgº§...1 þ€8&>Pßü;D-.³aÈ.Xî«€n‰81Á..CŠOúV»D)ô..X[K·:ì8Û¤–ts;Íá“S™ô´UѪ£Êeš~³Ão¦ct¯Å6Qcîûs.¼xôz˨Íù‚e.Ý.¾®mÝ´æN}êx|s‰.©£š.\l®Ä/.û¬þ.¡øåh.äD.¦ü.ò.ÑòȽˆNiÝ0íëê%Ÿ·n"S¥;.’6oZùÑι¼..”Á<ôWAnct®'.‡‚¤ì(^Ífi”.i5.ã“Ü83u<IÉC.».,‘¢.¦Íטwn0‘3ƒK.+aZõ]·ÎÑ|fK_Ù‹¡lÆ6©.$ÌN}í„Ù9.¼Iúœ·>ýÉöêgaßqV.y .*.¦†ã§Á½.).._½óMÝ—V¢¦¦Ž˜6Ý%.$sµUNv¡eá°.•Z²÷îHYç.ósáÛD¼¾KWrewyâK;Wš÷k»—Õ=m.½ÁU¾`¶Z§§ê‚yT€žõAˆòyMǨ¼Ôll\h.hÛ.... .ˆL1ð‘…¥lèã*.®³¡.‘¦.-%.%Ç=´v§épœ¼á.àEP.þ°µ.†~H|ËZ…X.Ü,.i.úhêhk¸–ØNȬØY³ÿ%'Ív³Õj.uÕ.ªbj¼*G.Íͳ..¯;°—Û6(Òžý.õ ÇöøÉuô.uÜy±Ææ0?µ^Ÿl.¦œaÇ.À|m<'Ö‚†.‹/7_ø›¨Þî.vªýüAeÞÉJN.j..‹.Ã[.VJûÏéù:ãÙ?ñåÅ",l©’{iå9Wq.±h<úA.ù¾Ñž2VàÁ~KM—vo{LOLé.Ùiá.È.x’7†Å)&O.ýƒ*ÿN`Ð í£îÑ!‡ñ´ð=v†É)i×OÚ½úqç¨~Ú;ê .Åc¯..üÌîÖO.O.‹#q/._"..‘â.|éø87… $“åOÐ}æÿÀ ;G·Š°®—”šÅy¾ÄÔe%¸"¶#ïòh5ÎË.‘õ.Á·šàm[ƒÙ‚-¯…ß>·NÏ+¸‹ÔÀ Mr¹ï.@÷3ˆ 8.%I)ÚdײÜðÌí85úâ.fe¥1˜¾æ,Œ^&= --------------------------------------------------------------- . Ìbjð..¹.ðÁ..E..T.Š@.<.|ÛAna&À¨0..ô..$¢UY㹉.P.€Reì..üÓ€¿ñ½òä.«..ò€ÿ.à.üm½ÞO¾Á¶³Òè˜0ºÄoÿ.‘.Z.œC..N‘EX6˜—ìöØ%þ.ó --------------------------------------------------------------- ..¹.ðÁ. Ìbjð..E..(üb@.@.«.À¨0.Ana&...ô㹉.$¢U…P.OØÑÏ..1 --------------------------------------------------------------- . Ìbjð..¹.ðÁ..E..(ÔR@.<..?ª.À¨0..n...Y㮾íP.DpC.........0 --------------------------------------------------------------- ..¹.ðÁ. Ìbjð..E..”üc@.@.©ÁÀ¨0.Ana&...ô㹉.$¢U…P.O؆...GET http://www.westpa.net/images/WestPAnetlogo1.gif HTTP/1.1. Accept: */*. Referer: http://www.westpa.net/. Accept-Language: en-us. Accept-Encoding: gzip, deflate. If-Modified-Since: Wed, 24 Mar 2004 16:05:33 GMT; length=5284. User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 1.1.4322). Host: www.westpa.net. Proxy-Connection: Keep-Alive. . "÷í --------------------------------------------------------------- ..¹.ðÁ. Ìbjð..E..4üe@.@.«.À¨0.Ana&. .ô㻫ý....€.OØèI.....´........ --------------------------------------------------------------- ..¹.ðÁ. Ìbjð..E..4üg@.@.«.À¨0.Ana&...ô㼡6....€.OØó......´......... --------------------------------------------------------------- . Ìbjð..¹.ðÁ..E..7.£@.<.{ßAna&À¨0..ô..$¢U…㹊|P.€R*J..HTTP/1.1 200 OK. Date: Wed, 31 Mar 2004 00:15:03 GMT. Server: Apache/1.3.28 (Unix) mod_throttle/3.1.2 PHP/4.3.3 FrontPage/5.0.2.2623. ETag: "7fe663-2887-4061b1cd". Age: 590. Via: HTTP/1.1 RabbIT. Content-Length: 0. Proxy-Connection: Keep-Alive. Connection: Keep-Alive. . i- --------------------------------------------------------------- . Ìbjð..¹.ðÁ..E..0.§@.<.|âAna&À¨0..ô. ë@..㻫þp.ú.g¿.....´....2 --------------------------------------------------------------- ..¹.ðÁ. Ìbjð..E..(üi@.@.«'À¨0.Ana&. .ô㻫þë@..P.OØ=.. --------------------------------------------------------------- . Ìbjð..¹.ðÁ..E..0.©@.<.|àAna&À¨0..ô..ºÔ–ý㼡7p.ú........´.... --------------------------------------------------------------- ..¹.ðÁ. Ìbjð..E..(üj@.@.«&À¨0.Ana&...ô㼡7ºÔ–þP.OØáö..1 --------------------------------------------------------------- ..¹.ðÁ. Ìbjð..E..Œük@.@.©ÁÀ¨0.Ana&. .ô㻫þë@..P.OØ }..GET http://www.westpa.net/images/signup.gif HTTP/1.1. Accept: */*. Referer: http://www.westpa.net/. Accept-Language: en-us. Accept-Encoding: gzip, deflate. If-Modified-Since: Mon, 16 Oct 2000 13:38:41 GMT; length=2773. User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 1.1.4322). Host: www.westpa.net. Proxy-Connection: Keep-Alive. . e. . Ë"÷°7 --------------------------------------------------------------- ..¹.ðÁ. Ìbjð..E..üm@.@.©¼À¨0.Ana&...ô㹊|$¢V”P.NÉÆm..GET http://www.westpa.net/images/v92_ready.gif HTTP/1.1. Accept: */*. Referer: http://www.westpa.net/. Accept-Language: en-us. Accept-Encoding: gzip, deflate. If-Modified-Since: Wed, 24 Mar 2004 17:43:04 GMT; length=2816. User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 1.1.4322). Host: www.westpa.net. Proxy-Connection: Keep-Alive. . --------------------------------------------------------------- ..¹.ðÁ. Ìbjð..E..üo@.@.©¼À¨0.Ana&...ô㼡7ºÔ–þP.OØôC..GET http://www.westpa.net/images/webmail.gif HTTP/1.1. Accept: */*. Referer: http://www.westpa.net/. Accept-Language: en-us. Accept-Encoding: gzip, deflate. If-Modified-Since: Thu, 04 Apr 2002 19:27:07 GMT; length=1970. User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 1.1.4322). Host: www.westpa.net. Proxy-Connection: Keep-Alive. . live --------------------------------------------------------------- ..¹.ðÁ. Ìbjð..E..4üq@.@.«.À¨0.Ana&...ôã½›ø....€.OØøJ.....´........ww.westpa.net/ --------------------------------------------------------------- ..¹.ðÁ. Ìbjð..E..4üs@.@.«.À¨0.Ana&...ôã¾1Ï....€.OØbr.....´........5 --------------------------------------------------------------- . Ìbjð..¹.ðÁ..E..7.®@.<.{ÔAna&À¨0..ô. ë@..ã»bP.€R]:..HTTP/1.1 200 OK. Date: Wed, 31 Mar 2004 00:15:03 GMT. Server: Apache/1.3.28 (Unix) mod_throttle/3.1.2 PHP/4.3.3 FrontPage/5.0.2.2623. ETag: "7fe67e-1362-39eb04e1". Age: 590. Via: HTTP/1.1 RabbIT. Content-Length: 0. Proxy-Connection: Keep-Alive. Connection: Keep-Alive. . - --------------------------------------------------------------- . Ìbjð..¹.ðÁ..E..7.¯@.<.{ÓAna&À¨0..ô..$¢V”㹋ãP.€R...HTTP/1.1 200 OK. Date: Wed, 31 Mar 2004 00:15:03 GMT. Server: Apache/1.3.28 (Unix) mod_throttle/3.1.2 PHP/4.3.3 FrontPage/5.0.2.2623. ETag: "7fe6ab-207f-4061c8a8". Age: 592. Via: HTTP/1.1 RabbIT. Content-Length: 0. Proxy-Connection: Keep-Alive. Connection: Keep-Alive. . - --------------------------------------------------------------- . Ìbjð..¹.ðÁ..E..0.°@.<.|ÙAna&À¨0..ô..ýˆ,Sã½›ùp.ú.9;.....´.... --------------------------------------------------------------- ..¹.ðÁ. Ìbjð..E..(üu@.@.«.À¨0.Ana&...ôã½›ùýˆ,TP.OØ.)..2 --------------------------------------------------------------- ..¹.ðÁ. Ìbjð..E..Šüv@.@.©¸À¨0.Ana&...ôã½›ùýˆ,TP.OØ-!..GET http://www.westpa.net/images/square.gif HTTP/1.1. Accept: */*. Referer: http://www.westpa.net/. Accept-Language: en-us. Accept-Encoding: gzip, deflate. If-Modified-Since: Thu, 27 Jul 2000 21:16:47 GMT; length=44. User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 1.1.4322). Host: www.westpa.net. Proxy-Connection: Keep-Alive. . . live --------------------------------------------------------------- . Ìbjð..¹.ðÁ..E..0.±@.<.|ØAna&À¨0..ô.."9Dã¾1Ðp.ú..Ø.....´.... --------------------------------------------------------------- ..¹.ðÁ. Ìbjð..E..(üx@.@.«.À¨0.Ana&...ôã¾1Ð"9EP.OØÚÅ..2 --------------------------------------------------------------- ..¹.ðÁ. Ìbjð..E..üy@.@.©²À¨0.Ana&...ôã¾1Ð"9EP.OØÚý..GET http://www.westpa.net/images/newsguy.gif HTTP/1.1. Accept: */*. Referer: http://www.westpa.net/. Accept-Language: en-us. Accept-Encoding: gzip, deflate. If-Modified-Since: Wed, 24 Mar 2004 17:46:17 GMT; length=1598. User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 1.1.4322). Host: www.westpa.net. Proxy-Connection: Keep-Alive. . live --------------------------------------------------------------- . Ìbjð..¹.ðÁ..E..7.²@.<.{ÐAna&À¨0..ô..ºÔ–þã¼¢œP.€Rч..HTTP/1.1 200 OK. Date: Wed, 31 Mar 2004 00:15:03 GMT. Server: Apache/1.3.28 (Unix) mod_throttle/3.1.2 PHP/4.3.3 FrontPage/5.0.2.2623. ETag: "7fe687-1134-3caca90b". Age: 592. Via: HTTP/1.1 RabbIT. Content-Length: 0. Proxy-Connection: Keep-Alive. Connection: Keep-Alive. . N- --------------------------------------------------------------- . Ìbjð..¹.ðÁ..E..5.³@.<.{ÑAna&À¨0..ô..ýˆ,Tã½[P.€R`³..HTTP/1.1 200 OK. Date: Wed, 31 Mar 2004 00:15:04 GMT. Server: Apache/1.3.28 (Unix) mod_throttle/3.1.2 PHP/4.3.3 FrontPage/5.0.2.2623. ETag: "7fe65d-2c-3980a6bf". Age: 589. Via: HTTP/1.1 RabbIT. Content-Length: 0. Proxy-Connection: Keep-Alive. Connection: Keep-Alive. . N- --------------------------------------------------------------- . Ìbjð..¹.ðÁ..E..6.´@.<.{ÏAna&À¨0..ô.."9Eã¾35P.€RIP..HTTP/1.1 200 OK. Date: Wed, 31 Mar 2004 00:15:04 GMT. Server: Apache/1.3.28 (Unix) mod_throttle/3.1.2 PHP/4.3.3 FrontPage/5.0.2.2623. ETag: "7fe680-d8f-4061c969". Age: 589. Via: HTTP/1.1 RabbIT. Content-Length: 0. Proxy-Connection: Keep-Alive. Connection: Keep-Alive. . 5 --------------------------------------------------------------- ..¹.ðÁ. Ìbjð..E..(üz@.@.«.À¨0.Ana&...ô㹋ã$¢W£P.MºÎü..2 --------------------------------------------------------------- ..¹.ðÁ. Ìbjð..E..(ü{@.@.«.À¨0.Ana&. .ôã»bë@.&P.NÉ<I.. --------------------------------------------------------------- ..¹.ðÁ. Ìbjð..E..(ü|@.@.«.À¨0.Ana&...ôã¼¢œºÔ˜.P.NÉà‘..0 --------------------------------------------------------------- Robert Olofsson wrote: > Samuel Hill wrote: > >> 63.170.141.40 - - 30/Mar/2004:17:10:15 GMT "GET >> http://www.westpa.net/images/WestPAnetlogo1.gif HTTP/1.1" 200 0 > > Odd, When I try to simulate what you do (with telnet and the traces > you send), > I get a "304 -" logged. > > I will try to look a bit more at this, but without more traces its > hard for me. > > /robo > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > Rabbit-proxy-users mailing list > Rab...@li... > https://lists.sourceforge.net/lists/listinfo/rabbit-proxy-users > > |
From: Robert O. <ro...@kh...> - 2004-03-31 18:34:23
|
Sam wrote: > Listed is a sniff of when Explorer is first opens but shows no images. > The page is in explorers cache. > Sorry there is a lot of binary data. > > > --------------------------------------------------------------- > GET http://www.westpa.net/ HTTP/1.1. > HTTP/1.1 200 OK. > Date: Wed, 31 Mar 2004 00:15:01 GMT. > Server: Apache/1.3.28 (Unix) mod_throttle/3.1.2 PHP/4.3.3 > FrontPage/5.0.2.2623. > Content-Type: text/html. > Content-Length: 4424. Ok, this seems ok. > GET http://www.westpa.net/images/WestPAnetlogo1.gif HTTP/1.1. > If-Modified-Since: Wed, 24 Mar 2004 16:05:33 GMT; length=5284. > Host: www.westpa.net. Ok, different type of request here. Still a conditional request, but different than the other you send before. This request looks odd, the format ought to be: If-Modified-Since = "If-Modified-Since" ":" HTTP-date So I am not sure where the length comes from, probably an IE/IIS extension. > HTTP/1.1 200 OK. > ETag: "7fe663-2887-4061b1cd". > Content-Length: 0. This looks odd, a content length of 0 is bad. How big is the cache file on disk? Anyway this is some progress, If I request: GET http://www.westpa.net/images/WestPAnetlogo1.gif HTTP/1.1 Accept: */* Referer: http://www.westpa.net/ Accept-Language: en-us Accept-Encoding: gzip, deflate If-Modified-Since: Wed, 24 Mar 2004 16:05:33 GMT; length=5284 User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 1.1.4322) Host: www.westpa.net Proxy-Connection: Keep-Alive On a newly started rabbit, I get a HTTP/1.1 304 Not Modified returned, but I also get a cache file that is 0 bytes. So I guess you have found a bug. Now that I have a reproducable test case I will investigate further. Thanks /robo |
From: Samuel H. <Sam...@Co...> - 2004-03-31 18:38:19
|
Okay. Could you keep me informed? I really like what you have developed and would like to use it. If you get a fix for that please let me know so I can get it in place. Thank you. Sam -----Original Message----- From: Robert Olofsson [mailto:ro...@kh...] Sent: Wednesday, March 31, 2004 1:34 PM To: Sam Cc: rab...@li... Subject: Re: [Rabbit-proxy-users] Re: Image Problems Sam wrote: > Listed is a sniff of when Explorer is first opens but shows no images. > The page is in explorers cache. Sorry there is a lot of binary data. > > > --------------------------------------------------------------- > GET http://www.westpa.net/ HTTP/1.1. > HTTP/1.1 200 OK. > Date: Wed, 31 Mar 2004 00:15:01 GMT. > Server: Apache/1.3.28 (Unix) mod_throttle/3.1.2 PHP/4.3.3 > FrontPage/5.0.2.2623. > Content-Type: text/html. > Content-Length: 4424. Ok, this seems ok. > GET http://www.westpa.net/images/WestPAnetlogo1.gif HTTP/1.1. > If-Modified-Since: Wed, 24 Mar 2004 16:05:33 GMT; length=5284. > Host: www.westpa.net. Ok, different type of request here. Still a conditional request, but different than the other you send before. This request looks odd, the format ought to be: If-Modified-Since = "If-Modified-Since" ":" HTTP-date So I am not sure where the length comes from, probably an IE/IIS extension. > HTTP/1.1 200 OK. > ETag: "7fe663-2887-4061b1cd". > Content-Length: 0. This looks odd, a content length of 0 is bad. How big is the cache file on disk? Anyway this is some progress, If I request: GET http://www.westpa.net/images/WestPAnetlogo1.gif HTTP/1.1 Accept: */* Referer: http://www.westpa.net/ Accept-Language: en-us Accept-Encoding: gzip, deflate If-Modified-Since: Wed, 24 Mar 2004 16:05:33 GMT; length=5284 User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 1.1.4322) Host: www.westpa.net Proxy-Connection: Keep-Alive On a newly started rabbit, I get a HTTP/1.1 304 Not Modified returned, but I also get a cache file that is 0 bytes. So I guess you have found a bug. Now that I have a reproducable test case I will investigate further. Thanks /robo |
From: Robert O. <ro...@kh...> - 2004-03-31 19:14:07
Attachments:
rpatch.txt
|
Samuel Hill wrote: >I really like what you have developed and would like to use it. >If you get a fix for that please let me know so I can get it in place. > > I have attached a patch that you can try, it seems to work well for me. (In case you dont know how to): RabbIT2# patch -p0 < /tmp/rpatch.txt It ought to tell you something like: patching file src/rabbit/proxy/Connection.java after that call "make code" Clear the cache (since you most probably have 0-based files in it). and start a new rabbit. It would be good if you helped test this patch, its not very beutiful code, but may work... /robo |
From: Samuel H. <Sam...@Co...> - 2004-03-31 21:45:08
|
So far so good. I have not been able to create the problem again after applying the patch and re-compiling. I will let you know what else I see. Thank you. Sam -----Original Message----- From: rab...@li... [mailto:rab...@li...] On Behalf Of Robert Olofsson Sent: Wednesday, March 31, 2004 2:14 PM To: Samuel Hill Cc: rab...@li... Subject: Re: [Rabbit-proxy-users] Re: Image Problems Samuel Hill wrote: >I really like what you have developed and would like to use it. If you >get a fix for that please let me know so I can get it in place. > > I have attached a patch that you can try, it seems to work well for me. (In case you dont know how to): RabbIT2# patch -p0 < /tmp/rpatch.txt It ought to tell you something like: patching file src/rabbit/proxy/Connection.java after that call "make code" Clear the cache (since you most probably have 0-based files in it). and start a new rabbit. It would be good if you helped test this patch, its not very beutiful code, but may work... /robo |
From: Robert O. <ro...@kh...> - 2004-03-31 21:49:52
|
Samuel Hill wrote: >So far so good. >I have not been able to create the problem again after applying the >patch and re-compiling. > >I will let you know what else I see. > I have got a few java.io.IOException: Chunk size is not available. at rabbit.io.HTTPInputStream.getChunkSize(HTTPInputStream.java:253) I am currently testing if another patch fixes that (I do not think that it is caused by the other patch. It is caused by persistent connections and odd headers returned). But trying to test RabbIT some more now so some things may show up.... /robo |
From: Robert O. <ro...@kh...> - 2004-03-31 22:27:04
|
Samuel Hill wrote: >I will let you know what else I see. > Ok, that first patch breaks a few pages, mostly those that sends redirects with a resource body. Changed patch looks like this: if (status != null && status.length () > 0) { if (status.equals ("304") || status.equals ("204") || status.charAt (0) == '1') { send (rh.webheader); .... See section 4.3 on what type of responses that may and must not have a body... /robo |
From: Sam <Sam...@Co...> - 2004-04-01 00:14:48
|
I am a little confused on where exactly to change that code. I may have missed it but in src/rabbit/proxy/Connection.java I do not see where that applies. Sam Robert Olofsson wrote: > Samuel Hill wrote: > >> I will let you know what else I see. >> > Ok, that first patch breaks a few pages, mostly those that sends > redirects with > a resource body. > > Changed patch looks like this: > > if (status != null && status.length () > 0) { > if (status.equals ("304") || status.equals ("204") || > status.charAt (0) == '1') { > send (rh.webheader); > .... > > See section 4.3 on what type of responses that may and must not have a > body... > > /robo > > |
From: Robert O. <ro...@kh...> - 2004-04-01 06:10:40
Attachments:
rpatch2
|
Sam wrote: > I am a little confused on where exactly to change that code. > I may have missed it but in src/rabbit/proxy/Connection.java I do not > see where that applies. Oh, so you do not read the patches I send... (Good to know if I want to be evil :-) Anyway here is an updated patch that did not give me any errors.. Apply it to a standard 2.0.29 tree, RabbIT2$ patch -p0 < /tmp/rpatch2 If you have applied my previous patch revert it (patch -R may be of interest). /robo |
From: Samuel H. <Sam...@Co...> - 2004-04-01 13:51:00
|
I read it just did not understand it. I guess I do have to trust your software and patches. I have another weird problem showing up, with the old patch and new patch applied... [01/Apr/2004:13:45:04 GMT][WARN][strange error setting up web connection: java.io.IOException: Unable to connect to URL: http://eservicesupport.us.dell.com/DellSupport/en/US/updates/Alert/A920_ 2.cab] Not sure exactly what that person is trying to do (I am guessing some sort of update). I added dontCacheURLmatching=.cab but that's not the problem anyway. Sam -----Original Message----- From: rab...@li... [mailto:rab...@li...] On Behalf Of Robert Olofsson Sent: Thursday, April 01, 2004 1:10 AM To: Sam Cc: rab...@li... Subject: Re: [Rabbit-proxy-users] Re: Image Problems Sam wrote: > I am a little confused on where exactly to change that code. I may > have missed it but in src/rabbit/proxy/Connection.java I do not see > where that applies. Oh, so you do not read the patches I send... (Good to know if I want to be evil :-) Anyway here is an updated patch that did not give me any errors.. Apply it to a standard 2.0.29 tree, RabbIT2$ patch -p0 < /tmp/rpatch2 If you have applied my previous patch revert it (patch -R may be of interest). /robo |
From: Robert O. <ro...@kh...> - 2004-04-02 17:13:22
|
Samuel Hill wrote: >I have another weird problem showing up, with the old patch and new >patch applied... >[01/Apr/2004:13:45:04 GMT][WARN][strange error setting up web >connection: java.io.IOException: Unable to connect to URL: >http://eservicesupport.us.dell.com/DellSupport/en/US/updates/Alert/A920_ >2.cab] > > That url gives me a 404 page not found. Not sure if I have to be logged in or if I am missing some request parameter, but that url is hard for me to do something about without more information.... I did see that you solved that by adding a nocache, but to let you know that I tried to find a problem, but could not... Have fun /robo |