saucelabs / forwarder

Forwarder is a production-ready, fast MITM proxy with PAC support. It's suitable for debugging, intercepting and manipulating HTTP traffic. It's used as a core component of Sauce Labs Sauce Connect Proxy.
https://forwarder-proxy.io
Mozilla Public License 2.0
202 stars 13 forks source link

e2e: change static IPs in dns test #799

Closed Choraden closed 2 months ago

Choraden commented 2 months ago

As observed in a few CI runs[1] assigning private addresses might result in an overlap with randomly generated networks. Both Podman and Docker assign private addresses (10.0.0.0, 172.16.0.0, 192.168.0.0) when the network is not specified.

This patch changes static IP addresses in dns setups to non-private to minimize the chance of collision.

[1] https://github.com/saucelabs/forwarder/actions/runs/8896336713/job/24428757815