Re: Ip Address On Outbound

2002-01-10 Thread Doran L. Barton

Not long ago, John Buwa proclaimed...
 I havea question on outbound ips. I am writing a program that a user can
 enter an address and a spider will go and retrieve only the information that
 was request and then display the results to the enquiring user. My question
 is though, i have grabed the users ip address as the initiator of the
 request and i would like to use that ip address (The users) to send the http
 request instead of my systems addres. How would i changed outgoing requests
 to reflect the invoking users ip and not my systems ip?

Being as how the IP address is part of the TCP/IP protocols and not HTTP,
I can't see how Apache (or mod_perl) can do anything about that. You can't
spoof IPs at the application layer if you're doing network transactions.

-=Fozz

-- 
-
Doran L. Barton [EMAIL PROTECTED] - Chief Super Hero - Iodynamics LLC
 http://www.iodynamics.com/  - Linux solutions and dynamic websites
 Pepsi brings your ancestors back from the grave.
-- 'Pepsi Comes Alive' as originally translated into Chinese



Ip Address On Outbound

2002-01-08 Thread John Buwa

 Hello,

I havea question on outbound ips. I am writing a program that a user can
enter an address and a spider will go and retrieve only the information that
was request and then display the results to the enquiring user. My question
is though, i have grabed the users ip address as the initiator of the
request and i would like to use that ip address (The users) to send the http
request instead of my systems addres. How would i changed outgoing requests
to reflect the invoking users ip and not my systems ip?

Thanks in advance,
John




Re: Ip Address On Outbound

2002-01-08 Thread Luciano Miguel Ferreira Rocha

On Wed, Jan 09, 2002 at 12:27:12AM -0500, John Buwa wrote:
 How would i changed outgoing requests
 to reflect the invoking users ip and not my systems ip?

You can't just change the ip you use to connect to other systems...

But you may have some luck in using the Via: and X-Forwarded-For: headers:
GET / HTTP/1.0
Via: 1.0 agent.mydmn.net:3128 (Yet Another Agent/0.0.1.0a)
X-Forwarded-For: 192.168.0.1

Regards,
Luciano Rocha

-- 
Luciano Rocha, [EMAIL PROTECTED]

The trouble with computers is that they do what you tell them, not what
you want.
-- D. Cohen