Skip to content

Getting SimpleURLFilter sample to work with PIRService #101

@ameshkov

Description

@ameshkov

Hello,

I've been experimenting with the new NEURLFilter API and so far the results are kind of strange.

SimpleURLFilter sample contains a bloom filter that seems to be built from this dataset here.

I was able to run SimpleURLFilter sample and configure it to use PIRService build from this repo as explained in the testing instructions document. I also observed the requests that iOS has been sending: requesting config and then sending /queries request.

What I haven't seen is any .deny verdict for any URL. Even when calling NEURLFilter.verdict(for: url) directly I cannot see a .deny verdict.

Is there anything wrong with the sample or is there a known issue with NEURLFilter in the current beta (beta 8) that prevents it from working?

Also, maybe you can hint at what should I look for in Console.app to troubleshoot the issue? I reckon ciphermld is the one that sends PIR requests, is there any way to make it write more verbose log?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions