513bffe1fe
This commit makes tincd capable of discovering UPnP-IGD devices on the local network, and add mappings (port redirects) for its TCP and/or UDP port. The goal is to improve reliability and performance of tinc with nodes sitting behind home routers that support UPnP, by making it less reliant on UDP Hole Punching, which is prone to failure when "hostile" NATs are involved. The way this is implemented is by leveraging the libminiupnpc library, which we have just added a new dependency on. We use pthread to run the UPnP client code in a dedicated thread; we can't use the tinc event loop because libminiupnpc doesn't have a non-blocking API. |
||
---|---|---|
.. | ||
sample-config | ||
CONNECTIVITY | ||
Makefile.am | ||
NETWORKING | ||
PROTOCOL | ||
SECURITY2 | ||
SPTPS | ||
tinc-gui.8.in | ||
tinc.8.in | ||
tinc.conf.5.in | ||
tinc.texi | ||
tincd.8.in | ||
tincinclude.texi.in |