Switch to full style
Use this forum to post questions relating to WinGate, feature requests, technical or configuration problems
Post a reply

Policy by Request "c-agent"

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 3457 times


TQVM

Re: Policy by Request "c-agent"

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

Re: Policy by Request "c-agent"

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

Re: Policy by Request "c-agent"

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
Post a reply