[Twisted-Python] Punching a firewall with Twisted?
lasizoillo at gmail.com
Thu Jun 17 12:54:35 EDT 2010
2010/6/17 Stefan Reich <wertiges.produkt at googlemail.com>:
> 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 punching a hole into a firewall.
> I know that this is possible because there are applications that do
> that. Deluge does this, and Deluge uses Twisted. So I have tried to find
> out how/where Deluge tells Twisted to do this, but the Deluge sources
> are quite sizey, and I haven't found that particular needle in the
> haystack yet.
> So, can one of you people enlighten me here? :)
I don't know if this is Deluge's method, but sounds interesting:
If you don't want see deluge code, maybe you want use a sniffer.
Wireshark is great for these things ;-)
More information about the Twisted-Python