HTTP Anti-Virus Proxy

Official HAVP Support Forum
Registration disabled, I'm tired of spambots. E-mail havp@hege.li if you have questions.
HAVP project is pretty much frozen/abandoned at this time anyway.
It is currently 22 Jun 2014 09:53

All times are UTC + 2 hours [ DST ]




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Invalid request
PostPosted: 04 May 2006 02:33 
Hello,

I've now switched HAVP and Squid together (Client->Squid->HAVP) but it keeps me getting "Inavlid Request" from HAVP.
I was able to track this down, it seems that HAVP is not correctly working as parent:

* HAVP needs request in the following from:

GET / HTTP/1.0
Host: www.yahoo.com

* SQUID needs them in the following form:

GET http://www.yahoo.com/ HTTP/1.0
Host: www.yahoo.com

However, Squid fails if it does not get http://domain/... and HAVP
fails if it does get http://domain/...

HAVP is configured within squid this way:
cache_peer localhost parent 8080 0 no-query no-digest no-netdb-exchange default


Thanks,
Matt


Top
  
 
 Post subject:
PostPosted: 04 May 2006 02:34 
Ups ... did forget something:

Any suggestions, except writing a wrapper?

Thanks,
Matt


Top
  
 
 Post subject:
PostPosted: 04 May 2006 09:15 
Offline
HAVP Developer

Joined: 27 Feb 2006 18:12
Posts: 687
Location: Finland
Sounds like your HAVP is configured with TRANSPARENT true. If you want transparent, then in this case you only configure Squid to it.

Cheers,
Henrik


Top
 Profile  
 
 Post subject:
PostPosted: 04 May 2006 09:30 
Thanks Henrik. I just read the Transparent Proxy mini-HOWTO and it was obvious that I should not set TRANSPARENT to true in HAVP.

btw, the link of the Transparent Proxy mini-HOWTO in the configuration-file is outdated, so there should be used this one instead:
http://www.tldp.org/HOWTO/TransparentProxy.html

Bye,
Matt


Top
  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC + 2 hours [ DST ]


Who is online

Users browsing this forum: Yahoo [Bot] and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group