Zscalerのブログ

Zscalerの最新ブログ情報を受信

Products & Solutions

Beyond PAC Files: Modernising Proxy Configuration with RFC 10088

image
YAROSLAV ROSOMAKHO
December 02, 2026 - 10 読了時間
>Beyond PAC Files: Modernising Proxy Configuration with RFC 10088

For decades, Proxy Auto-Configuration (PAC) files have been the standard way for organisations to control how applications connect to the internet through proxy servers. Introduced in the early days of the web, PAC files have survived remarkable changes in network architecture, security requirements, and application protocols.

Yet the fundamental approach has barely changed: download a JavaScript file, execute a function, and use the result to decide which proxy should handle a connection.

This approach has served its purpose, but it comes with significant limitations. PAC files can be difficult to maintain, inefficient to execute, and prone to inconsistent behaviour across implementations. They were also designed for a world where proxying largely meant forwarding web traffic through a hostname and port.

Today's requirements are considerably more sophisticated. Enterprises need to steer traffic between internet security services, private applications, and different organisational environments. Modern proxy technologies such as MASQUE can handle not only traditional TCP connections but also UDP and IP traffic.

We need a better way to describe how these proxies should be used.

RFC 10088, "Communicating Proxy Configurations in Provisioning Domains," introduces a standardised, declarative approach to proxy configuration that addresses these challenges without relying on JavaScript execution.

The Problem with PAC Files

A PAC file is essentially a JavaScript program containing a function called FindProxyForURL(). Whenever an application needs to establish a connection, it can invoke this function to determine which proxy to use. While this provides considerable flexibility, that flexibility comes at a cost.

First, executing JavaScript introduces unnecessary complexity for what is fundamentally a configuration task. Different JavaScript engines and PAC implementations can behave differently, particularly when dealing with DNS resolution and other environment-dependent functions. To ensure predictable behaviour, some implementations have resorted to incorporating substantial JavaScript runtime components simply to evaluate proxy configuration.

Second, PAC files can be difficult to validate and troubleshoot. Proxy decisions can depend on runtime conditions, DNS lookups, and arbitrary program logic. A relatively small mistake in a script can produce unexpected routing behaviour or connectivity failures that are difficult to reproduce.

Third, the use of executable scripts introduces security concerns. PAC files may be downloaded and periodically refreshed, creating an additional surface for vulnerabilities in script processing and execution. Even when the scripts themselves are trustworthy, evaluating arbitrary JavaScript is unnecessary for many common proxy configuration scenarios.

Finally, traditional PAC mechanisms are poorly suited to modern proxy protocols. The conventional model of returning a proxy hostname and port does not adequately describe newer capabilities such as URI-template-based MASQUE endpoints.

The result is a configuration mechanism that has become increasingly complex while struggling to keep pace with the networks it is supposed to configure.

A Simpler, Declarative Approach

RFC 10088 takes a fundamentally different approach. Instead of distributing executable scripts, proxy configuration is expressed using structured JSON. The specification builds on the existing IETF Provisioning Domain (PvD) architecture, which provides a standard mechanism for describing network configuration information.

At its core, the new format introduces two main elements:

  1. proxies describes available proxy endpoints, their protocols, and associated properties.
  2. proxy-match defines which destinations can be accessed through which proxies, using ordered matching rules.

Destination rules can match DNS names, IP addresses and subnets, and TCP or UDP port ranges. They can also explicitly indicate that certain destinations must not be accessed through any of the proxies described in the configuration.

For example, consider an organisation using one proxy for internet access and another for private applications:

{
  "identifier": "proxy.example.org.",
  "expires": "2027-01-01T00:00:00Z",
  "prefixes": [],
  "proxies": [
    {
      "protocol": "https-connect",
      "proxy": "proxy.example.org:443",
      "identifier": "internet"
    },
    {
      "protocol": "https-connect",
      "proxy": "private-proxy.example.org:443",
      "identifier": "private"
    }
  ],
  "proxy-match": [
    {
      "domains": ["*.internal.example.org"],
      "proxies": ["private"]
    },
    {
      "proxies": ["internet"]
    }
  ]
}

