Commit Graph

38 Commits

Author SHA1 Message Date
Jo-Philipp Wich 3e916a3652 miniupnpd: disable IGDv2 by default
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)
2017-07-05 21:25:50 +03:00
Daniel Engberg 4d06ab99b4 miniupnpd: Update to 2.0.20170421
Update miniupnpd to 2.0.20170421

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
(cherry picked from commit 1d5b485138)
2017-07-05 21:25:37 +03:00
Kevin Darbyshire-Bryant 471d3660b4 miniupnpd: implement an 'enabled' flag
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)
2017-07-05 21:25:24 +03:00
Kevin Darbyshire-Bryant b4c1d4c02b miniupnpd: add IGDv2 support as build option
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)
2017-07-05 21:24:55 +03:00
Daniel Engberg 30f5f90fc6 miniupnpd: Update to 2.0.20161216
Enable IGDv2 as v1 Device DCPs were deprecated as of March 30, 2015
Source: http://upnp.org/specs/gw/igd2

Enable port in use check

Patches are originally from the FreeBSD Ports repo and refreshed for this repo.
Source: https://svnweb.freebsd.org/ports/head/net/miniupnpd/files/

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
2017-01-09 11:44:34 +01:00
Hannu Nyman 3db27f27b2 miniupnpd: fix local variables in hotplug, change startup priority
* 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>
2016-09-30 10:06:12 +03:00
Markus Stenberg fe8fa0ba86 Merge pull request #203 from kdarbyshirebryant/miniupnpdfuzz
miniupnpd: refresh patches
2016-07-13 07:58:15 +02:00
Kevin Darbyshire-Bryant fc23ccd4b4 miniupnpd: add igd2 postrouting table
add MINIUPNPD-POSTROUTING rule. Solves following error

addmasqueraderule() : chain MINIUPNPD-POSTROUTING not found

Signed-off-by: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
2016-07-05 10:35:36 +01:00
Kevin Darbyshire-Bryant c5426a2ad4 miniupnpd: refresh patches
Refresh patches to clear patch fuzz

Signed-off-by: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
2016-06-28 15:57:36 +01:00
Markus Stenberg fa76522336 miniupnpd: Fix UUID dependency not to check outside the tree, and use uuid always. 2016-06-28 15:18:30 +03:00
Markus Stenberg 33b0b707dc hnetd/ohp -> git head, miniupnpd->2.0 (from 15.05 branch). 2016-06-28 00:45:11 +03:00
Markus Stenberg 939123f5f4 miniupnpd: Bump to 1.9.20151212. 2015-12-21 10:02:13 +02:00
Markus Stenberg 441e537733 miniupnpd: Bump to latest. 2015-09-29 12:09:08 +03:00
Steven Barth 7d4e4fe21d miniupnpd: shorten OS name to silence SSDP warnings
Signed-off-by: Steven Barth <steven@midlink.org>
2015-07-15 08:28:32 +02:00
Markus Stenberg 4c2234b2ea miniupnpd: Bump to 1.9.20150609. 2015-06-15 11:12:41 +03:00
Steven Barth d0671bf308 miniupnpd: remove libnfnetlink dependency
Signed-off-by: Steven Barth <steven@midlink.org>
2015-05-05 18:29:04 +02:00
Markus Stenberg 803cb649e2 miniupnpd: Bumped to 1.9.20150430. Seems to work in my tests. 2015-05-05 11:34:55 +03:00
Steven Barth 91d39b4bc5 Revert "miniupnpd: backport portrange-fix"
This reverts commit 2302e0b0b7.
2015-04-14 15:03:10 +02:00
Steven Barth 9227cae2c5 miniupnpd: fix patch in last commit
Signed-off-by: Steven Barth <steven@midlink.org>
2015-04-14 12:08:43 +02:00
Steven Barth 2302e0b0b7 miniupnpd: backport portrange-fix
Signed-off-by: Steven Barth <steven@midlink.org>
2015-04-14 11:38:40 +02:00
Steven Barth b81369bd8f miniupnpd: bump to 20150307
Signed-off-by: Steven Barth <steven@midlink.org>
2015-03-30 18:55:51 +02:00
Steven Barth 061ce7584c miniupnpd: bump to latest, fix enabled-check in hotplug script
Signed-off-by: Steven Barth <steven@midlink.org>
2014-12-21 09:56:30 +01:00
Steven Barth cd8234f10c miniupnpd: bump to 1.9.20141118
Signed-off-by: Steven Barth <steven@midlink.org>
2014-12-02 15:16:39 +01:00
Stijn Tintel 53a4f6b93b miniupnpd: fix error message during shutdown
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>
2014-12-02 06:40:38 +01:00
Markus Stenberg c8eeeee90a miniupnpd: Upgraded to 1.9 (+ third party PCP patch). 2014-11-06 15:44:06 +02:00
Steven Barth f962a32b6f miniupnpd: fix musl build
Signed-off-by: Steven Barth <steven@midlink.org>
2014-10-21 10:53:50 +02:00
Steven Barth 8bc38fccc7 miniupnpd: avoid unnecessary restarts, add SPDX tag 2014-10-15 23:05:34 +02:00
Andreas Thienemann 416e1d7749 Prevent miniupnpd compile failure when building IPv4 only. 2014-09-28 16:52:25 +02:00
Steven Barth ee80086e1a miniupnpd: bump to 1.8.20140906
Signed-off-by: Steven Barth <steven@midlink.org>
2014-09-15 11:51:21 +02:00
Steven Barth 2bb7d479d3 miniupnpd: fix integer conversion in NAT-PMP, update description
Signed-off-by: Steven Barth <steven@midlink.org>
2014-07-30 15:49:59 +02:00
Jo-Philipp Wich dbe56f3012 miniupnpd: fix typo in init script
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>
2014-07-01 12:12:42 +02:00
Markus Stenberg 6dca756c06 minimalist-pcproxy/miniupnpd: added+using upnp.config.external_zone. 2014-06-26 23:19:32 +03:00
Markus Stenberg 20c981679d miniupnpd: Fixed hotplug script's DEVICE handling. 2014-06-25 11:09:18 +03:00
Markus Stenberg 6c553c24c0 miniupnpd: Fixes #39. Based on discussion with jow, use external interface if specified by user first, and then network_find_wan{,6} as backup heuristic for determining firewall zone. 2014-06-23 13:05:43 +03:00
Steven Barth f3dd0ab8c1 miniupnpd: disable detection / use of libnetfilter-conntrack 2014-06-11 14:05:04 +02:00
Markus Stenberg e377fe5136 miniupnpd: Various IPv6 related fixes to scripts (IPv6-only, multi-uplink, ..) 2014-06-03 11:10:01 +03:00
Markus Stenberg e58c0555a1 miniupnpd: Added patch to fix IPv6 firewall PCP ext_port handling (not yet in upstream). 2014-06-02 19:52:32 +03:00
Markus Stenberg ff3dddf2da miniupnpd: Added based on latest 20140523 version + IPv6 pinhole/SSL compilation patches. 2014-05-30 13:23:42 +03:00