match value in a specific URL

Use this forum to post questions relating to WinGate, feature requests, technical or configuration problems

Moderator: Qbik Staff

match value in a specific URL

Postby avb » Feb 14 14 5:44 am

Hi,

I would like to redirect one specific website toward a gateway but it doesnt work.

I use expression "session.gateway="192.168.1.253" to definine the gateway redirection and request.URL to match website value. It works with all the websites expect this one : https://quickspot.fr:8443
I try different value in the Request.Url : quickspot, *quickspot* , *www.quickspot.fr* , *8443* etc ... but it doesn"t work.
Can you help me?

thank you
avb
 
Posts: 27
Joined: Aug 27 13 10:50 pm

Re: match value in a specific URL

Postby Aaron Koolen-Bourke » Feb 14 14 8:43 am

Hi there. The port is not included in the URL so to match on the port number, use request.port.

Let me know how this goes.
Aaron
Aaron Koolen-Bourke
Qbik Staff
 
Posts: 56
Joined: Dec 01 10 2:48 pm

Re: match value in a specific URL

Postby avb » Feb 14 14 8:31 pm

I try with request.port but it still doesn't work.
avb
 
Posts: 27
Joined: Aug 27 13 10:50 pm

Re: match value in a specific URL

Postby adrien » Feb 14 14 10:36 pm

Hi

can you look in the WWW proxy usage log and see what the requested url is for that request (cs-uri field) ? It may be something like CONNECT quickspot.fr:8443 since it's https.

Regards

Adrien de Croy
adrien
Qbik Staff
 
Posts: 5448
Joined: Sep 03 03 2:54 pm
Location: Auckland

Re: match value in a specific URL

Postby avb » Feb 14 14 11:29 pm

its : CONNECT www.quickspot.fr:8443
avb
 
Posts: 27
Joined: Aug 27 13 10:50 pm

Re: match value in a specific URL

Postby MattP » Feb 17 14 8:53 am

Hi,

What event did you use to build your policy? If it was a ProxyRequest event then a CONNECT request is not going to hit this policy. You can create a new policy for a CONNECT request and link to the same list and that will capture secure connections as well.

Matt
MattP
Qbik Staff
 
Posts: 991
Joined: Sep 08 03 4:30 pm

Re: match value in a specific URL

Postby avb » Feb 17 14 11:29 pm

Yes I use the proxyRequest event and then the connect request, I will try with the use the Connect Request request Event to see if it will capture this connection to the website.
avb
 
Posts: 27
Joined: Aug 27 13 10:50 pm

Re: match value in a specific URL

Postby avb » Feb 18 14 2:39 am

Thank you Matt, it works with the event "connect Request".
avb
 
Posts: 27
Joined: Aug 27 13 10:50 pm


Return to WinGate

Who is online

Users browsing this forum: Bing [Bot] and 2 guests