Skip to content

Route Matching during filter dispatch #6824

Open

Description

@mandarjog

At present envoy does not support route matching to selectively dispatch a filter.

Nginx/Apache support configs like the following

<Location "/super-secret">
    AuthBasicProvider ldap
   AuthLDAPURL ldap://127.0.0.1/dc=example,dc=com?uid?one
    Require valid-user
</Location>

This config uses the ldap filter only when a route is matched.
At present every filter must support an ad-hoc enable-disable flag.
This should be supported directly.

Options:

  • Add RouteMatch to HTTPFilter
  • Standardize on request dynamic metadata key such as filter_name.enabled.
    This metadata can then be added as part of a route. httpConnectionManager should check this value before dispatching.

Activity

  1. mandarjog commented on May 6, 2019

    @mandarjog
    ContributorAuthor
  2. added
    enhancement
    on May 7, 2019
  3. stale commented on Jun 10, 2019

    @stale

    This issue has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in the next 7 days unless it is tagged "help wanted" or other activity occurs. Thank you for your contributions.

  4. added
    stale
    on Jun 10, 2019
  5. stale commented on Jun 17, 2019

    @stale

    This issue has been automatically closed because it has not had activity in the last 37 days. If this issue is still valid, please ping a maintainer and ask them to label it as "help wanted". Thank you for your contributions.

  6. mandarjog commented on Jun 26, 2019

    @mandarjog
    ContributorAuthor

    @alyssawilk we would still want this to be possible. Can you mark it help wanted?

  7. removed
    stale
    on Jun 27, 2019
  8. Kupstas commented on Jul 5, 2019

    @Kupstas

    What about this issue? I think many people needs this opportunity

  9. mattklein123 commented on Sep 17, 2020

    @mattklein123
    Member

    cc @snowp @yangminzhu another related issue to #12968. Possibly a duplicate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/httpenhancementhelp wanted

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions