Page 1 of 1

ABE Anon HTTP: from HTTPS: rule breaks iframe blocking

Posted: Fri Nov 12, 2010 11:28 am
by al_9x
when the iframe is DNS cached

Code: Select all

Site http:
Anon INC from https:
Load this via https:

Code: Select all

<iframe src="http://example.org"></iframe>
Fx 3.6.12, NS 2.0.5.1

Before http://example.org is DNS cached, everything is fine, the iframe is blocked, the Anon rule is not triggered, and the page has a secure status.

But if http://example.org is loaded first, when loading the test page:
  1. you can see the iframe briefly load, then get replaced by the placeholder
  2. the iframe request makes it out to the network
  3. Anon rule is triggered twice (error console)
  4. page ends up with a mixed status

Re: ABE Anon HTTP: from HTTPS: rule breaks iframe blocking

Posted: Fri Nov 12, 2010 11:49 am
by Giorgio Maone
Investigating, thanks.

Re: ABE Anon HTTP: from HTTPS: rule breaks iframe blocking

Posted: Fri Nov 12, 2010 12:26 pm
by al_9x
If the iframe is loaded by ip:

Code: Select all

<iframe src="http://192.0.32.10/"></iframe>
the problem manifests immediately, on first load of the secure page, since no dns caching is needed

Re: ABE Anon HTTP: from HTTPS: rule breaks iframe blocking

Posted: Sun Nov 14, 2010 9:52 pm
by Giorgio Maone

Re: ABE Anon HTTP: from HTTPS: rule breaks iframe blocking

Posted: Mon Nov 15, 2010 2:52 am
by al_9x
Giorgio Maone wrote:Fixed in latest development build.
Confirmed, but, when the iframe is included by ip, ABE reacts even though this request never happens. I believe a similar thing happens with the XSS filter, which also reacts to blocked requests. Can you, in these cases, kind of "look ahead" and not bother with requests that will be blocked?

Also, please look at this.

Re: ABE Anon HTTP: from HTTPS: rule breaks iframe blocking

Posted: Mon Nov 15, 2010 7:34 am
by Giorgio Maone
al_9x wrote: Can you, in these cases, kind of "look ahead" and not bother with requests that will be blocked?
Unfortunately no.