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 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 inside of web2py to make sure nobody connects 
> to the internet without going through the proxy. 
>
>
> - Art. 
>
>
> On Oct 18, 5:06 pm, Dragonfyre13 <dragonfyr...@gmail.com> wrote: 
> > 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-p... 
> > 
> > Unless I'm missing something, and the socks proxy stuff isn't just 
> > outbound connections. 
> > 
> > On Oct 18, 8:28 am, Massimo Di Pierro <massimo.dipie...@gmail.com> 
> > wrote: 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > > 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 this helps. 
> > 
> > > Keep me posted about your project. I am interested. 
> > 
> > > massimo 
> > 
> > > On Oct 18, 3: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 Tor). 
> > 
> > > > What is the best way to do so? Is there some function that is always 
> > > > used by web2py for network connections that I can go and patch? 
> > 
> > > > It is also very important that the connections made by web2py don't 
> > > > leak (e.x. DNS queries). 
> > 
> > > > Thanks for the tips.

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to