35 Commits

Author SHA1 Message Date
nbd
554a5f0921 multiwan: remove unnecessary call to config_clear()
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/packages@40407 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-07 09:56:08 +00:00
florian
b7fd9fe387 [package] multiwan: fix health monitoring
he extra space makes the ${health_monitor%.* } as "parallel.started", so it
won't match "parallel". This causes monitor_wan never starts.

Signed-off-by: York Sun <york.sun@me.com>

git-svn-id: svn://svn.openwrt.org/openwrt/packages@33471 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-19 15:09:29 +00:00
jow
08efb33bae [packages] multiwan: switch to /lib/functions/network.sh to derive network state (#11780)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@33052 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-08 10:37:29 +00:00
jow
3f579aba93 [packages] /etc/functions.sh => /lib/functions.sh
git-svn-id: svn://svn.openwrt.org/openwrt/packages@32061 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-05 15:54:57 +00:00
jow
de5d1f20e7 multiwan package: use less iptables -F
Hi

Even if "qos-scripts" package isn't installed, multiwan is flushing all the mangle chains.
This patch correct this behavior to let people use mangle table if qos-scripts is not there (to use there own qos script ...)

Info: For the moment the qos management of the multiwan package is broken (it's speaks about IMQ, instead of IFB)

The package version go from 1.0.20 to 1.0.21 (and not 1.0.19) because there is this patch also pending (http://patchwork.openwrt.org/patch/1740/)

Signed-off-by: Etienne CHAMPETIER <etienne.champetier@free.fr>

git-svn-id: svn://svn.openwrt.org/openwrt/packages@30833 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-07 11:47:52 +00:00
jow
acd17d6190 Add enabled option to multiwan
Hi

Attached modified patchs for multiwan and luci-app-multiwan

Signed-off-by: Etienne CHAMPETIER <etienne.champetier@free.fr>

Le 19/12/2011 18:30, Etienne Champetier a écrit :
> Hi
>
> Here follows the patch for luci multiwan package
> I've also opened a ticket on the luci trac
>
> Regards
>
> Le 19/12/2011 16:38, Etienne Champetier a écrit :
>> Hi
>>
>> The only mean to disable multiwan is to delete the symlink in /etc/rc.d, but if you make a backup and restore it you have to re-delete the symlink.
>>
>> This small patch add an "enabled" option to multiwan script.
>>
>> It will allow me to have one image per router model, not one with multiwan and one without.
>>
>> Best regards
>>
>> Signed-off-by: Etienne CHAMPETIER <etienne.champetier@free.fr>
>>
>>
>>
>>
>> _______________________________________________
>> openwrt-devel mailing list
>> openwrt-devel@lists.openwrt.org
>> https://lists.openwrt.org/mailman/listinfo/openwrt-devel
>>
>>
>> _______________________________________________
>> openwrt-devel mailing list
>> openwrt-devel@lists.openwrt.org
>> https://lists.openwrt.org/mailman/listinfo/openwrt-devel

git-svn-id: svn://svn.openwrt.org/openwrt/packages@30832 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-07 11:47:48 +00:00
nbd
23681be9c2 multiwan,wifidog: adjust dependencies for removed iptables-mod-{conntrack,nat}
git-svn-id: svn://svn.openwrt.org/openwrt/packages@30677 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-22 01:49:52 +00:00
jow
36096850c8 [packages] multiwan: remove obsolete dependency on iptables-utils (#10217)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@28577 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-25 12:42:05 +00:00
craigc
c6f4b884fc [packages] multiwan:
1. option 'health_monitor' 'serial' starts only one background process to monitor the health of
   any number of wan's, saving system resources (WHR-HP-G54 with only 16 MB memory is a happy wimp :)
2. option 'icmp_count' '3' can be useful to reduce false positives
3. a sample 'mwanfw' for VoIP traffic
4. "/etc/init.d/multiwan single" restores to the initial state of single wan.
   The "stop" command didn't quite do that, and it's now only good for process shutdown
5. numerous minor code cleanups


git-svn-id: svn://svn.openwrt.org/openwrt/packages@23388 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-10 20:59:38 +00:00
florian
33abb314c0 [package] update multiwan to 1.0.18 (#7792)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@23011 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-11 18:38:29 +00:00
craigc
e13610f76e [packages] multiwan: Changed route acquistion to grab everything except default routes.
git-svn-id: svn://svn.openwrt.org/openwrt/packages@22415 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-30 06:54:01 +00:00
craigc
aaccc1196a [packages] multiwan: Reverted back from using LAN as default route in main routing table.
git-svn-id: svn://svn.openwrt.org/openwrt/packages@22043 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-02 03:09:04 +00:00
craigc
521c6a0c60 [packages] multiwan: Adjusted initial restore mark rule
git-svn-id: svn://svn.openwrt.org/openwrt/packages@21974 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-28 16:05:57 +00:00
craigc
72260a358c [packages]: multiwan:
Repositioned MultiWan tables within iptables list.
Added lan_if setting to change the main routing table to point towards a lan interface instead.



git-svn-id: svn://svn.openwrt.org/openwrt/packages@21973 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-28 04:49:55 +00:00
craigc
b24f30a021 [packages] multiwan: Updated rt_tables again, from 300 to 170.
git-svn-id: svn://svn.openwrt.org/openwrt/packages@21900 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-26 08:02:46 +00:00
craigc
fcc8704a12 [packages]: multiwan - Removed invalid reference.
git-svn-id: svn://svn.openwrt.org/openwrt/packages@21839 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-18 23:24:19 +00:00
craigc
7f47e77375 [packages] multiwan: Updated QoS table names.
git-svn-id: svn://svn.openwrt.org/openwrt/packages@21832 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-18 04:15:30 +00:00
craigc
49845f6838 [packages] multiwan:
Routing tables now begin at 300+, to stay away from default routing tables.
Changed message for fastbalancer failure.
Changed QoS portion to allow more WANs, added check to make sure same interface doesnt receive qos configuration twice.
Restructured order of iptables so DNS comes last, and utilizing differnt fwmark for load balancing.


git-svn-id: svn://svn.openwrt.org/openwrt/packages@21831 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-18 03:22:19 +00:00
craigc
40b6e7408b [packages] multiwan: Changed syslog message for Fast Balancer failure.
git-svn-id: svn://svn.openwrt.org/openwrt/packages@21487 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-17 15:49:02 +00:00
craigc
f09ff069e5 [packages] multiwan:
- updated revision
- overhauled probability matrix for netfilter route selection
- added configuration options for specifying method of traffic distribution per default route/rule/failover (iproute/netfilter)


git-svn-id: svn://svn.openwrt.org/openwrt/packages@21448 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-14 12:41:50 +00:00
craigc
f8f869b6cc [packages] multiwan: Changed sed to simply remove the last digit.
git-svn-id: svn://svn.openwrt.org/openwrt/packages@21433 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-12 21:19:51 +00:00
craigc
cab1cc25b1 [packages] multiwan: Updated probabilities matrix, added rounding.
git-svn-id: svn://svn.openwrt.org/openwrt/packages@21431 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-12 20:54:57 +00:00
craigc
a585129a0e [packages] multiwan: updated load balancer algorithm
git-svn-id: svn://svn.openwrt.org/openwrt/packages@21424 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-11 01:27:26 +00:00
craigc
a4a9ca982e [packages] multiwan: Fixed last WAN probability to be 1.0.
git-svn-id: svn://svn.openwrt.org/openwrt/packages@21416 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-10 16:54:53 +00:00
craigc
9ab7bbda14 [packages] multiwan: Tweaked probability for random packet selection
git-svn-id: svn://svn.openwrt.org/openwrt/packages@21415 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-10 15:19:34 +00:00
craigc
b56076fdb1 [packages] multiwan: Changed failover probabilities for
MultiWanLoadBalancer 


git-svn-id: svn://svn.openwrt.org/openwrt/packages@21414 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-10 02:04:52 +00:00
craigc
95bec05f00 [packages] multiwan:
- Now makes use of statistic module/random for better equal multipath load balancing
- Seperated mangle rules out for better connmark handling


git-svn-id: svn://svn.openwrt.org/openwrt/packages@21413 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-10 00:55:25 +00:00
craigc
a7bb4ce0a9 [packages] multiwan: updated revision, updated cache loading on
health_monitor


git-svn-id: svn://svn.openwrt.org/openwrt/packages@21343 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-03 15:40:47 +00:00
craigc
74f5ee2c0f [packages] multiwan: updated cache location, write times, adjusted failover and qos initilization
git-svn-id: svn://svn.openwrt.org/openwrt/packages@21279 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-01 05:59:13 +00:00
craigc
d8c95e808b [packages] multiwan: Modified failover, implemented a check to see if resolv.conf.auto is current, added a cache file
git-svn-id: svn://svn.openwrt.org/openwrt/packages@21273 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-30 16:01:50 +00:00
craigc
59abbb11d6 [packages] multiwan: removed resolv_conf settings and added dns server override & updated default config file.
git-svn-id: svn://svn.openwrt.org/openwrt/packages@21249 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-29 04:35:48 +00:00
craigc
35645e1be4 [packages] multiwan: Updated failover removal
git-svn-id: svn://svn.openwrt.org/openwrt/packages@21176 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-26 18:54:10 +00:00
craigc
473a28eb8e [packages] multiwan: adjusted DNS rules to send out via correct interface.
git-svn-id: svn://svn.openwrt.org/openwrt/packages@21144 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-24 17:54:48 +00:00
craigc
dfb4bc4c6f Updated for better use with ppp and dns requests
git-svn-id: svn://svn.openwrt.org/openwrt/packages@21116 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-24 00:29:57 +00:00
jow
4df8439004 [packages] add multiwan, a simple to use multi wan configuration agent
git-svn-id: svn://svn.openwrt.org/openwrt/packages@20925 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-16 16:05:03 +00:00