[web2py] Re: SOCKsify all connections from web2py server

2014-10-17 Thread www.diazluis.com
greetings. I am also interested in being able to run directly on the server rocket tor. I wonder if he did it? El martes, 18 de octubre de 2011 18:09:57 UTC-4:30, Arturo Filastò escribió: Yes, you are correct I am worried about outbound connections. Like connecting to SMTP etc. Is

[web2py] Re: SOCKsify all connections from web2py server

2011-10-29 Thread Arturo Filastò
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

[web2py] Re: SOCKsify all connections from web2py server

2011-10-29 Thread Massimo Di Pierro
Can you send a diff of your version of web2py? Perhaps we can create a hook so that you do not neet to maintain a fork. On Oct 29, 4:38 pm, Arturo Filastò a...@baculo.org wrote: Just wanted to update you on our progress. We have wrapped the modules that we use ourselves with

[web2py] Re: SOCKsify all connections from web2py server

2011-10-18 Thread Arturo Filastò
More details on what exactly I am trying to solve can be found here: https://github.com/globaleaks/GlobaLeaks/issues/90. - Art. On Oct 18, 10:59 am, Arturo Filastò a...@baculo.org wrote: I am interested in having all connections made by web2py run through a SOCKS4a proxy (in this specific case

[web2py] Re: SOCKsify all connections from web2py server

2011-10-18 Thread Massimo Di Pierro
Interesting problem. I assume you are working the web server level. That means Rocket. If that is correct, you should contact the author of Rocket: https://launchpad.net/rocket look into gluon/rocket.py and the logic to handle SSL. There is a single socket and a it is wrapped into SSL. Hope

[web2py] Re: SOCKsify all connections from web2py server

2011-10-18 Thread Dragonfyre13
Sounds like you're more concerned with outbound connections. Checkout these (I've only played briefly with the first): http://socksipy.sourceforge.net/ http://sourceforge.net/projects/pysocks/ Discussion here: http://stackoverflow.com/questions/2537726/using-urllib2-with-socks-proxy Unless I'm

[web2py] Re: SOCKsify all connections from web2py server

2011-10-18 Thread Arturo Filastò
Yes, you are correct I am worried about outbound connections. Like connecting to SMTP etc. Is there a central location that I should patch in web2py to reroute all *outbound* connections through a proxy. I am aware of how to use python with a SOCKS proxy, but I would like to know where I should