-
Notifications
You must be signed in to change notification settings - Fork 206
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
We received a vulnerability disclosure due to how we pick a remote IP…
… address. (#99) * We received a vulnerability disclosure due to how we pick a remote IP address. Disclosure URL: https://gist.github.com/adam-p/4b777de4bda0027f4c3daa45618adcdc This is an attempt to address the situation. 1. We no longer configure SetIPLookups on default. 2. We address the two different SetIPLookups confusion in two different place by removing both of them. 3. We add a new, explicit way, for user to define how IP address should be picked up. Tests are all updated to use the new method of picking IP address. This will be a backward incompatible change so version number has to be bumped to 7. * Make golint happy. * Update documentation. * We don’t need the ability to pick which header to use. * Fix tests. --------- Co-authored-by: Didip Kerabat <didipkerabat@didip-personal-mbp.local>
- Loading branch information
Showing
9 changed files
with
242 additions
and
156 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.