-
Notifications
You must be signed in to change notification settings - Fork 43
Add AAAA Support #136
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
Add AAAA Support #136
Conversation
c871cb3
to
ced3fba
Compare
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.
Hi! I know this is still a work in progress but wanted to drop a comment about the 192 addresses. :)
e4e1168
to
b8d52f0
Compare
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.
👍🏾 on most of this but will defer an approval after a second read as this is a good chunk to review.
Specifically, the tests look good and the updates to update-cdn-ips
are 👌🏾 too. I'm still weighing the pros and cons around merging A and AAAA checks into single functions as it makes for an easier implementation but increases risk around misuse of the API.
ℹ️ Going to make some updates. |
f9146ea
to
fe48335
Compare
Ready for another review. 🚀 |
`git add --verbose #{file}` | ||
end | ||
|
||
def parse_cdn_response(source, ips) | ||
send("parse_#{source}", ips) |
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.
🍜 not a blocker, but I think it's more readable here to
case source
when "fastly"
# ...
when "cloudflare"
# ...
else
raise "oh no #{source}"
end
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.
code looks 👍🏼
d2d981c
to
2786ce0
Compare
2606:50c0:8000::153 | ||
2606:50c0:8001::153 | ||
2606:50c0:8002::153 | ||
2606:50c0:8003::153 |
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.
👍 , but just for confirmation:
curl https://api.github.com/meta | jq .pages | grep ::
"2606:50c0:8000::153/128",
"2606:50c0:8001::153/128",
"2606:50c0:8002::153/128",
"2606:50c0:8003::153/128"
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.
Thanks. Yeah I bet I had a bad block cut on the CIDR and left the 8
🙈
No description provided.