Skip to content
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

Make hostname resolution for loopback address more robust. #89788

Conversation

slobodanadamovic
Copy link
Contributor

Implemented a fall-back to localhost when FQDN for
loopback address (127.0.0.1) cannot be resolved.
This can happen if test platform's DNS resolution
is not properly configured.

Closes #89324

Implemented a fall-back to `localhost` when FQDN for
loopback address (`127.0.0.1`) cannot be resolved.
This can happen if test platform's DNS resolution
is not properly configured.
@slobodanadamovic slobodanadamovic added >test Issues or PRs that are addressing/adding tests :Security/Authentication Logging in, Usernames/passwords, Realms (Native/LDAP/AD/SAML/PKI/etc) Team:Security Meta label for security team auto-backport-and-merge v8.5.0 v7.17.7 v8.4.2 labels Sep 2, 2022
@slobodanadamovic slobodanadamovic self-assigned this Sep 2, 2022
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-security (Team:Security)

Copy link
Contributor

@jakelandis jakelandis left a comment

Choose a reason for hiding this comment

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

LGTM

@elasticsearchmachine
Copy link
Collaborator

💚 Backport successful

Status Branch Result
7.17
8.4

slobodanadamovic added a commit to slobodanadamovic/elasticsearch that referenced this pull request Sep 8, 2022
…9788)

Implemented a fall-back to `localhost` when FQDN for
loopback address (`127.0.0.1`) cannot be resolved.
This can happen if test platform's DNS resolution
is not properly configured.

Closes elastic#89324
slobodanadamovic added a commit to slobodanadamovic/elasticsearch that referenced this pull request Sep 8, 2022
…9788)

Implemented a fall-back to `localhost` when FQDN for
loopback address (`127.0.0.1`) cannot be resolved.
This can happen if test platform's DNS resolution
is not properly configured.

Closes elastic#89324
elasticsearchmachine pushed a commit that referenced this pull request Sep 8, 2022
…89899)

Implemented a fall-back to `localhost` when FQDN for
loopback address (`127.0.0.1`) cannot be resolved.
This can happen if test platform's DNS resolution
is not properly configured.

Closes #89324
elasticsearchmachine pushed a commit that referenced this pull request Sep 8, 2022
…89898)

Implemented a fall-back to `localhost` when FQDN for
loopback address (`127.0.0.1`) cannot be resolved.
This can happen if test platform's DNS resolution
is not properly configured.

Closes #89324
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Security/Authentication Logging in, Usernames/passwords, Realms (Native/LDAP/AD/SAML/PKI/etc) Team:Security Meta label for security team >test Issues or PRs that are addressing/adding tests v7.17.7 v8.4.2 v8.5.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[CI] KerberosAuthenticationIT testLoginByUsernamePassword failing
3 participants