| Commit message (Collapse) | Author | Age |
... | |
|
|
|
| |
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
|
|
|
|
| |
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
If mwan3track will not stop immediately after sending the kill signal,
the clean_up handler will delete the pid file later while the new mwan3track is
already running.
This could result in a situation that mwan3track is running
more then once because the old mwan3track service could not be killed,
because the pid file is missing.
Using pgrep to kill all mwan3track for the tracked interface and not using
pid file should fix this issue.
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
|
|
|
|
|
|
| |
Sleep will be aborted if a signal is send to this process.
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
|
|
|
|
|
|
|
|
|
|
|
|
| |
If interface is getting down by netifd (unplug ethernet cable)
mwan3track will not recognize this change. It will also generate an
additional down event when he notice does his tracking interface is offline.
Mwan3track will now be informed by a signal (trap) USR1 during down event
that the interface is already down. An additional down event will not be
generated.
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
|
|
|
|
| |
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
|
|
|
|
| |
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
|
|
|
|
| |
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
|
|
|
|
| |
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
|
|
|
|
| |
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
fix track_ips generation introduced with commit
6d44a7679a92717126f1da4b274d91322c7c56b7
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
|
|
|
|
| |
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
|
|
|
|
| |
Signed-off-by: Florian Eckert <Eckert.Florian@googlemail.com>
|
|
|
|
| |
Signed-off-by: Florian Eckert <Eckert.Florian@googlemail.com>
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
IPv6 support! :D
Big code overhaul; expect bugs..
Signed-off-by: Jeroen Louwes <jeroen.louwes@gmail.com>
|
|
|
|
|
|
| |
Fix for changed location ip binary
Signed-off-by: Jeroen Louwes <jeroen.louwes@gmail.com>
|
|
|
|
|
|
| |
Fix malformed uci commands. (issue #1502)
Signed-off-by: Jeroen Louwes <jeroen.louwes@gmail.com>
|
|
|
|
|
|
|
| |
Add ipset support (ipset version >6.22 with ipmark required)
Add stickiness feature
Signed-off-by: Jeroen Louwes <jeroen.louwes@gmail.com>
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
| |
Fix bug introduced in version 1.5-7; args were not parsed to script.
Signed-off-by: Jeroen Louwes <jeroen.louwes@gmail.com>
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
| |
Fix issue #219: Policy status output returns arithmetic syntax error
Signed-off-by: Jeroen Louwes <jeroen.louwes@gmail.com>
|
|
|
|
|
|
|
| |
Fix issue icmp unreachables go out wrong interface
Remove unnecessary line
Signed-off-by: Jeroen Louwes <jeroen.louwes@gmail.com>
|
|
|
|
|
|
|
| |
Add iptables -w option, which increases stability, requires iptables v1.4.20.
Code cleanup
Signed-off-by: Jeroen Louwes <jeroen.louwes@gmail.com>
|
|
Signed-off-by: Jeroen Louwes <jeroen.louwes@gmail.com>
|