summaryrefslogtreecommitdiff
path: root/scripts
AgeCommit message (Collapse)Author
2020-12-25wanloadbalance: T3152: Enable conntrack countersDmitriyEshenko
2020-12-25wanloadbalance: T3152: Change conntrack statistics file locationDmitriyEshenko
2019-02-14Bugfix: T258: wan loadbalance /var/run permission issuehagbard
2015-02-08vyatta-wanloadbalance: ensure the load balancing daemon is startedAlex Harpin
Ensure the load balancing daemon starts correctly when the configuration changes are committed. Bug #441 http://bugzilla.vyos.net/show_bug.cgi?id=441
2015-02-08vyatta-wanloadbalance: remove legacy load balancing code and tidy upAlex Harpin
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
2015-02-08vyatta-wanloadbalance: formatting changes for style consistencyAlex Harpin
Update scripts/http_test.pl to have consistent identation levels and style throughout.
2015-02-08vyatta-wanloadbalance: formatting changes for style consistencyAlex Harpin
Update scripts/vyatta-wanloadbalance.pl and vyatta-wlb-connection.pl to have consistent identation levels and style throughout.
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-02-12fix for missing wlb.conf file.Michael Larson
2011-02-11fix for 6711. Changed configuration node as requested by support.Michael Larson
2011-02-11fix for bug 6779. make sure ppp directory is available.Michael Larson
2011-02-01fix for bug 6761.Michael Larson
2011-01-05convert wlb runtime directory to /var/run/load-balance from ↵Michael Larson
/var/load-balance. fix for bug 6630 (cherry picked from commit cf1754c28af9dc17f5dea4995049823dc7687a63)
2011-01-05fix for bug 4966.Michael
default to no dns resolution with option for dns resolution on op mode command. (cherry picked from commit 9e9c03edd4d4b2c87f0da68c8b40c216a324495b)
2010-08-26fix for bug 5990Michael Larson
remove policy route on shutdown.
2010-08-26fix for bug 5998.Michael Larson
new warnings are generated for the following conditions exclude rule that has an outbound interface defined rule with no outbound interfaces defined (and is not an exclude rule)
2010-08-06fix for bug 5991 and 5715.Michael Larson
The problem was introduced when the start order for WLB and pppoe interfaces changed (must have been sometime pre-kenwood). The pppoe hook script was checking for the existence of WLB prior to updating the nexthop information for WLB. The fix is to perform the update without this check and WLB will pick up the changes when it is eventually started.
2010-03-30fix for bug 5504. needed to correctly set nesting on internal configuration ↵Michael Larson
file for wlb.conf for the hook parameter.
2010-03-19fix for bug 5485.Michael Larson
2009-12-07small modification to test type configuration--improved layout.Michael Larson
NOTE: layout is not compatible with earlier kenwood configurations for WLB. ttl limit for ttl test has been removed as a leaf of the ttl test type, but is now configurable as a sibling (but with a default value of 1).
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-09-29fix for ppp type interfaces that use the wanlb dhcp configuration option.Michael Larson
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-08fix for bug 4698slioch
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-06-22fix for bug 4624. source port configuration was incorrectly configured.slioch
2009-06-17ping target is now optional. nexthop will be used in place of ping target if ↵slioch
ping target is not specified. this is also true of dhcp configurations.
2009-06-16fix for bug 4578. Added warning message when the user configures inbound and ↵slioch
outbound on same rule, but will allow configuration with warning.
2009-06-02fix for bug 4352.slioch
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.
2009-01-28fix for problem found in webgui on restarting process.slioch
2009-01-28Fix buggy shell scriptStephen Hemminger
shell script was missing 'then' and would always cause error message.
2008-12-15completes work to support dhcp for wan lb.slioch
2008-12-01Merge branch 'jenner' of suva.vyatta.com:/git/vyatta-wanloadbalance into jennerStephen Hemminger
2008-12-01fix for 3191--now use conntrack binary to return relevant entries thatslioch
are routed and marked by wlb.
2008-12-01formatting part of 3191 fixed with this bug. moved from dumping ↵slioch
proc/net/ip_conntrack output to easier to digest formatted output.
2008-11-21Convert to Vyatta::Stephen Hemminger
2008-10-31fix for bug 3608. add connnection comment to sudoers directory.slioch
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-22fix for bug 3608.root
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-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.