summaryrefslogtreecommitdiff
path: root/src/lbdata.cc
AgeCommit message (Collapse)Author
2011-09-12fix for bug 7315. Target status behavior has been modified to fix this bug:Michael Larson
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.
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-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)
2010-08-27fix squeeze build issuesAn-Cheng Huang
2010-03-19need to close file when configured for dhcp on ppp interface--file handle ↵Michael Larson
leak otherwise.
2009-09-29fix for ppp type interfaces that use the wanlb dhcp configuration option.Michael Larson
2009-07-28reworked tests to fix bug in handling of received packets. modified show cmd ↵slioch
output.
2009-07-27fix bug in failed test completion.slioch
2009-07-27clean up all of mangle table on exit, including new entries. fixed bug in ↵slioch
target iteration where some targets never completed test cycle
2009-07-27fix for mixed test type configuration where ttl would fail. now works.slioch
2009-07-24release socks on shutdownslioch
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 4699. Note that dhcp nexthop detection was also broken due to ↵slioch
changes in the location of the dhcp client information. this was also fixed.
2009-07-07added configuration hook to execute script on interface state change. ↵slioch
configurable via conf mode. environment variables identify interface and new state.
2008-12-16fix for bug 3968. enhanced show wan load balance according to preferred ↵slioch
design in bug listing. Also exposed time of last interface status change.
2008-10-29fix for bug 3843. added warning level syslong messages on any interface that ↵slioch
changes state in wan lb.
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.
2007-12-14initial check wan lbdebian/0.1Michael Larson
Signed-off-by: Michael Larson <slioch@eng-140.vyatta.com>