<DIV>that's seems your tproxy doesn't work yet..<BR><BR></DIV>
<DIV></DIV><BR><PRE>在2009-05-30 18:00:02,tproxy-request@lists.balabit.hu 写道:
>Send tproxy mailing list submissions to
>        tproxy@lists.balabit.hu
>
>To subscribe or unsubscribe via the World Wide Web, visit
>        https://lists.balabit.hu/mailman/listinfo/tproxy
>or, via email, send a message with subject or body 'help' to
>        tproxy-request@lists.balabit.hu
>
>You can reach the person managing the list at
>        tproxy-owner@lists.balabit.hu
>
>When replying, please edit your Subject line so it is more specific
>than "Re: Contents of tproxy digest..."
>
>
>Today's Topics:
>
> 1. Is tproxy a real transparent proxy? (mtpr)
>
>
>----------------------------------------------------------------------
>
>Message: 1
>Date: Fri, 29 May 2009 20:07:55 +0100
>From: mtpr <mtpr@carreira.com.pt>
>Subject: [tproxy] Is tproxy a real transparent proxy?
>To: tproxy@lists.balabit.hu
>Message-ID: <4A20328B.30304@carreira.com.pt>
>Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
>I am testing tproxy with a vmware Centos-5.3 virtual server.
>I installed squid-3.1, iptables-1.4.3 and kernel-2.6.28.3.
>Everything seems to be working, unless one...
>There is a proxy behaviour I thought it would be expectable, but I found
>it doesn't work the way I thought.
>
>Here is the example:
>If I create a cgi-bin script in a apache webserver that prints the
>client ip address like this one:
>
>#!/bin/env python
># coding: utf-8
>import os
>
>print 'Content-Type: text/plain'
>print
>print os.environ['REMOTE_ADDR']
>
>I thought that, in a real transparent proxy, it would give me the
>original client ip address of the browser computer.
>But no!
>Like the old transparent proxy way (not tproxy), it prints the ip
>address of the proxy server.
>If I want the original ip address, I need to read the environment
>variable HTTP_X_FORWARDED_FOR.
>It doesn't seem to be a "real" transparent proxy.
>
>Is this the expectable behaviour, or could be something wrong with the
>way I setup my tproxy?
>
>
>mtpr
>
>
>------------------------------
>
>_______________________________________________
>tproxy mailing list
>tproxy@lists.balabit.hu
>https://lists.balabit.hu/mailman/listinfo/tproxy
>
>
>End of tproxy Digest, Vol 47, Issue 9
>*************************************
</PRE><br><!-- footer --><br><span title="neteasefooter"/><hr/>
<a href="http://512.mail.163.com/mailstamp/stamp/dz/activity.do?from=footer">穿越地震带 纪念汶川地震一周年</a>
</span>