Parent/Child EHV configurations where HTTP request use longest match in wildcard domains may be processed incorrectly.
Documentation: Wildcard SNI Matching for Virtual Hosting
Example configuration:
Child-VS-A
RULE
{
"host": "*.example.com",
"rules": [
{
"matches": {
"path": {
"match_case": "INSENSITIVE",
"match_criteria": "BEGINS_WITH",
"match_decoded_string": true,
"match_str": [
"/"
]
}
},
"name": "Example-Rule"
}
]
}
Child-VS-B
RULE
{
"host": "*.test.example.com",
"rules": [
{
"matches": {
"path": {
"match_case": "INSENSITIVE",
"match_criteria": "BEGINS_WITH",
"match_decoded_string": true,
"match_str": [
"/"
]
}
},
"name": "Example-Rule"
}
]
}
HTTP request with SNI domain "foo.test.example.com" can be incorrectly sent to Child-VS-A instead of Child-VS-B and not follow the expected longest match domain.
Affects Versions:
22.1.1 - 22.1.6
30.1.x
This is a day one issue that was identified with the EVH feature. Virtual service with EVH domain exact match will take more precedence than domain with wildcard.
This issue has been address in later GA releases of VMware Avi Load Balancer. Please upgrade to the fix versions.
AV-201304: Requests are potentially being sent to the EVH virtual service with a wildcard domain instead of being processed by the EVH virtual service with a matching exact domain.
Fix Versions: 22.1.7, 30.2.1, 32.2.2