Skip to content

Special handle localhost/127.0.0.1 in handshakes? #590

@ktoso

Description

@ktoso

When we get handshakes we compare the string of the passed in host i.e. "localhost" to what we bound to.

If we bound to 127.0.0.1 but someone tries to handshake with localhost, we'd reject this (!).

Ideas

  • perhaps we should resolve the incoming hostname before comparing it with the host we bound to?
  • perhaps special treating localhost and its IPv4 and IPv6 representations in handshakes?

Metadata

Metadata

Assignees

No one assigned

    Labels

    discussionNeeds further discussion to reach desicionhelp wantedGreat tickets to get started contributing!size/SSmall task. (A couple of hours of work.)

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions