Products
Applications
Support
Company
How To Buy
Skip to main content (Press Enter).
Sign in
Skip auxiliary navigation (Press Enter).
Register
Skip main navigation (Press Enter).
Toggle navigation
Search Options
Home
Communities
All Communities
Application Networking and Security
Enterprise Software
Mainframe Software
Software Defined Edge
Symantec Enterprise
Tanzu
VMware Cloud Foundation
Blogs
All Blogs
Enterprise Software
Mainframe Software
Symantec Enterprise
VMware
Events
All Events
Enterprise Software
Mainframe Software
Symantec Enterprise
VMware
Water Cooler
Betas
Flings
Education
Groups
Enterprise Software
Mainframe Software
Symantec Enterprise
VMware
Members
Layer7 API Management
Private Community
View Only
Community Home
Threads
Library
Events
Members
Back to discussions
Expand all
|
Collapse all
sort by most recent
sort by thread
how to know client or requestor ip address
Jump to
Best Answer
Darwin Tjowandi
May 02, 2020 02:14 AM
hi everyone, what's the best ways to know the ip address of clients / requesters submitting web api ...
Deactivated User
May 03, 2020 10:27 AM
Best Answer
If you are using a load balancer ahead of the Layer 7 API gateway, you will need the load balancer ...
Darwin Tjowandi
May 05, 2020 07:31 PM
thanks ronald. in my case, the context variable that contains the client ip address is ${request.http.headervalues.x-forwarded-for}. ...
Blood Thief
May 20, 2020 11:11 AM
Thank you for the explanation. It is clear for me.------------------------------------------- Original ...
1.
how to know client or requestor ip address
0
Recommend
Darwin Tjowandi
Posted May 02, 2020 02:14 AM
Reply
Reply Privately
Options Dropdown
hi everyone,
what's the best ways to know the ip address of clients / requesters submitting web api calls to the ca api gw hosts that are behind a load balancer ?
i think it can be obtained from the http header ? if it can, how ?
thanks
darwin
2.
RE: how to know client or requestor ip address
Best Answer
0
Recommend
Deactivated User
Posted May 03, 2020 10:27 AM
Reply
Reply Privately
Options Dropdown
If you are using a load balancer ahead of the Layer 7 API gateway, you will need the load balancer to set an header value like client IP in header which you can access using header attributes
https://community.broadcom.com/communities/community-home/digestviewer/viewthread?MID=771522
If there is no load balancer you can use tcp layer context variable to access this value
https://techdocs.broadcom.com/content/broadcom/techdocs/us/en/ca-enterprise-software/layer7-api-management/api-gateway/9-2/reference/context-variables/transport-layer-context-variables.html
e.g.
${request.tcp.remoteHost}
------------------------------
Pre-Sales Consultant
CA Southern Africa
------------------------------
Original Message
Original Message:
Sent: 05-02-2020 02:13 AM
From: Darwin Tjowandi
Subject: how to know client or requestor ip address
hi everyone,
what's the best ways to know the ip address of clients / requesters submitting web api calls to the ca api gw hosts that are behind a load balancer ?
i think it can be obtained from the http header ? if it can, how ?
thanks
darwin
3.
RE: how to know client or requestor ip address
0
Recommend
Darwin Tjowandi
Posted May 05, 2020 07:31 PM
Reply
Reply Privately
Options Dropdown
thanks ronald. in my case, the context variable that contains the client ip address is ${request.http.headervalues.x-forwarded-for}. this works after x-forwarded-for setting is enabled on the load balancer (for the hosts behind the vip)
Original Message
Original Message:
Sent: 05-03-2020 10:27 AM
From: Ronald Dsouza
Subject: how to know client or requestor ip address
If you are using a load balancer ahead of the Layer 7 API gateway, you will need the load balancer to set an header value like client IP in header which you can access using header attributes
https://community.broadcom.com/communities/community-home/digestviewer/viewthread?MID=771522
If there is no load balancer you can use tcp layer context variable to access this value
https://techdocs.broadcom.com/content/broadcom/techdocs/us/en/ca-enterprise-software/layer7-api-management/api-gateway/9-2/reference/context-variables/transport-layer-context-variables.html
e.g.
${request.tcp.remoteHost}
------------------------------
Pre-Sales Consultant
CA Southern Africa
Original Message:
Sent: 05-02-2020 02:13 AM
From: Darwin Tjowandi
Subject: how to know client or requestor ip address
hi everyone,
what's the best ways to know the ip address of clients / requesters submitting web api calls to the ca api gw hosts that are behind a load balancer ?
i think it can be obtained from the http header ? if it can, how ?
thanks
darwin
4.
RE: how to know client or requestor ip address
0
Recommend
Blood Thief
Posted May 20, 2020 11:11 AM
Reply
Reply Privately
Options Dropdown
Thank you for the explanation. It is clear for me.
Original Message
Original Message:
Sent: 05-03-2020 10:27 AM
From: Ronald Dsouza
Subject: how to know client or requestor ip address
If you are using a load balancer ahead of the Layer 7 API gateway, you will need the load balancer to set an header value like client IP in header which you can access using header attributes
https://community.broadcom.com/communities/community-home/digestviewer/viewthread?MID=771522
If there is no load balancer you can use tcp layer context variable to access this value
https://techdocs.broadcom.com/content/broadcom/techdocs/us/en/ca-enterprise-software/layer7-api-management/api-gateway/9-2/reference/context-variables/transport-layer-context-variables.html
e.g.
${request.tcp.remoteHost}
------------------------------
Pre-Sales Consultant
CA Southern Africa
Original Message:
Sent: 05-02-2020 02:13 AM
From: Darwin Tjowandi
Subject: how to know client or requestor ip address
hi everyone,
what's the best ways to know the ip address of clients / requesters submitting web api calls to the ca api gw hosts that are behind a load balancer ?
i think it can be obtained from the http header ? if it can, how ?
thanks
darwin
×
New Best Answer
This thread already has a best answer. Would you like to mark this message as the new best answer?
Copyright 2019. All rights reserved.
Powered by Higher Logic