I have a need to block a tenant URL in vcloud and have managed to do this for the direct attempts, ie vcloudaddress.com/tenant/tenantname, but I can't seem to block the
/login/?service=tenant:tenantname&redirectTo=blahblahblah
I need to wildcard, it but how do I do that in HAProxy-speak?
This is what I have at present:
acl trusted_ip src IP1
acl trusted_ip src IP2
acl trusted_ip src IP3
acl trusted_ip src IP4
acl trusted_ip src IP5
acl protected_page path_beg -i /cloud/org/tenantname/
acl protected_page path_beg -i /tenant/tenantname
acl protected_page path_beg -i /login/?service=tenant:tenantname
acl protected_page path_beg -i /api-explorer/tenant/tenantname
block if !trusted_ip protected_page
All seem to work apart from this one:
acl protected_page path_beg -i /login/?service=tenant:tenantname
Any help would be much appreciated