[prev in list] [next in list] [prev in thread] [next in thread]
List: https-everywhere
Subject: Re: [HTTPS-Everywhere] Rules not loaded until website is visited
From: Claudio Moretti <flyingstar16 () gmail ! com>
Date: 2014-02-17 23:55:56
Message-ID: CAMw1ynTGy_A3MEk+QmGnN6EQ4JKgcbgR3f0FLOF0h+yDGdQpdw () mail ! gmail ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
On Mon, Feb 17, 2014 at 9:53 PM, Jacob Hoffman-Andrews <jsha@newview.org>wrote:
> > It might be the best idea: am I correct in believing you were thinking
> about
> > loading the list only when requested? Meaning that we query the list
> > directly in the sqlite DB when somebody is using the "Enable/disable"
> menu?
>
> To be a little more precise - we already preload the list of host
> target patterns (e.g. "*.eff.org"), but not the rulesets. This change
> would match against the host patterns and then load from the sqlite DB
> any that weren't already loaded.
>
> The search would then be done against the in-memory list of host
> patterns, which includes user-generated rules.
>
Wouldn't it create problems when you have multiple rules for the same
target? Even if they're not supposed to be there, they are, and I don't
think it's possible to remove them entirely.
I don't know exactly how it works, I'm just asking. If what happens is the
SQL equivalent to "fetch all rule names that match this target host"., my
consideration doesn't apply :)
The only part that worries me is the "and then load from the sqlite DB",
because it doesn't contain (AFAIK) the user-generated rules.
Or (probably) I'm missing something.
Claudio
[Attachment #5 (text/html)]
<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Mon, Feb 17, 2014 \
at 9:53 PM, Jacob Hoffman-Andrews <span dir="ltr"><<a \
href="mailto:jsha@newview.org" target="_blank">jsha@newview.org</a>></span> \
wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid \
rgb(204,204,204);padding-left:1ex"><div class="">> It might be the best idea: am I \
correct in believing you were thinking about<br>
> loading the list only when requested? Meaning that we query the list<br>
> directly in the sqlite DB when somebody is using the "Enable/disable" \
menu?<br> <br>
</div>To be a little more precise - we already preload the list of host<br>
target patterns (e.g. "*.<a href="http://eff.org" \
target="_blank">eff.org</a>"), but not the rulesets. This change<br> would match \
against the host patterns and then load from the sqlite DB<br> any that weren't \
already loaded.<br> <br>
The search would then be done against the in-memory list of host<br>
patterns, which includes user-generated rules.<br>
</blockquote></div><br></div><div class="gmail_extra">Wouldn't it create problems \
when you have multiple rules for the same target? Even if they're not supposed to \
be there, they are, and I don't think it's possible to remove them \
entirely.<br>
<br></div><div class="gmail_extra">I don't know exactly how it works, I'm \
just asking. If what happens is the SQL equivalent to "fetch all rule names that \
match this target host"., my consideration doesn't apply :)<br>
<br></div><div class="gmail_extra">The only part that worries me is the "and \
then load from the sqlite DB", because it doesn't contain (AFAIK) the \
user-generated rules.<br></div><div class="gmail_extra">Or (probably) I'm missing \
something.<br>
<br></div><div class="gmail_extra">Claudio<br></div></div>
_______________________________________________
HTTPS-Everywhere mailing list
HTTPS-Everywhere@lists.eff.org
https://lists.eff.org/mailman/listinfo/https-everywhere
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic