On Mon, 19 Feb 2001, Brandon wrote: > > > What are your (collective) thoughts regarding creating a SOAP adapter to > > allow Freenet nodes to reside and operate behind firewalls by using port 80 > > and XML encapsulation? > > > > The benefit would be that freenet could communicate over port 80 via XML > > which is almost always permitted from a firewall/security standpoint. > > A SOAP (or XML-RPC, which is way more simple) adapter would be useful as > the infamous client protocol since we don't have to write a client > protocol, just expose an API.
I'm not very up to date with XML tools, but if someone was looking to integrate with FN via XML, it wouldn't really be all that hard with version .3X. A quick hack would be to create a couple of XML Presentation classes (see presentation/FreenetProtocol.java and presentation/FNPRawMessage.java) and bind these to a localhost Listener port in Core. You'd probably also have to create an XMLInputStream/XMLOutputStream adapters for the raw file data exchanged over the sockets. > > For node communication, though, I fear it would be too slow. Port 80 > tunneling doesn't usually require the protocol be XML, so any form of HTTP > encapsulation should be fine, in which case I would recommend that we just > use FNP over HTTP. > The FNP over HTTP would be neat to have though. A paranoid Core could layer a Stego Input/OutputSteam over it and it would be difficult to tell Freenet traffic from any other HTTP traffic. _______________________________________________ Devl mailing list Devl at freenetproject.org http://www.uprizer.com/mailman/listinfo/devl
