Jump to content
Welcome to our new Citrix community!

Responder to check client ip


Recommended Posts

Hi.

Have this problem i don't understand.

I'm creating this responder that should check an url and client ip.

If url contains "testpath" and if "true-client-ip" exist in the header or if it don't exist it should check client source ip and match it to a location.


HTTP.REQ.URL.CONTAINS("testpath") && (HTTP.REQ.HEADER("True-Client-IP").TYPECAST_IP_ADDRESS_T.MATCHES_LOCATION("testenv_allowed.*.*.*.*.*") || CLIENT.IP.SRC.MATCHES_LOCATION("testenv_allowed.*.*.*.*.*"))
On this policy i get "Undefined Hits".


Do i have to add two policys? One for the header and on for the source ip.

 

Regards
Krister

Link to comment
Share on other sites

  • 1 month later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...