This configuration describes two proxy services. Connections to internal applications are directed towards the private proxy, while other destinations can use the internet proxy, subject to the client's existing security policies.

There is no JavaScript to execute, no complex conditional logic to interpret, and no ambiguity about the order in which rules are evaluated.

The format also supports multiple proxy choices in order of preference, allowing clients to select from available alternatives. This approach makes configurations easier to generate, validate, distribute, and troubleshoot. It also provides a straightforward foundation for managing large numbers of destination rules without the complexity of executing scripts.

Built for Modern Proxy Protocols

One of the most significant improvements is support for a much broader range of proxy technologies. Traditional proxy configuration mechanisms largely assume that a proxy is identified by a hostname and port. Modern proxy protocols can require richer configuration.

RFC 10088 defines a registry of proxy protocol types, initially covering SOCKS5, HTTP CONNECT, HTTPS CONNECT, CONNECT-UDP, CONNECT-IP, and CONNECT-TCP.

This is particularly relevant to MASQUE, which extends HTTP proxying beyond traditional TCP connections to support UDP and IP traffic. MASQUE can also take advantage of modern transports such as HTTP/3 over QUIC.

Rather than requiring separate configuration mechanisms for different proxy protocols, RFC 10088 provides a common framework in which their endpoints and destination rules can be described. For example, an organisation could advertise different proxy endpoints for TCP, UDP, and IP traffic while applying a common set of destination-matching rules. Clients can then select an appropriate proxy based on the protocols they support and the type of connection being established.

This is an important step towards a more consistent proxy configuration model across different applications and networking technologies.

Discovering Better Proxy Connections

The new standard does not require clients to abandon existing proxy configuration mechanisms overnight. RFC 10088 defines a way for clients that already know a proxy hostname to discover additional information about that proxy.

A client can retrieve the configuration using an HTTPS request to a well-known endpoint:

https://proxy.example.org/.well-known/pvd

The specification also introduces a new DNS HTTPS/SVCB service parameter, pvd, which can advertise that this information is available. This mechanism allows clients to learn about related proxy endpoints and supported protocols.

For example, a client initially configured to use a traditional unencrypted HTTP proxy could discover that the same service also supports an HTTPS-protected connection. The client could then select the more secure option, provided it supports the protocol and its security policy permits the connection. This offers a useful migration path from legacy proxy configurations towards modern encrypted proxy protocols.

Importantly, discovering additional configuration does not mean blindly trusting it. The RFC defines requirements for authenticated retrieval and limits how the information can influence existing client policies.

Extensibility Without Arbitrary Scripting

Removing JavaScript does not mean sacrificing the ability to support specialised enterprise requirements.

RFC 10088 provides an extensibility mechanism that allows vendors to introduce additional configuration properties and destination-matching criteria.

For example, a vendor could define rules based on the identity of a process running on an endpoint. The specification explicitly describes how proprietary matching keys, such as acme_processid, can be incorporated into destination rules. This opens possibilities for application-aware traffic steering, where different applications running on the same device could use different proxies, even when connecting to identical destinations. Other potential extensions could incorporate additional endpoint or application context.

The important distinction is that these extensions can describe additional matching criteria without requiring the proxy configuration itself to contain executable scripts.

The format also defines how clients handle extensions they do not recognise. Unsupported destination rules are ignored, while proxy definitions can explicitly identify properties that a client must understand before using a particular proxy. This allows vendors to innovate while preserving a common, interoperable foundation and predictable behaviour.

One Model, Multiple Enterprise Use Cases

The flexibility of the new format makes it relevant to several increasingly important enterprise networking scenarios.

Secure Internet Access

Perhaps the most familiar use case is steering internet-bound traffic through enterprise security proxies. An organisation can define which destinations should use its security services, which proxy endpoints are available, and which traffic should follow other routes.

The declarative configuration makes these decisions easier to understand and manage without relying on complex PAC scripts.

Zero Trust Network Access

