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>
46 lines
1.1 KiB
Makefile
46 lines
1.1 KiB
Makefile
#
|
|
# Copyright (C) 2006-2014 OpenWrt.org
|
|
#
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
# See /LICENSE for more information.
|
|
#
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=mwan3
|
|
PKG_VERSION:=2.4
|
|
PKG_RELEASE:=5
|
|
PKG_MAINTAINER:=Florian Eckert <fe@dev.tdt.de>
|
|
PKG_LICENSE:=GPLv2
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
define Package/mwan3
|
|
SECTION:=net
|
|
CATEGORY:=Network
|
|
SUBMENU:=Routing and Redirection
|
|
DEPENDS:=+ip +ipset +iptables +iptables-mod-conntrack-extra +iptables-mod-ipopt
|
|
TITLE:=Multiwan hotplug script with connection tracking support
|
|
MAINTAINER:=Florian Eckert <fe@dev.tdt.de>
|
|
PKGARCH:=all
|
|
endef
|
|
|
|
define Package/mwan3/description
|
|
Hotplug script which makes configuration of multiple WAN interfaces simple
|
|
and manageable. With loadbalancing/failover support for up to 250 wan
|
|
interfaces, connection tracking and an easy to manage traffic ruleset.
|
|
endef
|
|
|
|
define Package/mwan3/conffiles
|
|
/etc/config/mwan3
|
|
/etc/mwan3.user
|
|
endef
|
|
|
|
define Build/Compile
|
|
endef
|
|
|
|
define Package/mwan3/install
|
|
$(CP) ./files/* $(1)
|
|
endef
|
|
|
|
$(eval $(call BuildPackage,mwan3))
|