-
Type:
Suggestion
-
Resolution: Unresolved
-
None
-
Component/s: Agents
-
1
-
2
Problem Definition
Bamboo performs the IP authentication check for remote agents on a combination of the REMOTE_ADDR + X-Forwarded-For (HTTP Header) value.
This can be problematic when the incoming connection comes via reverse proxy / clustered load balancer where the IP address of the incoming connection changes. Any changes to the load balancer address requires re-approval of every agent.
Suggested Solution
Bamboo should have trusted proxies functionality similar to Crowd, for remote agent authentication that supports IP ranges / CIDR notation.
This would allow you to set a list of trusted proxies servers and would be a single source to update when infrastructure is changed.
Workaround
Bamboo Administration >> Agents >> Agent Authentication >> Edit IP address for each agent and update the IP range, using wildcards (e.g. 10.1.1.*) or CIDR notation for each agent.
Alternatively, you could make use of Tomcats RemoteIpValve to force the RemoteIP to the value of X-Forwarded-For for trusted proxies to remove Bamboo's view of the load balancers address on the incoming connection:
- mentioned in
-
Page Loading...