miniupnp/miniupnpd
Thomas Bernard de71eef493
miniupnpd: AddAnyPortMapping() tries port above and below requested port
fixes #465
if the requested port is n, it will tries successively :
n, n+1, n-1, n+2, n-2, n+3, n-3, etc.
2020-06-20 16:38:14 +02:00
..
bsd miniupnpd: BSD: allow to build from another directory 2020-05-11 23:30:19 +02:00
ipf miniupnpd: BSD: allow to build from another directory 2020-05-11 23:30:19 +02:00
ipfw miniupnpd: BSD: allow to build from another directory 2020-05-11 23:30:19 +02:00
linux => 2020 2020-05-10 20:00:37 +02:00
mac miniupnpd: BSD: allow to build from another directory 2020-05-11 23:30:19 +02:00
netfilter => 2020 2020-05-10 20:00:37 +02:00
netfilter_nft ido not use depreacted nftnl_rule_set() and nftnl_chain_set() 2020-06-10 11:55:42 +02:00
pf Merge branch 'pf-nat-rules' 2020-06-06 19:39:08 +02:00
solaris Solaris 11 compilation fixes 2016-11-11 09:42:22 -05:00
.gitignore miniupnpd: allow to build in another directory. use .d for depends 2020-05-07 00:34:40 +02:00
Changelog.txt update Changelog.txt 2.2.0-RC1 2020-06-08 12:10:17 +02:00
INSTALL miniupnpd: move many scripts from Makefile.linux to configure 2020-05-02 18:28:05 +02:00
LICENSE 2019 2019-04-08 14:46:11 +02:00
Makefile.bsd Fix manpage installation on BSD 2020-06-10 14:38:23 -03:00
Makefile.linux keep memory of ./configure parameters 2020-06-03 23:54:24 +02:00
Makefile.linux_nft keep memory of ./configure parameters 2020-06-03 23:54:24 +02:00
Makefile.macosx https://miniupnp.tuxfamily.org/ 2020-05-10 20:01:24 +02:00
Makefile.sunos genconfig.sh -> configure 2020-05-02 18:26:45 +02:00
README Update Changelogs + 2019 2019-02-10 16:11:16 +01:00
TODO miniupnpd: update some TODO 2016-02-12 15:02:06 +01:00
VERSION update Changelog.txt 2.2.0-RC1 2020-06-08 12:10:17 +02:00
asyncsendto.c include <sys/select.h> for fd_set 2019-09-24 16:06:12 +02:00
asyncsendto.h copyright notice => 2017 2017-11-02 16:52:07 +01:00
check.mk minipnpd: move check target to check.mk 2020-05-07 01:02:48 +02:00
codelength.h
commonrdr.h improve upnp_get_portmapping_number_of_entries() 2020-06-04 00:27:49 +02:00
configure fix 67465c3cc0 2020-06-04 00:30:01 +02:00
daemonize.c no more strlen(xxx) == 0. 2018-04-20 17:19:52 +02:00
daemonize.h
getconnstatus.c
getconnstatus.h
getifaddr.c getifaddr.c: properly use strncpy() 2019-05-20 21:55:17 +02:00
getifaddr.h fix file headers (=>2018) 2018-07-06 14:16:49 +02:00
getifstats.h
getroute.h
gitrev.mk gitrev.mk: CFLAGS => CPPFLAGS 2020-05-02 18:25:48 +02:00
ifacewatcher.h
macros.h macros.h: add FALL_THROUGH macro 2019-09-24 12:04:40 +02:00
minissdp.c miniupnpd: fix processing of v4 M-SEARCH received on v6 socket 2020-06-05 22:39:59 +02:00
minissdp.h SSDP: use receiving interface index to check if from LAN 2017-05-25 00:44:29 +02:00
miniupnpd.8 miniupnpd: Add --version commandline option 2019-10-05 22:44:31 +02:00
miniupnpd.c configure --disable-fork to disable going to background 2020-06-03 23:43:58 +02:00
miniupnpd.conf miniupnpd: fix for bridges 2020-04-29 00:03:54 +02:00
miniupnpd.doxyconf miniupnpd: allow to build in another directory. use .d for depends 2020-05-07 00:34:40 +02:00
miniupnpd.rc.once.d.script added rc-once script to initialize uuid on first start 2017-09-03 16:59:19 +02:00
miniupnpdctl.c
miniupnpdctl.txt
miniupnpdpath.h
miniupnpdtypes.h miniupnpd: fix for bridges 2020-04-29 00:03:54 +02:00
minixml.c minixml.c: fix heap buffer overflow 2017-12-11 14:59:29 +01:00
minixml.h update miniupnpd/minixml.h 2019-02-10 16:10:07 +01:00
natpmp.c 2019 2019-09-24 16:05:44 +02:00
natpmp.h
objects.mk miniupnpd: update linux makefiles 2020-05-07 00:34:44 +02:00
options.c miniupnpd: Option to disable IPv6 at runtime : -4 / ipv6_disable=yes 2020-04-09 21:12:20 +02:00
options.h miniupnpd: Option to disable IPv6 at runtime : -4 / ipv6_disable=yes 2020-04-09 21:12:20 +02:00
pcp_msg_struct.h
pcplearndscp.c Fix output specifier 2016-01-04 12:13:00 +08:00
pcplearndscp.h
pcpserver.c minor checks on PCPSendUnsolicitedAnnounce() 2020-06-04 00:56:16 +02:00
pcpserver.h miniupnpd/pcp: Send PCP announcment at startup 2018-05-08 23:06:19 +02:00
portinuse.c https://miniupnp.tuxfamily.org/ 2019-10-22 20:11:02 +02:00
portinuse.h
testasyncsendto.c cast time_t to long long instead of long 2019-09-24 16:07:42 +02:00
testgetifaddr.c
testgetifaddr.sh Fix OS detection for Debian kFreeBSD 2018-05-08 21:59:15 +08:00
testgetifstats.c
testgetroute.c miniupnpd: use monotonic clock for timeouts, etc. 2018-03-13 11:43:07 +01:00
testminissdp.c miniupnpd/testminissdp.c: int => size_t. 2018 2018-01-15 17:47:22 +01:00
testportinuse.c MINIUPNPD-PCP-PEER => MINIUPNPD-POSTROUTING 2016-01-26 16:50:48 +01:00
testssdppktgen.c
testupnpdescgen.c fix file headers (=>2018) 2018-07-06 14:16:49 +02:00
testupnppermissions.c
testupnppermissions.sh miniupnpd/testupnppermissions.sh: do not require bash or ksh anymore 2020-05-07 00:34:44 +02:00
upnpdescgen.c upnpdescgen.c: error message when memory alloc fails 2020-06-02 00:24:15 +02:00
upnpdescgen.h
upnpdescstrings.h
upnpevents.c include <sys/select.h> for fd_set 2019-09-24 16:06:12 +02:00
upnpevents.h copyright notice => 2017 2017-11-02 16:52:07 +01:00
upnpglobalvars.c 2019 2019-10-03 00:15:32 +02:00
upnpglobalvars.h rework nft-specific globals, create & destroy tables/chains at init & shutdown 2019-09-30 00:12:08 -07:00
upnphttp.c compatibility with OpenSSL 1.1.x 2019-10-05 22:44:31 +02:00
upnphttp.h cleanup 2015-12-16 11:26:40 +01:00
upnppermissions.c
upnppermissions.h
upnppinhole.c miniupnpd: Allow to use two different network interfaces for IPv4 and IPv6 internet 2019-05-21 10:42:40 +02:00
upnppinhole.h PCP: check pinhole before adding in CreatePCPMap_FW() 2016-01-18 20:16:06 +01:00
upnpredirect.c improve get_redirect_rule_count() for netfilter_nft too 2020-06-04 00:37:17 +02:00
upnpredirect.h add option LEASEFILE_USE_REMAINING_TIME 2018-05-02 09:40:12 +02:00
upnpreplyparse.c upnpreplyparse.c: Fix memory leak 2019-04-05 10:30:10 +02:00
upnpreplyparse.h
upnpsoap.c miniupnpd: AddAnyPortMapping() tries port above and below requested port 2020-06-20 16:38:14 +02:00
upnpsoap.h
upnpstun.c upnpstun.c: TEST: Require root user 2020-05-08 16:32:16 +02:00
upnpstun.h miniupnpd: Add function perform_stun() for detecting external IP address and restrictive NAT via STUN protocol 2018-05-19 13:31:08 +02:00
upnpurns.h
upnputils.c miniupnpd: introduce upnp_gettimeofday() which is monotonic :) 2018-04-12 10:07:11 +02:00
upnputils.h miniupnpd: introduce upnp_gettimeofday() which is monotonic :) 2018-04-12 10:07:11 +02:00

