Hi all,
I have User--->havp---->squid---->internet setup. I have configured havp to go through parent proxy, Here is my configuration of havp.
Code:
USER havp
GROUP havp
DAEMON true
PIDFILE /var/run/havp/havp.pid
SERVERNUMBER 8
MAXSERVERS 100
ACCESSLOG /var/log/havp/access.log
LOG_OKS false
LOGLEVEL 1
SCANTEMPFILE /var/tmp/havp/havp-XXXXXX
TEMPDIR /var/tmp
DBRELOAD 60
TRANSPARENT false
PARENTPROXY localhost
PARENTPORT 3128
FORWARDED_IP true
X_FORWARDED_FOR true
PORT 8080
TEMPLATEPATH /etc/havp/templates/en
FAILSCANERROR true
SCANNERTIMEOUT 10
RANGE true
MAXSCANSIZE 5000000
KEEPBACKBUFFER 200000
KEEPBACKTIME 5
TRICKLING 30
TRICKLINGBYTES 1
MAXDOWNLOADSIZE 0
STREAMSCANSIZE 20000
ENABLECLAMLIB true
ENABLECLAMD false
ENABLEFPROT false
ENABLEAVG false
ENABLEAVESERVER false
ENABLESOPHIE false
ENABLETROPHIE false
ENABLENOD32 false
ENABLEAVAST false
ENABLEARCAVIR false
ENABLEDRWEB false
squid is also configured to listen on localhost:3128
I have simple web pages are working fine, but problem occurs when I try to access ssl enable web pages(https)
I get error in /var/log/havp/error.log
Code:
26/05/2009 17:49:39 (192.168.1.1) SSL tunneling failed through parentproxy (response: 301)
26/05/2009 17:51:15 (192.168.1.1) SSL tunneling failed through parentproxy (response: 301)
26/05/2009 17:51:15 (192.168.1.1) SSL tunneling failed through parentproxy (response: 301)
26/05/2009 17:56:27 (127.0.0.1) Could not read server header (192.168.1.1/ev.yieldbuild.com:80)
26/05/2009 17:58:28 (127.0.0.1) Could not read server header (192.168.1.1/ev.yieldbuild.com:80)
26/05/2009 18:04:58 (192.168.1.1) SSL tunneling failed through parentproxy (response: 301)
26/05/2009 18:05:56 (192.168.1.1) Could not send body to browser
26/05/2009 18:53:18 (127.0.0.1) Could not send browser body to server (192.168.1.1/httpcs.msg.yahoo.com:80)
26/05/2009 19:25:46 (127.0.0.1) Could not send browser body to server (192.168.1.1/httpcs.msg.yahoo.com:80)
26/05/2009 19:28:10 (127.0.0.1) Could not read server header (192.168.1.1/98.136.113.171:80)
26/05/2009 19:29:59 (192.168.1.1) Could not read browser header
26/05/2009 19:30:16 (127.0.0.1) Could not read server header (192.168.1.1/98.136.113.171:80)
26/05/2009 19:35:28 (127.0.0.1) Could not read server header (192.168.1.1/98.136.113.171:80)
26/05/2009 19:38:24 (127.0.0.1) Could not read server header (192.168.1.1/suggestqueries.google.com:80)
26/05/2009 19:40:27 (127.0.0.1) Could not read server header (192.168.1.1/98.136.112.136:80)
here is 192.168.1.1 is user's ip address.
Can any one tell me whats problem here?