Page MenuHomePhabricator

Update Preamble documentation for clusters with mixed request sources and loadbalancer chains
ClosedPublic

Authored by epriestley on Aug 16 2016, 10:49 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Apr 21, 3:44 PM
Unknown Object (File)
Wed, Apr 17, 2:35 PM
Unknown Object (File)
Thu, Apr 11, 6:59 AM
Unknown Object (File)
Tue, Apr 9, 12:45 AM
Unknown Object (File)
Thu, Apr 4, 1:26 AM
Unknown Object (File)
Sun, Mar 31, 10:05 PM
Unknown Object (File)
Fri, Mar 29, 11:28 PM
Unknown Object (File)
Fri, Mar 29, 6:24 AM
Subscribers
None

Details

Summary

Fixes T11487. Improve documentation for three situations:

  • When you configure a cluster behind a load balancer, all requests are trusted but not all have an "X-Forwarded-For" header. Change the suggested snippet to read this header only if it exists.
  • When a request goes through a series of load balancers (as with a CDN) they can end up writing a list of IPs to the header. Parse these.
  • Remove the "rate limiting" stuff -- this got disabled/removed a long time ago and is misleading/incorrect.
Test Plan

Read documentation.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

epriestley updated this revision to Diff 39446.
epriestley retitled this revision from to Update Preamble documentation for clusters with mixed request sources and loadbalancer chains.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: chad.
  • Add the other half of a missing sentence
chad edited edge metadata.
This revision is now accepted and ready to land.Aug 16 2016, 11:05 PM
This revision was automatically updated to reflect the committed changes.