GuideReference
TrainingSupportCommunity
Reference

enhanced_​proxy_​detection

  • Property Manager name: Enhanced Proxy Detection with GeoGuard
  • Behavior version: The v2023-01-05 rule format supports the enhanced_​proxy_​detection behavior v1.2.
  • Rule format status: GA, stable
  • Access: Read/Write
  • Allowed in includes: Yes

This behavior allows you to apply proxy detection and location spoofing protection from Akamai's data provider, Geo​Guard. Configure it to identify unwanted requests redirected from four types of proxy: anonymous VPN, public proxy, The Onion Router (Tor) exit node, and smart DNS proxy. Configure your edge content to deny or redirect requests, or allow them to pass through so that you can log and audit the traffic. This and the epd​_forward​_header​_enrichment behavior work together and need to be included either in the same rule, or in the default one.

OptionTypeDescriptionRequires
enabledboolean

Applies Geo​Guard proxy detection.

{"displayType":"boolean","tag":"input","type":"checkbox"}
forward_​header_​enrichmentboolean

Sends the Enhanced Proxy Detection (Akamai-EPD) header in the forward request to determine whether the connecting IP address is an anonymous proxy. The header can contain one or more two-letter codes that indicate the IP address type detected by edge servers:

  • av for is_anonymous_vpn
  • hp for is_hosting_provider
  • pp for is_public_proxy
  • dp for is_smart_dns_proxy
  • tn for is_tor_exit_node
  • vc for is_vpn_datacentre
{"displayType":"boolean","tag":"input","type":"checkbox"}
{"if":{"attribute":"enabled","op":"eq","value":true}}
enable_​configuration_​modeenum

Specifies how to field the proxy request.

{"displayType":"enum","options":["BEST_PRACTICE","ADVANCED"],"tag":"select"}
{"if":{"attribute":"enabled","op":"eq","value":true}}
BEST_​PRACTICE

Apply a single action to the four different categories of traffic.

ADVANCED

Configure them separately. Choose the latter only if you are thoroughly familiar with Geo​Guard proxy detection. See Enhanced Proxy Detection with Geo​Guard for more information.

best_​practice_​actionenum

Specifies how to field the proxy request.

enable_​configuration_​mode is BEST_​PRACTICE
{"displayType":"enum","options":["ALLOW","DENY","REDIRECT"],"tag":"select"}
{"if":{"attribute":"enableConfigurationMode","op":"eq","value":"BEST_PRACTICE"}}
ALLOW

Allow the request.

DENY

Deny the request.

REDIRECT

Respond with a redirect.

best_​practice_​redirecturlstring (allows variables)

This specifies the URL to which to redirect requests.

best_​practice_​action is REDIRECT
{"displayType":"string","tag":"input","type":"text"}
{"if":{"attribute":"bestPracticeAction","op":"eq","value":"REDIRECT"}}
detect_​anonymous_​vpnboolean

This enables detection of requests from anonymous VPNs.

enable_​configuration_​mode is ADVANCED
{"displayType":"boolean","tag":"input","type":"checkbox"}
{"if":{"attribute":"enableConfigurationMode","op":"eq","value":"ADVANCED"}}
detect_​anonymous_​vpn​Actionenum

Specifies how to field anonymous VPN requests.

detect_​anonymous_​vpn is true
{"displayType":"enum","options":["ALLOW","DENY","REDIRECT"],"tag":"select"}
{"if":{"attribute":"detectAnonymousVpn","op":"eq","value":true}}
ALLOW

Allow the request.

DENY

Deny the request.

REDIRECT

Respond with a redirect.

detect_​anonymous_​vpn​Redirecturlstring (allows variables)

This specifies the URL to which to redirect anonymous VPN requests.

detect_​anonymous_​vpn​Action is REDIRECT
{"displayType":"string","tag":"input","type":"text"}
{"if":{"attribute":"detectAnonymousVpnAction","op":"eq","value":"REDIRECT"}}
detect_​public_​proxyboolean

This enables detection of requests from public proxies.

enable_​configuration_​mode is ADVANCED
{"displayType":"boolean","tag":"input","type":"checkbox"}
{"if":{"attribute":"enableConfigurationMode","op":"eq","value":"ADVANCED"}}
detect_​public_​proxy​Actionenum

Specifies how to field public proxy requests.

detect_​public_​proxy is true
{"displayType":"enum","options":["ALLOW","DENY","REDIRECT"],"tag":"select"}
{"if":{"attribute":"detectPublicProxy","op":"eq","value":true}}
ALLOW

Allow the request.

DENY

Deny the request.

REDIRECT

Respond with a redirect.

detect_​public_​proxy​Redirecturlstring (allows variables)

This specifies the URL to which to redirect public proxy requests.

