juberti / draughts

Various Internet-Drafts
3 stars 12 forks source link

When picking an interface, the interface used to connect to the origin should be used #87

Closed juberti closed 6 years ago

juberti commented 7 years ago

From rtcweb discussion:

Having thought about it a bit more, I think that binding to 0.0.0.0 or doing the above will suffice. Essentially, this becomes a recommendation that if you bind to a specific interface, you should determine that interface via the origin IP, and not a 'well-known' IP, as was the prior guidance.

No Proxy = local v4/v6 used to load origin (bind to 0.0.0.0, connect to origin IP, getsockname to learn interface) Proxy = proxy interface File = default route

juberti commented 6 years ago

This will necessitate a rewrite of the detailed-design section to a) discuss that the goal is to use the route to the origin, and b) explain how one determines the route to the origin. #61 should be addressed at the same time.