[p2p-hackers] [i2p] ANN: XML-RPC over I2P (fwd from
david@rebirthing.co.nz)
Eugen Leitl
eugen at leitl.org
Mon Mar 7 10:49:34 UTC 2005
----- Forwarded message from David McNab <david at rebirthing.co.nz> -----
From: David McNab <david at rebirthing.co.nz>
Date: Mon, 07 Mar 2005 23:39:21 +1300
To: i2p at i2p.net
Subject: [i2p] ANN: XML-RPC over I2P
User-Agent: Mozilla Thunderbird 1.0 (X11/20041206)
Hi all,
For the last day, I've been playing with running XML-RPC servers over I2P.
Thanks to eeProxy, and the fact that XML-RPC is done over straight HTTP,
the task of getting XML-RPC working over I2P is very simple, just a few
steps:
1) get the XML-RPC server up and running
2) with the I2P routerConsole, create a server tunnel for this XML-RPC
server
3) for XML-RPC clients using this server, configure these to use I2P's
eeProxy as an http proxy server, and 'http://my.xmlrpc-server.i2p' or
'http://i2p/destbase64string' as the URI
With the Python XMLRPC client library, 'xmlrpclib', there's one very
annoying oversight - no provision for an http proxy.
So I've stuck up a python lib on www.freenet.org.nz/i2pxmlrpc.py
This lib defines a class 'I2PXMLRPCServerProxy' which takes care of all
this. You just instantiate it with a base64 dest (or a hosts.txt
hostname), and use it as desired.
The lib file can be executed, which will run a demo.
--
Cheers
David
_______________________________________________
i2p mailing list
i2p at i2p.net
http://i2p.dnsalias.net/mailman/listinfo/i2p
----- End forwarded message -----
--
Eugen* Leitl <a href="http://leitl.org">leitl</a>
______________________________________________________________
ICBM: 48.07078, 11.61144 http://www.leitl.org
8B29F6BE: 099D 78BA 2FD3 B014 B08A 7779 75B0 2443 8B29 F6BE
http://moleculardevices.org http://nanomachines.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
Url : http://zgp.org/pipermail/p2p-hackers/attachments/20050307/e9a80b27/attachment.pgp
More information about the P2p-hackers
mailing list