Age | Commit message (Collapse) | Author |
|
Bug 590 & 363
|
|
Since it uses the same function for executing everything,
need to verify that it has no adverse effect on iptables commands.
|
|
|
|
change have been applied.
|
|
|
|
|
|
|
|
|
|
|
|
Replacing the missing hex prefix format specifier flag used for routing
table creation (tables missing from previous related commit)
Bug #61 http://bugzilla.vyos.net/show_bug.cgi?id=61
|
|
Update src/lbdecision.cc to maintain style consistency
|
|
Offset the fwmarks used in load-balancing to avoid conflicts with
routing tables created by policy based routing. Originally from
Benjamin Beret.
Bug #61 http://bugzilla.vyos.net/show_bug.cgi?id=61
|
|
This reverts commit e9001877d3bbdd5c4c48f0ccc088bd381d0b92dc.
Since the upstream change in the kernel from 3.6 onwards, where the
ipv4 routing cache has has been removed due to performance
bottlenecks and the fact that it was reasonable easy to launch denial
of service attackes (it was designed in friendlier times), the kernel
now reverts back to round-robin per packet routing rather than per flow
as it was previously, with the result that this commits breaks
load-balancing with two active routes.
http://git.kernel.org/cgit/linux/kernel/git/davem/net-next.git/commit/?id=89aef8921bfbac22f00e04f8450f6e447db13e42
Bug #344 http://bugzilla.vyos.net/show_bug.cgi?id=344
|
|
Remove legacy load balancing code left over from previous versions that
is no longer used, and tidy up a few of the scripts.
Bug #441 http://bugzilla.vyos.net/show_bug.cgi?id=441
|
|
Offset fwmarks and ip route tables by 200 (#61)
|
|
Signed-off-by: Daniil Baturin <daniil@baturin.org>
|
|
Replacing with an updated patch.
This reverts commit 461db303287b4f838b68b120a9656c9fc31070b2.
|
|
Signed-off-by: Daniil Baturin <daniil@baturin.org>
|
|
vyatta@vyatta# run show wan-load-balance
Interface: eth0
Status: active
Last Status Change: Mon Sep 12 21:55:13 2011
-Test: ping Target: 8.8.8.8
+Test: ping Target: 10.3.0.120
Test: ping Target: 127.0.0.1
Last Interface Success: 0s
Last Interface Failure: n/a
# Interface Failure(s): 0
[edit]
vyatta@vyatta# run show wan-load-balance
Interface: eth0
Status: active
Last Status Change: Mon Sep 12 21:55:13 2011
+Test: ping Target: 8.8.8.8
Test: ping Target: 10.3.0.120
Test: ping Target: 127.0.0.1
Last Interface Success: 0s
Last Interface Failure: n/a
# Interface Failure(s): 0
- denotes failed test
+ denotes successful test
blank means the test wasn't performed
All test status' refer to the last test cycle.
|
|
Add the ability to run a user defined script to determine wan load-balancing interface health
includes sample http test (scripts/http_test.pl). Configuration will look as follows:
wan {
interface-health eth0 {
nexthop 10.3.0.1
test 1 {
test-script /tmp/http_test.pl
type user-defined
}
}
interface-health eth1 {
nexthop 10.3.0.1
test 1 {
test-script /tmp/http_test.pl
type user-defined
}
}
With corresponding output:
vyatta@vyatta# run show wan-load-balance
Interface: eth0
Status: active
Last Status Change: Wed Mar 30 19:03:59 2011
+Test: user Script: /tmp/http_test.pl
Last Interface Success: 0s
Last Interface Failure: n/a
# Interface Failure(s): 0
Interface: eth1
Status: failed
Last Status Change: Wed Mar 30 19:03:59 2011
-Test: user Script: /tmp/http_test.pl
Last Interface Success: n/a
Last Interface Failure: 0s
# Interface Failure(s): 52
Scripts returns 0 for success, non-zero for failure.
|
|
|
|
|
|
/var/load-balance. fix for bug 6630
(cherry picked from commit cf1754c28af9dc17f5dea4995049823dc7687a63)
|
|
|
|
|
|
|
|
remove policy route on shutdown.
|
|
* fix 64-bit problem: string::*find*() functions have return type of "size_t", not "unsigned int".
|
|
* fix 64-bit problem: string::find*() functions have return type of "size_t", not "uint32_t".
|
|
|
|
table.
|
|
table with adsl dhcp configuration:
http://www.vyatta.org/forum/viewtopic.php?t=4254
|
|
When checking policy route compare nexthop and interface rather then just checking for an entry. This allows for incorrect entries to be replaced. This would be
a problem if different nexthop is readvertised via dhcp to the interface.
|
|
into milliseconds, therefore without a configured test it is much more likely that a ping test
will fail.
the work-around is to configure a test (response time is not required as the default value of 5 seconds will be used at this point).
|
|
correctly when configured.
|
|
leak otherwise.
|
|
local) traffic when exclude rule is specified.
|
|
|
|
fix for bug 4675. Throttle back the initial setting of nat rules during startup of wlb.
Conflicts:
src/lbdecision.cc
|
|
"enable-local-traffic". This preserves previous behavior (i.e. no balancing of local traffic) by default, but can be enable
via the configuration node.
Conflicts:
scripts/vyatta-wanloadbalance.pl
src/lbdecision.cc
|
|
also supports additional command to disable balancing of locally sourced traffic
"disable-local-traffic"
Conflicts:
src/lbdecision.cc
|
|
|
|
inbound interface for wlb is the same as the packet outbound interface.
|
|
|
|
output.
|
|
|
|
target iteration where some targets never completed test cycle
|
|
|
|
source-based-policy applied
|
|
|