-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Increase exclusion list. #3
Conversation
lib/private_address_check.rb
Outdated
@@ -6,21 +6,37 @@ | |||
module PrivateAddressCheck | |||
module_function | |||
|
|||
module PrivateAddressCheck |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Incorrectly added?
lib/private_address_check.rb
Outdated
CIDR_LIST = [ | ||
# Loopback |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please keep comments and segment each addition into specific sections under a comment that explains what it is.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@reedloden I plan on adding comments in just a bit. On top of that, this PR doesn't even include tests so it isn't ready for merging quite yet.
Thoughts, @jtdowney? |
Sorry for the delay, for some reason I wasn't getting any notifications from GitHub for this repo. I think this looks good. My only feedback is that the quotes are inconsistent. The rest of the gem uses double quotes so it would be good to do that here. |
@jtdowney That should be fixed now. |
Thanks! |
This is CVE-2017-0909. |
Since you are using a blacklist approach, let's make absolutely sure no address can bypass it.