How Deluge open ports behind a NAT?

Suggestions and discussion of future versions
AnarCoSol
New User
New User
Posts: 1
Joined: Sun Jan 15, 2017 6:38 pm
OS or Distro: Debian GNU/Linux

How Deluge open ports behind a NAT?

Postby AnarCoSol » Sun Jan 15, 2017 6:57 pm

Hi
I need to figure out where to find in deluge's source code the piece where it opens the door behind a NAT, I know who uses libtorrent to do it, but i don't know how.

I need it for a project of mine, since I cannot find well documented and functional libraries (upnpc, etc ) in python

thanks in advance,

AnarCoSol

Cas
Top Bloke
Top Bloke
Posts: 3424
Joined: Mon Dec 07, 2009 6:04 am
OS or Distro: Ubuntu 16.04
Location: Scotland

Re: How Deluge open ports behind a NAT?

Postby Cas » Mon Jan 16, 2017 1:22 am

It is done via libtorrent: https://github.com/arvidn/libtorrent


Return to “Development”

Who is online

Users browsing this forum: No registered users and 5 guests