Skip to content

Wildcards #9

@Opisek

Description

@Opisek

Add support for *.domain.tld

This is for example useful for large networks behind a NAT. One single entry proxy can for example relay all *.a.tld traffic to host a and all *.b.tld traffic to host b. Then, hosts a and b can set up their own proxy if they so wish, reducing the configuration needed on the entry proxy.

Possible implementation

  • Try normal lookup in the dictonary.
    • If succeeds: Continue like normal
    • If fails: Replace the highest level domain with an asterisk (*) and perform another lookup
      • If succeeds: Connect like you would expect
      • If fails: Fail

Security considerations: Make sure the domain is not empty before trying to replace it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions