|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Obtain IP address |
« View previous topic :: View next topic » |
Author |
Message
|
saviobarr |
Posted: Fri Jun 17, 2016 11:00 am Post subject: Obtain IP address |
|
|
Centurion
Joined: 21 Oct 2014 Posts: 100 Location: Sao Paulo, Brazil
|
Hi everyone,
I have a message flow, which has a SoapInput node. Is it possible to identify the IP address of a client, who calls my message flow?
I verified the KC and didn't find a way to do this
[]'s
Savio _________________ Go as far as you can go. Then go farther! |
|
Back to top |
|
 |
Vitor |
Posted: Fri Jun 17, 2016 11:12 am Post subject: Re: Obtain IP address |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
saviobarr wrote: |
I verified the KC and didn't find a way to do this |
How did you manage not to find this? Which is the same information you'd get (for example) for a Java app that exposes a web endpoint.
As the KC indicates, this is the address of the client or the proxy they're using. If you're behind a network load balancer, it might be the address of the load balancer rather than the client. This, combined with the ease with which an IP address can be spoofed, makes the usefulness of this information somewhat limited.
If you're trying to identify source IP as some kind of security measure, either:
- don't, and use a credential based solution instead
- get the IP addresses filtered at the network level _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
saviobarr |
Posted: Fri Jun 17, 2016 11:23 am Post subject: Re: Obtain IP address |
|
|
Centurion
Joined: 21 Oct 2014 Posts: 100 Location: Sao Paulo, Brazil
|
Hi Vitor,
Thanks for replying.
Quote: |
this? Which is the same information you'd get (for example) for a Java app that exposes a web endpoint. |
I saw the X-Remote-Host thing before, but I was getting the IP of my local machine, where the Broker is running.
Quote: |
As the KC indicates, this is the address of the client or the proxy they're using. If you're behind a network load balancer, it might be the address of the load balancer rather than the client. |
I am testing calling from a VM to my local machine, but the proxy part can explain why I am getting my local's IP, and not VM's IP.
Have a nice weekend _________________ Go as far as you can go. Then go farther! |
|
Back to top |
|
 |
mqjeff |
Posted: Fri Jun 17, 2016 11:29 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
What address things outside a VM see depends entirely on how the VM is configured, network wise. _________________ chmod -R ugo-wx / |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|