Commit graph

20460 commits

Author SHA1 Message Date
Florian Eckert
058a2b6f30 mwan3: add workaround for procd change
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-07-20 08:12:48 +02:00
Florian Eckert
cde2a77ed3 mwan3: also cleanup lock on mwan3 stop
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-07-20 08:12:31 +02:00
Florian Eckert
bcd13ba95c mwan3: fix rtmon routing table function generation
If the uci option family is not set in the interface section, then there
is no default value set as in the `config_load / config_get` API.
The problem here is that if the family is not set, the default value ipv4
is normaly assumed. But the comparison fails here because the value is empty
and therefore the dedicated routing table for this interface is not compared
with the other routes from the main table and so not updated.

To fix this set the default value for this config option which is`false`
for enabled and `ipv4` for family.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-07-20 08:11:20 +02:00
Florian Eckert
bcd914e665
Merge pull request #12814 from aaronjg/improvements/mwan3-misc-improvements-rb
mwan3: clean up ipv4/ipv6 duplicated code and misc. improvments
2020-07-20 08:06:39 +02:00
Florian Eckert
8e3e6f8dde mwan3: fix IPv6 routing add handling
This fixes routing handling. Introduced with the last version update.
The following message disappears on the shell
when mwan3 is called with 'mwna3 restart`.

`Error: Invalid gateway address.`

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
[aaronjg@stanford.edu: fully unset variable and handle ipv4 as well]
Signed-off-by: Aaron Goodman <aaronjg@stanford.edu>
2020-07-19 23:24:13 -04:00
Florian Eckert
a796b7a84e mwan3: fix idx calculation
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
[aaronjg@stanford.edu: fix syntax error]
Signed-off-by: Aaron Goodman <aaronjg@stanford.edu>
2020-07-19 23:24:13 -04:00
Aaron Goodman
ca8bc3d115 mwan3: version bump
Signed-off-by: Aaron Goodman <aaronjg@stanford.edu>
2020-07-19 23:24:13 -04:00
Aaron Goodman
30a46bdc9e mwan3: cleanup duplicate ipv4 and ipv6 logic
Signed-off-by: Aaron Goodman <aaronjg@stanford.edu>
2020-07-19 23:24:13 -04:00
Aaron Goodman
702a104f9c mwan3: don't send iptable setup failures to /dev/null
silencing failing rules makes debugging more difficult

Signed-off-by: Aaron Goodman <aaronjg@stanford.edu>
2020-07-19 23:18:22 -04:00
Aaron Goodman
2a5e9be83e mwan3: add default rule for ipv6 in example config
default rule only applied to ipv4 with dest_ip 0.0.0.0/0
and error was hidden when trying to apply it in ip6table

Signed-off-by: Aaron Goodman <aaronjg@stanford.edu>
2020-07-19 23:18:21 -04:00
Aaron Goodman
a0d66d4eeb mwan3: don't try to use ipv6 if not installed
fix issue  #11826

Signed-off-by: Aaron Goodman <aaronjg@stanford.edu>
2020-07-19 23:18:18 -04:00
Rosen Penev
04432dc54f
Merge pull request #12864 from aaronjg/bugfix/openfortivpn-ping
openfortivpn: add host up test back
2020-07-19 15:35:00 -07:00
Rosen Penev
04e2a1c03e
Merge pull request #12863 from neheb/flash
flashrom: switch to building with meson
2020-07-19 14:48:08 -07:00
Rosen Penev
7e5311c453
Merge pull request #12873 from neheb/lz4
liblz4: convert to meson
2020-07-19 14:45:41 -07:00
Rosen Penev
48f95c9016
Merge pull request #12818 from neheb/ncd
ncdu: update to 1.15.1
2020-07-19 14:45:24 -07:00
Rosen Penev
9268476a35
Merge pull request #12816 from neheb/nloh
nlohmannjson: update to 3.8.0
2020-07-19 14:45:01 -07:00
Rosen Penev
0daffb9011
Merge pull request #12861 from neheb/api
apinger: fix compilation with GCC 10
2020-07-19 14:44:35 -07:00
Rosen Penev
81618c5465
flashrom: switch to building with meson
Added patches to fix meson compilation.

Reworked flashrom.mk to work with meson.

Several minor Makefile cleanups.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-07-19 14:43:13 -07:00
Rosen Penev
d44b9e9062
Merge pull request #12870 from neheb/meson2
meson: fix arch mapping
2020-07-19 14:41:24 -07:00
Rosen Penev
bee2e59b33
Merge pull request #12876 from jefferyto/golang-1.14.6
golang: Update to 1.14.6
2020-07-19 14:39:55 -07:00
Jeffery To
adb43f7643
golang: Update to 1.14.6
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-07-20 03:10:57 +08:00
Rosen Penev
1af20a26d5
Merge pull request #12860 from neheb/bfdd
bfdd: fix compilation with GCC 10
2020-07-19 01:20:29 -07:00
Rosen Penev
292834d324
Merge pull request #12856 from neheb/fpi
fping: update to 4.3
2020-07-18 23:31:48 -07:00
Rosen Penev
91fbdab361
Merge pull request #12871 from neheb/zmqq
zmq: switch to building with CMake
2020-07-18 23:31:21 -07:00
Aaron Goodman
374ac6817d openfortivpn: add option to use ither curl or ping to test host status
allow use of curl rather than ping to test if a host
is up since a host may not respond to ping, but an
https request is part of the openfortivpn connection,
so this is a more reliable test

