{"version":"2.1.326","anchor":"proxy-and-no-proxy-matching-now-handles-ip-ranges","canonical_anchor":"proxy-and-no-proxy-matching-now-handles-ip-ranges","heading":"Proxy handling: IP ranges in NO_PROXY and git respecting an HTTPS_PROXY override","tier":"notice","area":"Internals","scope":"both","heads_up":true,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.326\/e\/proxy-and-no-proxy-matching-now-handles-ip-ranges","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.326","markdown":"### Proxy handling: IP ranges in NO_PROXY and git respecting an HTTPS_PROXY override\n\nNO_PROXY matching now understands IPv4 and IPv6 ranges, proxy timeouts name HTTPS_PROXY or ALL_PROXY, and git skips its own proxy setting when HTTPS_PROXY is overridden\n\n**Unclear.** It is not clear whether range matching is actually used when Claude Code checks `NO_PROXY`.\n\n**What**\n\nA proxy is a server that your network traffic goes through, and environment variables such as `HTTPS_PROXY`, `ALL_PROXY` and `NO_PROXY` say which proxy to use and which addresses skip it. This release changes proxy handling:\n\n- Proxy and no-proxy matching now parses IPv4 and IPv6 addresses and matches CIDR ranges, which describe a block of addresses such as `10.0.0.0\/8`. Before this release it matched only by host name and port. The `NO_PROXY` matcher gains a ranges option.\n\n- A proxy connection that times out now says \"Timed out connecting through the proxy set in HTTPS_PROXY or ALL_PROXY\".\n\n- The git helper adds its `http.proxy` settings only when `HTTPS_PROXY` is not set as an override.\n\n**Why**\n\nIP ranges in `NO_PROXY` may now take effect. Git no longer gets a proxy setting that clashes with an `HTTPS_PROXY` override you have set.\n\n- Area: Internals\n- Names: `NO_PROXY`\n- Tier: You'll notice\n- Useful: 3\/5\n- Signal: 2\/5\n- Scope: both\n- Heads-up: yes"}