aboutsummaryrefslogtreecommitdiff
path: root/net/mwan3/Makefile
Commit message (Collapse)AuthorAge
* 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>
* net/mwan3: add ubus interface checkFlorian Eckert2017-03-21
| | | | | | | | | On interfaces with interface proto "qmi|ncm" and option dhcp enabled the interface will be changed to $iface_4 | $iface_6. The interface mapping in mwan3 will not recognize this interface. To fix this issue an ubus call will check if an upper interface exists. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* net/mwan3: change maintainerFlorian Eckert2017-03-20
| | | | Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* net/mwan3: add mwan3.user hotplug scriptFlorian Eckert2017-03-17
| | | | Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* net/mwan3: reset conntrack table on iface up/down eventFlorian Eckert2017-03-16
| | | | Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* net/mwan3: add me as co maintainerFlorian Eckert2017-03-08
| | | | Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* mwan3: remove bad local shell variable declarationsJo-Philipp Wich2016-09-24
| | | | | | | Local variable declarations outside of functions are illegal since the Busybox update to v1.25.0, therfore remove them from the appropriate places. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* mwan3: update to version 2.0-2Jeroen Louwes2015-12-21
| | | | | | Fix iptables issue where a needed ipset was not created if first wan that came online was not a member of policy. Signed-off-by: Jeroen Louwes <jeroen.louwes@gmail.com>
* mwan3: update to version 2.0-1Jeroen Louwes2015-12-17
| | | | | | | Fix issue with sticky sessions not working correctly Fix issue where user created ipsets were not applied Signed-off-by: Jeroen Louwes <jeroen.louwes@gmail.com>
* mwan3: update to version 2.0-0Jeroen Louwes2015-11-19
| | | | | | | IPv6 support! :D Big code overhaul; expect bugs.. Signed-off-by: Jeroen Louwes <jeroen.louwes@gmail.com>
* mwan3: update to version 1.6-3Jeroen Louwes2015-10-20
| | | | | | Fix for changed location ip binary Signed-off-by: Jeroen Louwes <jeroen.louwes@gmail.com>
* mwan3: update to version 1.6-2Jeroen Louwes2015-07-21
| | | | | | Fix malformed uci commands. (issue #1502) Signed-off-by: Jeroen Louwes <jeroen.louwes@gmail.com>
* mwan3: update to version 1.6-1Adze15022015-03-17
| | | | | | | Add ipset support (ipset version >6.22 with ipmark required) Add stickiness feature Signed-off-by: Jeroen Louwes <jeroen.louwes@gmail.com>
* mwan3: update to version 1.5-10Adze15022015-01-15
| | | | | | | Fixed issue in mwan3 status output with mwan3 interfaces not yet configuerd in network config Removed nexthop argument as it is no longer used Signed-off-by: Jeroen Louwes <jeroen.louwes@gmail.com>
* mwan3: update to version 1.5-9Adze15022014-12-22
| | | | | | | Fix issue where config file would be overwritten in some cases Fix issue where local address of wan point-to-point links were unreachable from lan Signed-off-by: Jeroen Louwes <jeroen.louwes@gmail.com>
* mwan3: update to version 1.5-8Adze15022014-10-07
| | | | | | Fix bug introduced in version 1.5-7; args were not parsed to script. Signed-off-by: Jeroen Louwes <jeroen.louwes@gmail.com>
* mwan3: update to version 1.5-7Adze15022014-10-02
| | | | | | | Fixed issue where an manual ifup-ed interface would immediatly go down again Remove from init as mwan3 is not a service Signed-off-by: Jeroen Louwes <jeroen.louwes@gmail.com>
* mwan3: update to version 1.5-6Adze15022014-09-25
| | | | | | | Fixed issue where mwan3 would not immediately set interface down on link-loss event Added feature to define last-resort action on policies with no members Signed-off-by: Jeroen Louwes <jeroen.louwes@gmail.com>
* mwan3: update to version 1.5-4Adze15022014-09-09
| | | | | | Fix issue with more than one link route on a wan interface Signed-off-by: Jeroen Louwes <jeroen.louwes@gmail.com>
* mwan3: update to version 1.5-4Adze15022014-08-21
| | | | | | Fix issue #219: Policy status output returns arithmetic syntax error Signed-off-by: Jeroen Louwes <jeroen.louwes@gmail.com>
* mwan3: update to version 1.5-3Adze15022014-08-14
| | | | | | Better way of fixing the "icmp unreachable exits wrong interface" problem Signed-off-by: Jeroen Louwes <jeroen.louwes@gmail.com>
* mwan3: Update to version 1.5-2Adze15022014-08-12
| | | | | | | Fix issue icmp unreachables go out wrong interface Remove unnecessary line Signed-off-by: Jeroen Louwes <jeroen.louwes@gmail.com>
* mwan3: Update to version 1.5-1Adze15022014-08-10
| | | | | | | Add iptables -w option, which increases stability, requires iptables v1.4.20. Code cleanup Signed-off-by: Jeroen Louwes <jeroen.louwes@gmail.com>
* Add mwan3 to packages feedAdze15022014-08-08
Signed-off-by: Jeroen Louwes <jeroen.louwes@gmail.com>