Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Proxy PvDs: Client IPs as a matching rule #268

Open
JamesTaft opened this issue Nov 14, 2024 · 0 comments
Open

Proxy PvDs: Client IPs as a matching rule #268

JamesTaft opened this issue Nov 14, 2024 · 0 comments

Comments

@JamesTaft
Copy link

          I think proxy-specific priority is too crude as priority might differ depending on the destination. Also it does not allow us to communicate possibility for client to do direct fallback.

I plan to submit a PR by the end of this week describing my previous suggestion with list of proxies per destination group.

I am not a big fan of encoding client IP restrictions in the PvD for a number of reasons:

  • Client could be behind NAT and does not know its IP
  • Client could have multiple interfaces some of which could have overlapping IPs
  • There are potential privacy and security risks associated with specific client IP hints

If client-specific configuration is needed, PvD contents should be provided depending on client IP from PvD hosting service perspective - similarly to how it is done today for PAC files. I'll submit a corresponding text in a PR to clarify this.

Originally posted by @yaroslavros in #262 (comment)

In my experience, ClientIP is frequently used to direct specific types or locations of clients to their own set of proxies or incoming port.
Use cases:
Unauthenticated server traffic that uses a different proxy port and is assigned a very restrictive policy.
Directing to the nearest proxy cluster based on known internal IP ranges.

While I agree that this should be handled by the PvD hosting service, it is still a deprecation of functionality. There is no guarantee their PvD hosting service has the ability or visibility to modify the PvD on a per client basis. Some orgs use internal NATing to work around overlapping IP space, for example.

"matchClientIP" could be added as a key.

The multi-interface IP issue already exists with PAC files so it's not a new complexity. It's actually an improvement because this isn't freeform javascript so the security concerns are lowered and more controllable by the OS/Browser.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant