Page MenuHomeVyOS Platform

haproxy: Add -m end option to match domain suffix
Closed, ResolvedPublicFEATURE REQUEST

Description

Summary
Request to add the -m end option for domain-name matches (i.e., string that appears at the end)

Need similar to this :

req_ssl_sni -i tenant.domain.com #match the subdomain of the tenant
req_ssl_sni -m end .tenant.domain.com #matches the wildcards of the subdomain of the tenant

The functionality of the first command is already exists in https://github.com/vyos/vyos-1x/blob/current/data/templates/load-balancing/haproxy.cfg.j2#L129

Need an equivalent to the second command for end domain matching

Use case

acl tenant_sni req_ssl_sni -m end .tenant.domain.com
Creates an ACL named tenant_sni that matches HTTPS connections with SNI ending in .tenant.domain.com.

Details

Version
-
Is it a breaking change?
Perfectly compatible
Issue type
Feature (new functionality)

Event Timeline

c-po renamed this task from haproxy: Add -m end option to match domain suffix to haproxy: Add -m end option to match domain suffix.Aug 13 2025, 2:22 PM
c-po triaged this task as Normal priority.
sarthurdev changed the task status from Open to Needs testing.Aug 13 2025, 9:07 PM
sarthurdev claimed this task.
sarthurdev moved this task from Need Triage to Backport Candidates on the VyOS Rolling board.
sarthurdev subscribed.
sarthurdev moved this task from Open to Finished on the VyOS 1.5 Circinus (1.5-stream-2025-Q3) board.
sarthurdev moved this task from Backport Candidates to Completed on the VyOS Rolling board.
dmbaturin changed Is it a breaking change? from Unspecified (possibly destroys the router) to Perfectly compatible.