Re: [Twisted-Python] Reminder: Twisted 10.1 scheduled for early June

2010-06-17 Thread Glyph Lefkowitz
On Jun 15, 2010, at 10:51 AM, Jonathan Lange wrote: > Nevertheless, Fate and I have arranged to meet this weekend, during > which time we shall dance together. Perhaps Twisted will be released > then. Good luck. Sadly I'm probably going to be on a plane at the time, so please let me know if th

Re: [Twisted-Python] Punching a firewall with Twisted?

2010-06-17 Thread Glyph Lefkowitz
On Jun 17, 2010, at 9:37 AM, Stefan Reich wrote: >> I'm not sure about Deluge, but >> does some NAT hole-punching. It does it via sending UDP packets though, not >> by communicating directly with your router. >> > Yeah, I found that too... it looks q

Re: [Twisted-Python] Twisted Names too many open files...resolv.conf

2010-06-17 Thread exarkun
On 12:36 am, jasonjwwilli...@gmail.com wrote: >Hi Guys, > >Is there anyway to prevent twisted.names.client.createResolver() from >creating a resolvconf resolver, when servers= is passed? > >The use here doesn't need the resolv.conf resolvers (and actually >really doesn't want them). What appears to

[Twisted-Python] Twisted Names too many open files...resolv.conf

2010-06-17 Thread Jason J. W. Williams
Hi Guys, Is there anyway to prevent twisted.names.client.createResolver() from creating a resolvconf resolver, when servers= is passed? The use here doesn't need the resolv.conf resolvers (and actually really doesn't want them). What appears to be occurring is that repeated use of createResolver(

Re: [Twisted-Python] Punching a firewall with (or without) Twisted - the plot thickens

2010-06-17 Thread Stephen Thorne
On 2010-06-17, James Y Knight wrote: > On Jun 17, 2010, at 3:16 PM, Zooko O'Whielacronx wrote: > > Some > > people think there aren't enough routers that implement UPnP well > > enough to make it worthwhile > > Doesn't *every* home router purchased in the last 5 years support one > of UPnP or NA

Re: [Twisted-Python] Punching a firewall with (or without) Twisted - the plot thickens

2010-06-17 Thread James Y Knight
On Jun 17, 2010, at 3:16 PM, Zooko O'Whielacronx wrote: > Some > people think there aren't enough routers that implement UPnP well > enough to make it worthwhile Doesn't *every* home router purchased in the last 5 years support one of UPnP or NAT-PMP? That's been my experience, at least. James

Re: [Twisted-Python] Punching a firewall with (or without) Twisted - the plot thickens

2010-06-17 Thread Zooko O'Whielacronx
Coincidentally there's been some talk about this over on tahoe-...@tahoe-lafs.org: http://tahoe-lafs.org/pipermail/tahoe-dev/2010-June/004469.html Tahoe-LAFS is a distributed storage system which uses Twisted. Some people think there aren't enough routers that implement UPnP well enough to make i

[Twisted-Python] Punching a firewall with (or without) Twisted - the plot thickens

2010-06-17 Thread Stefan Reich
lasizoillo wrote: > I don't know if this is Deluge's method, but sounds interesting: > http://samy.pl/natpin/?port=80 > Hm. That's another kind of hack, and it didn't work for me. > If you don't want see deluge code, maybe you want use a sniffer. > Wireshark is great for these things ;-) > http:

Re: [Twisted-Python] Punching a firewall with Twisted?

2010-06-17 Thread James Y Knight
On Jun 17, 2010, at 12:59 PM, Maarten ter Huurne wrote: > Maybe it uses UPNP to tell the router which ports to open? > > As far as I know, there are no hole-punching techniques for TCP like > there > are for UDP. So the only way to get a port forward is to configure the > router, manually or thro

Re: [Twisted-Python] Punching a firewall with Twisted?

2010-06-17 Thread Maarten ter Huurne
On Thursday 17 June 2010, Stefan Reich wrote: > Yeah, I found that too... it looks quite interesting, but as you say, it > is UDP-based. I know that there is a working TCP-solution. As I said, > Deluge does it, and for example, the original Bittorrent client does it > too. Maybe it uses UPNP to t

Re: [Twisted-Python] Punching a firewall with Twisted?

2010-06-17 Thread lasizoillo
2010/6/17 Stefan Reich : > Dear 'Twisted' experts! > > I have a quick question that I am sure one of you guys can answer easily: > > What I want to do is open an incoming port on the router that connects > my computer to the Internet. More precisely, I want my Python app do > that automatically. >

Re: [Twisted-Python] Punching a firewall with Twisted?

2010-06-17 Thread Stefan Reich
Hi Glyph! (Wait, is that really a first name...? :)) > I'm not sure about Deluge, but > does some NAT hole-punching. It does it via sending UDP packets though, not > by communicating directly with your router. > Yeah, I found that too... it looks qui

Re: [Twisted-Python] Punching a firewall with Twisted?

2010-06-17 Thread Glyph Lefkowitz
On Jun 17, 2010, at 8:37 AM, Stefan Reich wrote: > Dear 'Twisted' experts! > > I have a quick question that I am sure one of you guys can answer easily: > > What I want to do is open an incoming port on the router that connects > my computer to the Internet. More precisely, I want my Python ap

[Twisted-Python] Punching a firewall with Twisted?

2010-06-17 Thread Stefan Reich
Dear 'Twisted' experts! I have a quick question that I am sure one of you guys can answer easily: What I want to do is open an incoming port on the router that connects my computer to the Internet. More precisely, I want my Python app do that automatically. In other words, this is about punchi

[Twisted-Python] Start with QTReactor

2010-06-17 Thread Bruno Frare
Hi, I'm trying to work with QTReactor, but don't have success! I look on site http://code.tarbox.org/qtreactor, but the link is broken. Someone have a tutorial to begin to work with it? thanks, Bruno -- Bruno Frare ___ Twisted-Pytho