axis-c-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yampolsky, Robert" <ryamp...@harris.com>
Subject RE: Filtering requests by client IP address?
Date Wed, 01 Jun 2005 14:28:13 GMT
>However, as we are running with Apache it should be possible to get
this
>from the server side module and expose that to the service. 

Is this something you're willing to change in the next axis version, or
are you saying that I should just edit my service wrapper to dig into
the message heirarchy and pass in the socket handle member from the
Channel down to my service handler, which can do the rest?

By the way, if I use the SSL Channel, will there be an equivalent to the
socket handle in the HTTP Channel?  (I'm not familiar with the workings
of SSL - it looks like SecureChannel inherits from Channel, so I guess
there would be a socket handle available).

-----Original Message-----
From: Samisa Abeysinghe [mailto:sabeysinghe@virtusa.com] 
Sent: Wednesday, June 01, 2005 7:45 AM
To: Apache AXIS C User List
Subject: Re: Filtering requests by client IP address?

To my knowledge, it is not possible to extract client IP from server
side.

However, as we are running with Apache it should be possible to get this
from the server side module and expose that to the service.

Thanks,
Samisa...



On Tue, 2005-05-31 at 16:03, Yampolsky, Robert wrote:
> Is it possible in an Axis C++ service to determine the IP address of
the
> client.  My service is supposed to filter on this and match it up
> against a database of registered clients.
> 
> It looks like it might be possible to dig into the call heirarchy and
> get the socket handle from the Channel, but I'm wondering if there's a
> standard way to query for the client IP address.  If not, is this
> something that *should* be available?
> 
> R o b   Y a m p o l s k y
> Harris Corporation
> ryampols@harris.com
> (212) 303 - 4250
-- 
Samisa Abeysinghe <sabeysinghe@virtusa.com>
Virtusa Corporation

Mime
View raw message