README

MiniUPnP project
(c) 2006-2019 Thomas Bernard
webpage: http://miniupnp.free.fr/ or https://miniupnp.tuxfamily.org/
github: https://github.com/miniupnp/miniupnp
freecode: http://freecode.com/projects/miniupnp
contact: miniupnp@free.fr

This directory contain the miniUPnP daemon software, aka miniUPnPd.
This software is subject to the conditions detailed in
the LICENSE file provided with this distribution.


The miniUPnP daemon is an UPnP IGD (internet gateway device)
which provide NAT traversal services to any UPnP enabled client on
the network.
See http://www.upnp.org/ for more details on UPnP.
During the year 2011, support for IGD v2 has been added.
In 2012, IGD v2 WANIPv6FirewallControl has been implemented.

IGD2 is still not enabled by default because of interoperability
issues.

In addition to UPnP IGD, miniUPnPd supports NAT-PMP and PCP :

See information about NAT Port Mapping Protocol (NAT-PMP) here :
http://miniupnp.free.fr/nat-pmp.html
NAT-PMP is the precursor of Port Control Protocol (PCP, RFC 6887).
In 2013, support for PCP has been added too.

Read the INSTALL file for instructions to compile, install and
configure miniupnpd on your system.

Report bugs to miniupnp@free.fr or on the web forum
https://miniupnp.tuxfamily.org/forum/
or using https://github.com/miniupnp/miniupnp/issues

Thomas Bernard