Skip to content

dns: switch from ares_gethostbyname to ares_getaddrinfo#7395

Merged
htuch merged 7 commits intoenvoyproxy:masterfrom
yxue:dnsttl1
Jun 27, 2019
Merged

dns: switch from ares_gethostbyname to ares_getaddrinfo#7395
htuch merged 7 commits intoenvoyproxy:masterfrom
yxue:dnsttl1

Conversation

@yxue
Copy link
Copy Markdown
Member

@yxue yxue commented Jun 25, 2019

Signed-off-by: crazyxy yxyan@google.com

Upgrade c-ares. Part of #6975

Description: Upgrade c-ares. Switch from ares_gethostbyname to ares_getaddrinfo
Risk Level: Med
Testing: Unit test
Docs Changes: N/A
Release Notes:

yxue added 2 commits June 25, 2019 00:51
Signed-off-by: crazyxy <yxyan@google.com>
Signed-off-by: crazyxy <yxyan@google.com>
Copy link
Copy Markdown
Member

@htuch htuch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM modulo comments, thanks for helping to make review easier.
/wait

Signed-off-by: crazyxy <yxyan@google.com>
Copy link
Copy Markdown
Member

@htuch htuch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, just two more quick comments.
/wait

Signed-off-by: crazyxy <yxyan@google.com>
Signed-off-by: crazyxy <yxyan@google.com>
htuch
htuch previously approved these changes Jun 26, 2019
Copy link
Copy Markdown
Member

@htuch htuch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@htuch
Copy link
Copy Markdown
Member

htuch commented Jun 26, 2019

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 2 pipeline(s).

Signed-off-by: crazyxy <yxyan@google.com>
Signed-off-by: crazyxy <yxyan@google.com>
@yxue
Copy link
Copy Markdown
Member Author

yxue commented Jun 27, 2019

@htuch @mattklein123 Could you please take a look? Thanks!

Copy link
Copy Markdown
Member

@htuch htuch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@htuch htuch merged commit 9d2068f into envoyproxy:master Jun 27, 2019
@yxue yxue deleted the dnsttl1 branch July 1, 2019 17:45
dnoe added a commit to dnoe/envoy that referenced this pull request Jul 11, 2019
In envoyproxy#7395, the c-ARES dependency
version number was increased to gain access to a new getaddrinfo API by
importing a specific nonrelease SHA from c-ARES.

This specific SHA did not include
c-ares/c-ares@b949cc3
which contains important security relevant fixes for the getaddrinfo
API.

This PR bumps the c-ARES version number to include them.

Signed-off-by: Dan Noé <dpn@google.com>
alyssawilk pushed a commit that referenced this pull request Jul 11, 2019
In #7395, the c-ARES dependency
version number was increased to gain access to a new getaddrinfo API by
importing a specific nonrelease SHA from c-ARES.

This specific SHA did not include
c-ares/c-ares@b949cc3
, made subsequently, which contains important security relevant fixes for the getaddrinfo
API.

This PR bumps the c-ARES version number to include them.

Signed-off-by: Dan Noé dpn@google.com

Description:
Risk Level: Low - external dependency version update
Testing: bazel test //test/...

Signed-off-by: Dan Noé <dpn@google.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants