search for: miniupnp

Displaying 5 results from an estimated 5 matches for "miniupnp".

Did you mean: miniupnpc
2018 Oct 18
0
miniupnp support in Windows builds
Currently Tinc Pre-release Windows binaries do not come with UPnP support compiled in. I'm not sure what cross-build environment tinc project currently uses to make tinc 1.1 Windows binaries but in MSYS2 it's enough to depends() on miniupnpc library and add --enable-miniupnpc to configure which seems trivial. I've been recompiling tinc with this one change for my project and UPnP seems to work very well so far on Windows nodes. Another small minor issue with the Windows package is with the bundled tap-windows install scripts. Th...
2015 Nov 12
2
UPnP support in tinc
...NAT). I'm not sure if the graph takes that fact into account - I would have expected way more than a 10% difference if that was the case. > Of course if there is a lightweight, > cross-platform library that is easy to integrate we should have a look > at that. If that can be done with MiniUPnP, go ahead. Understood. I'll get busy this week-end :) > As for dependencies: it should be possible to disable support for UPnP > for those who want to build a minimal version of tinc. As for threads, > tinc 1.0.x on Windows already uses threads (as you should know) without > using...
2015 Nov 11
4
UPnP support in tinc
...Now, the reason why this is not already a pull request is because bringing UPnP support to tinc is more complicated than it sounds. I could only find one UPnP library that can be qualified as "lightweight" (i.e. doesn't require ridiculous dependencies like XML libraries), that's miniupnpc: http://miniupnp.free.fr/ Here's the catch: miniupnpc only provides a blocking API, there is no way to integrate it into an event loop. That pretty much means we will need to run the UPnP code in a separate thread. Which means using pthreads on POSIX, and then we would either have a dependency...
2015 Nov 12
0
UPnP support in tinc
...cannot communicate with symmetric NAT. So in the second graph, it's PAR-SYM and SYM-SYM that don't work, the rest do. > > Of course if there is a lightweight, > > cross-platform library that is easy to integrate we should have a look > > at that. If that can be done with MiniUPnP, go ahead. > > Understood. I'll get busy this week-end :) Great :) > > NAT-PMP (and PCP?) seems interesting to, maybe it is simple enough to > > code directly into tinc? > > Well, the author of miniupnpc also wrote libnatpmp, which apparently > *is* specifically d...
2015 Nov 12
0
UPnP support in tinc
...y this is not already a pull request is because > bringing UPnP support to tinc is more complicated than it sounds. I > could only find one UPnP library that can be qualified as > "lightweight" (i.e. doesn't require ridiculous dependencies like XML > libraries), that's miniupnpc: http://miniupnp.free.fr/ Here's the > catch: miniupnpc only provides a blocking API, there is no way to > integrate it into an event loop. That pretty much means we will need > to run the UPnP code in a separate thread. Which means using pthreads > on POSIX, and then we would eith...