On 02/22/2015 09:27 AM, Marios Isaakidis wrote: > Hello, > > Has anyone built a client-server application based on Freenet > plugins? > > Are there any examples of communication of plugins running on > different nodes?
Yes. [0] > Would that even be possible, given that the client-side plugin knows > the node description of the node running the server-side plugin? Are > there any specifications for FCP to be extended for such a scenario? We discussed this at CTF, but for the benefit of the list: sharing node descriptors will form direct connections between the nodes, which is probably not what you want for this use case. Freenet does not have a mechanism to route a message to a specific node. (Unless it is the response to a probe request.) Also for the benefit of the list: the context of this question is CeNo: a project for evading censorship on clearweb resources. [1][2] > A WOT/freemail-like approach is not applicable here, since > communication has to be fast. One solution that comes to mind is > plugins to override methods that listen to incoming messages > (specifically implement freenet.node.NodeToNodeMessageListener) and > filter the ones with a specific flag. A plugin adding a message can be done, but for the use case of arbitrary clients and servers communicating it does not work well - it would require either a direct connection, which is undesirable as it removes anonymity, or that the plugin implements routing its messages to specific nodes and is run by enough nodes to make it around the network effectively. This is not easy - client-server architectures do not fit well into Freenet. Experience with FLIP suggests that inserted messages have a best-case insert-and-retrieval time of 30-60 seconds. That seems like close to the best I can think of - there was talk of making it faster to insert very small files, but that would require code in Fred. - Steve [0] https://github.com/Thynix/N2NChat [1] https://censorship.no/ [2] https://github.com/equalitie/ceno
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Devl mailing list Devl@freenetproject.org https://emu.freenetproject.org/cgi-bin/mailman/listinfo/devl