-
-
Notifications
You must be signed in to change notification settings - Fork 736
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* keepalived-0.5.3 released. * Added autoconf / automake generic scripts. * Rewrite the configuration file stream parser. Using a generic keywords tree. Each keyword refer a specific stream handler. The main stream processor is a multilevel recursive function getting file stream and backtracking the keyword tree. Kind of global compiler structure using event driven stream processing. * Re-design the global data structure to be much more generic and to dissociate LVS configuration related to checkers related. Remove static char lenght to use dynamic length strings. * Created a global timer framework. * Created a global vector template, used in cofiguration file parsing (both stream process & keywords tree generation). * Created a global list template, used in most of the code. * Review the global scheduler to remove repeated code. * Created a global checkers API. The design and goal here is to facilitate new checkers creation by localizing specific checker code into a single file without any other global framework integration. * Patched a SSL stream handling race condition finding end of stream. * Jan Holmberg, review MISC checker to use forked process to not degrade global scheduler timer. * Revisited the whole code to use new templates structures. * Fixed a url lentgh bug into the genhash utility. * Fabrice Bucher, <fabrice.bucher@urbanet.ch> fixed a timeout_persistence bug in the IPVS wrapper code. * Bradley McLean, <bradlist@bradm.net> added support to '0' port number service in VS manipulation. Useful for balancing all services (host rather than service). * Matthijs van der Klip, <matthijs.van.der.klip@nos.nl> enhanced smtp framework to use SMTP header and email enclosed with angle brackets.
- Loading branch information
Alexandre Cassen
committed
Sep 28, 2009
1 parent
76dd618
commit c2a37a4
Showing
71 changed files
with
5,604 additions
and
2,844 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1 +1 @@ | |||
Alexandre Cassen <acassen@linux-vs.org> | Alexandre Cassen, <acassen@linux-vs.org> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,103 @@ | |||
# Makefile | |||
# | |||
# Keepalived OpenSource project. | |||
# | |||
# Copyright (C) 2001, 2002 Alexandre Cassen, <acassen@linux-vs.org> | |||
|
|||
EXEC = keepalived | |||
KERNEL := _KRNL_2_$(shell uname -r | cut -d'.' -f2)_ | |||
|
|||
prefix = @prefix@ | |||
exec_prefix = @exec_prefix@ | |||
sbindir = @sbindir@ | |||
|
|||
init_dir = /etc/rc.d/init.d | |||
init_script = keepalived.init | |||
src_init_script = etc/rc.d/init.d/$(init_script) | |||
src_conf_file = etc/keepalived/keepalived.conf | |||
keepalived_conf_dir = /etc/keepalived | |||
|
|||
CC = @CC@ | |||
CFLAGS = @CFLAGS@ -Wall -Wunused -Wstrict-prototypes -D_DEBUG_ -D$(KERNEL) | |||
LDFLAGS = @LIBS@ @LDFLAGS@ | |||
OBJS = @LIBOBJS@ \ | |||
main.o \ | |||
memory.o \ | |||
daemon.o \ | |||
utils.o \ | |||
timer.o \ | |||
scheduler.o \ | |||
vector.o \ | |||
list.o \ | |||
data.o \ | |||
parser.o \ | |||
layer4.o \ | |||
check_api.o \ | |||
check_tcp.o \ | |||
check_http.o \ | |||
check_ssl.o \ | |||
check_misc.o \ | |||
ipwrapper.o \ | |||
ipvswrapper.o \ | |||
pidfile.o \ | |||
smtp.o \ | |||
vrrp.o \ | |||
vrrp_scheduler.o \ | |||
vrrp_netlink.o \ | |||
vrrp_ipaddress.o \ | |||
vrrp_ipsecah.o | |||
|
|||
INCLUDE= -I/usr/src/linux/include | |||
|
|||
.c.o: | |||
$(CC) -o $@ $(CFLAGS) $(INCLUDE) -c $*.c | |||
|
|||
all: $(EXEC) | |||
strip $(EXEC) | |||
@echo "" | |||
cd genhash && $(MAKE) | |||
@echo "" | |||
@echo "Make complete" | |||
|
|||
debug: $(EXEC) | |||
@echo "" | |||
@echo "Make complete" | |||
|
|||
$(EXEC): $(OBJS) $(LDFLAGS) | |||
$(CC) -o $(EXEC) $(CFLAGS) $(OBJS) $(LDFLAGS) | |||
|
|||
libipfwc/libipfwc.a: | |||
cd libipfwc/ && $(MAKE) libipfwc.a | |||
|
|||
subclean: | |||
ifeq ($(KERNEL),_KRNL_2_2_) | |||
cd libipfwc/ && $(MAKE) clean | |||
endif | |||
cd genhash/ && $(MAKE) clean | |||
|
|||
clean: subclean | |||
rm -f core *.o $(EXEC) | |||
|
|||
subclean-dist: | |||
cd genhash/ && $(MAKE) clean-dist | |||
|
|||
clean-dist: subclean-dist | |||
rm -f $(sbindir)/$(EXEC) | |||
rm -rf $(keepalived_conf_dir) | |||
rm -f $(init_dir)/$(init_script) | |||
|
|||
mrproper: clean clean-dist | |||
rm -f config.* | |||
rm -f Makefile | |||
rm -f genhash/Makefile | |||
|
|||
subinstall: | |||
cd genhash/ && $(MAKE) install | |||
|
|||
install: subinstall | |||
install -m 700 $(EXEC) $(sbindir)/ | |||
install -m 755 $(src_init_script) $(init_dir)/ | |||
mkdir $(keepalived_conf_dir) | |||
install -m 644 $(src_conf_file) $(keepalived_conf_dir) | |||
mkdir $(keepalived_conf_dir)/samples | |||
install -m 644 samples/* $(keepalived_conf_dir)/samples/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1 @@ | |||
0.5.3 |
Oops, something went wrong.