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.


All times are UTC + 2 hours [ DST ]




Post new topic Reply to topic  [ 5 posts ] 
Author Message
PostPosted: 22 Nov 2008 12:11 
Offline

Joined: 22 Nov 2008 12:08
Posts: 4
Hello,
havp->squid->Internet
havp.config :
SERVERNUMBER 40
MAXSERVERS 200
ACCESSLOG /var/log/havp/access.log
ERRORLOG /var/log/havp/havp.log
TEMPDIR /var/tmp
DBRELOAD 60
PORT 8080
MAXSCANSIZE 5000000
KEEPBACKBUFFER 20000000
KEEPBACKTIME 5
TRICKLING 30
STREAMSCANSIZE 2000
ENABLECLAMLIB true
CLAMBLOCKENCRYPTED false
CLAMMAXFILES 50
CLAMMAXFILESIZE 10
CLAMMAXRECURSION 8
CLAMMAXRATIO 250

squid.conf :
acl our_networks src 192.168.0.0/24
http_access allow our_networks
http_access allow localhost
http_port 3128
cache_mem 100 MB
cache_swap_low 90
cache_swap_high 95
visible_hostname proxy
icp_port 3130
dns_nameservers x.x.x.x x.x.x.x


set up proxy in browser (port 192.168.0.1: 8080) ,Normal.
If there is not browser-based port agent, will be "Invalid request "
why ? why ?

Thanks,


Last edited by fubaby on 23 Nov 2008 05:11, edited 1 time in total.

Top
 Profile  
 
PostPosted: 23 Nov 2008 03:53 
Offline

Joined: 22 Nov 2008 12:08
Posts: 4
iptables :
modprobe ip_tables
modprobe iptable_nat
modprobe iptable_filter
modprobe ip_conntrack_ftp
modprobe ip_nat_ftp
echo 1 >/proc/sys/net/ipv4/ip_forward
iptables -t nat -A POSTROUTING -s 192.168.0.0/24 -o eth0(wan) -j SNAT --to x.x.x.x
iptables -t nat -A PREROUTING -s 192.168.1.0/24 -i eth1(lan) -p tcp --dport 80 -j REDIRECT --to-port 8080


Top
 Profile  
 
PostPosted: 23 Nov 2008 09:34 
Offline

Joined: 22 Nov 2008 12:08
Posts: 4
why ?


Top
 Profile  
 
PostPosted: 23 Nov 2008 12:11 
Offline
HAVP Developer

Joined: 27 Feb 2006 18:12
Posts: 687
Location: Finland
Did you read the config file through?

If you want transparent proxy, then you must set TRANSPARENT true.


Top
 Profile  
 
PostPosted: 24 Nov 2008 07:47 
Offline

Joined: 22 Nov 2008 12:08
Posts: 4
hehe ,ok
Thanks,


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] 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