Jason,

There is something like a REMOTE_ADDR for coldfusion, but this is returning
the IP for the proxy rather than the client.  I will look into writing
something up with Perl.

Brad
----- Original Message -----
From: "Jason Dixon" <[EMAIL PROTECTED]>
To: "Red Hat Mailing List" <[EMAIL PROTECTED]>
Sent: Thursday, August 21, 2003 2:57 PM
Subject: Re: Proxy server


> On Thu, 2003-08-21 at 14:36, Sean Estabrooks wrote:
> > On Thu, 21 Aug 2003 14:24:04 -0400
> > "Brad Hittle" <[EMAIL PROTECTED]> wrote:
> >
> > > We keep a status for the dialup account users.  When they logon, they
> > > recieve a specific IP from us denoting status (ie if they are in the
billing
> > > status the ip would range from 192.168.153.*).
> > >
> > > When we only use DNAT, the packets never make their way back to the
client
> > > machine.  Thats why we are routing the packet back through the proxy
server.
> > > I have sniffed every possible place along the line using only the DNAT
> > > (excluding the router, and some other machines it must go through),
and have
> > > seen everything working properly.
> > >
> >     Not sure i understand your configuration well enough to help much,
but
> > if you post your iptables(?) rules for DNAT someone may be able to help.
> > I'm interested to know what you mean by "they recieve a specific IP from
us",
> > do you mean in your billing system or do you actually modify their
> > incoming ip in someway "on the wire".
>
> Assuming your "proxy" hasn't rewritten the HTTP header, you should be
> able to get the client's source address from the REMOTE_ADDR value.  In
> Perl, this would be $ENV{REMOTE_ADDR}.  I'm not sure what the equivalent
> would be in ColdFusion.
>
> --
> Jason Dixon, RHCE
> DixonGroup Consulting
> http://www.dixongroup.net
>
>
> --
> redhat-list mailing list
> unsubscribe mailto:[EMAIL PROTECTED]
> https://www.redhat.com/mailman/listinfo/redhat-list
>



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list

Reply via email to