Age | Commit message (Collapse) | Author |
|
|
|
|
|
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
|
|
|
|
|
|
|
|
Ensure the load balancing daemon stops correctly when the configuration
changes are committed; using new rather than old scripts.
Bug #441 http://bugzilla.vyos.net/show_bug.cgi?id=441
|
|
Ensure the load balancing daemon starts correctly when the configuration
changes are committed.
Bug #441 http://bugzilla.vyos.net/show_bug.cgi?id=441
|
|
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
|
|
Update scripts/http_test.pl to have consistent identation levels and
style throughout.
|
|
Update scripts/vyatta-wanloadbalance.pl and vyatta-wlb-connection.pl to
have consistent identation levels and style throughout.
|
|
|
|
|
|
|
|
Make iptables rules use RETURN instead of ACCEPT (#61/#361)
|
|
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.
|
|
|
|
|
|
|
|
|
|
|
|
users towards putting scripts in /config/scripts
|
|
|
|
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.
|
|
|
|
|
|
|
|
|