HTTP Anti-Virus Proxy http://havp.hege.li/forum/ |
|
X-Forward? http://havp.hege.li/forum/viewtopic.php?f=3&t=64 |
Page 1 of 1 |
Author: | housey [ 30 Mar 2006 20:00 ] |
Post subject: | X-Forward? |
Hi Im trying to create a way of logging the IP, URL and Virus. I can use the access.log file generated but I have squid in front of HAVP so the requests all come from 127.0.0.1. Is there anyway of using the X-Forward header to log the real client IP? Thanks Paul |
Author: | hege [ 30 Mar 2006 20:10 ] |
Post subject: | |
Um.. are you sure you read the config file? # # Write X-Forwarded-For: to log instead of connecters IP? # # If HAVP is used as parent proxy by some other proxy, this allows # to write the real users IP to log, instead of proxy IP. # # Default: # FORWARDED_IP false Cheers, Henrik |
Author: | alex [ 03 Apr 2006 10:12 ] |
Post subject: | any changes to squid.conf |
Whether it is necessary to do any changes in squid.conf because inclusion "FORWARDED_IP true" in havp.conf does not work? |
Author: | hege [ 03 Apr 2006 10:46 ] |
Post subject: | Re: any changes to squid.conf |
alex wrote: Whether it is necessary to do any changes in squid.conf because inclusion "FORWARDED_IP true" in havp.conf does not work?
I guess you only have to make sure Squid has "forwarded_for on" in conf. Cheers, Henrik |
Page 1 of 1 | All times are UTC + 2 hours [ DST ] |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |