[Ziproxy-users] Need some tips - Can't seem to get ziproxy to work
Brought to you by:
dmcabrita
From: Will <wi...@99...> - 2003-09-20 07:40:52
|
I'm using a RedHat 7.3 machine as the proxy server ziproxy will run on = and can't seem to get it to work. I used the precompiled 1.2b files = found on the sourceforge site. =20 my xinet.d, ziproxy file shows the following: service ziproxy { port =3D 8080 socket_type =3D stream wait =3D no user =3D root server =3D /usr/bin/ziproxy server_args =3D /etc/ziproxy.conf disable =3D no } My ziproxy.conf file looks like this: =3D=3D=3D Start Config =3D=3D=3D #Example ziproxy.conf #netd options WhereZiproxy =3D "/usr/bin/ziproxy" Port =3D 8080 #OnlyFrom =3D "65.172.152.29" NetdTimeout =3D 2400 Gzip =3D true #this will append bzipped logging output to file named DDD-YYYY.log.bz2 #LogPipe only compatible with netd! LogPipe =3D{"bzip2", "-9cq", "-"} LogFile =3D "%j-%Y.log.bz2" #ziproxy options ZiproxyTimeout =3D 1200 MaxSize =3D 4194304 UseContentLength =3D false #Substrings for Compressible data types under application/. Matches with #leading "x-" too. Compressible =3D { "shockwave", "msword", "msexcel", "mspowerpoint", "rtf", = "postscript", "java", "javascript", "staroffice", "vnd.", "futuresplash", "asp", "class", "font", "truetype-font", "php", "cgi", = "executable", "shellscript", "perl", "python", "awk", "dvi" } #75 is standard quality of JPEG images. #ImageQuality =3D {75,75,75,75} =3D=3D=3D End config =3D=3D=3D I configured Internet Explorer proxy on my Windows machine with my = server's IP address and port 8080. I checked the HTTP 1.1 though proxy = checkbox so it should accept encoding. When I pull it up in the browser I see the following gibberish, so what = am I missing?: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Junk Ahead = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D [2898] Starting - Sat Sep 20 03:35:39 2003 [2898] URL - http://www.hotbot.com/ [2898] Headers from client: [2898] Host: www.hotbot.com [2898] User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; = rv:1.5a) Gecko/20030714 Mozilla Firebird/0.6 [2898] Accept: = text/xml,application/xml,application/xhtml+xml,text/html;q=3D0.9,text/pla= in;q=3D0.8,video/x-mng,image/png,image/jpeg,image/gif;q=3D0.2,*/*;q=3D0.1= [2898] Accept-Language: en-us,en;q=3D0.5 [2898] Accept-Encoding: gzip,deflate [2898] Accept-Charset: ISO-8859-1,utf-8;q=3D0.7,*;q=3D0.7 [2898] Keep-Alive: 300 [2898] Proxy-Connection: keep-alive [2898] Referer: http://www.google.com/ [2898] Cookie: prov=3Dlycos [2898] getting, parsing headers took 38649 us=20 [2898] Method =3D GET Protocol =3D HTTP/1.1 [2898] Headers sent to server: [2898] GET / HTTP/1.1 [2898] Host: www.hotbot.com [2898] User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; = rv:1.5a) Gecko/20030714 Mozilla Firebird/0.6 [2898] Accept: = text/xml,application/xml,application/xhtml+xml,text/html;q=3D0.9,text/pla= in;q=3D0.8,video/x-mng,image/png,image/jpeg,image/gif;q=3D0.2,*/*;q=3D0.1= [2898] Accept-Language: en-us,en;q=3D0.5 [2898] Accept-Charset: ISO-8859-1,utf-8;q=3D0.7,*;q=3D0.7 [2898] Keep-Alive: 300 [2898] Referer: http://www.google.com/ [2898] Cookie: prov=3Dlycos [2898] connecting, forwarding headers took 122953 us=20 [2898] In Headers: [2898] HTTP/1.1 200 OK [2898] Server: Microsoft-IIS/5.0 [2898] Date: Sat, 20 Sep 2003 07:36:26 GMT [2898] P3P: CP=3D"CAO DSP COR CURa ADMa DEVa CONo PSAa OUR IND DEM PRE = PUR TAIa NAV UNI" [2898] Content-Length: 7707 [2898] Content-Type: text/html [2898] Cache-control: private [2898] Image =3D 0, Modify =3D 1, Chunked =3D 0 [2898] WillGZip =3D 2, Compress =3D 1 [2898] getting data took 44187 us [2898] Content modification/compression returned 0. It took 1400 us. [2898] Forwarding header and modified content. [2898] Out Headers: [2898] HTTP/1.1 200 OK [2898] Content-Length: 2891 [2898] Content-Encoding: gzip [2898] Connection: close [2898] Proxy-Connection: close [2898] Server: Microsoft-IIS/5.0 [2898] Date: Sat, 20 Sep 2003 07:36:26 GMT [2898] P3P: CP=3D"CAO DSP COR CURa ADMa DEVa CONo PSAa OUR IND DEM PRE = PUR TAIa NAV UNI" [2898] Content-Type: text/html [2898] Cache-control: private HTTP/1.1 200 OK Content-Length: 2891 Content-Encoding: gzip Connection: close Proxy-Connection: close Server: Microsoft-IIS/5.0 Date: Sat, 20 Sep 2003 07:36:26 GMT P3P: CP=3D"CAO DSP COR CURa ADMa DEVa CONo PSAa OUR IND DEM PRE PUR TAIa = NAV UNI" Content-Type: text/html Cache-control: private ((RIGHT HERE WOULD BE A LOT OF WHAT LOOKS LIKE BINARY JUNK)) [2858] forwarding took 210 us [2858] Finished =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D End Junk = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D |