summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2021-11-30Merge pull request #6 from EwaldvanGeffen/lithiumlithiumDaniil Baturin
Bug 590 & 363
2018-06-07T462: run load balancing scripts as vyattacfg GID.Daniil Baturin
Since it uses the same function for executing everything, need to verify that it has no adverse effect on iptables commands.
2016-06-11Base10 is the prefered systemEwald van Geffen
2016-05-22 - Bug 363 support for post-hook: allows to run script once route/firewall ↵Ewald van Geffen
change have been applied.
2016-05-22 - Bug 590 increase success‐countEwald van Geffen
2016-04-02Merge branch 'current' into HEADMihail Vasiliev
2016-04-02Fixups to compile on jessie.Mihail Vasiliev
2016-02-09Use dhcp instead of dhcp3.Kim Hagen
2015-12-16Fix build failures when building for jessie.Thomas Jepp
2015-10-25vyatta-wanloadbalance: missing hex prefix format specifier flagAlex Harpin
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
2015-10-25vyatta-wanloadbalance: formatting changes for style consistencyAlex Harpin
Update src/lbdecision.cc to maintain style consistency
2015-10-25vyatta-wanloadbalance: offset load-balancing fwmarks to avoid conflictsAlex Harpin
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
2015-10-25Revert "Make iptables rules use RETURN instead of ACCEPT (#362/#61)"Alex Harpin
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
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
2014-11-25Make iptables rules use RETURN instead of ACCEPT (#362/#61)kouak
Offset fwmarks and ip route tables by 200 (#61)
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-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-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
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-31fix following changes associated with bug 6125Michael Larson
2010-08-27fix one more caseAn-Cheng Huang
2010-08-27fix squeeze build issuesAn-Cheng Huang
2010-08-26fix for bug 5990Michael Larson
remove policy route on shutdown.
2010-08-11fix for bug 6029An-Cheng Huang
* fix 64-bit problem: string::*find*() functions have return type of "size_t", not "unsigned int".
2010-08-10fix for bug 6019An-Cheng Huang
* fix 64-bit problem: string::find*() functions have return type of "size_t", not "uint32_t".
2010-07-16fix for bug 5583.Michael Larson
2010-06-21added syslog messages on failure to insert default route into policyMichael Larson
table.
2010-06-19submission in reponse to forum posting on multiple entries found in snat ↵Michael Larson
table with adsl dhcp configuration: http://www.vyatta.org/forum/viewtopic.php?t=4254
2010-04-06fix for bug 5520.Michael Larson
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.
2010-03-23when a test is not configured the response time window is incorrectly scaled ↵Michael Larson
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).
2010-03-23fix debug state for test modules. debug flag was not being initialized ↵Michael Larson
correctly when configured.
2010-03-19need to close file when configured for dhcp on ppp interface--file handle ↵Michael Larson
leak otherwise.
2010-03-09bugfix for 5427. remove outbound interface exclusion on OUTPUT table (i.e. ↵Michael Larson
local) traffic when exclude rule is specified.
2009-12-23fix for bug 5178. initialize resp-time if not set.Michael Larson
2009-10-16Should handle all of the merge issues.slioch
fix for bug 4675. Throttle back the initial setting of nat rules during startup of wlb. Conflicts: src/lbdecision.cc
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-29fix for bug 4762. exclude packets from the mangle output table where the ↵slioch
inbound interface for wlb is the same as the packet outbound interface.
2009-07-28remove debug codeslioch
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-27additional fix on test cyclexslioch
2009-07-27fixed iptables command for when limit is applied--only for state=NEW w/o ↵slioch
source-based-policy applied
2009-07-27fix for mixed test type configuration where ttl would fail. now works.slioch