Host key found, but not subdomain

17 views
Skip to first unread message

julien

unread,
Oct 8, 2010, 3:57:35 PM10/8/10
to Google Safe Browsing API
Hello,
I'm testing my own implementation of Google Safe Browsing v2

I tried to check if the following URL is blacklisted: http://www1.rapidsoftclearon.net/
Host key: 2ae11a96
No host key

I tries with no dub-domain: http://rapidsoftclearon.net/
Host key: eb9744c0
Host key found

My database is up to date. Since the doc says the host key should be
tried with 3 components if the host has 3 or more components, I should
only be trying the with www1.rapidsoftclearon.net

Firefox does block http://www1.rapidsoftclearon.net/, so I am
wondering what I am missing. Can anybody else try with its own library
the results he gets for this URL?

Thank you
Julien

julien

unread,
Oct 8, 2010, 3:58:44 PM10/8/10
to Google Safe Browsing API
Of course, just after posting this, I read: "To be clear, to match a
URL against a host key, a client must try matching based upon the two
most significant host components, and also the three most significant
host components if three such components exist."

On Oct 8, 12:57 pm, julien <jul...@sobrier.net> wrote:
> Hello,
> I'm testing my own implementation of Google Safe Browsing v2
>
> I tried to check if the following URL is blacklisted:http://www1.rapidsoftclearon.net/
> Host key: 2ae11a96
> No host key
>
> I tries with no dub-domain:http://rapidsoftclearon.net/
> Host key: eb9744c0
> Host key found
>
> My database is up to date. Since the doc says the host key should be
> tried with 3 components if the host has 3 or more components, I should
> only be trying the with www1.rapidsoftclearon.net
>
> Firefox does blockhttp://www1.rapidsoftclearon.net/, so I am

Sam C

unread,
Oct 9, 2010, 10:31:20 AM10/9/10
to Google Safe Browsing API
Hi,
I've tried with the subdomain and get no match either, I'm pretty sure
my implentation is following the guidelines to the letter so perhaps
the Firefox is using other data sources as well? Or maybe both of ours
are wrong :) My implentation is on: http://gsbtool.beaver6813.com for
reference.
--Sam

On Oct 8, 8:57 pm, julien <jul...@sobrier.net> wrote:
> Hello,
> I'm testing my own implementation of Google Safe Browsing v2
>
> I tried to check if the following URL is blacklisted:http://www1.rapidsoftclearon.net/
> Host key: 2ae11a96
> No host key
>
> I tries with no dub-domain:http://rapidsoftclearon.net/
> Host key: eb9744c0
> Host key found
>
> My database is up to date. Since the doc says the host key should be
> tried with 3 components if the host has 3 or more components, I should
> only be trying the with www1.rapidsoftclearon.net
>
> Firefox does blockhttp://www1.rapidsoftclearon.net/, so I am

Julien Sobrier

unread,
Oct 12, 2010, 9:28:57 PM10/12/10
to google-safe-...@googlegroups.com
After re-reading the API, which may have changed, I realized I should
test both www1.rapidsoftclearon.net/ and rapidsoftclearon.net/ And I
do find a hostkey match (and full has match) for
rapidsoftclearon.net/.

> --
> You received this message because you are subscribed to the Google Groups "Google Safe Browsing API" group.
> To post to this group, send email to google-safe-...@googlegroups.com.
> To unsubscribe from this group, send email to google-safe-browsi...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/google-safe-browsing-api?hl=en.
>
>

Reply all
Reply to author
Forward
0 new messages