Skip to content

Use `SetInterfaceFilter` instead of `SetNAT1To1IPs` for `-outbound-address`

See #40108 (comment 2900452)

I think this is a more appropriate function for the task, though I'm not sure if the function gets passed an IP address or the interface name. And an interface name instead of IP address is more appropriate in the context of Snowflake, where the IP could change often, but the interface name usually does not.

This might also increase ICE gathering speed as we won't have to wait for the interfaces not exposed to the internet to time out (not sure about this though)

Users are sussed out by the fact that Snowflake still uses all interfaces despite -outbound-address being specified: https://forum.torproject.org/t/used-interfaces-by-snowflake-proxy/14508/3?u=wofwca

Edited by WofWca