aboutsummaryrefslogtreecommitdiff
path: root/net/mwan3/Makefile
Commit message (Collapse)AuthorAge
* mwan3: make mwan3.user executableFlorian Eckert2022-12-19
| | | | | | | | | | | | | | | This is a fix for the the following change: https://github.com/openwrt/packages/commit/3d824ea288d907a31729c3629e884ea122c30da0 Before the change, it was only possible to execute a shell script. To remove this restriction, a binary or other script language can now also be used for 'mwan3.user'. Unfortunately, the old shell script was not executable for older mwan3 version. During a sysupgrade with config transfer, this 'mwan3.user' script could not be executed for newer mwan3 versions. To fix this, the calling script checks whether the 'mwan3.user' is executable, and if not, this executable bit is now set. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* mwan3: update to 2.11.3Florian Eckert2022-10-17
| | | | Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* mwan3: support offload routing modifierDenys Yarkovyi2022-10-05
| | | | Signed-off-by: Denys Yarkovyi <dyarkovoy@gmail.com>
* mwan3: Switch default track_ip targets from Google DNS to Cloudflare DNSJames White2022-09-25
| | | | Signed-off-by: James White <james@jmwhite.co.uk>
* mwan3: fix balanced default configFlorian Eckert2022-09-14
| | | | | | | The metrics and weight need to be the same. A 50% balanced would be require member policies of the same metric and weight value. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* mwan3: fix sticky chain lengthFlorian Eckert2022-03-28
| | | | Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* mwan3: update version to 2.11.0Florian Eckert2022-03-14
| | | | Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* mwan3: update iptables dependenciesFlorian Eckert2022-03-14
| | | | Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* mwan3: fix mwan3 flush conntrack table callFlorian Eckert2021-12-22
| | | | Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* mwan3: Use shebang in /etc/mwan3.userBrian J. Murrell2021-09-03
| | | | | | | | | To allow the script to define what it should be run with. This let's the user use bash if it's available, or python, or perl, etc. Signed-off-by: Brian J. Murrell <brian@interlinx.bc.ca> Update PKG_VERSION to 2.10.11 Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* mwan3: bump PKG_VERSION to 2.10.11Florian Eckert2021-07-08
| | | | Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* mwan3: use default routes from additional tablesDaniel Golle2021-07-05
| | | | | | | | | | Until now the additional tables listed in gobal 'rt_table_lookup' were not considered for interfaces. In order to be able to also use interface-defined routes from tables other than main, consider also tables listed in 'rt_table_lookup'. Update version to 2.10.10 as requested by maintainer. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* mwan3: allow interfaces with no tracking IPsAaron Goodman2021-05-02
| | | | | | | In the procd refactor, support for interfaces with no tracking IPs was inadvertentiy removed. This commit restores the previous behavior Signed-off-by: Aaron Goodman <aaronjg@stanford.edu>
* mwan3: add connecting and disconnecting event to mwan3trackFlorian Eckert2021-03-16
| | | | | | | | | | | | | If the interface goes into failure state (is disconnecting) then with this change one hotplug.d event is generated. The same is true for the recovery state (is connecting), when the interface comes back from a failure state. In both cases, a hotplug.d event for the iface is triggered. Once with the $ACTION=disconnecting and once for the $ACTION=connecting. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* mwan3: disable DNS lookups for ping checksFlorian Eckert2021-03-01
| | | | | | | | | | | | | | | | | By default, ping does a reverse DNS of the IP that you are pinging. When you have a network issue (such as when a link has just gone down and you haven't yet marked it down), this lookup can cause failures on tests for links that are still good. This option only works for iputils ping. For busybox the option is not evaluated, but it is accepted without throwing an error. Fixes: #14968 Fixes: #14924 Signed-off-by: Florian Eckert <fe@dev.tdt.de> Suggested-by: David Lang <david@lang.hm>
* mwan3: fix regression in ipv6 routing tablesAaron Goodman2021-01-02
| | | | Signed-off-by: Aaron Goodman <aaronjg@stanford.edu>
* mwan3: update PKG_VERSIONFlorian Eckert2020-12-22
| | | | Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* mwan3: reinstall missing mwan3.user fileFlorian Eckert2020-12-22
| | | | Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* mwan3: update versionAaron Goodman2020-12-16
| | | | | | | Signed-off-by: Florian Eckert <fe@dev.tdt.de> - Changed version string Signed-off-by: Aaron Goodman <aaronjg@stanford.edu>
* mwan3: version bump to 2.10.3-3Aaron Goodman2020-11-16
| | | | Signed-off-by: Aaron Goodman <aaronjg@stanford.edu>
* mwan3: add maintainerAaron Goodman2020-11-16
| | | | | | add @aaronjg as maintener as per conversation with @feckert Signed-off-by: Aaron Goodman <aaronjg@stanford.edu>
* mwan3: don't trigger rpcd install hooks if rpcd not installedAaron Goodman2020-11-16
| | | | Signed-off-by: Aaron Goodman <aaronjg@stanford.edu>
* mwan3: Update documentation information for mwan3.user fileJames White2020-11-16
| | | | Signed-off-by: James White <james@jmwhite.co.uk>
* mwan3: remove duplicate Build/Compile from MakefileAaron Goodman2020-11-10
| | | | Signed-off-by: Aaron Goodman <aaronjg@stanford.edu>
* mwan3: version bump to 2.10.3Aaron Goodman2020-11-10
| | | | Signed-off-by: Aaron Goodman <aaronjg@stanford.edu>
* mwan3: update version to 2.10.2Florian Eckert2020-11-06
| | | | Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* mwan3: fix boundaryFlorian Eckert2020-11-06
| | | | | | | | he line is too long. For the future it is better to split it into several lines and make it more clearly arranged. In case of a future change, not the whole line will be marked as a change. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* mwan3: use common makefile install wrappersFlorian Eckert2020-11-06
| | | | | | | With this change you can see at a glance which files will be installed on the system. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* mwan3: fix mwan3 'use'Aaron Goodman2020-10-22
| | | | Signed-off-by: Aaron Goodman <aaronjg@stanford.edu>
* mwan3: use helper library for mwan3trackAaron Goodman2020-10-16
| | | | | | | | | | | | | | | | | Rather than using a special mwan3 user to manage mwan3track's tracking packets, this commit implements a small helper library to bind to device and to set a fwmark so that the tracking packets can be routed out of the correct interface. This provides a consistent method for binding to a device rather than relying on various packages potentially buggy implementations. For example: #8139 and #12836 This helper issue also allows for more tracking methods to be added even if they do not have a command line option to bind to device, such as iperf3 (eg #13050). Signed-off-by: Aaron Goodman <aaronjg@stanford.edu>
* mwan3: improve startup performance; version 2.9.0Aaron Goodman2020-08-17
| | | | | | | | | | | | | | | | | | | | | | improve startup and runtime performance by 1) moving common startup procedures out of hotplug script when called from mwan3 start 2) reducing calls to iptables to check status of rules 3) consolidating iptables updates and updating with iptables-restore 4) do not wait for kill if nothing was killed 5) running interface hotplug scripts in parallel 6) eliminate operations in hotplug script that check status on every single interface unnecessarily 7) consolidate how mwan3track makes hotplug calls 8) do not restart mwan3track on connected events This is a significant refactor, but should not result in any breaking changes or require users to update their configurations. version bump to 2.9.0 Signed-off-by: Aaron Goodman <aaronjg@stanford.edu>
* treewide: replace `which` with `command -v`Paul Spooren2020-08-09
| | | | | | | | | | Fix shellcheck SC2230 > which is non-standard. Use builtin 'command -v' instead. Once applied to everything concerning OpenWrt we can disable the busybox feature `which` and save 3.8kB. Signed-off-by: Paul Spooren <mail@aparcar.org>
* mwan3: update version to 2.8.12Florian Eckert2020-07-28
| | | | Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* mwan3: update version to 2.8.11Florian Eckert2020-07-20
| | | | Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* mwan3: version bumpAaron Goodman2020-07-19
| | | | Signed-off-by: Aaron Goodman <aaronjg@stanford.edu>
* mwan3: update version to 2.8.9Florian Eckert2020-07-15
| | | | Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* mwan3: Fix mwan3 start not doing anythingMichiel Blokzijl2020-07-03
| | | | | | | | | Due to a missing config load function call, mwan3 start runs ifup for an empty list of interfaces, thus not calling ifup at all. This commit introduces the missing config_load call. Signed-off-by: Michiel Blokzijl <code@m01.eu>
* mwan3: update version to 2.8.7Florian Eckert2020-06-17
| | | | Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* mwan3: version bump to 2.8.6Aaron Goodman2020-05-22
| | | | Signed-off-by: Aaron Goodman <aaronjg@stanford.edu>
* mwan3: Update MakefileBrian J. Murrell2020-04-30
| | | Signed-off-by: Brian J. Murrell <brian@interlinx.bc.ca>
* mwan3: fix whitespace issueFlorian Eckert2020-04-27
| | | | | | fixes #11965 Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* mwan3: Ping IPv6 hosts using address not interfaceBrian J. Murrell2020-03-13
| | | | | | | | | | Pinging IPv6 hosts using an interface as a source specifier seems troublesome. See https://bugs.openwrt.org/index.php?do=details&task_id=2897 for more detail. Use the desired source interface's IP address instead. Signed-off-by: Brian J. Murrell <brian@interlinx.bc.ca>
* mwan3: change license to SPDX compatible identifierFlorian Eckert2019-11-18
| | | | Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* mwan3: update version to 2.8.2Florian Eckert2019-11-14
| | | | Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* mwan3: Fix json_load fails with some datayurtesen2019-11-14
| | | | | | | | | | | Sometimes the return value of `ubus -S call network.interface.wan status` cause `json_load` to return `Failed to parse message data` error. To avoid this, the JSON data always should be quoted with double quotes. Signed-off-by: Evren Yurtesen <eyurtese@abo.fi> Removed quoatation marks from commit heading Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* mwan3: Add missing IPs to wanbDaniel A. Maierhofer2019-08-04
| | | | | | | | | | | Maintainer: Florian Eckert @feckert Compile tested: not needed Run tested: x86_64 Description: Only two of the four IPs defined for wan are found in wanb, adding it so it is the same. Signed-off-by: Daniel A. Maierhofer <git@damadmai.at>
* mwan3: update version to 2.8.0Florian Eckert2019-07-04
| | | | Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* mwan3: change flush_conntrack handling to use uci list elementFlorian Eckert2019-06-03
| | | | | | | | | With this change it is now possible to combine interface action events. If an interface action is generated by netifd or mwan3 for example ifup, ifdown, connectd or disconnected and this action is configured in the inteface uci section, then the conntrack table is flushed by mwan3. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* mwan3: fix logical/typo bug in mwan3rtmonChen Minqiang2019-03-22
| | | | | | | | This bug was introduced since dd206b7d0bc4a7de739b6dbccbac5b5ffcae9024 mwan3_remon_ipv4 and mwan3_remon_ipv6 is command to run not a variable I add some comments on them hopefully people will notice it Signed-off-by: Chen Minqiang <ptpt52@gmail.com>
* mwan3: fix disconnected event generation in mwan3trackFlorian Eckert2019-02-27
| | | | | | | | | | Before this change two disconnected events were generated. This is wrong! The disconnected event is impliciet generated by the hotplug script on ifdown event. The mwan3track script is notified by a USR1 signal which generates the disconnectd event. The additional "disconnectd" event on ifdown is not required. Signed-off-by: Florian Eckert <fe@dev.tdt.de>