also clean up overly verbose logging

Signed-off-by: Aaron Goodman <aaronjg@stanford.edu>
2020-07-18 22:05:13 -04:00
Rosen Penev
c639477965
liblz4: convert to meson
Faster compilation

Before:

Executed in   13.68 secs   fish           external
   usr time   12.51 secs    0.00 micros   12.51 secs
   sys time    1.78 secs  345.00 micros    1.78 secs

After:

Executed in    9.60 secs   fish           external
   usr time   10.66 secs  281.00 micros   10.66 secs
   sys time    1.39 secs   36.00 micros    1.39 secs

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-07-18 16:43:27 -07:00
Rosen Penev
737f1f46ce
meson: fix arch mapping
meson uses a different architecture mapping than CONFIG_ARCH does.

Fix the problematic ones and fall back to CONFIG_ARCH.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-07-18 15:31:37 -07:00
Rosen Penev
da3409bc3d
zmq: switch to building with CMake
Faster compilation.

Before:

time make package/zmq/compile -j 12
Executed in   24.98 secs   fish           external
   usr time   97.41 secs  263.00 micros   97.40 secs
   sys time   12.51 secs   34.00 micros   12.51 secs

After:

time make package/zmq/compile -j 12
Executed in   18.17 secs   fish           external
   usr time   85.22 secs  248.00 micros   85.22 secs
   sys time    9.23 secs   32.00 micros    9.23 secs

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-07-18 15:28:13 -07:00
Rosen Penev
aaa81d7534
Merge pull request #12854 from neheb/rads
memcached: update to 1.6.6
2020-07-18 14:06:54 -07:00
Rosen Penev
6cb43fd1df
Merge pull request #12859 from neheb/gpg
gnupg: fix compilation with GCC10
2020-07-18 10:31:49 -07:00
Rosen Penev
1c067a8463
Merge pull request #12866 from Andy2244/wsdd2-netbios_name-uppercase-fix
wsdd2: Uppercase NB_PARM
2020-07-18 10:30:49 -07:00
Hannu Nyman
28cf201290 haveged: update to 1.9.13
Update haveged to version 1.9.13.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2020-07-18 14:11:34 +03:00
Andy Walsh
3ba3a0ba4a wsdd2: Uppercase NB_PARM
* Uppercase NB_PARM if mdns option is not set
* filter commented lines

Signed-off-by: Andy Walsh <andy.walsh44+github@gmail.com>
2020-07-18 13:00:22 +02:00
Rosen Penev
ef646f2a70
apinger: fix compilation with GCC 10
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-07-17 20:35:34 -07:00
Rosen Penev
2bdabc1db7
bfdd: fix compilation with GCC 10
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-07-17 20:34:36 -07:00
Rosen Penev
0cca8638b5
gnupg: fix compilation with GCC10
A bit ugly but it works.

Added PKG_BUILD_PARALLEL for faster compilation.

Fix license information.

Minor cleanups.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-07-17 20:30:19 -07:00
Rosen Penev
dafbd9e5e4
davfs2: fixup gettext-version again
It seems this is still needed.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-07-17 19:43:55 -07:00
Toke Høiland-Jørgensen
40e148cdad
Merge pull request #12858 from neheb/radse
radsecproxy: fix compilation with GCC10
2020-07-18 01:06:21 +02:00
Rosen Penev
8ce5898fd3
Merge pull request #12855 from neheb/ngi
ngircd: update to 26
2020-07-17 15:53:04 -07:00
Rosen Penev
d9f15d2cd6
radsecproxy: fix compilation with GCC10
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-07-17 15:46:48 -07:00
Rosen Penev
4b9934f352
Merge pull request #12857 from neheb/rsy2
rsyslog: update to 8.2006.0
2020-07-17 15:40:43 -07:00
Rosen Penev
4b7184cd6a
rsyslog: update to 8.2006.0
Fixes compilation with GCC10.

Added random mirror since the normal website has issues at this time.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-07-17 15:33:53 -07:00
Rosen Penev
afbe8536f4
fping: update to 4.3
Fixes compilation with GCC 10.

Backported upstream patch to fix compilation without IPv6.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-07-17 15:12:16 -07:00
Rosen Penev
a98399f3d2
ngircd: update to 26
Fixes compilation with GCC10.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-07-17 15:11:35 -07:00
Rosen Penev
0773d9e111
memcached: update to 1.6.6
Fixes compilation with GCC 10.

Added PKG_BUILD_PARALLEL for faster compilation.

Simplified configure var.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-07-17 15:10:44 -07:00
Rosen Penev
9be25ea64b
Merge pull request #12824 from neheb/prog
progress: update to 0.15
2020-07-17 15:05:14 -07:00
Rosen Penev
98bce79d12
Merge pull request #12852 from peter-stadler/uwsgi
uwsgi: update to version 2.0.19.1
2020-07-17 15:04:02 -07:00
Rosen Penev
d22a1eb97e
Merge pull request #12851 from BKPepe/msmtp
msmtp: update to version 1.8.11
2020-07-17 13:59:32 -07:00
Peter Stadler
4f7da949cb uwsgi: update to version 2.0.19.1
update to latest version.

Signed-off-by: Peter Stadler <peter.stadler@student.uibk.ac.at>
2020-07-17 17:45:44 +02:00
Josef Schlehofer
dd44bf2e7a
msmtp: update to version 1.8.11
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2020-07-17 17:37:28 +02:00