aboutsummaryrefslogtreecommitdiff
path: root/net/mwan3/Makefile
Commit message (Collapse)AuthorAge
...
* 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>
* mwan3: update version to 2.7.10Florian Eckert2019-01-22
| | | | Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* mwan3: update version to 2.7.9Florian Eckert2019-01-14
| | | | Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* mwan3: update version to 2.7.8Florian Eckert2018-12-25
| | | | Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* mwan3: add nping to tracking methodMichael Stoll2018-12-21
| | | | Signed-off-by: Michael Stoll <michael.stoll@meadow-robotics.com>
* mwan3: update version to 2.7.6Florian Eckert2018-11-08
| | | | Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* net/mwan3: update version to 2.7.5Florian Eckert2018-10-23
| | | | Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* net/mwan3: update version to 2.7.4Florian Eckert2018-10-12
| | | | Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* net/mwan3: update version to 2.7.3Chen Minqiang2018-10-10
| | | | Signed-off-by: Chen Minqiang <ptpt52@gmail.com>
* net/mwan3: update version to 2.7.2Florian Eckert2018-09-24
| | | | Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* mwan3: optimize the process of copying routing tablesChen Minqiang2018-09-21
| | | | | | | | | | - The original copy process is to delete all routing tables first, then add new routing table. This process is too slow and very dirty. - We use grep to identify the changes and apply them. - ignore ipv6 unreachable routes - update version number Signed-off-by: Chen Minqiang <ptpt52@gmail.com>
* mwan3: refine link selectionChen Minqiang2018-08-09
| | | | | | | | | - globals src_ip to none - ip route back to source - add mwan3rtmon - update version to 2.7 Signed-off-by: Chen Minqiang <ptpt52@gmail.com>
* net/mwan3: fix NDP on ipv6 for ra servicesFlorian Eckert2018-06-06
| | | | Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* net/mwan3: update version to 2.6.17Florian Eckert2018-05-30
| | | | Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* net/mwan3: update version to 2.6.16Florian Eckert2018-05-16
| | | | Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* mwan3: Packet Loss & Latency CheckNishant Sharma2018-05-11
| | | | | | | 1. Test link quality based on packet loss & latency w.r.t. pre-defined high and low watermark values. 2. Extended ubus support to provide packet loss & latency information per wan per track_ip Signed-off-by: Nishant Sharma <codemarauder@gmail.com>
* net/mwan3: update version to 2.6.14Florian Eckert2018-04-12
| | | | Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* net/mwan3: update version to 2.6.13Florian Eckert2018-04-08
| | | | Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* mwan3: ipv6-compatible default confLuiz Angelo Daros de Luca2018-04-03
| | | | | | | | | | | | | | | | | Considering that ipv6 NPT/NAT/NETMAP is done manually by user, mwan3 can balance ipv6 interfaces as it does with ipv4. Interface wan2 was renamed to wanb as wan2, wan3, ... will eventually colide with OpenWrt with default wan6 interface when more than 6 interfaces are in use. New interfaces, members for wan6 and wanb6 where created, both disabled by default. Policies where adapted as well. The option "family" is set respectively in each interface. When missing, mwan3 assumes ipv4, that will fail when interface is IPv6 only. Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
* net/mwan3: update version to 2.6.12Florian Eckert2018-03-29
| | | | Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* mwan3: adjust dependency from ip-full to ipHannu Nyman2018-03-23
| | | | | | | | | | | Adjust the dependency from ip-full back to ip. Returning back to "ip" is now possible as busybox does not provide "ip" any more, making "ip" again reference to ip-tiny or ip-full. Reference to discussion in #5747 Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
* net/mwan3: update version to 2.6.11Florian Eckert2018-03-16
| | | | Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* net/mwan3: add jshn and ip-full to package dependencyFlorian Eckert2018-03-12
| | | | | | | | * The mwan3 scripts sources ". /usr/share/libubox/jshn.sh" * Mwan3 only works if ip-full is installed Error -> "ip: invalid argument '0xfd00/0xff00' to 'fwmark'" Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* net/mwan3: update to version 2.6.10Florian Eckert2018-02-05
| | | | Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* mwan3: Improve logs when member metric is too bigJakub Janco2017-12-07
| | | | | | | | If metric of member interface is bigger then 256, it is not appended to policy, now at least warn message is printed into syslog Signed-off-by: Jakub Janco <kubco2@gmail.com>
* net/mwan3: update to version 2.6.8Florian Eckert2017-11-22
| | | | Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* mwan3: update to version 2.6.7David Yang2017-11-08
| | | | Signed-off-by: David Yang <mmyangfl@gmail.com>
* net/mwan3: fix mwan3track STATUS if initial_state is offlineFlorian Eckert2017-09-12
| | | | Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* mwan3: fix interface-bound traffic when interface is offlineMarcin Jurkowski2017-09-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit fixed what 6d99b602 was supposed to fix without affecting interface-bound traffic. Before 6d99b602 interface-bound traffic was working normally as long as at least one interface was online. However when the last interface went offline, it was impossible to ping and such state was unrecoverable. Commit 6d99b602 fixed unrecoverable offline state problem (it was possible to ping -I iface) but messed inteface-bound traffic. Traffic with interface source address was not working if the interface was in "offline" state, even if another interface was online. The problem was caused by an inconsistent "offline" interface state: iptables-related rules were kept while routing table and policy were deleted. The idea behind this commit is to: 1. Keep all the rules for each interface (iptables, routing table, policy) regardless of its state. This ensures consistency, 2. Make interface state hotplug events affect only iptables' mwan3_policy_* rules. Interface-related iptables, routing table and policy is removed only when mwan3 is manually stopped. To make such changes possible, it's necessary to change the way mwan3_policy_* rule generator keeps track of interface state hotplug events. Until now, it checked for the existence of custom interface-related routing table (table id 1, 2, 3, ...). Clearly we can no longer rely on that so each interface state is stored explicitly in file. Signed-off-by: Marcin Jurkowski <marcin1j@gmail.com>
* net/mwan3: update versionFlorian Eckert2017-09-01
| | | | Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* net/mwan3: update versionFlorian Eckert2017-08-16
| | | | Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* net/mwan3: update versionFlorian Eckert2017-08-10
| | | | Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* net/mwan3: add Makefile postinst and postrm for rpcdFlorian Eckert2017-08-10
| | | | | | Restart rpcd on package install/remove Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* mwan3: allow to change mwan3's MARKing maskLars Schumann2017-08-04
| | | | Signed-off-by: Lars Schumann <larsi.org@gmail.com>
* mwan3: support various interface tracking methodsMarcin Jurkowski2017-08-02
| | | | | | | | | | | | Adds support for interface tracking using either ping, arping or httping. This allows to track interface status on networks with filtered ICMP traffic or simply to monitor data link layer etc. To facilitate binding to a specified interface its IP address is passed as a new mwan3track parameter. It's currently required by httping and possibly by other tools that may be added in the future. Signed-off-by: Marcin Jurkowski <marcin1j@gmail.com>
* net/mwan3: update versionFlorian Eckert2017-06-22
| | | | Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* net/mwan3: update Makefile versionFlorian Eckert2017-05-12
| | | | Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* net/mwan3: update Makefile versionFlorian Eckert2017-04-27
| | | | Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* net/mwan3: update Makefile versionFlorian Eckert2017-04-11
| | | | Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* net/mwan3: update Makefile versionFlorian Eckert2017-04-05
| | | | Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* net/mwan3: add failure and recovery intervalFlorian Eckert2017-03-27
| | | | | | | | | | | | | If mwan3track detects a failure the interval check will change to "failure_interval" value until this interface is declared "offline". After interface gets "offline" normal "interval" value is used again. If interface ping is successful again "recovery_interval" value is used until interface is declared "online" again. Using the different intervals will accelerate the wan line detections on failure and recovery. Signed-off-by: Florian Eckert <fe@dev.tdt.de>