Skip to content

Commit

Permalink
keepalived-0.5.3
Browse files Browse the repository at this point in the history
* 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
Show file tree
Hide file tree
Showing 71 changed files with 5,604 additions and 2,844 deletions.
Binary file added .data.c.swp
Binary file not shown.
2 changes: 1 addition & 1 deletion AUTHORS
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>
34 changes: 34 additions & 0 deletions ChangeLog
Original file line number Original file line Diff line number Diff line change
@@ -1,3 +1,37 @@
2002-02-25 Alexandre Cassen <acassen@linux-vs.org>
* 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.

2001-12-20 Alexandre Cassen <acassen@linux-vs.org> 2001-12-20 Alexandre Cassen <acassen@linux-vs.org>
* keepalived-0.4.9a released. * keepalived-0.4.9a released.
* Jan and I patched a memory pointer problems in vrrp_scheduler.c * Jan and I patched a memory pointer problems in vrrp_scheduler.c
Expand Down
26 changes: 19 additions & 7 deletions INSTALL
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ Kernel needing
Routing messages Routing messages
LinuxVirtualServer LinuxVirtualServer


Keepalived support all LVS code : including IPVS code for kernel 2.2
and kernel 2.4

Library needing Library needing
=============== ===============


Expand All @@ -21,15 +24,23 @@ Installation


1. uncompress the tarball 1. uncompress the tarball
2. cd into the directory 2. cd into the directory
3. 'make' and 'make install'. This will install 3. './configure'
keepalived into your system (binary and configuration file). 4. 'make'
4. cd into genhash directory (read the INSTALL file). 5. 'make install'. This will install keepalived on your system,
5. 'make' and 'make install'. This will install binaries and configuration file :
the MD5 url digest generator. You need it to configure HTTP GET check * keepalived : The keepalived daemon program.
and SSL GET check in order to compute MD5SUM digest etalon. * genhash : The MD5 url digest generator. You need it to
configure HTTP GET check and SSL GET check in
order to compute MD5SUM digest etalon.
* /etc/keepalived/keepalived.conf
6. link keepalived.init into your runlevel directory. On redhat systems : 6. link keepalived.init into your runlevel directory. On redhat systems :
ln -s /etc/rc.d/init.d/keepalived.init /etc/rc.d/rc3.d/S99keepalived ln -s /etc/rc.d/init.d/keepalived.init /etc/rc.d/rc3.d/S99keepalived


By default configure script use /usr/local as base directory. You can change
this value to your own by passing --prefix value to configure script

eg: './configure --prefix=/usr/'

Configuration Configuration
============= =============


Expand All @@ -42,4 +53,5 @@ Configuration




Have fun with it ! Have fun with it !
Alexandre
Alexandre, <acassen@linux-vs.org>
98 changes: 0 additions & 98 deletions Makefile

This file was deleted.

103 changes: 103 additions & 0 deletions Makefile.in
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/
2 changes: 0 additions & 2 deletions TODO
Original file line number Original file line Diff line number Diff line change
@@ -1,6 +1,4 @@
* Synchronize IPVS topology with VRRP synchronization events.
* Insert LDAP, FTP, SSH, IMAP, POP, RADIUS checkers. * Insert LDAP, FTP, SSH, IMAP, POP, RADIUS checkers.
* Replave some unfixed len strcat & sprintf
* Add minimum configuration verification (realserver must have * Add minimum configuration verification (realserver must have
a checker defined, ...) a checker defined, ...)
* Add system verification (must have LVS support in kernel, * Add system verification (must have LVS support in kernel,
Expand Down
1 change: 1 addition & 0 deletions VERSION
Original file line number Original file line Diff line number Diff line change
@@ -0,0 +1 @@
0.5.3
Loading

0 comments on commit c2a37a4

Please sign in to comment.