Just wanted to update you on our progress. We have wrapped the modules that we use ourselves with socksipy: http://web2py.com/examples/static/epydoc/web2py.gluon.shell-module.html https://code.google.com/p/socksipy-branch/
However we would like to have make also our DNS requests go through a special DNS server that is listening on localhost (the Tor DNS server). Our idea is therefore to rewrite the socket.gethostbyname method and override the default socket in all of gluon. Does this seem to be a good option? Currently the only way we have figured out to do to this is ship our own custom version of web2py, however is there is a better way to do this all suggestions are welcome. - Art.