Commit graph

13 commits

Author SHA1 Message Date
Kevin Darbyshire-Bryant
33dc373da9 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>
2017-02-12 08:46:24 +00: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
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
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
Steven Barth
8bc38fccc7 miniupnpd: avoid unnecessary restarts, add SPDX tag 2014-10-15 23:05:34 +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
Markus Stenberg
e377fe5136 miniupnpd: Various IPv6 related fixes to scripts (IPv6-only, multi-uplink, ..) 2014-06-03 11:10:01 +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