Closed Bug 615348 Opened 14 years ago Closed 14 years ago

blacklist needs to honor X-Forwarded-For headers

Categories

(Cloud Services :: Server: Key Exchange, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: Atoll, Assigned: tarek)

Details

we discovered that the blacklist functionality isn't reading X-Forwarded-For correctly.

Tarek found a line in middleware that, when changed from 'X_FORWARDED_FOR' to 'HTTP_X_FORWARDED_FOR', fixes part of the bug.

Then the blacklist IP is, quoted to preserve exactly:

"10.250.5.224, 10.250.64.84"

So we actually need to check and blacklist the first IP in that list, "10.250.5.224", rather than any of the others (there could be 3+).
Component: Server: Other → Server: Key Exchange
QA Contact: other-server → key-exchange-server
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.