Threw together this very specific proxy that allows the downstream to define which IP will be used for the proxied request, and has built-in rate limiting mechanism to coordinate upstream rate limiting across clients.
This is particularly useful when you have a proxy node with many IPs, and you either want to use a specific one, or rotate through them. It also helps prevent upstream rate limiting due to disjoint clients being unable to coordinate on rate limits.
Opus was largely able to one-shot each feature from my specs, which was pretty cool (shows how effective a spec is).
This is quite elegant. Handling egress IP rotation at the application level via headers is much cleaner than spinning up multiple proxy containers or messing with complex iptables/routing rules. Especially useful for large IPv6 blocks where you have a huge address space but want to avoid being flagged by destination rate-limiters.
Out of curiosity, how does it handle the neighbor discovery (NDP) overhead if you're rotating through thousands of IPv6 addresses?