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:52

All times are UTC + 2 hours [ DST ]




Post new topic Reply to topic  [ 5 posts ] 
Author Message
PostPosted: 13 Mar 2007 23:58 
Offline

Joined: 13 Mar 2007 23:27
Posts: 2
In version .83 the following works. In version .85 it fails. The ChangeLog says there were changes to proxying in .84. I skipped .84. I have worked around this by switching 192.168.1.2 back to HAVP version .83, but this bug needs to be fixed.

PROBLEM: The URL cannot be found, so the web server returns a 502 error. The browser continually to tries to get the non-existing file - I think because HAVP never lets it see the 502 error. (I think the browser would just give up trying if it got the 502).

SCENARIO: The browser proxies Privoxy on port 8118 (192.168.1.1:8118). Privoxy forwards (to a different computer) to HAVP on port 8080 (192.168.1.2:8080). HAVP on 192.168.1.2 has this configuration:
SERVERNUMBER 16
LOG_OKS false
PARENTPROXY 192.168.1.1
PARENTPORT 3128
BIND_ADDRESS 192.168.1.2
TEMPLATEPATH /etc/havp/templates/en
WHITELIST /etc/havp/whitelist
BLACKLIST /etc/havp/blacklist
ENABLECLAMLIB true
ENABLECLAMD false
ENABLEFPROT false
ENABLEAVG false
ENABLEAVESERVER false
ENABLESOPHIE false
ENABLETROPHIE false
ENABLENOD32 false

The Apache access log on 192.168.1.1 is full of:
192.168.1.2 - 189 [13/Mar/2007:08:17:49 -0700] "GET http://64.49.222.57/0.gif HTTP/1.0" 502 510

So HAVP runs only on the .2 computer, while Privoxy and Apache run on the .1 computer.

Further information or remote access is available if necessary.
--
gypsy


Top
 Profile  
 
 Post subject:
PostPosted: 14 Mar 2007 10:10 
Offline
HAVP Developer

Joined: 27 Feb 2006 18:12
Posts: 687
Location: Finland
There are no changes in the proxying stuff, HAVP does not hide 502 errors. So not sure whats causing it, besides a bad client.

PS. Typo in ports? 8118 vs 3128..


Top
 Profile  
 
 Post subject:
PostPosted: 14 Mar 2007 10:18 
Offline
HAVP Developer

Joined: 27 Feb 2006 18:12
Posts: 687
Location: Finland
Try it with wget, It's a bit more verbose..

export http_proxy=http://192.168.1.2:8080/
wget http://64.49.222.57/0.gif


Top
 Profile  
 
 Post subject:
PostPosted: 17 Mar 2007 03:41 
Offline

Joined: 13 Mar 2007 23:27
Posts: 2
Quote:
There are no changes in the proxying stuff

That's not what the changelog says.
Quote:
23.10.2006
HAVP 0.84 released
Fix bug in tcp buffer, requests could leak to other clients sometimes
Support for Arcavir scanner
Support for multiple IPs in hostnames, all are tried if necessary
Pass Proxy-Authorization header to parent proxy (thanks Mateus)


Furthermore, you did not read very carefully what I wrote. I said
Quote:
The browser proxies Privoxy on port 8118 (192.168.1.1:8118). Privoxy forwards (to a different computer) to HAVP on port 8080 (192.168.1.2:8080).

so this question says to me that you either failed to comprehend what I said or that you did not read what I said.
Quote:
Typo in ports? 8118 vs 3128..


The bug is not imaginary, and .83 works around it.
--
gypsy


Top
 Profile  
 
 Post subject:
PostPosted: 17 Mar 2007 11:11 
Offline
HAVP Developer

Joined: 27 Feb 2006 18:12
Posts: 687
Location: Finland
gypsy wrote:
Quote:
There are no changes in the proxying stuff

That's not what the changelog says.


I guess I would know, since I added the few lines of code. I can't find any changes that would hide a 502 error.

Quote:
Furthermore, you did not read very carefully what I wrote.


Sorry for spending my free time to help you. I guess I will start a paid support, to give more time for understanding. :)

Next time you reply, please have some actual data like the wget. And test other browsers etc.


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

All times are UTC + 2 hours [ DST ]


Who is online

Users browsing this forum: Google [Bot], 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