detect_​public_​proxy​Action is REDIRECT
{"displayType":"string","tag":"input","type":"text"}
{"if":{"attribute":"detectPublicProxyAction","op":"eq","value":"REDIRECT"}}
detect_​tor_​exit_​nodeboolean

This enables detection of requests from Tor exit nodes.

enable_​configuration_​mode is ADVANCED
{"displayType":"boolean","tag":"input","type":"checkbox"}
{"if":{"attribute":"enableConfigurationMode","op":"eq","value":"ADVANCED"}}
detect_​tor_​exit_​node​Actionenum

This specifies whether to DENY, ALLOW, or REDIRECT requests from Tor exit nodes.

detect_​tor_​exit_​node is true
{"displayType":"enum","options":["ALLOW","DENY","REDIRECT"],"tag":"select"}
{"if":{"attribute":"detectTorExitNode","op":"eq","value":true}}
ALLOW

Allow the request.

DENY

Deny the request.

REDIRECT

Respond with a redirect.

detect_​tor_​exit_​node​Redirecturlstring (allows variables)

This specifies the URL to which to redirect requests from Tor exit nodes.

detect_​tor_​exit_​node​Action is REDIRECT
{"displayType":"string","tag":"input","type":"text"}
{"if":{"attribute":"detectTorExitNodeAction","op":"eq","value":"REDIRECT"}}
detect_​smart_​dns_​proxyboolean

This enables detection of requests from smart DNS proxies.

enable_​configuration_​mode is ADVANCED
{"displayType":"boolean","tag":"input","type":"checkbox"}
{"if":{"attribute":"enableConfigurationMode","op":"eq","value":"ADVANCED"}}
detect_​smart_​dns_​proxy​Actionenum

Specifies whether to DENY, ALLOW, or REDIRECT smart DNS proxy requests.

detect_​smart_​dns_​proxy is true
{"displayType":"enum","options":["ALLOW","DENY","REDIRECT"],"tag":"select"}
{"if":{"attribute":"detectSmartDNSProxy","op":"eq","value":true}}
ALLOW

Allow the request.

DENY

Deny the request.

REDIRECT

Respond with a redirect.

detect_​smart_​dns_​proxy​Redirecturlstring (allows variables)

This specifies the URL to which to redirect DNS proxy requests.

detect_​smart_​dns_​proxy​Action is REDIRECT
{"displayType":"string","tag":"input","type":"text"}
{"if":{"attribute":"detectSmartDNSProxyAction","op":"eq","value":"REDIRECT"}}
detect_​hosting_​providerboolean

This detects requests from a hosting provider.

enable_​configuration_​mode is ADVANCED
{"displayType":"boolean","tag":"input","type":"checkbox"}
{"if":{"attribute":"enableConfigurationMode","op":"eq","value":"ADVANCED"}}
detect_​hosting_​provider​Actionenum

This specifies whether to DENY, ALLOW, or REDIRECT requests from hosting providers.

detect_​hosting_​provider is true
{"displayType":"enum","options":["ALLOW","DENY","REDIRECT"],"tag":"select"}
{"if":{"attribute":"detectHostingProvider","op":"eq","value":true}}
ALLOW

Allow the request.

DENY

Deny the request.

REDIRECT

Respond with a redirect.

detect_​hosting_​provider​Redirecturlstring (allows variables)

This specifies the absolute URL to which to redirect requests from hosting providers.

detect_​hosting_​provider​Action is REDIRECT
{"displayType":"string","tag":"input","type":"text"}
{"if":{"attribute":"detectHostingProviderAction","op":"eq","value":"REDIRECT"}}
detect_​vpn_​data_​centerboolean

This enables detection of requests from VPN data centers.

enable_​configuration_​mode is ADVANCED
{"displayType":"boolean","tag":"input","type":"checkbox"}
{"if":{"attribute":"enableConfigurationMode","op":"eq","value":"ADVANCED"}}
detect_​vpn_​data_​center​Actionenum

This specifies whether to DENY, ALLOW, or REDIRECT requests from VPN data centers.

detect_​vpn_​data_​center is true
{"displayType":"enum","options":["ALLOW","DENY","REDIRECT"],"tag":"select"}
{"if":{"attribute":"detectVpnDataCenter","op":"eq","value":true}}
ALLOW

Allow the request.

DENY

Deny the request.

REDIRECT

Respond with a redirect.

detect_​vpn_​data_​center​Redirecturlstring (allows variables)

This specifies the URL to which to redirect requests from VPN data centers.

detect_​vpn_​data_​center​Action is REDIRECT
{"displayType":"string","tag":"input","type":"text"}
{"if":{"attribute":"detectVpnDataCenterAction","op":"eq","value":"REDIRECT"}}