Zero Trust Network Access (ZTNA) introduces a different requirement: applications should be accessible without granting users broad connectivity to the private networks hosting them. RFC 10088 provides a useful mechanism for describing which private application destinations are reachable through particular proxy services.

Instead of configuring access to an entire private network, clients can be directed towards proxies responsible for a defined set of applications or services. The proxy configuration determines where connections should be sent.

Authentication, authorisation, and enforcement of access policies remain the responsibility of the underlying Zero Trust infrastructure. This separation helps keep traffic steering straightforward while allowing security controls to operate independently.

Extranet and Partner Access

Another interesting scenario involves secure connectivity between organisations. Consider a company that wants to share a small number of internal applications with a business partner. The partner's employees need access to these applications, but should not receive general network connectivity to the company's infrastructure.

Using the RFC 10088 configuration model, the partner's clients could be configured to route connections for a specific set of application domains through an appropriate proxy, while leaving unrelated traffic governed by their existing policies. There is no need to advertise broad private network routes merely to make a handful of applications reachable.

Combined with appropriate authentication and authorisation, this provides a useful foundation for selective cross-organisation application access. The same principle can extend to more complex environments involving multiple security services, cloud providers, and organisational boundaries.

Security by Design

An important aspect of RFC 10088 is that proxy configuration is treated as information that must operate within existing security boundaries. Configuration is retrieved over HTTPS, with requirements to validate the relationship between the proxy hostname, the provisioning domain identifier, and the authenticated server identity.

More importantly, destination rules must never expand the set of traffic that a client is already permitted to send through a proxy. They can only narrow that set. For example, if an endpoint's local policy permits a particular proxy to handle traffic for a specific set of corporate applications, configuration supplied by that proxy cannot authorise the endpoint to send additional destinations through it.

Similarly, discovering a proxy through network provisioning information does not automatically make it trusted. Clients must be explicitly provisioned to trust such configurations before using them.

These protections are particularly important in enterprise environments, where proxy selection can affect both the confidentiality of traffic and the enforcement of security policies. The absence of arbitrary scripting also makes configuration behaviour more predictable and easier to assess.

Looking Ahead

PAC files have remained part of enterprise networking infrastructure for a remarkably long time. They solved a genuine problem when first introduced, but the networking and security landscape has changed substantially since then.

RFC 10088 provides a modern alternative: a simple, extensible, standards-based configuration format that supports traditional proxies as well as newer technologies such as MASQUE.

Its value extends beyond replacing JavaScript with JSON. It creates a common model for describing proxy services and the destinations they can reach, whether those services provide secure internet access, connectivity to private applications, or selective access across organisational boundaries.

As with any new standard, real-world adoption will depend on support from operating systems, applications, endpoint software, and proxy implementations. Existing PAC deployments will not disappear overnight.

At Zscaler, we believe that open, interoperable standards are essential to the evolution of secure connectivity. Contributing to RFC 10088 is part of our broader commitment to advancing the Internet architecture and helping simplify the technologies enterprises depend on.

Proxy configuration should be configuration, not a program. RFC 10088 provides a foundation for finally making that distinction.

Learn more: RFC 10088: Communicating Proxy Configurations in Provisioning Domains.

form submtited
お読みいただきありがとうございました

このブログは役に立ちましたか?

免責事項:このブログは、Zscalerが情報提供のみを目的として作成したものであり、「現状のまま」提供されています。記載された内容の正確性、完全性、信頼性については一切保証されません。Zscalerは、ブログ内の情報の誤りや欠如、またはその情報に基づいて行われるいかなる行為に関して一切の責任を負いません。また、ブログ内でリンクされているサードパーティーのWebサイトおよびリソースは、利便性のみを目的として提供されており、その内容や運用についても一切の責任を負いません。すべての内容は予告なく変更される場合があります。このブログにアクセスすることで、これらの条件に同意し、情報の確認および使用は自己責任で行うことを理解したものとみなされます。

Zscalerの最新ブログ情報を受信

このフォームを送信することで、Zscalerのプライバシー ポリシーに同意したものとみなされます。