aws / aws/aws-sdk-java-v2

Support for IP Ranges in NO_PROXY Environment Variable

Open
#5,399 2 comments 0 reactions 0 assignees View on GitHub
cross-sdk feature-request p2 proxy
Dominant language
Java
Stars
2.6k
Forks
1k
Avg merge
2d 9h
Merged PRs (30d)
51

Description

### Describe the feature

I would like to request an enhancement to support the parsing of IP ranges (e.g., CIDR notation such as 172.16.0.0/12) in the NO_PROXY environment variable. This feature will significantly enhance the flexibility and usability of the SDK in various network environments.

### Use Case

In many enterprise environments, it is common to have internal network ranges that should bypass proxy settings. Currently, the NO_PROXY environment variable supports specifying individual IP addresses or hostnames, but does not natively support CIDR notation for specifying IP ranges. Supporting CIDR notation would allow users to easily configure the SDK to bypass proxies for entire subnets, simplifying configuration and reducing the risk of misconfiguration.

For example:

- Setting NO_PROXY=172.16.0.0/12 should allow the SDK to bypass the proxy for any IP address within the 172.16.0.0 to 172.31.255.255 range.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.