Kevin Darbyshire-Bryant
295d77943c
miniupnpd: improve hotplug & interface handling
...
The existing interface selection/detection code was incomprehensible at
worst and convoluted at best. The uci config file suggested it
understood an external ipv6 interface but in reality the init script
took no notice. Re-work it so it is at least comprehendible and takes
notice of ipv6 interface details if specified.
Update the hotplug script to use the same interface selection/detection
code as the init script and take note of ipv6 interface selection, only
restarting miniupnpd on interface up events and only if that interface
isn't already known (for that ip class) by miniupnpd.
For me this has solved numerous 'flaky' startup problems, especially
with regard to ipv6.
Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk >
2020-05-25 22:49:03 +01:00
..
2020-05-10 16:54:41 -07:00
2020-05-24 21:40:58 +02:00
2020-02-26 21:02:20 -08:00
2020-01-28 05:49:02 +08:00
2020-05-16 14:47:37 +02:00
2019-09-24 21:29:54 +03:00
2020-05-09 06:06:43 +08:00
2019-09-01 17:09:20 -07:00
2020-05-09 06:06:43 +08:00
2020-02-04 14:51:09 +01:00
2019-12-02 09:51:19 +03:00
2020-03-29 21:33:17 -07:00
2019-11-30 19:31:14 +01:00
2019-09-10 07:45:15 +02:00
2019-09-17 12:40:26 +02:00
2019-12-11 19:54:51 -08:00
2020-05-20 11:24:22 -07:00
2019-09-17 12:40:26 +02:00
2020-04-13 19:27:28 +02:00
2020-03-30 12:15:29 +02:00
2019-09-10 07:45:15 +02:00
2020-05-12 23:14:55 +03:00
2020-02-27 12:38:15 +01:00
2019-09-17 12:40:26 +02:00
2020-05-19 22:14:10 -07:00
2020-05-25 15:13:51 +02:00
2020-01-03 20:50:00 +09:00
2019-09-21 15:56:58 -07:00
2019-10-13 02:01:34 +08:00
2020-05-06 14:28:13 -07:00
2020-05-23 09:42:02 +02:00
2019-10-09 14:53:01 +00:00
2020-05-09 06:06:43 +08:00
2020-05-03 00:15:13 +02:00
2019-09-17 12:40:26 +02:00
2019-11-09 22:57:21 -05:00
2020-04-05 10:26:52 +01:00
2020-03-29 03:09:19 +02:00
2020-04-08 07:43:38 -03:00
2019-07-27 21:23:37 +08:00
2019-09-10 07:45:15 +02:00
2020-05-19 00:19:54 +08:00
2019-07-21 12:30:52 +02:00
2019-09-28 23:06:52 +02:00
2019-09-10 07:45:15 +02:00
2020-04-11 23:20:47 -05:00
2020-05-22 21:15:46 +02:00
2019-10-30 11:31:13 -07:00
2020-05-06 15:44:48 -03:00
2020-05-05 12:03:10 +09:00
2020-05-09 06:06:43 +08:00
2020-05-10 22:10:31 +03:00
2019-09-17 12:40:26 +02:00
2020-02-19 19:37:43 -08:00
2020-04-21 07:39:17 +02:00
2020-03-20 14:12:55 -04:00
2020-01-16 20:52:04 +02:00
2019-12-20 22:28:12 +02:00
2019-10-29 23:01:02 +01:00
2019-12-16 09:54:58 +02:00
2020-04-03 08:02:50 +02:00
2020-02-03 17:17:42 +01:00
2020-02-03 17:17:42 +01:00
2019-09-10 07:45:15 +02:00
2019-09-10 07:45:15 +02:00
2019-10-13 02:01:34 +08:00
2020-05-09 06:06:43 +08:00
2020-03-21 18:02:44 +08:00
2019-12-12 23:40:46 -08:00
2020-05-13 10:46:00 +02:00
2019-09-17 12:40:26 +02:00
2019-12-21 12:52:41 -08:00
2019-12-05 17:06:40 -08:00
2020-01-09 13:00:00 +01:00
2019-09-18 20:12:17 +02:00
2020-04-21 23:57:33 -06:00
2020-04-02 01:18:07 +02:00
2020-05-09 06:06:43 +08:00
2020-05-09 06:06:43 +08:00
2020-03-29 21:35:06 -07:00
2020-05-04 09:07:00 +02:00
2020-05-09 06:06:43 +08:00
2020-05-22 14:13:45 +02:00
2020-05-13 14:12:50 +02:00
2019-09-10 07:45:15 +02:00
2019-09-17 12:40:26 +02:00
2020-03-23 16:42:12 -07:00
2020-02-11 14:05:35 +01:00
2019-11-15 14:11:02 +00:00
2020-02-14 16:23:04 -08:00
2019-09-17 12:40:26 +02:00
2020-05-17 04:57:48 +03:00
2020-02-22 21:54:45 +01:00
2020-03-08 14:57:47 +01:00
2019-07-28 15:33:08 -07:00
2019-06-21 09:52:32 +08:00
2019-09-17 12:40:26 +02:00
2020-04-15 09:54:24 +02:00
2019-09-17 12:40:26 +02:00
2019-09-17 12:40:26 +02:00
2019-10-13 02:01:34 +08:00
2020-02-14 20:31:09 -08:00
2020-05-25 22:49:03 +01:00
2020-05-25 15:35:50 +02:00
2020-03-17 17:49:01 -07:00
2020-03-02 10:53:50 +00:00
2019-10-09 14:53:01 +00:00
2019-07-05 10:27:44 +03:00
2019-12-12 23:22:43 +08:00
2020-04-30 14:55:20 +02:00
2019-10-03 16:22:38 -07:00
2019-12-19 20:04:38 +02:00
2020-01-07 10:27:34 +01:00
2019-09-17 12:40:26 +02:00
2019-09-24 13:51:22 +02:00
2020-05-12 07:23:16 +01:00
2020-05-10 00:03:55 +03:00
2019-09-17 12:40:26 +02:00
2020-05-19 09:55:00 +02:00
2020-05-14 23:41:01 +00:00
2020-02-15 21:40:04 -08:00
2019-06-30 13:10:35 +02:00
2020-03-30 12:57:58 +01:00
2020-05-24 18:53:16 +02:00
2020-02-12 18:16:47 +01:00
2019-10-13 02:01:34 +08:00
2020-05-09 06:06:43 +08:00
2020-04-19 01:56:23 +08:00
2019-06-27 00:36:15 -07:00
2020-01-25 17:54:04 -08:00
2020-04-11 19:52:44 -07:00
2019-11-28 22:27:03 +01:00
2019-09-10 07:45:15 +02:00
2019-09-10 07:45:15 +02:00
2019-09-10 07:45:15 +02:00
2020-03-20 14:12:55 -04:00
2019-06-30 03:15:35 +08:00
2020-05-01 19:18:37 +02:00
2020-02-26 20:28:17 -08:00
2020-05-09 06:06:43 +08:00
2020-04-19 01:15:33 +03:00
2020-05-01 19:18:37 +02:00
2020-03-25 18:43:53 +02:00
2020-05-05 18:03:56 -06:00
2019-11-30 18:30:35 -08:00
2020-05-20 23:29:44 +08:00
2020-03-08 21:41:57 +08:00
2020-03-24 10:45:57 +08:00
2019-08-02 15:58:57 +08:00
2020-03-24 13:17:53 +00:00
2020-05-06 14:29:18 -07:00
2020-05-06 14:30:17 -07:00
2019-09-10 07:45:15 +02:00
2020-02-09 21:47:59 -05:00
2020-02-12 12:17:12 +00:00
2019-07-25 09:35:40 +08:00
2019-09-17 12:40:26 +02:00
2020-05-09 06:06:43 +08:00
2019-09-17 12:40:26 +02:00
2019-09-17 12:40:26 +02:00
2020-04-21 05:57:56 +02:00
2019-09-24 20:31:46 +00:00
2019-09-24 20:36:09 +02:00
2020-04-19 01:56:23 +08:00
2020-04-29 17:48:46 +08:00
2020-01-25 17:48:50 -08:00
2019-09-10 07:45:15 +02:00
2020-03-27 10:57:24 +08:00
2019-09-10 07:45:15 +02:00
2019-12-19 19:28:37 +01:00
2019-09-17 12:40:26 +02:00
2019-09-17 12:40:26 +02:00
2019-09-17 12:40:26 +02:00
2019-09-09 15:32:29 -07:00
2019-12-07 10:48:46 -06:00
2020-04-19 01:56:23 +08:00
2020-04-29 16:25:20 +08:00
2020-05-21 15:53:54 +08:00
2020-05-21 15:53:54 +08:00
2020-05-21 15:53:54 +08:00
2020-05-09 06:06:43 +08:00
2020-05-09 06:06:43 +08:00
2020-05-16 10:34:21 +02:00
2020-05-16 10:35:30 +02:00
2020-05-16 10:33:12 +02:00
2020-05-16 10:31:02 +02:00
2020-05-16 10:32:11 +02:00
2020-03-11 00:50:22 +01:00
2020-04-22 17:45:53 +00:00
2020-03-21 00:33:37 +08:00
2020-05-09 06:06:43 +08:00
2020-04-21 08:28:01 +02:00
2020-04-30 18:51:19 +01:00
2019-09-21 15:58:07 -07:00
2020-02-13 15:53:36 -08:00
2020-03-09 13:53:17 -07:00
2019-11-26 15:14:25 +01:00
2020-03-28 20:40:52 -07:00
2020-02-14 15:16:35 -08:00
2020-04-03 18:42:13 +03:00
2020-05-09 06:06:43 +08:00
2019-10-13 02:01:34 +08:00
2020-02-20 09:04:33 +01:00
2020-05-03 10:58:40 +08:00
2019-12-04 10:23:51 -08:00
2020-05-08 06:02:32 +03:00
2020-02-26 19:49:08 -08:00
2019-11-28 12:09:52 +01:00
2020-01-27 22:57:58 +01:00
2020-04-29 17:52:20 -03:00
2020-05-10 00:03:55 +03:00
2019-09-10 07:45:15 +02:00
2019-09-24 13:51:22 +02:00
2019-09-17 12:40:26 +02:00
2019-10-29 10:47:42 +01:00
2020-03-15 13:40:13 -07:00
2020-03-26 08:52:29 -10:00
2020-04-17 13:57:00 +02:00
2019-07-17 03:37:12 -03:00
2020-04-07 12:44:23 +02:00
2019-09-27 17:22:46 +08:00
2020-04-29 14:48:36 +02:00
2020-05-09 06:06:43 +08:00
2020-04-30 19:17:54 +03:00
2019-10-13 02:01:34 +08:00
2020-02-13 15:56:11 -08:00
2019-09-16 17:49:17 -07:00
2019-10-29 20:54:22 +01:00
2020-05-19 11:23:57 +02:00
2019-10-31 15:54:36 +08:00
2020-05-04 21:57:43 +02:00
2020-05-08 04:17:48 +03:00
2020-01-21 14:05:22 +01:00
2020-05-04 22:47:32 +00:00
2020-05-02 22:35:32 +00:00
2019-12-18 21:24:45 +01:00
2020-04-20 22:14:06 +02:00
2020-02-04 22:35:11 -08:00
2020-02-12 16:05:11 +08:00
2020-04-14 11:37:04 +08:00
2019-11-18 06:28:57 +01:00
2020-05-09 06:06:43 +08:00
2019-07-25 09:35:40 +08:00
2020-05-06 10:12:03 +08:00
2019-09-17 12:40:26 +02:00
2019-11-29 09:16:02 +08:00
2020-04-21 13:49:47 -06:00
2020-04-03 10:25:35 -04:00
2020-03-29 21:29:46 -07:00
2019-12-14 00:13:52 -08:00