Details
-
Type:
Improvement
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 4.5.0-b1
-
Component/s: None
-
Labels:None
Description
The Order plugin will log in users and perform other functionality using the client's IP address, but it does so by passing in the server's remote address as the client's IP address, which is not necessarily the case if the server is behind a proxy. Instead, it should follow CORE-2349 and determine the IP address from Blesta's Requestor service
Update all REMOTE_ADDR references:
- User log in should not determine the IP address from "REMOTE_ADDR"
- FraudLabsPro component should not use the "REMOTE_ADDR" IP – it should pull this from the Blesta Requestor instead
- Creating an order should not set the "REMOTE_ADDR" IP – it should pull this from the Blesta Requestor instead
- When validating recaptcha, don't use the "REMOTE_ADDR" IP – it should pull this from the Blesta Requestor instead
- When determining the GeoIP location data, do not base it on the "REMOTE_ADDR" IP – it should pull this from the Blesta Requestor instead
- Running the anti-fraud check should do so not by using the "REMOTE_ADDR" IP – it should pull this from the Blesta Requestor instead
Issue Links
- is blocked by
-
CORE-2349 Add support for the x-forwarded-for header for load balanced environments
-
- Closed
-
Activity
Story Points | 1 |
Sprint | 4.5.0 Sprint 2 [ 67 ] |
Rank | Ranked higher |
Description |
The Order plugin will perform user log-ins, but it does so by passing in the server's remote address as the client's IP address, which is not necessarily the case if the server is behind a load balancer. Instead, it should follow |
The Order plugin will perform user log-ins, but it does so by passing in the server's remote address as the client's IP address, which is not necessarily the case if the server is behind a load balancer. Instead, it should follow * Also update the FraudLabsPro component using the "REMOTE_ADDR" IP -- it should pull this from the Blesta Requestor instead |
Description |
The Order plugin will perform user log-ins, but it does so by passing in the server's remote address as the client's IP address, which is not necessarily the case if the server is behind a load balancer. Instead, it should follow * Also update the FraudLabsPro component using the "REMOTE_ADDR" IP -- it should pull this from the Blesta Requestor instead |
The Order plugin will perform user log-ins, but it does so by passing in the server's remote address as the client's IP address, which is not necessarily the case if the server is behind a load balancer. Instead, it should follow Update all REMOTE_ADDR references: * User log in to not determine the IP address from "REMOTE_ADDR" * FraudLabsPro component should not use the "REMOTE_ADDR" IP -- it should pull this from the Blesta Requestor instead * Creating an order should not set the "REMOTE_ADDR" IP -- it should pull this from the Blesta Requestor instead * When validating recaptcha, don't use the "REMOTE_ADDR" IP -- it should pull this from the Blesta Requestor instead * When determining the GeoIP location data, do not base it on the "REMOTE_ADDR" IP -- it should pull this from the Blesta Requestor instead * Running the anti-fraud check should do so not by using the "REMOTE_ADDR" IP -- it should pull this from the Blesta Requestor instead |
Sprint | 4.5.0 Sprint 2 [ 67 ] |
Rank | Ranked higher |
Story Points | 1 | 3 |
Sprint | 4.5.0 Sprint 2 [ 67 ] |
Rank | Ranked lower |
Summary | Order: Allow log-ins via x-forwarded-for header | Order: Allow IP from the x-forwarded-for header |
Description |
The Order plugin will perform user log-ins, but it does so by passing in the server's remote address as the client's IP address, which is not necessarily the case if the server is behind a load balancer. Instead, it should follow Update all REMOTE_ADDR references: * User log in to not determine the IP address from "REMOTE_ADDR" * FraudLabsPro component should not use the "REMOTE_ADDR" IP -- it should pull this from the Blesta Requestor instead * Creating an order should not set the "REMOTE_ADDR" IP -- it should pull this from the Blesta Requestor instead * When validating recaptcha, don't use the "REMOTE_ADDR" IP -- it should pull this from the Blesta Requestor instead * When determining the GeoIP location data, do not base it on the "REMOTE_ADDR" IP -- it should pull this from the Blesta Requestor instead * Running the anti-fraud check should do so not by using the "REMOTE_ADDR" IP -- it should pull this from the Blesta Requestor instead |
The Order plugin will log in users and perform other functionality using the client's IP address, but it does so by passing in the server's remote address as the client's IP address, which is not necessarily the case if the server is behind a proxy. Instead, it should follow Update all REMOTE_ADDR references: * User log in should not determine the IP address from "REMOTE_ADDR" * FraudLabsPro component should not use the "REMOTE_ADDR" IP -- it should pull this from the Blesta Requestor instead * Creating an order should not set the "REMOTE_ADDR" IP -- it should pull this from the Blesta Requestor instead * When validating recaptcha, don't use the "REMOTE_ADDR" IP -- it should pull this from the Blesta Requestor instead * When determining the GeoIP location data, do not base it on the "REMOTE_ADDR" IP -- it should pull this from the Blesta Requestor instead * Running the anti-fraud check should do so not by using the "REMOTE_ADDR" IP -- it should pull this from the Blesta Requestor instead |
Summary | Order: Allow IP from the x-forwarded-for header | Order: Allow IPs from the x-forwarded-for header |

Status | Open [ 1 ] | In Progress [ 3 ] |

Status | In Progress [ 3 ] | In Review [ 5 ] |
Resolution | Fixed [ 1 ] |
Remaining Estimate | 0 minutes [ 0 ] | |
Time Spent | 1 hour, 11 minutes [ 4260 ] | |
Worklog Id | 11675 [ 11675 ] |
Sprint | 4.5.0 Sprint 2 [ 67 ] | 4.5.0 Sprint 2, 4.5.0 Sprint 3 [ 67, 74 ] |
Rank | Ranked higher |

Status | In Review [ 5 ] | Closed [ 6 ] |