The upstream project also reverted IGDv2-by-default due to widespread
compatibility problems.
So far all Microsoft operating systems up to Windows 10, Xbox 360, Xbox One
Playstation 3 and Playstation 4 consoles seem to be incompatible to the
new 2.0 standard.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 7ddbedb649)
Add a 'master' miniupnpd service enable flag rather than just relying on
rcS.d script existence. This allows the service to be disabled across
sysupgrade, similar to minidlna.
The service assumes enabled if no 'enabled' config flag is configured
for backwards compatibility.
Signed-off-by: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
(cherry picked from commit 33dc373da9)
Make IGDv2 support a build time option (default enabled)
Some devices (xbox one, windows home server) are not happy talking to an
IGDv2 enabled upnp server.
Remove 'portinuse' & 'igdv2' enabling patches backported from freebsd as
these can be configured via build time options in package makefile.
Signed-off-by: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
(cherry picked from commit a7ce5a5d60)
* Remove 'local' variable definitions from hotplug script.
Busybox 1.25.0 does not allow local variables defined outside functions.
This fixes#231
* Change startup priority from 95 to 94, so that miniupnpd starts
before S95done (which is intended to be run last).
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
add MINIUPNPD-POSTROUTING rule. Solves following error
addmasqueraderule() : chain MINIUPNPD-POSTROUTING not found
Signed-off-by: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
During shutdown, miniupnpd is stopped after network. Because of this,
miniupnpd is unable to broadcast good-bye notifications, and displays an
error message. Stop miniupnpd before netifd to solve this.
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
A missing space in the init script prevented the detection of the external
interface. Fixes OpenWrt bug #16910.
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>