Dagger0 / IPvFox

Firefox extension to list the hosts, and corresponding IPs, from which a page and its resources are loaded.
https://addons.mozilla.org/en-US/firefox/addon/ipvfox/
19 stars 8 forks source link

Remap IPv4 literals under NAT64 #5

Closed Seikkekkyu closed 10 years ago

Seikkekkyu commented 10 years ago

Right now there's no good way for Firefox users connecting via NAT64 to cope with pages that contain URLs employing IPv4 literals.

Since IPvFox already autodetects the NAT64 prefix, perhaps it could have a configuration option to automatically remap all IPv4 literals to to the corresponding NAT64 addresses?

I appreciate that it's not exactly core functionality for an extension like this, but it could potentially be very, very useful to a great many users.

Dagger0 commented 10 years ago

I won't do this in IPvFox because it would essentially end up being a separate extension anyway: IPvFox uses http-on-examine-response which is too late to change request addresses, and anything which is early enough to change requests is too early to know which IP is used.

I don't think I can commit to writing/maintaining the code for this either, since I don't use NAT64 (or, at the moment, any version of Firefox with Australis). But that said, HTTPS Everywhere basically implements this sort of thing already, so maybe it could be done quite simply with a fork of that...