Florian Eckert
b0acbf057e
mwan3: add online and uptime to detail output
Add also online time value and uptime time value from netifd to the
detail output view.
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
5 years ago
Florian Eckert
058a2b6f30
mwan3: add workaround for procd change
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
4 years ago
Florian Eckert
cde2a77ed3
mwan3: also cleanup lock on mwan3 stop
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
4 years ago
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>
4 years ago
Florian Eckert
bcd914e665
Merge pull request #12814 from aaronjg/improvements/mwan3-misc-improvements-rb
mwan3: clean up ipv4/ipv6 duplicated code and misc. improvments
4 years ago
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>
4 years ago
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>
4 years ago
Aaron Goodman
ca8bc3d115
mwan3: version bump
Signed-off-by: Aaron Goodman <aaronjg@stanford.edu>
4 years ago
Aaron Goodman
30a46bdc9e
mwan3: cleanup duplicate ipv4 and ipv6 logic
Signed-off-by: Aaron Goodman <aaronjg@stanford.edu>
4 years ago
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>
4 years ago
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>
4 years ago
Aaron Goodman
a0d66d4eeb
mwan3: don't try to use ipv6 if not installed
fix issue #11826
Signed-off-by: Aaron Goodman <aaronjg@stanford.edu>
4 years ago
Aaron Goodman
f32ad35870
openfortivpn: use standard 'peerdns' argument on netifd script
Signed-off-by: Aaron Goodman <aaronjg@stanford.edu>
4 years ago
Rosen Penev
04432dc54f
Merge pull request #12864 from aaronjg/bugfix/openfortivpn-ping
openfortivpn: add host up test back
4 years ago
Rosen Penev
04e2a1c03e
Merge pull request #12863 from neheb/flash
flashrom: switch to building with meson
4 years ago
Rosen Penev
7e5311c453
Merge pull request #12873 from neheb/lz4
liblz4: convert to meson
4 years ago
Rosen Penev
48f95c9016
Merge pull request #12818 from neheb/ncd
ncdu: update to 1.15.1
4 years ago
Rosen Penev
9268476a35
Merge pull request #12816 from neheb/nloh
nlohmannjson: update to 3.8.0
4 years ago
Rosen Penev
0daffb9011
Merge pull request #12861 from neheb/api
apinger: fix compilation with GCC 10
4 years ago
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>
4 years ago
Rosen Penev
d44b9e9062
Merge pull request #12870 from neheb/meson2
meson: fix arch mapping
4 years ago
Rosen Penev
bee2e59b33
Merge pull request #12876 from jefferyto/golang-1.14.6
golang: Update to 1.14.6
4 years ago
Jeffery To
adb43f7643
golang: Update to 1.14.6
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
4 years ago
Rosen Penev
1af20a26d5
Merge pull request #12860 from neheb/bfdd
bfdd: fix compilation with GCC 10
4 years ago
Rosen Penev
292834d324
Merge pull request #12856 from neheb/fpi
fping: update to 4.3
4 years ago
Rosen Penev
91fbdab361
Merge pull request #12871 from neheb/zmqq
zmq: switch to building with CMake
4 years ago
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>
4 years ago
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>
4 years ago
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>
4 years ago
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>
4 years ago
Rosen Penev
aaa81d7534
Merge pull request #12854 from neheb/rads
memcached: update to 1.6.6
4 years ago
Rosen Penev
6cb43fd1df
Merge pull request #12859 from neheb/gpg
gnupg: fix compilation with GCC10
4 years ago
Rosen Penev
1c067a8463
Merge pull request #12866 from Andy2244/wsdd2-netbios_name-uppercase-fix
wsdd2: Uppercase NB_PARM
4 years ago
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>
4 years ago
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>
4 years ago
Rosen Penev
ef646f2a70
apinger: fix compilation with GCC 10
Signed-off-by: Rosen Penev <rosenp@gmail.com>
4 years ago
Rosen Penev
2bdabc1db7
bfdd: fix compilation with GCC 10
Signed-off-by: Rosen Penev <rosenp@gmail.com>
4 years ago
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>
4 years ago
Rosen Penev
dafbd9e5e4
davfs2: fixup gettext-version again
It seems this is still needed.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
4 years ago
Toke Høiland-Jørgensen
40e148cdad
Merge pull request #12858 from neheb/radse
radsecproxy: fix compilation with GCC10
4 years ago
Rosen Penev
8ce5898fd3
Merge pull request #12855 from neheb/ngi
ngircd: update to 26
4 years ago
Rosen Penev
d9f15d2cd6
radsecproxy: fix compilation with GCC10
Signed-off-by: Rosen Penev <rosenp@gmail.com>
4 years ago
Rosen Penev
4b9934f352
Merge pull request #12857 from neheb/rsy2
rsyslog: update to 8.2006.0
4 years ago
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>
4 years ago
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>
4 years ago
Rosen Penev
a98399f3d2
ngircd: update to 26
Fixes compilation with GCC10.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
4 years ago
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>
4 years ago
Rosen Penev
9be25ea64b
Merge pull request #12824 from neheb/prog
progress: update to 0.15
4 years ago
Rosen Penev
98bce79d12
Merge pull request #12852 from peter-stadler/uwsgi
uwsgi: update to version 2.0.19.1
4 years ago
Rosen Penev
d22a1eb97e
Merge pull request #12851 from BKPepe/msmtp
msmtp: update to version 1.8.11
4 years ago