cliqz-oss/dat-webext

Networking blocked by sandbox on Linux and Mac

Closed this issue · 3 comments

The firefox process sandbox prevents opening of sockets from the content process. We should run the networking on addon parent scope to avoid this. This will need a refactor of the libdweb implementations of TCPSocket and UDPSocket.

I put together an implementation of the TCPSocket which runs in the parent scope, and that seems to fix the API. Just need to do the same for UDPSocket then this should be resolved.

libdweb branch with the current progress: https://github.com/sammacbeth/libdweb/tree/tcp-parent

Oh HELL yeah! :D

Will that mean support for dat-webext in Cliqz on Linux and Mac? :D

UDPSocket implementation is now also done. I pushed a new build and this fixes the issue now on both Mac and Linux.