Re: Is there a way to find IP address?

2006-09-14 Thread Lad
Fredrik Lundh wrote: > Lad wrote: > > > Normaly I can log user's IP address using os.environ["REMOTE_ADDR"] . > > If a user is behind a proxy, I will log proxy's IP address only. > > Is there a way how to find a real IP user's address? > &g

Re: Is there a way to find IP address?

2006-09-15 Thread Tim Roberts
"Lad" <[EMAIL PROTECTED]> wrote: > >Normaly I can log user's IP address using os.environ["REMOTE_ADDR"] . >If a user is behind a proxy, I will log proxy's IP address only. >Is there a way how to find a real IP user's address? Not reliabl

Re: Is there a way to find IP address?

2006-09-15 Thread Winfried Tilanus
On 09/15/2006 Lad wrote: > How can be HTTP_X_FORWARDED_FOR easily spoofed? I thought that IP > address is not possible change. Because it is a header that is added by the proxy. This header has (or should have) no role in the proces of relaying the request by the proxy. It is just po

Re: Is there a way to find IP address?

2006-09-16 Thread Tim Roberts
"Lad" <[EMAIL PROTECTED]> wrote: >Fredrik Lundh wrote: >> Lad wrote: >> >> > Normaly I can log user's IP address using os.environ["REMOTE_ADDR"] . >> > If a user is behind a proxy, I will log proxy's IP address only. >&

Re: Is there a way to find IP address?

2006-09-17 Thread Damjan
>> Normaly I can log user's IP address using os.environ["REMOTE_ADDR"] . >> If a user is behind a proxy, I will log proxy's IP address only. >> Is there a way how to find a real IP user's address? > > os.environ["HTTP_X_FORWARDED_FOR

Re: Is there a way to find IP address?

2006-09-17 Thread Damjan
>> > Normaly I can log user's IP address using os.environ["REMOTE_ADDR"] . >> > If a user is behind a proxy, I will log proxy's IP address only. >> > Is there a way how to find a real IP user's address? >> >> os.environ["

How to get IP address of client from CGI module?

2007-04-10 Thread John Nagle
The documentation for Python's CGI module doesn't seem to say how to get the IP address of the client. Don't see an obvious way to get that info from reading the source, either. Ideas? John Nagle -- http://mail.python.org/mailman/listinfo/python-list

Re: How to get IP address of client from CGI module?

2007-04-10 Thread Graham Dumpleton
On Apr 11, 12:22 pm, John Nagle <[EMAIL PROTECTED]> wrote: >The documentation for Python's CGI module doesn't seem to say how to get > the IP address of the client. Don't see an obvious way to get that info > from rea

Re: How to get IP address of client from CGI module?

2007-04-11 Thread Cameron Laird
In article <[EMAIL PROTECTED]>, John Nagle <[EMAIL PROTECTED]> wrote: > The documentation for Python's CGI module doesn't seem to say how to get >the IP address of the client. Don't see an obvious way to get that info >fr

How to get client's IP address in the threaded case of SimpleXMLRPCServer?

2006-05-05 Thread Eirikur Hallgrimsson
it's not passed. I can't figure out how to get the client IP address at all from inside my program. I can reach the socket object via my server object, but the connection has been dropped before my handler is called. Any help or pointers would be appreciated. At this point I think I

How to send broadcast message over network and collect all the IP address?

2005-07-15 Thread Sandeep Arya
Hello to all Well this is my first mail on this list. I am facing a problem associated with collecting IP address on my network. What i thought is to send broadcast packet over the network and then recieving back the reply from the computers and bridges connected to my network and then adding

Re: How to get client's IP address in the threaded case of SimpleXMLRPCServer?

2006-05-07 Thread Chris Lambacher
tually rather different with a > couple of mixin classes mixing things up. I'm not confused, it's not > passed. > > I can't figure out how to get the client IP address at all from inside > my program. I can reach the socket object via my server object, but the > connect

Re: How to send broadcast message over network and collect all the IP address?

2005-07-15 Thread Francesco Ciocchetti
Sandeep Arya wrote: >Hello to all > >Well this is my first mail on this list. I am facing a problem associated >with collecting IP address on my network. > >What i thought is to send broadcast packet over the network and then >recieving back the reply from the computers and

Re: How to send broadcast message over network and collect all the IP address?

2005-07-18 Thread Sandeep Arya
work and collect all the >IP address? >Date: Fri, 15 Jul 2005 17:49:26 +0200 > >Sandeep Arya wrote: > >>Hello to all >> >>Well this is my first mail on this list. I am facing a problem associated >>with collecting IP address on my network. >> &

<    1   2