Movatterモバイル変換


[0]ホーム

URL:


  1. Home
  2. Reference documentation
  3. VCL reference
  4. Variables in VCL
  5. Geolocation

client.geo.proxy_type

STRING, read-only.

Available inall subroutines.

Client proxy type.

Defaults to? when an IP address is not known to be a proxy or VPN. Otherpossible values are:

  • anonymous - IP address of client is not available. Includesservices that change location to beat DRM, TOR points, temporary proxies,and other masking services.
  • aol - Proxied users from an AOL proxy.
  • blackberry — This new value will identify an IP address owned byResearch In Motion (RIM), the company responsible for Blackberry mobiledevices. All Blackberry users go through a centralized proxy location andthus cannot be accurately geo-targeted.
  • consumer-privacy - A group of users who are using a consumer serviceto proxy their traffic (e.g., iCloud Private Relay).
  • corporate - Generally considered harmless, but location can be aconcern. Groups of users that are proxied through a centrallocation or locations, and thus share a single network-apparent IP address.
  • edu - Proxied users from an educational institution.
  • hosting - Address belongs to a hosting facility and is likely to be aproxy as end users are not typically located in a hosting facility.
  • public - Multiple users proxied from a location allowing public internetaccess.
  • transparent - IP address of client is available via HTTP headers,though the value is not necessarily reliable (e.g., it can be spoofed).
  • ? - Not determined to be a proxy.

Example

sub vcl_recv {
#FASTLY recv
if (client.geo.proxy_type~"^anonymous") {
error600"using anonymous proxy";
}
}
sub vcl_error {
if (obj.status==600) {
setobj.status=451;
return (deliver);
}
}

[8]ページ先頭

©2009-2025 Movatter.jp