varnishtop hangs

Poul-Henning Kamp phk at
Wed Jan 9 11:27:55 CET 2008

In message <1c752e950801090225q7fe10073h134ab302d59548b9 at>, "kevi
n fernandes" writes:
>Content-Type: text/plain; charset=ISO-8859-1
>Content-Transfer-Encoding: 7bit
>Content-Disposition: inline
>Hello All,
>I am running varnish and lighttpd. lighttpd webserver runs on port 8080 and
>on localhost. Varnish runs on port 80 and on the public ip. While checking
>the access.log of lighttpd. The webrequests are shown to come from
>I would like to know wht configruation changes are required in varnish to
>log the remote client ip in access.log.

Varnish sends a header "X-Forwarded-for:" to lightttpd which it should
use in the logfile.  You need to check the lighttpd config how to enable that.

Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.

More information about the varnish-misc mailing list