summaryrefslogtreecommitdiff
path: root/src/lbdatafactory.cc
AgeCommit message (Collapse)Author
2014-10-17Vyatta Bugfix 6245: Sticky incoming connection support for WLBEwald van Geffen
Signed-off-by: Daniil Baturin <daniil@baturin.org>
2014-10-17Revert "Vyatta Bugfix 6245: Sticky incoming connection support for WLB"Daniil Baturin
Replacing with an updated patch. This reverts commit 461db303287b4f838b68b120a9656c9fc31070b2.
2014-09-01Vyatta Bugfix 6245: Sticky incoming connection support for WLBEwald van Geffen
Signed-off-by: Daniil Baturin <daniil@baturin.org>
2011-03-30check in for Bug 6959Michael Larson
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.
2011-03-21fix for 6938. incorrectly checking value of key rather than value of value.Michael Larson
2011-02-11fix for 6711. Changed configuration node as requested by support.Michael Larson
2010-08-27fix squeeze build issuesAn-Cheng Huang
2010-08-11fix for bug 6029An-Cheng Huang
* fix 64-bit problem: string::*find*() functions have return type of "size_t", not "unsigned int".
2009-10-02change name of local packet balancing tag from "disable-local-traffic" to ↵Michael Larson
"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
2009-10-02bug 4971 fix.Michael Larson
also supports additional command to disable balancing of locally sourced traffic "disable-local-traffic" Conflicts: src/lbdecision.cc
2009-07-24bug fixes on mult targets. added packet rate limit option to rulesslioch
2009-07-21added udp ttl limited test type to health check. modified configuration ↵slioch
layout. modified op mode command to provide indication on multiple target success/failures.
2009-07-17reworked target code to support multiple targets and different target types.slioch
user can now specify a sequence of targets to test (ordered by rule number). The first success satifies the success criteria for the test and no further tests will be performed on the interface for this period. Additional test types can be coded and added to the target framework. configuration has changed as a result of the rework.
2009-07-07added configuration hook to execute script on interface state change. ↵slioch
configurable via conf mode. environment variables identify interface and new state.
2009-07-07fix for bug 4658. Move enable-source-based-routing to per rule basis from ↵slioch
global setting. Conflicts: src/lbdecision.cc
2009-04-02added source based routing feature.slioch
2009-02-09added support for global level conntrack flushing on interface state change. ↵slioch
Default configuration is to disable this feature.
2008-09-25fix for bug 3710. also found and fixed another bug with restarting of wlb ↵slioch
after changing rule set. this simplifies the application of the rules to the mangle table.
2008-08-29add rule failover support. Failover mode can now be specified on a specific ↵Mike Larson
rule. This rule will only direct traffic to a single active interface, on failure of the ping target traffice will be directed out an alternate interface. note: the one todo item for this feature is to add "stickiness" of an active interface. wlb re-evaluates all rules on an interface state change and this may cause the interface to change for failover mode. supporting this mode requires a less than trivial rewrite of the wlb decision code.:
2008-08-22Partial fix for bug 3332. WLB can now be configured to run without creating ↵root
implicit source nat rules. This configuration element applies to the complete wan load balance configuration.
2008-08-22fixed bug in parsing multiple rule setsroot
2008-08-22fix for bug 3620. exclusion option is now provided and will create an accept ↵root
rule. For an exclusion the user does not need to configure interfaces for that rule to balance across.
2008-06-25Add missing includesrbalocca
2008-06-10modified prerouting decisions to work with connmark. user needs to specify ↵Michael Larson
inbound interface now (although this isn't currently required).
2008-06-06added contract entry for state NEW for initial interface. Also add parameter ↵Michael Larson
to specify nexthop via interface in interface-health. This will be mandatory, but currently it is optional in the absence of a migration script.
2008-03-20modified configuration to mirror nat/firewall for port/address ↵Michael Larson
configuration. added port configuration support for common port configuration validation. still needs additional validation for address configuration.
2008-03-10convert from VPL to GPLv2Stephen Hemminger
Change license on all files from VPL 1.0 to GPLv2 for Glendale.
2008-02-05changed port definition to be consistent with fw/nat (i.e. single port line ↵Michael Larson
allow multi-port configuration). init script fix
2008-02-04whole raft of cli related changes. Fixed bugs in display output--added error ↵Michael Larson
checking on some configuration combinations. added additional error checking in the code.
2008-01-31moved most stdout messages to new debug output command. reworked ↵Michael Larson
(simplified) init script so that rules table is properly cleaned up on exit of wlb. fixed a couple cli structural related issues.
2007-12-14initial check wan lbdebian/0.1Michael Larson
Signed-off-by: Michael Larson <slioch@eng-140.vyatta.com>