Policy by Request "c-agent"

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

Moderator: Qbik Staff

Policy by Request "c-agent"

Postby sawi » Jul 22 16 1:15 pm

Hi

can I set policy by detect c-agent?
example : in policy chart, set to allow all connection from list contain "c-agent" name *avast* , *AntiVir* , etc...

this is c-agent example in my WWW Proxy log
2016-07-22_081317.png
2016-07-22_081317.png (6.4 KiB) Viewed 2287 times


TQVM
sawi
Senior Member
 
Posts: 129
Joined: Mar 26 09 4:49 pm

Re: Policy by Request "c-agent"

Postby adrien » Jul 22 16 2:09 pm

Hi

you can do this in flow-chart policy.

Just need to access Request.Headers.Get("User-Agent") ,and check that vs the agents you want to specify behaviour for.

Regards

Adrien
adrien
Qbik Staff
 
Posts: 5441
Joined: Sep 03 03 2:54 pm
Location: Auckland

Re: Policy by Request "c-agent"

Postby sawi » Jul 22 16 2:31 pm

I dont see any Request.Headers.Get... to select in NAT Policy chart
Can I manual type it? ( DataList lookup -> then manual typing Request.Headers.Get... )

TQVM
sawi
Senior Member
 
Posts: 129
Joined: Mar 26 09 4:49 pm

Re: Policy by Request "c-agent"

Postby adrien » Jul 22 16 2:44 pm

Hi

NAT doesn't see any of that, you need to be going through the www proxy.

NAT only sees IPs and ports.

Adrien
adrien
Qbik Staff
 
Posts: 5441
Joined: Sep 03 03 2:54 pm
Location: Auckland


Return to WinGate

Who is online

Users browsing this forum: No registered users and 27 guests